/* Cleaneo — feuille de style du site
   Mise en page : colonnes alignées à gauche, panneaux « vitre » arrondis
   séparés par de fines lignes de menuiserie ; un seul moment fort, le coup
   de raclette du hero. */

:root {
  /* Couleurs — thème clair */
  --petrol: #0F3A40;        /* couleur de marque, titres, logo */
  --petrol-deep: #0A2629;   /* fonds sombres (footer, bandeau devis) */
  --glass: #CDEBE7;         /* teinte vitre, illustrations, sélection */
  --glass-soft: #E7F4F2;    /* fonds de section alternés */
  --amber: #F2A93B;         /* soleil : bouton principal, accents */
  --amber-ink: #0A2629;     /* texte sur ambre */
  --amber-deep: #9A5A00;    /* ambre lisible en texte sur fond clair */
  --surface: #F5F9F8;       /* fond de page */
  --raised: #FFFFFF;        /* cartes, champs */
  --ink: #10292C;           /* texte courant */
  --muted: #4C6366;         /* texte secondaire */
  --line: #D5E3E1;          /* filets, bordures */
  --line-strong: #7A9A97;   /* bordures de champs (3:1 mini) */
  --focus: #0F6E78;         /* anneau de focus */
  --success: #1F7A4D;
  --danger: #B4412E;
  --grime: #8C8270;         /* salissure (illustrations) */
  --wall: #FFFFFF;          /* murs (illustrations) */
  --on-dark: #F5F9F8;

  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-pane: 0 1px 0 rgba(15, 58, 64, .06), 0 12px 32px -18px rgba(15, 58, 64, .35);
  --wrap: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --petrol: #8AD3CA;
    --petrol-deep: #071B1D;
    --glass: #1D4A4E;
    --glass-soft: #10292C;
    --amber: #F5B54F;
    --amber-ink: #0A2629;
    --amber-deep: #F5B54F;
    --surface: #0B1F22;
    --raised: #12292D;
    --ink: #E8F2F0;
    --muted: #A3BAB8;
    --line: #22413F;
    --line-strong: #57807C;
    --focus: #8AD3CA;
    --success: #5CC08A;
    --danger: #F08A73;
    --grime: #6E6656;
    --wall: #1A3538;
    --on-dark: #F5F9F8;
    --shadow-pane: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 32px -18px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --petrol: #8AD3CA;
  --petrol-deep: #071B1D;
  --glass: #1D4A4E;
  --glass-soft: #10292C;
  --amber: #F5B54F;
  --amber-ink: #0A2629;
  --amber-deep: #F5B54F;
  --surface: #0B1F22;
  --raised: #12292D;
  --ink: #E8F2F0;
  --muted: #A3BAB8;
  --line: #22413F;
  --line-strong: #57807C;
  --focus: #8AD3CA;
  --success: #5CC08A;
  --danger: #F08A73;
  --grime: #6E6656;
  --wall: #1A3538;
  --on-dark: #F5F9F8;
  --shadow-pane: 0 1px 0 rgba(0, 0, 0, .3), 0 12px 32px -18px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--petrol);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(16px, 4vw); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.cta-short { display: none; }
@media (max-width: 520px) { .cta-long { display: none; } .cta-short { display: inline; } }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--amber) 85%, #fff); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--petrol); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--petrol); }
.btn-dark { background: var(--petrol); color: var(--surface); }
.btn-ghost { background: transparent; color: var(--muted); padding-inline: 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: var(--space-5); margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--petrol); text-decoration: underline; }
.site-header .btn { min-height: 44px; padding-inline: 20px; font-size: .95rem; }
@media (max-width: 860px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand svg { height: 28px; }
  .site-header .btn { padding-inline: 14px; }
}

