/* =============================================================================
   CHEZ YEMY — Feuille de style unique
   -----------------------------------------------------------------------------
   1. Variables (charte graphique — modifiable ici en un seul endroit)
   2. Réinitialisation & base
   3. Typographie
   4. Mise en page & conteneurs
   5. Composants (boutons, cartes, formulaires…)
   6. En-tête & navigation
   7. Sections de page
   8. Pied de page
   9. Utilitaires, animations, impression
   ========================================================================== */

/* ── 1. VARIABLES ────────────────────────────────────────────────────────── */
:root {
  /* Couleurs de marque */
  --encre:          #1F3A5F;   /* bleu nuit — couleur principale */
  --encre-sombre:   #142640;
  --encre-claire:   #2F5183;
  --or:             #C9A96E;   /* or — accent décoratif */
  --or-sombre:      #A8873F;
  --or-texte:       #8A6A2F;   /* or lisible sur fond clair (AA) */
  --or-clair:       #E4CE9C;   /* or lisible sur fond sombre (AA) */
  --creme:          #F7F3EC;
  --creme-sombre:   #EDE4D6;

  /* Neutres */
  --texte:          #24282E;
  --texte-doux:     #5C6470;
  --blanc:          #FFFFFF;
  --trait:          rgba(31, 58, 95, .12);
  --trait-fort:     rgba(31, 58, 95, .22);

  /* États */
  --succes:         #1F6B4A;
  --succes-fond:    #E8F4EE;
  --erreur:         #A3231F;
  --erreur-fond:    #FBECEB;

  /* Typographie */
  --titre:  "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --corps:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-xs:   .8125rem;
  --t-sm:   .9063rem;
  --t-base: 1.0313rem;
  --t-md:   clamp(1.075rem, .98rem + .38vw, 1.25rem);
  --t-lg:   clamp(1.35rem, 1.2rem + .6vw, 1.65rem);
  --t-xl:   clamp(1.7rem, 1.45rem + 1.1vw, 2.35rem);
  --t-2xl:  clamp(2.1rem, 1.65rem + 1.9vw, 3.15rem);
  --t-3xl:  clamp(2.6rem, 1.8rem + 3.3vw, 4.5rem);

  /* Rythme */
  --shell:    1320px;
  --gouttiere: clamp(1.25rem, 4vw, 4rem);
  --section:  clamp(4.5rem, 8vw, 8rem);
  --gap:      clamp(1.25rem, 2.2vw, 2rem);

  /* Formes */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ombre-douce: 0 1px 2px rgba(20, 38, 64, .04), 0 12px 34px -18px rgba(20, 38, 64, .30);
  --ombre-forte: 0 2px 4px rgba(20, 38, 64, .05), 0 28px 60px -28px rgba(20, 38, 64, .42);

  --transition: 260ms cubic-bezier(.22, .61, .36, 1);
}

/* ── Polices auto-hébergées (aucune requête vers un service tiers) ───────── */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ── 2. RÉINITIALISATION & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  font-family: var(--corps);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--or); color: var(--encre-sombre); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--or-sombre);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--encre); color: #fff; padding: .85rem 1.4rem;
  border-radius: var(--r-sm); font-weight: 500; text-decoration: none;
  transition: top 180ms ease;
}
.skip-link:focus { top: 1rem; }

main:focus { outline: none; }

/* ── 3. TYPOGRAPHIE ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--titre);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--encre);
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--corps);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-texte);
}
.eyebrow--clair,
.section--encre .eyebrow,
.bandeau .eyebrow,
.hero .eyebrow { color: var(--or); }

.lead { font-size: var(--t-md); color: var(--texte-doux); line-height: 1.6; }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-xl); margin: 2.4em 0 .7em; }
.prose h3 { font-size: var(--t-lg); margin: 2em 0 .5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15em; color: var(--texte); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--or);
}
.prose a { color: var(--or-texte); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--encre); }
.prose strong { font-weight: 600; color: var(--encre); }

/* ── 4. MISE EN PAGE ─────────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.shell--etroit { max-width: 900px; }

.section { padding-block: var(--section); }
.section--creme  { background: var(--creme); }
.section--encre  { background: var(--encre); color: rgba(255,255,255,.86); }
.section--encre h1, .section--encre h2, .section--encre h3 { color: #fff; }
.section--serre  { padding-block: calc(var(--section) * .62); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow + .section-title { margin-top: .85rem; }
.section-head .section-lead { margin-top: 1.15rem; color: var(--texte-doux); font-size: var(--t-md); }
.section--encre .section-head .section-lead { color: rgba(255,255,255,.8); }

.grille { display: grid; gap: var(--gap); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grille--paire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 54rem) { .grille--fixe3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .grille--paire { grid-template-columns: 1fr; } }

.duo {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 62rem) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--texte-droite > *:first-child { order: 2; }
}

/* ── 5. COMPOSANTS ───────────────────────────────────────────────────────── */

