/* Capital Clean : feuille de style unique */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/figtree-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/figtree-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/figtree-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/figtree-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/figtree-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/figtree-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fond: #F5F8FA;
  --surface: #DDE6EC;
  --blanc: #FFFFFF;
  --texte: #0F1D26;
  --texte-2: #4B5B66;
  --marque: #0E3A5B;
  --marque-fonce: #0A2C46;
  --turquoise: #6FD3E0;
  --trait: #C5D1D8;
  --erreur: #A4262C;
  --bleu-pale: #EAF1F6;
  --rayon: 10px;
  --large: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, svg { display: block; }
a { color: var(--marque); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--texte); }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--marque); outline-offset: 3px; border-radius: 4px; }
.bandeau-final :focus-visible { outline-color: var(--turquoise); }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement { position: absolute; left: 16px; top: -100px; background: var(--marque); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.lien-evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.entete { border-bottom: 1px solid var(--trait); background: var(--fond); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; }
.entete-actions { display: flex; align-items: center; gap: 20px; }
.lien-demande { font-weight: 600; text-decoration: none; color: var(--marque); padding: 10px 2px; }
.lien-demande:hover { text-decoration: underline; }
.langues { display: flex; align-items: center; gap: 2px; font-weight: 600; font-size: 0.95rem; }
.langues a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; text-decoration: none; color: var(--texte-2); border-radius: 6px; }
.langues a[aria-current="page"] { color: var(--texte); background: var(--surface); }
.langues span { color: var(--trait); }

/* Haut de page */
.haut { padding: 64px 0 80px; }
.haut .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: start; }
.intro { padding-top: 24px; }
.intro h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.02; max-width: 12ch; }
.intro p { margin-top: 24px; font-size: 1.2rem; color: var(--texte-2); max-width: 34ch; }
.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.points svg { width: 22px; height: 22px; flex: none; }

/* Formulaire */
.formulaire {
  position: relative; background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px;
  padding: 44px 32px 32px; overflow: hidden; scroll-margin-top: 16px;
}
.formulaire::before {
  /* passage de raclette sur la vitre */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px; background: var(--turquoise);
  clip-path: polygon(0 0, 100% 0, 100% 18%, 0 100%);
}
.formulaire h2 { font-size: 1.7rem; margin-bottom: 8px; }
.question { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.question legend, .champ label, .groupe-titre { font-weight: 600; font-size: 1.02rem; padding: 0; margin-bottom: 12px; color: var(--texte); }
.groupe-titre { display: block; margin-top: 28px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; }
.pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pastille span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--trait); background: var(--fond); color: var(--texte); font-weight: 600; font-size: 0.97rem;
  cursor: pointer; user-select: none; line-height: 1.25;
}
.pastille span:hover { border-color: var(--marque); }
.pastille input:checked + span { background: var(--marque); border-color: var(--marque); color: #fff; }
.pastille input:focus-visible + span { outline: 3px solid var(--marque); outline-offset: 2px; }
.question[hidden] { display: none; }

.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.champ { display: flex; flex-direction: column; min-width: 0; }
.champ.large { grid-column: 1 / -1; }
.champ label { margin-bottom: 6px; font-size: 0.95rem; }
.facultatif { font-weight: 400; color: var(--texte-2); }
.champ input, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--texte); background: var(--fond); border: 1px solid var(--trait);
  border-radius: 8px; padding: 11px 13px; min-height: 46px; width: 100%;
}
.champ textarea { min-height: 88px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #6B7A84; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--marque); outline-offset: 1px; border-color: var(--marque); background: var(--blanc); }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--erreur); }

.consentement { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 0.9rem; color: var(--texte-2); line-height: 1.5; cursor: pointer; }
.consentement input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--marque); cursor: pointer; }

.message-erreur { color: var(--erreur); font-size: 0.9rem; font-weight: 600; margin-top: 8px; }
.message-erreur:empty { display: none; }
.erreur-envoi { margin-top: 20px; padding: 12px 14px; border-radius: 8px; background: #FBEDEE; color: var(--erreur); font-weight: 600; font-size: 0.95rem; }
.erreur-envoi a { color: var(--erreur); }

.anti-robot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px;
  border-radius: 999px; font: inherit; font-weight: 800; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; text-align: center;
}
.bouton-principal { background: var(--marque); color: #fff; width: 100%; margin-top: 24px; }
.bouton-principal:hover { background: var(--marque-fonce); }
.bouton-principal[disabled] { opacity: 0.7; cursor: progress; }

.succes { padding: 24px 0 8px; }
.succes h2 { font-size: 1.9rem; }
.succes p { margin-top: 12px; color: var(--texte-2); font-size: 1.1rem; }
.succes:focus { outline: none; }

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--trait); }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 20ch; }
.section .chapeau { margin-top: 16px; color: var(--texte-2); font-size: 1.15rem; max-width: 52ch; }

