/* Clapotis — feuille de style du site. Même univers que l'application : bleus profonds, turquoise, accent chaud, pastille. */
:root {
  --fond: #F2F7FA;
  --carte: #FFFFFF;
  --carte-2: #E9F1F6;
  --encre: #0F2B3C;
  --encre-2: #48626F;
  --ligne: #D7E4EC;
  --bleu: #0E4C6E;
  --bleu-doux: #DCEBF3;
  --turquoise: #0E7F92;
  --accent: #C96A1B;
  --accent-fond: #F9EEE2;
  --vert: #1B8A5F;
  --vert-fond: #E1F1E9;
  --orange: #C77B14;
  --orange-fond: #F9EFDD;
  --rouge: #B23A3A;
  --rouge-fond: #F7E7E7;
  --gris: #8FA3AF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0A1B26; --carte: #122636; --carte-2: #0F2331; --encre: #E5F0F6; --encre-2: #93ABBA;
    --ligne: #21455C; --bleu: #62B1D8; --bleu-doux: #123A52; --turquoise: #46C2D2; --accent: #E9964D;
    --accent-fond: #2E2013; --vert: #3FBF8A; --vert-fond: #12301F; --orange: #E0A94E; --orange-fond: #322511;
    --rouge: #DB7070; --rouge-fond: #351A1A; --gris: #6E8492;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: var(--turquoise); }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; margin-top: 8px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-top: 24px; }
p { margin: 10px 0; max-width: 68ch; }
.conteneur { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 760px; }

/* En-tête */
.entete { background: var(--carte); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 10; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 800; font-size: 1.25rem; }
.pastilles { display: inline-flex; gap: 5px; }
.pastille { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.p-vert { background: var(--vert); } .p-orange { background: var(--orange); } .p-rouge { background: var(--rouge); }
nav.principal { display: flex; gap: 18px; flex-wrap: wrap; }
nav.principal a { color: var(--encre-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav.principal a:hover, nav.principal a[aria-current="page"] { color: var(--bleu); }
@media (max-width: 720px) { nav.principal { display: none; } }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
}
.bouton:hover { filter: brightness(0.95); }
.bouton.secondaire { background: var(--bleu-doux); color: var(--bleu); }
.bouton.discret { background: transparent; color: var(--turquoise); }
.boutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* Héros */
.heros { padding: 64px 0 40px; }
.heros .grille { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .heros .grille { grid-template-columns: 1fr; } }
.surtitre { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 12px; }
.accroche { font-size: 1.2rem; color: var(--encre-2); max-width: 54ch; }
.telephone {
  width: min(320px, 100%); margin: 0 auto; border-radius: 34px; border: 8px solid var(--encre); background: var(--encre); overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 43, 60, 0.25);
}
.telephone img { display: block; width: 100%; height: auto; }

/* Sections */
section { padding: 44px 0; }
section.alt { background: var(--carte); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 22px; }
section.alt .carte { background: var(--fond); }
.carte h3 { margin-top: 0; }
.carte p { font-size: 0.98rem; color: var(--encre-2); }
.preuve { display: flex; gap: 14px; align-items: center; background: var(--bleu-doux); border-radius: 16px; padding: 18px 20px; margin-top: 24px; }
.preuve strong { color: var(--bleu); }
.pastille-grande { width: 56px; height: 56px; border-radius: 50%; background: var(--vert-fond); display: grid; place-items: center; flex: none; }
.pastille-grande span { width: 28px; height: 28px; border-radius: 50%; background: var(--vert); }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.tarif { background: var(--carte); border: 1px solid var(--ligne); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.tarif.mis-en-avant { border: 2px solid var(--accent); }
.tarif .prix { font-size: 2rem; font-weight: 800; margin: 6px 0; }
.tarif .prix small { font-size: 1rem; font-weight: 500; color: var(--encre-2); }
.tarif ul { padding-left: 20px; margin: 10px 0 18px; color: var(--encre-2); font-size: 0.97rem; }
.tarif li { margin: 5px 0; }
.tarif .bouton { margin-top: auto; }
.etiquette { display: inline-block; background: var(--accent-fond); color: var(--accent); font-weight: 700; font-size: 0.8rem; border-radius: 8px; padding: 3px 10px; margin-bottom: 8px; }

/* Compteur fondateurs */
.compteur { font-variant-numeric: tabular-nums; font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.compteur-legende { color: var(--encre-2); font-size: 0.95rem; }

/* Guides */
.liste-guides { list-style: none; padding: 0; display: grid; gap: 10px; }
.liste-guides li a { display: block; background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--encre); }
.liste-guides li a:hover { border-color: var(--turquoise); }
.liste-guides li a span { display: block; color: var(--encre-2); font-size: 0.95rem; margin-top: 3px; }
article.guide h2 { margin-top: 32px; }
article.guide ol, article.guide ul { max-width: 68ch; }
article.guide li { margin: 6px 0; }
.encadre { background: var(--carte); border: 1px solid var(--ligne); border-left: 4px solid var(--turquoise); border-radius: 12px; padding: 16px 18px; margin: 20px 0; max-width: 72ch; }
.encadre.securite { border-left-color: var(--rouge); }
.encadre.app { border-left-color: var(--accent); }
.encadre p { margin: 6px 0; }
table { border-collapse: collapse; width: 100%; max-width: 72ch; font-size: 0.97rem; margin: 14px 0; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--encre-2); }
.scroll { overflow-x: auto; }

/* Calculette */
.calculette { background: var(--carte); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px; max-width: 560px; }
.calculette label { display: block; font-weight: 600; margin: 12px 0 6px; }
.calculette input, .calculette select { width: 100%; min-height: 48px; border: 1px solid var(--ligne); border-radius: 12px; padding: 0 14px; font-size: 1.05rem; background: var(--fond); color: var(--encre); }
.resultat { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--vert-fond); color: var(--vert); font-weight: 700; font-size: 1.2rem; }

/* FAQ */
details { background: var(--carte); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 18px; margin: 10px 0; max-width: 72ch; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--encre-2); }

/* Pied de page */
footer { border-top: 1px solid var(--ligne); padding: 32px 0 48px; color: var(--encre-2); font-size: 0.92rem; }
footer .liens { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--encre-2); }

/* Consentement */
.consentement {
  position: fixed; inset: auto 16px 16px 16px; background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 20px 40px rgba(15, 43, 60, 0.2); max-width: 560px; margin: 0 auto; z-index: 20; font-size: 0.95rem;
}
.consentement[hidden] { display: none; }
.consentement .boutons { margin-top: 10px; }
.legal p, .legal li { max-width: 78ch; }
.a-completer { background: var(--orange-fond); color: var(--orange); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
