/* =====================================================================
   UniOhm — feuille de style unique du site
   Conforme à la charte graphique 2026 :
   - Couleurs : UNIQUEMENT le nuancier (#41BF91, #7ED9AE, #D1E4DB, #EFEFEA, #B9BDBB, #000000) + blanc.
   - Typographies : Inter « 18pt » (titres) et Montserrat (catégories, texte courant, légendes).
   - Hiérarchie au nombre d'or (×1,618) : 10,5 → 17 → 28 → 46 → 75.
     Adaptation web : légende portée à 13 px (lisibilité écran) ; titres réduits sur mobile.
   - Contraste : la charte impose « un contraste suffisant entre le texte et le fond ».
     Le vert #41BF91 sert donc aux fonds, filets et pictogrammes ; le texte reste noir
     (ou crème sur fond noir). Aucun texte vert sur fond clair (contraste 2:1 insuffisant).
   ===================================================================== */

@font-face {
  font-family: "Inter";            /* Inter, coupe optique 18 pt (opsz 18), graisses 300 à 900 */
  src: url("../fonts/inter-18pt-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";       /* graisses 200 (ExtraLight) à 700 */
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Nuancier de la charte */
  --vert: #41BF91;
  --vert-clair: #7ED9AE;
  --vert-pale: #D1E4DB;
  --creme: #EFEFEA;
  --gris: #B9BDBB;
  --noir: #000000;
  --blanc: #FFFFFF;

  /* Typographies */
  --f-titre: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-texte: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Échelle (nombre d'or). Desktop = valeurs de la charte. */
  --t-legende: 13px;                              /* charte : 10,5 pt ExtraLight */
  --t-texte: 17px;                                /* charte : 17 pt Light */
  --t-categorie: clamp(20px, 2.2vw, 28px);        /* charte : 28 pt Regular */
  --t-soustitre: clamp(30px, 3.6vw, 46px);        /* charte : 46 pt Bold */
  --t-titre: clamp(40px, 5.6vw, 75px);            /* charte : 75 pt ExtraBold */

  --wrap: 1240px;
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--f-texte);
  font-weight: 300;                 /* texte courant : Montserrat Light */
  font-size: var(--t-texte);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-titre); color: var(--noir); }
strong, b { font-weight: 600; }
::selection { background: var(--vert-clair); color: var(--noir); }

/* Liens : noirs, soulignés en vert (identifiables sans dépendre de la couleur) */
a { color: var(--noir); text-decoration: none; }
.lien, .prose a, .faq details p a, .form__privacy a, .note a, .center-page__lead a {
  text-decoration: underline;
  text-decoration-color: var(--vert);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.lien:hover, .prose a:hover, .faq details p a:hover, .form__privacy a:hover, .note a:hover, .center-page__lead a:hover {
  text-decoration-color: var(--noir);
}

:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; border-radius: 6px; }
.footer :focus-visible, .card--noir :focus-visible, .review--cta :focus-visible { outline-color: var(--vert); }
[id] { scroll-margin-top: 110px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--noir); color: var(--creme); padding: 12px 18px; border-radius: 10px;
  font-family: var(--f-titre); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 1000px; }
.wrap--faq { max-width: 900px; }
.sec { padding: 96px 0; position: relative; }
.bg-blanc { background: var(--blanc); }
.bg-creme { background: var(--creme); }
.bg-pale { background: var(--vert-pale); }