.etapes { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.etape-numero { display: block; font-size: 4.2rem; font-weight: 800; line-height: 1; color: var(--marque); letter-spacing: -0.04em; }
.etapes h3 { font-size: 1.3rem; margin-top: 16px; }
.etapes p { margin-top: 10px; color: var(--texte-2); }

.services { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); }
.services li { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--trait); }
.services li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--trait); }
.services svg { width: 36px; height: 36px; color: var(--marque); }
.services h3 { font-size: 1.15rem; margin-top: 18px; line-height: 1.25; }
.services p { margin-top: 8px; color: var(--texte-2); }

.publics { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.publics li { background: var(--surface); color: var(--texte); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 0.98rem; }

.faq { margin-top: 40px; max-width: 820px; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.8rem; line-height: 1; color: var(--marque); flex: none; width: 24px; text-align: center; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 48px 24px 0; color: var(--texte-2); max-width: 68ch; }

/* Bandeau final */
.bandeau-final { background: var(--marque); color: #fff; padding: 80px 0; }
.bandeau-final .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.bandeau-final p { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; max-width: 22ch; }
.bandeau-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bouton-turquoise { background: var(--turquoise); color: var(--texte); }
.bouton-turquoise:hover { background: #8ADDE8; }
.bouton-contour { border-color: rgba(255,255,255,0.75); color: #fff; }
.bouton-contour:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Pied de page */
.pied { padding: 48px 0 112px; font-size: 0.95rem; color: var(--texte-2); }
.pied .conteneur { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pied .logo { font-size: 1.05rem; }
.pied .logo svg { width: 26px; height: 26px; }
.pied-texte { margin-top: 10px; max-width: 40ch; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pied ul a { display: inline-block; padding: 6px 0; }

/* Bouton WhatsApp flottant */
.whatsapp-flottant {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  background: var(--marque); color: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--fond);
}
.whatsapp-flottant:hover { background: var(--marque-fonce); }
.whatsapp-flottant svg { width: 28px; height: 28px; }

/* Mentions légales */
.mentions { padding: 56px 0 96px; }
.mentions .conteneur { max-width: 820px; }
.mentions h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.mentions h2 { font-size: 1.35rem; margin-top: 44px; }
.mentions p, .mentions li { color: var(--texte-2); }
.mentions p { margin-top: 12px; }
.mentions ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.mentions strong { color: var(--texte); font-weight: 600; }
.encadre { margin-top: 16px; padding: 18px 20px; background: var(--bleu-pale); border: 1px solid #CFDDE8; border-radius: var(--rayon); color: var(--texte); }

/* Page 404 */
.page-404 { padding: 96px 0; }
.page-404 h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-404 p { margin-top: 16px; color: var(--texte-2); }
.page-404 .liens { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.page-404 .bouton-principal { width: auto; margin-top: 0; }
.bouton-secondaire { border-color: var(--marque); color: var(--marque); }

/* Mobile */
@media (max-width: 960px) {
  .haut { padding: 32px 0 56px; }
  .haut .conteneur { grid-template-columns: 1fr; gap: 36px; }
  .intro { padding-top: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .services li, .services li:not(:nth-child(3n+1)) { padding: 24px 20px 28px 0; border-left: 0; }
  .services li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--trait); }
  .etapes { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .conteneur { padding: 0 16px; }
  .entete .conteneur { min-height: 64px; gap: 8px; }
  .entete-actions { gap: 8px; }
  .lien-demande { font-size: 0.92rem; }
  .logo { font-size: 1.05rem; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .formulaire { padding: 40px 18px 24px; border-radius: 12px; }
  .champs { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(2n), .services li:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
  .faq details p { padding-right: 0; }
  .bandeau-final { padding: 56px 0; }
  .bandeau-actions, .bandeau-actions .bouton { width: 100%; }
  .whatsapp-flottant { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
@media (max-width: 400px) {
  .logo span { font-size: 0.95rem; }
  .langues a { min-width: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