/* Logo inline (couleurs pilotées par les tokens) */
.logo-pane { fill: var(--petrol); }
.logo-swipe { stroke: var(--glass); }
.logo-sun { fill: var(--amber); }
.logo-word { stroke: var(--petrol); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-pane { fill: var(--glass); }
  :root:not([data-theme="light"]) .logo-swipe { stroke: var(--petrol); }
}
:root[data-theme="dark"] .logo-pane { fill: var(--glass); }
:root[data-theme="dark"] .logo-swipe { stroke: var(--petrol); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-8) var(--space-8); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-7); align-items: center; }
.hero-copy { display: grid; gap: var(--space-5); min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--success); flex: none; }
.hero-visual { position: relative; min-width: 0; }
.hero-window { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(15, 58, 64, .18)); }
.hw-frame { fill: var(--raised); stroke: var(--petrol); stroke-width: 6; }
.hw-mullion { stroke: var(--petrol); stroke-width: 6; }
.hw-sky { fill: url(#hw-sky-grad); }
.hw-sky-top { stop-color: var(--glass); }
.hw-sky-bottom { stop-color: var(--glass-soft); }
.hw-sun { fill: var(--amber); }
.hw-hill { fill: var(--petrol); opacity: .16; }
.hw-hill-2 { fill: var(--petrol); opacity: .28; }
.hw-grime { fill: var(--grime); }
.hw-glint { stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.hw-wipe { fill: none; stroke: #000; stroke-width: 122; stroke-linecap: butt; stroke-linejoin: round; }
.hw-squeegee .handle { fill: var(--petrol); }
.hw-squeegee .blade { fill: #1C2326; }
.hw-squeegee .channel { fill: var(--amber); }

/* Illustrations (assets/js/illustrations.js) */
.il-line, .il-thin, .il-ground, .il-streak, .il-web, .il-pole, .il-pole-head { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.il-line { stroke: var(--petrol); stroke-width: 3; }
.il-thin { stroke: var(--petrol); stroke-width: 2; }
.il-ground { stroke: var(--petrol); stroke-width: 3; opacity: .45; }
.il-wall { fill: var(--wall); stroke: var(--petrol); stroke-width: 3; stroke-linejoin: round; }
.il-glass { fill: var(--glass); stroke: var(--petrol); stroke-width: 3; stroke-linejoin: round; }
.il-roof { fill: var(--petrol); stroke: var(--petrol); stroke-width: 3; stroke-linejoin: round; }
.il-awning { fill: var(--amber); stroke: var(--petrol); stroke-width: 3; stroke-linejoin: round; }
.il-solid { fill: var(--petrol); }
.il-soft { fill: var(--petrol); opacity: .22; }
.il-sun { fill: var(--amber); }
.il-accent { fill: none; stroke: var(--amber); stroke-width: 3.5; stroke-dasharray: 5 4; }
.il-glint { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; opacity: .95; }
.il-grime { fill: var(--grime); opacity: .55; }
.il-film { fill: var(--grime); opacity: .3; }
.il-streak { stroke: var(--grime); stroke-width: 3; opacity: .6; }
.il-web { stroke: var(--muted); stroke-width: 1.5; opacity: .9; }
.il-pole { stroke: var(--muted); stroke-width: 3.5; }
.il-pole-head { stroke: var(--amber); stroke-width: 5; }

@media (max-width: 900px) {
  .hero { padding-block: var(--space-6) var(--space-7); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; justify-self: center; width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-9); }
.section-alt { background: var(--glass-soft); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: var(--space-4); max-width: 720px; margin-bottom: var(--space-7); }
@media (max-width: 700px) { .section { padding-block: var(--space-8); } }

/* Deux publics */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.audience {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-4);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-pane);
  min-width: 0;
}
.audience-illu { height: 150px; width: 100%; display: flex; align-items: flex-end; background: var(--glass-soft); border-radius: var(--radius-md); overflow: hidden; }
.audience-illu svg { width: 100%; height: 100%; display: block; }
.audience ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.audience li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.audience li svg { width: 22px; height: 22px; color: var(--petrol); margin-top: 2px; }
.audience .btn { justify-self: start; }
@media (max-width: 800px) { .audiences { grid-template-columns: 1fr; } }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--petrol); }
.steps li { padding: var(--space-5) var(--space-5) 0 0; display: grid; gap: var(--space-3); align-content: start; min-width: 0; }
.steps li + li { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--space-6); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
}

/* Méthode / matériel */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.method-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.method-list li { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.method-list .ico { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--glass); display: grid; place-items: center; color: var(--petrol); }
.method-list .ico svg { width: 30px; height: 30px; }
.method-list h3 { font-size: 1.15rem; margin-bottom: 4px; }
.method-list p { color: var(--muted); }
.method-visual { background: var(--glass-soft); border-radius: var(--radius-lg); border: 1px solid var(--line); padding: var(--space-6); }
.method-visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } }

/* Formules pro */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.offer { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.offer .tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.offer h3 { font-size: 1.2rem; }
.offer p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .offers { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-7); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding-block: var(--space-5);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--petrol);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--muted); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-5); color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Bandeau devis */
.cta-band { background: var(--petrol-deep); color: var(--on-dark); border-radius: var(--radius-lg); padding: var(--space-7); display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: #B9CFCC; margin-top: var(--space-3); max-width: 36em; }
.cta-band .btn { position: relative; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--amber); opacity: .14; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: var(--space-6); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-6); }
.contact-item { padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--raised); display: grid; gap: 6px; min-width: 0; }
.contact-item .eyebrow { font-size: .72rem; }
.contact-item strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--petrol); overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--petrol-deep); color: #B9CFCC; padding-block: var(--space-7) var(--space-6); margin-top: var(--space-9); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); }
.site-footer svg.footer-logo { height: 32px; width: auto; display: block; margin-bottom: var(--space-4); }
.site-footer h4 { color: var(--on-dark); font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: var(--space-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: .85rem; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Page simple (mentions) ---------- */
.prose { max-width: 70ch; padding-block: var(--space-8); display: grid; gap: var(--space-4); }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--space-4); }
.prose h2 { font-size: 1.4rem; margin-top: var(--space-5); }
.prose p, .prose li { color: var(--muted); }
.ph { background: color-mix(in srgb, var(--amber) 28%, transparent); color: var(--ink); padding: 0 4px; border-radius: 4px; }
.il-tape { fill: none; stroke: var(--amber); stroke-width: 7; stroke-linecap: butt; opacity: .85; }
.il-paint { fill: var(--wall); stroke: var(--grime); stroke-width: 1.5; }