/* Images */
.cy-img { display: block; position: relative; overflow: hidden; }
.cy-img img { width: 100%; height: 100%; object-fit: cover; }
.cy-img--absent { background: linear-gradient(135deg, var(--creme-sombre), rgba(31,58,95,.16)); }
.cy-img--couvre { position: absolute; inset: 0; }
.cy-img--couvre img { height: 100%; }
.media { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--ombre-douce); }
.media--haut  { aspect-ratio: 4 / 5; }
.media--large { aspect-ratio: 3 / 2; }
.media--carre { aspect-ratio: 1 / 1; }
.media > .cy-img, .media > .cy-img img { width: 100%; height: 100%; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.6rem;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 2.6rem; padding: .5rem 1.15rem; font-size: var(--t-xs); }
.btn--lg { min-height: 3.4rem; padding: 1rem 2.1rem; font-size: var(--t-base); }
.btn--bloc { width: 100%; }

.btn--primary { background: var(--encre); color: #fff; }
.btn--primary:hover { background: var(--encre-sombre); box-shadow: var(--ombre-douce); }

.btn--accent { background: var(--or); color: var(--encre-sombre); }
.btn--accent:hover { background: var(--or-sombre); color: #fff; }

.btn--outline { border-color: var(--trait-fort); color: var(--encre); background: transparent; }
.btn--outline:hover { background: var(--encre); color: #fff; border-color: var(--encre); }

.btn--fantome { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn--fantome:hover { background: #fff; color: var(--encre); border-color: #fff; }

.btn-groupe { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-groupe--center { justify-content: center; }

/* Lien fléché */
.lien-fleche {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--t-sm); font-weight: 500; color: var(--or-texte);
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}
.lien-fleche::after { content: "→"; transition: transform var(--transition); }
.lien-fleche:hover { color: var(--encre); border-color: currentColor; }
.lien-fleche:hover::after { transform: translateX(3px); }
.section--encre .lien-fleche { color: var(--or); }
.section--encre .lien-fleche:hover { color: #fff; }

/* Cartes */
.carte {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--trait);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.carte__corps { padding: clamp(1.35rem, 2.2vw, 1.85rem); display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.carte__titre { font-size: var(--t-lg); }
.carte__texte { color: var(--texte-doux); font-size: var(--t-sm); }
.carte__pied { margin-top: auto; padding-top: .5rem; }
a.carte { text-decoration: none; }
a.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: var(--trait-fort); }
a.carte:hover .cy-img img { transform: scale(1.04); }
.carte .cy-img img { transition: transform 700ms cubic-bezier(.22,.61,.36,1); }

/* Carte univers (image plein cadre + libellé en surimpression) */
.univers {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-md); aspect-ratio: 4 / 5;
  text-decoration: none; color: #fff; isolation: isolate;
}
.univers .cy-img { position: absolute; inset: 0; height: 100%; }
.univers .cy-img img { height: 100%; transition: transform 900ms cubic-bezier(.22,.61,.36,1); }
.univers::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,38,64,.05) 0%, rgba(20,38,64,.45) 55%, rgba(20,38,64,.88) 100%);
  transition: opacity var(--transition);
}
.univers__contenu { position: relative; z-index: 2; margin-top: auto; padding: clamp(1.4rem, 2.5vw, 2rem); height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.univers__titre { font-size: var(--t-xl); color: #fff; }
.univers__texte { margin-top: .4rem; font-size: var(--t-sm); color: rgba(255,255,255,.85); }
.univers__lien { margin-top: 1rem; font-size: var(--t-sm); font-weight: 500; color: var(--or); display: inline-flex; align-items: center; gap: .4rem; }
.univers__lien::after { content: "→"; transition: transform var(--transition); }
.univers:hover .cy-img img { transform: scale(1.06); }
.univers:hover .univers__lien::after { transform: translateX(4px); }

/* Formule / offre */
.formule { position: relative; }
.formule--vedette { border-color: var(--or); box-shadow: 0 0 0 1px var(--or), var(--ombre-douce); }
.formule__badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: var(--or); color: var(--encre-sombre);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--r-pill);
}
.formule__prix { font-family: var(--titre); font-size: var(--t-xl); color: var(--encre); }
.formule__prix small { font-family: var(--corps); font-size: var(--t-xs); color: var(--texte-doux); font-weight: 400; letter-spacing: .02em; }
.liste-check { display: grid; gap: .55rem; margin-top: .35rem; }
.liste-check li { position: relative; padding-left: 1.7rem; font-size: var(--t-sm); color: var(--texte); }
.liste-check li::before {
  content: ""; position: absolute; left: .15rem; top: .42em;
  width: .72rem; height: .38rem; border-left: 2px solid var(--or-sombre); border-bottom: 2px solid var(--or-sombre);
  transform: rotate(-45deg);
}

/* Étapes numérotées */
.etapes { counter-reset: etape; display: grid; gap: var(--gap); }
.etape { position: relative; padding-left: 4rem; }
.etape::before {
  counter-increment: etape; content: counter(etape, decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--titre); font-size: var(--t-lg); color: var(--or);
}
.etape::after {
  content: ""; position: absolute; left: 1.15rem; top: 2.2rem; bottom: -1.4rem;
  width: 1px; background: var(--trait);
}
.etape:last-child::after { display: none; }
.etape__titre { font-size: var(--t-md); }
.etape__texte { margin-top: .4rem; color: var(--texte-doux); font-size: var(--t-sm); }
.section--encre .etape__texte { color: rgba(255,255,255,.75); }
.section--encre .etape::after { background: rgba(255,255,255,.18); }

/* Chiffres clés */
.kpi { background: var(--creme); border-radius: var(--r-md); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.kpi__valeur { font-family: var(--titre); font-size: var(--t-xl); color: var(--encre); line-height: 1; }
.kpi__label { margin-top: .5rem; font-size: var(--t-sm); color: var(--texte-doux); }
.section--encre .kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.section--encre .kpi__valeur { color: var(--or); }
.section--encre .kpi__label { color: rgba(255,255,255,.78); }

/* Témoignage */
.temoignage {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: clamp(1.5rem, 2.6vw, 2rem);
  display: flex; flex-direction: column; gap: .9rem;
}
.temoignage__marque { font-family: var(--titre); font-size: 2.6rem; line-height: .6; color: var(--or); }
.temoignage__texte { color: rgba(255,255,255,.9); font-size: var(--t-sm); line-height: 1.75; }
.temoignage__auteur { margin-top: auto; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--or-clair); }

/* Accordéon FAQ */
.faq { display: grid; gap: .75rem; max-width: 60rem; margin-inline: auto; }
.faq__item { border: 1px solid var(--trait); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--trait-fort); box-shadow: var(--ombre-douce); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--titre); font-size: var(--t-md); color: var(--encre);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; flex: 0 0 auto; width: .6rem; height: .6rem;
  border-right: 2px solid var(--or-sombre); border-bottom: 2px solid var(--or-sombre);
  transform: rotate(45deg); transition: transform var(--transition);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__r { padding: 0 1.4rem 1.4rem; color: var(--texte-doux); font-size: var(--t-sm); }

/* Bandeau d'appel à l'action */
.bandeau { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.bandeau .cy-img { position: absolute; inset: 0; height: 100%; z-index: -2; }
.bandeau .cy-img img { height: 100%; }
.bandeau::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,38,64,.92) 0%, rgba(20,38,64,.72) 55%, rgba(20,38,64,.55) 100%);
}
.bandeau h2 { color: #fff; }
.bandeau p { color: rgba(255,255,255,.85); }

/* Étiquettes / filtres */
.etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; }
.etiquette {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: .35rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--trait-fort); background: #fff;
  font-size: var(--t-sm); color: var(--encre); text-decoration: none; cursor: pointer;
  transition: all var(--transition);
}
.etiquette:hover { border-color: var(--encre); }
.etiquette[aria-current], .etiquette.is-active { background: var(--encre); color: #fff; border-color: var(--encre); }

/* Fil d'Ariane */
.fil { font-size: var(--t-xs); color: var(--texte-doux); padding-top: 1.5rem; }
.fil ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.fil li + li::before { content: "›"; margin-right: .4rem; color: var(--trait-fort); }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--or-texte); text-decoration: underline; }

