:root {
  --encre: #1f2827;
  --lagon: #0f7c7a;
  --lagon-fonce: #0b5f5d;
  --lagon-clair: #e3f1f0;
  --soleil: #e9a23b;
  --sable: #f7f3ec;
  --texte: #2b3534;
  --gris: #5f6b6a;
  --fond: #ffffff;
  --carte: #f7f3ec;
  --bord: #e2ddd2;
  --police: "Avenir Next", "Segoe UI Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --texte: #e4ecea;
    --gris: #a9b7b5;
    --fond: #141b1a;
    --carte: #1e2826;
    --sable: #1e2826;
    --lagon-clair: #17302e;
    --bord: #2c3a38;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police); color: var(--texte); background: var(--fond); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; }
a { color: var(--lagon); }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.chapeau { color: var(--gris); font-size: 19px; max-width: 680px; margin: 0 0 40px; }
section { padding: 88px 0; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: var(--encre); color: #fff; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marque { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 14px; }
.marque img { width: 36px; height: 36px; filter: invert(1); }
.entete nav { display: flex; gap: 26px; align-items: center; }
.entete nav a { color: #d4e6e4; text-decoration: none; font-size: 15px; }
.entete nav a:hover { color: #fff; }
.bouton { display: inline-block; background: var(--soleil); color: var(--encre) !important; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; }
.bouton:hover { filter: brightness(1.06); }
.bouton.petit { padding: 9px 18px; font-size: 14px; }

/* Héros */
.heros { background: var(--encre); color: #fff; padding: 80px 0 110px; position: relative; overflow: hidden; }
.heros .conteneur { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.heros h1 { font-size: clamp(36px, 6vw, 62px); }
.heros h1 em { font-style: normal; color: var(--soleil); }
.heros p { color: #cfe3e1; font-size: 20px; max-width: 540px; margin: 22px 0 32px; }
.heros .visuel { position: relative; display: flex; justify-content: center; }
.heros .visuel svg { width: min(380px, 80vw); }
.pastille { position: absolute; right: 4%; bottom: -10px; width: 170px; height: 170px; border-radius: 50%; background: var(--soleil); color: var(--encre); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.pastille b { font-size: 50px; line-height: 1; }
.pastille span { font-weight: 700; font-size: 15px; line-height: 1.2; }
.renvoi { font-size: 13px; color: #9fb5b3; margin-top: 18px; }

/* Cartes */
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 18px; padding: 28px; }
.carte h3 { font-size: 21px; margin-bottom: 8px; }
.carte p { margin: 0; color: var(--gris); }
.icone { width: 52px; height: 52px; border-radius: 50%; background: var(--lagon-clair); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icone svg { width: 26px; height: 26px; }

/* Pour qui */
.pour-qui { background: var(--sable); }
.puces { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 26px; }
.puces span { background: var(--fond); border: 1px solid var(--bord); border-radius: 999px; padding: 9px 18px; font-weight: 600; }
.territoires { color: var(--lagon); font-weight: 700; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: etape; }
.etape { border-top: 4px solid var(--lagon); padding-top: 20px; }
.etape::before { counter-increment: etape; content: counter(etape); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lagon); color: #fff; font-weight: 800; margin-bottom: 14px; }
.etape h3 { font-size: 19px; margin-bottom: 6px; }
.etape p { margin: 0; color: var(--gris); }

/* Zéro euro */
.zero { background: var(--lagon); color: #fff; }
.zero .conteneur { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; }
.zero .gros { font-size: clamp(80px, 12vw, 150px); font-weight: 800; line-height: 1; color: var(--soleil); }
.zero p { font-size: 19px; color: #e3f1f0; max-width: 620px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--bord); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--lagon); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--gris); margin: 12px 0 0; max-width: 760px; }

/* Formulaire */
.contact { background: var(--encre); color: #fff; }
.contact .conteneur { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact .chapeau { color: #cfe3e1; }
.coordonnees p { margin: 0 0 10px; font-size: 18px; }
.coordonnees b { color: var(--soleil); margin-right: 8px; }
.lien-clair { color: #fff; }
form { background: #fff; color: #2b3534; border-radius: 18px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
form .large { grid-column: 1 / -1; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #cfd8d6; border-radius: 10px; background: #fff; color: #1f2827; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lagon); border-color: transparent; }
form .consentement { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: #5f6b6a; }
form .consentement input { margin-top: 3px; }
.message-form { grid-column: 1 / -1; font-size: 14px; color: var(--lagon-fonce); min-height: 1em; margin: 0; }

/* Pied */
.pied { background: #141b1a; color: #9fb5b3; font-size: 14px; padding: 34px 0; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.pied a { color: #cfe3e1; }

/* Mentions légales */
.page-texte { padding: 60px 0 90px; }
.page-texte h1 { font-size: 40px; margin-bottom: 30px; }
.page-texte h2 { font-size: 22px; margin: 30px 0 10px; }
.a-completer { background: #fdf3e3; color: #7a4d00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .entete nav a:not(.bouton) { display: none; }
  .heros { padding: 54px 0 90px; }
  .heros .conteneur, .contact .conteneur, .zero .conteneur { grid-template-columns: 1fr; }
  .grille, .etapes { grid-template-columns: 1fr; }
  .pastille { width: 140px; height: 140px; right: 0; }
  .pastille b { font-size: 40px; }
  form { grid-template-columns: 1fr; padding: 22px; }
}