/* ---------- Niveaux typographiques de la charte ---------- */
.categorie {                      /* « Catégorie » : Montserrat Regular 28 */
  display: block;
  font-family: var(--f-texte); font-weight: 400; font-size: var(--t-categorie);
  line-height: 1.25; color: var(--noir);
}
.h2 {                             /* « Sous-titre » : Inter Bold 46 */
  margin-top: 8px;
  font-weight: 700; font-size: var(--t-soustitre); line-height: 1.1; letter-spacing: -.01em;
}
.lead { margin-top: 20px; font-weight: 300; font-size: var(--t-texte); line-height: 1.65; }
.legende { font-weight: 200; font-size: var(--t-legende); line-height: 1.5; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 640px; }
.sec-head--center { max-width: none; text-align: center; margin-bottom: 48px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-titre); font-weight: 700; font-size: var(--t-texte); line-height: 1.2;
  border-radius: 999px; padding: 17px 32px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  text-decoration: none;
}
.btn--primaire { background: var(--vert); color: var(--noir); }
.btn--primaire:hover { background: var(--vert-clair); }
.btn--contour { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn--contour:hover { background: var(--vert-pale); }
.btn--clair { background: var(--blanc); color: var(--noir); border-color: var(--noir); padding: 13px 24px; }
.btn--clair:hover { background: var(--vert-pale); }
.btn--petit { padding: 13px 24px; }

/* ---------- Navigation (marge de sécurité du logo : hauteur ÷ 2 = 24 px) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--gris);
}
.nav__bar { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav__logo { flex-shrink: 0; }
.nav__logo img { width: 176px; height: 48px; }
.nav__right { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__links a { font-family: var(--f-texte); font-weight: 400; font-size: var(--t-texte); color: var(--noir); }
.nav__links a:hover { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--noir);
  background: var(--blanc); color: var(--noir); cursor: pointer; padding: 0;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav--open .nav__toggle .icon-open { display: none; }
.nav--open .nav__toggle .icon-close { display: block; }
.nav__back { font-family: var(--f-titre); font-weight: 700; font-size: var(--t-texte); }
.nav__only-mobile { display: none; }
/* Bouton « Appeler » (mobile uniquement) : utile pour les dépannages */
.nav__call { display: none; width: 48px; height: 48px; border-radius: 12px; background: var(--vert); align-items: center; justify-content: center; }
.nav__call svg { width: 22px; height: 22px; }

/* ---------- Accueil ---------- */
.hero { background: var(--creme); position: relative; overflow: hidden; }
/* Élément graphique de la charte : pictogramme agrandi et rogné, gris, basse opacité */
.element-graphique { position: absolute; pointer-events: none; }
.element-graphique path { fill: var(--gris); }
.hero .element-graphique { right: -330px; top: -60px; height: calc(100% + 120px); width: auto; max-width: none; opacity: .35; }
.hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad) 96px; }
.hero__content { max-width: 800px; }
.hero h1 {
  margin-top: 12px;
  font-weight: 800; font-size: var(--t-titre); line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance;
}
/* Mot mis en avant : texte noir, soulignement vert de la charte */
.hero h1 .accent {
  text-decoration: underline; text-decoration-color: var(--vert);
  text-decoration-thickness: .1em; text-underline-offset: .1em; text-decoration-skip-ink: none;
}
.hero__lead { margin-top: 28px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.stats { display: flex; align-items: center; gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--gris); }
.stats strong { font-family: var(--f-titre); font-weight: 700; font-size: 28px; line-height: 1.2; }
.stats span { font-weight: 200; font-size: var(--t-legende); }