/* ── Formulaires ─────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.35rem; }
.champ { display: grid; gap: .4rem; }
.champ > label, .legende {
  font-size: var(--t-sm); font-weight: 500; color: var(--encre);
}
.champ__aide { font-size: var(--t-xs); color: var(--texte-doux); }
.champ input[type="text"], .champ input[type="email"], .champ input[type="tel"],
.champ input[type="date"], .champ input[type="number"], .champ select, .champ textarea {
  width: 100%; padding: .85rem 1rem;
  background: #fff; color: var(--texte);
  border: 1px solid var(--trait-fort); border-radius: var(--r-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 3rem;
}
.champ textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.champ select { appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235C6470' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: .7rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  border-color: var(--or-sombre); box-shadow: 0 0 0 3px rgba(201,169,110,.22); outline: none;
}
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: var(--erreur); }
.champ__erreur { font-size: var(--t-xs); color: var(--erreur); font-weight: 500; }

fieldset { border: 0; padding: 0; }
.legende { margin-bottom: .7rem; display: block; }

/* Choix visuels (radio / cases en cartes) */
.choix { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.choix__option { position: relative; }
.choix__option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choix__option span {
  display: flex; align-items: center; gap: .6rem; min-height: 3.25rem; height: 100%;
  padding: .8rem 1rem; border: 1px solid var(--trait-fort); border-radius: var(--r-sm);
  background: #fff; font-size: var(--t-sm); transition: all var(--transition);
}
.choix__option input:checked + span {
  border-color: var(--encre); background: var(--encre); color: #fff;
  box-shadow: var(--ombre-douce);
}
.choix__option input:focus-visible + span { outline: 3px solid var(--or-sombre); outline-offset: 3px; }
.choix__option:hover span { border-color: var(--encre); }

.case { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-sm); color: var(--texte-doux); }
.case input { margin-top: .28em; width: 1.1rem; height: 1.1rem; accent-color: var(--encre); flex: 0 0 auto; }

.pot-de-miel { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alerte { padding: 1rem 1.25rem; border-radius: var(--r-sm); font-size: var(--t-sm); border: 1px solid; }
.alerte--erreur  { background: var(--erreur-fond); border-color: rgba(163,35,31,.3); color: var(--erreur); }
.alerte--succes  { background: var(--succes-fond); border-color: rgba(31,107,74,.3); color: var(--succes); }
.alerte ul { margin-top: .5rem; padding-left: 1.1rem; list-style: disc; }

/* Progression du formulaire multi-étapes */
.progression { display: flex; gap: .5rem; margin-bottom: 2rem; }
.progression__pas {
  flex: 1; display: grid; gap: .5rem; font-size: var(--t-xs);
  color: var(--texte-doux); text-align: left;
}
.progression__barre { height: 4px; border-radius: 2px; background: var(--trait); transition: background var(--transition); }
.progression__pas.is-active .progression__barre,
.progression__pas.is-done   .progression__barre { background: var(--or); }
.progression__pas.is-active { color: var(--encre); font-weight: 600; }

/* ── 6. EN-TÊTE ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.is-collee { border-color: var(--trait); box-shadow: 0 6px 24px -18px rgba(20,38,64,.5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.9rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--encre); }
.brand__mark { color: var(--or); display: grid; place-items: center; flex: 0 0 auto; }
.brand__text { display: grid; }
.brand__name { font-family: var(--titre); font-size: 1.32rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1; }
.brand__baseline { font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-doux); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem); }
.nav__link {
  position: relative; font-size: var(--t-sm); font-weight: 500;
  text-decoration: none; color: var(--texte); padding: .4rem 0; white-space: nowrap;
  transition: color var(--transition);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--or); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--encre); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { color: var(--encre); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-size: var(--t-sm); font-weight: 500; text-decoration: none; color: var(--encre); white-space: nowrap; }
.nav__phone:hover { color: var(--or-texte); }

.burger {
  display: none; align-items: center; gap: .55rem;
  background: none; border: 0; cursor: pointer; padding: .5rem;
  font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--encre);
}
.burger__lines { display: grid; gap: 4px; width: 22px; }
.burger__lines span { display: block; height: 1.5px; background: currentColor; transition: transform var(--transition), opacity var(--transition); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 78rem) {
  .nav__phone { display: none; }
  .nav__list { gap: 1.05rem; }
  .brand__baseline { display: none; }
}

@media (max-width: 60rem) {
  .burger { display: inline-flex; }
  .nav__phone { display: block; }
  .nav {
    position: fixed; inset: 4.9rem 0 auto; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--trait);
    padding: 1rem var(--gouttiere) 2rem;
    max-height: calc(100dvh - 4.9rem); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav.is-ouverte { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--trait); }
  .nav__link { display: block; padding: 1rem 0; font-size: var(--t-md); font-family: var(--titre); }
  .nav__link::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: .8rem; margin-top: 1.5rem; }
  .nav__phone { text-align: center; padding: .5rem; }
  .nav__actions .btn { width: 100%; min-height: 3.1rem; }
}

/* ── 7. SECTIONS DE PAGE ─────────────────────────────────────────────────── */

/* Héros pleine hauteur (accueil) */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: min(88vh, 780px); color: #fff; overflow: hidden;
}
.hero .cy-img { position: absolute; inset: 0; height: 100%; z-index: -2; }
.hero .cy-img img { height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,38,64,.55) 0%, rgba(20,38,64,.28) 38%, rgba(20,38,64,.90) 100%);
}
.hero__contenu { padding-block: clamp(3.5rem, 8vw, 6rem); max-width: 52rem; }
.hero__titre { color: #fff; font-weight: 400; text-shadow: 0 2px 24px rgba(20,38,64,.35); }
.hero .eyebrow--clair { text-shadow: 0 1px 10px rgba(20,38,64,.6); }
.hero__texte { margin-top: 1.4rem; font-size: var(--t-md); color: rgba(255,255,255,.9); max-width: 40rem; }
.hero__actions { margin-top: 2.2rem; }
.hero__reassurance {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.82);
}
.hero__reassurance li { display: flex; align-items: center; gap: .5rem; }
.hero__reassurance li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--or); }