/* ---------- Bandeau clientèle ---------- */
.clients { background: var(--blanc); border-top: 1px solid var(--gris); border-bottom: 1px solid var(--gris); }
.clients__inner { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.clients__label { font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chip { font-family: var(--f-texte); font-weight: 400; font-size: 15px; color: var(--noir); background: var(--creme); border-radius: 999px; padding: 10px 20px; }
.chip--fort { background: var(--vert); font-weight: 600; }
.bg-creme .chip { background: var(--blanc); }

/* ---------- Pictogrammes d'icônes (fond du nuancier + trait noir ou vert) ---------- */
.tuile { width: 52px; height: 52px; border-radius: 14px; background: var(--vert); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tuile svg { width: 26px; height: 26px; }
.tuile--noire { background: var(--noir); }

/* ---------- Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
ol.grid-4, ul.grid-3 { list-style: none; margin: 0; padding: 0; }
.card {
  border-radius: 20px; padding: 40px; min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: var(--creme);
}
.card--large { grid-column: span 2; }
.card--vert { background: var(--vert); }
.card--noir { background: var(--noir); color: var(--creme); }
.card h3 { margin-bottom: 10px; font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.card--noir h3 { color: var(--creme); }
.card > div:last-child { max-width: 520px; }

/* ---------- Méthode ---------- */
.step { background: var(--blanc); border-radius: 20px; padding: 32px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--vert);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-titre); font-weight: 800; font-size: 28px; line-height: 1;
}
.step h3 { margin: 22px 0 10px; font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; }

/* ---------- À propos (fond vert primaire, texte noir) ---------- */
.about { background: var(--vert); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about__picto { display: flex; align-items: center; justify-content: center; }
.about__picto svg { width: min(300px, 70%); }
.about__picto path { fill: var(--vert-pale); }      /* combinaison autorisée : vert pâle sur vert primaire */
.about p { margin-top: 20px; max-width: 580px; }
.about .chips { margin-top: 30px; }
.about .chip { background: var(--creme); }
.insurer { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.insurer__logo { border-radius: 12px; background: var(--blanc); flex-shrink: 0; padding: 12px 16px; }
.insurer__logo img { width: 128px; height: 26px; }
.insurer p { margin: 0; }

/* ---------- Avis ---------- */
.review { background: var(--creme); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.review__stars { font-family: var(--f-titre); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.review__stars span { color: var(--vert); letter-spacing: 2px; font-size: 20px; }
.review blockquote { margin: 0; font-weight: 400; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--vert-clair); display: flex; align-items: center; justify-content: center; font-family: var(--f-titre); font-weight: 700; flex-shrink: 0; }
.review__name { font-family: var(--f-titre); font-weight: 700; }
.review--cta { background: var(--noir); color: var(--creme); justify-content: space-between; }
.review--cta h3 { color: var(--creme); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.2; }
.review--cta p { margin-top: 12px; }
.review--cta .btn { align-self: flex-start; }
.note { margin-top: 26px; max-width: 780px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--blanc); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 28px;
  font-family: var(--f-titre); font-weight: 700; font-size: var(--t-texte);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--vert);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 28px 26px; }

/* ---------- Zones ---------- */
.zones { border-top: 1px solid var(--gris); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.contact__list { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact__item { display: flex; align-items: center; gap: 16px; }
a.contact__item:hover .contact__value { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact__item .tuile { width: 46px; height: 46px; border-radius: 12px; }
.contact__item .tuile svg { width: 20px; height: 20px; }
.contact__label { display: block; font-weight: 200; font-size: var(--t-legende); }
.contact__value { font-family: var(--f-titre); font-weight: 700; font-size: 17px; }
.contact__sub { display: block; font-weight: 200; font-size: var(--t-legende); margin-top: 2px; }

.form-card { background: var(--blanc); border-radius: 24px; padding: 44px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__intro { font-weight: 200; font-size: var(--t-legende); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-texte); font-weight: 400; font-size: var(--t-texte); }
.field .opt { font-weight: 200; font-size: var(--t-legende); }
.field input, .field select, .field textarea {
  font-family: var(--f-texte); font-weight: 400; font-size: 16px; color: var(--noir);
  padding: 14px 16px; border: 1px solid var(--noir); border-radius: 12px; background: var(--creme); width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--vert); outline-offset: 0; border-color: var(--noir); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; padding: 18px; margin-top: 4px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__status { margin: 0; padding: 14px 18px; border-radius: 12px; background: var(--vert-pale); border-left: 4px solid var(--noir); font-weight: 500; }
.form__privacy { font-weight: 200; font-size: var(--t-legende); text-align: center; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 10px; gap: 18px; }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--vert); display: flex; align-items: center; justify-content: center; }
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h3 { font-weight: 700; font-size: 28px; }
.form-success p { max-width: 400px; }

/* ---------- Pied de page (fond noir, logo secondaire Couleur + Blanc) ---------- */
.footer { background: var(--noir); padding: 64px 0 36px; color: var(--creme); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--gris); }
.footer__logo { width: 187px; height: 32px; }
.footer__about { margin-top: 24px; max-width: 360px; }
.footer__title { font-family: var(--f-titre); font-weight: 700; color: var(--creme); margin: 0 0 16px; }
.footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--creme); }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer__bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-weight: 200; font-size: var(--t-legende); color: var(--gris); }
.footer__bottom a { color: var(--gris); }
.footer--simple { padding: 40px 0 32px; }
.footer--simple .footer__bottom { padding-top: 0; }