/* Héros de rubrique (2 colonnes) */
.hero-rubrique { background: var(--creme); padding-block: clamp(3rem, 6vw, 5rem); }
.hero-rubrique__titre { margin-top: .9rem; }
.hero-rubrique__texte { margin-top: 1.25rem; font-size: var(--t-md); color: var(--texte-doux); max-width: 34rem; }
.hero-rubrique__actions { margin-top: 2rem; }

/* Galerie mosaïque */
.mosaique { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.mosaique__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 5; text-decoration: none; color: #fff;
}
.mosaique__item .cy-img { position: absolute; inset: 0; height: 100%; }
.mosaique__item .cy-img img { height: 100%; transition: transform 800ms cubic-bezier(.22,.61,.36,1); }
.mosaique__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,38,64,.85) 100%);
}
.mosaique__legende { position: absolute; inset: auto 1.15rem 1.15rem; z-index: 2; }
.mosaique__titre { font-family: var(--titre); font-size: var(--t-md); color: #fff; line-height: 1.2; }
.mosaique__meta { font-size: var(--t-xs); color: rgba(255,255,255,.8); margin-top: .2rem; }
.mosaique__item:hover .cy-img img { transform: scale(1.05); }
.mosaique--large .mosaique__item { aspect-ratio: 3 / 2; }

/* Encarts de contact */
.encart {
  display: flex; flex-direction: column; gap: .5rem;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  border: 1px solid var(--trait); border-radius: var(--r-md); background: #fff;
  text-decoration: none; transition: border-color var(--transition), transform var(--transition);
}
a.encart:hover { border-color: var(--encre); transform: translateY(-3px); }
.encart__titre { font-family: var(--titre); font-size: var(--t-md); color: var(--encre); }
.encart__texte { font-size: var(--t-sm); color: var(--texte-doux); }
.encart__valeur { font-weight: 500; color: var(--or-texte); }

/* ── 8. PIED DE PAGE ─────────────────────────────────────────────────────── */
.site-footer { background: var(--encre-sombre); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--t-sm); }
.site-footer__top {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer__brand { max-width: 24rem; }
.footer-logo { font-family: var(--titre); font-size: 1.6rem; color: #fff; }
.footer-baseline { font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--or); margin-top: .3rem; }
.footer-pitch { margin-top: 1rem; line-height: 1.7; }
.footer-title { font-family: var(--corps); font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; transition: color var(--transition); }
.site-footer a:hover { color: var(--or); }
.socials { display: flex !important; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.socials a { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  padding-top: 1.75rem; font-size: var(--t-xs); color: rgba(255,255,255,.55);
}
.legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ── 9. UTILITAIRES & ANIMATIONS ─────────────────────────────────────────── */
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; } .mt-5 { margin-top: 3.5rem; }
.mesure { max-width: 62ch; }
.mesure--center { max-width: 62ch; margin-inline: auto; }
.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;
}

/* Apparition au défilement — purement CSS.
   Les blocs restent parfaitement visibles sur les navigateurs qui ne gèrent
   pas encore les animations liées au défilement : aucun contenu ne dépend
   de JavaScript pour s'afficher. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-anim] {
      animation: apparition linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 20%;
    }
  }
}
@keyframes apparition {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  [data-anim] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .btn, .skip-link, .burger { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .bandeau { min-height: 0; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