/* ---------- Pages légales ---------- */
.page-head { background: var(--creme); position: relative; overflow: hidden; border-bottom: 1px solid var(--gris); }
.page-head__inner { padding-top: 56px; padding-bottom: 44px; max-width: calc(760px + 2 * var(--pad)); }
.page-head h1 { margin-top: 8px; font-weight: 800; font-size: var(--t-soustitre); line-height: 1.08; letter-spacing: -.02em; }
.page-head__date { margin-top: 14px; font-weight: 200; font-size: var(--t-legende); }
.legal { background: var(--blanc); }
.legal__inner { padding-top: 64px; padding-bottom: 80px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose section + section { margin-top: 48px; }
.prose h2 { margin: 0 0 16px; font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.prose h3 { margin: 28px 0 10px; font-weight: 700; font-size: var(--t-texte); }
.prose p, .prose li { line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--noir); }
.infobox { margin-top: 18px; background: var(--creme); border-radius: 14px; padding: 24px 28px; }
.infobox p + p { margin-top: 6px; }
.infobox + p { margin-top: 16px; }
.prose .btn { margin-top: 48px; text-decoration: none; }
.form-template { border: 1px dashed var(--noir); border-radius: 14px; padding: 24px 28px; margin-top: 16px; }

/* ---------- Pages 404 / merci ---------- */
.center-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--creme); }
.center-page main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 24px; position: relative; overflow: hidden; }
.center-page .element-graphique { right: -260px; bottom: -40px; height: 115%; width: auto; max-width: none; opacity: .35; }
.center-page__box { position: relative; text-align: center; max-width: 660px; }
.big-404 { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-titre); line-height: 1; letter-spacing: -.02em; }
.center-page h1 { margin-top: 12px; font-weight: 700; font-size: var(--t-soustitre); line-height: 1.1; letter-spacing: -.01em; }
.center-page__lead { margin-top: 18px; }
.center-page__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.center-page__links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 34px 0 0; padding: 0; list-style: none; }
.center-page__links a { font-weight: 400; text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.center-page .form-success__icon { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .nav__right { gap: 20px; }
  .hero .element-graphique { right: -420px; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .sec { padding: 64px 0; }
  .nav__bar { padding-top: 20px; padding-bottom: 20px; }    /* logo 40 px → marge 20 px */
  .nav__logo img { width: 147px; height: 40px; }
  .hero__inner { padding-top: 36px; padding-bottom: 64px; }
  .hero .element-graphique { right: -300px; top: auto; bottom: -40px; height: 70%; opacity: .25; }
  .grid-3, .grid-4, .about__grid, .contact__grid, .footer__grid { grid-template-columns: 1fr; }
  .card--large { grid-column: auto; }
  .card { padding: 30px; min-height: 0; }
  .about__grid { gap: 28px; }
  .about__picto { display: none; }
  .contact__grid { gap: 40px; }
  .form-card { padding: 28px 22px; }

  /* Menu mobile (activé seulement si JavaScript est disponible) */
  .js .nav__toggle { display: inline-flex; }
  .js .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--gris);
    padding: 8px var(--pad) 16px;
  }
  .js .nav--open .nav__links { display: flex; }
  .js .nav__links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--gris); }
  .nav__only-mobile { display: list-item; }
  .nav__right { gap: 12px; }
  /* Sans JavaScript : les liens passent sous le logo */
  .no-js .nav__bar { flex-wrap: wrap; }
  .no-js .nav__links { flex-wrap: wrap; gap: 10px 20px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
  .nav__call { display: inline-flex; }
  .form__row { grid-template-columns: 1fr; }
  .stats li + li { padding-left: 0; border-left: 0; }
  .stats { gap: 18px 32px; }
  .btn { padding: 16px 26px; }
  .review, .step { padding: 28px; }
  .center-page .element-graphique { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .nav, .hero__cta, .form-card, .skip-link, .element-graphique { display: none !important; }
  body { background: #fff; }
}

/* ---------- Pages de services ---------- */
.hero--page .hero__inner { padding-top: 32px; padding-bottom: 80px; }
.hero--page .hero__content { max-width: 1000px; }
.fil ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-weight: 200; font-size: var(--t-legende); }
.fil li + li::before { content: "›"; margin-right: 8px; }
.fil a { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.liste { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.liste li { position: relative; padding-left: 36px; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.encadre { background: var(--creme); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.encadre h2 { font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.card__lien { margin-top: 14px; font-weight: 400; }
.card--noir .lien { color: var(--creme); }
.cta-bande { background: var(--vert); }
.cta-bande__inner { padding-top: 64px; padding-bottom: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-bande .h2 { margin-top: 0; }
.cta-bande p { margin-top: 10px; }
.cta-bande__boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn--noir { background: var(--noir); color: var(--creme); }
.btn--noir:hover { background: var(--creme); color: var(--noir); border-color: var(--noir); }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .encadre { padding: 28px; }
}

/* Texte réservé aux lecteurs d'écran */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
