/* ==========================================================================
   Simply Home Conciergerie — Feuille de style principale
   Direction artistique : éditorial clair & naturel (ivoire, lin, sauge, laiton)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --ivory:      #FBF9F5;
  --linen:      #F3EDE3;
  --sand:       #E4D9C7;
  --clay:       #C9B79C;
  --brass:      #A9803F;
  --brass-ink:  #856129;   /* variante lisible pour le petit texte (AA sur ivoire) */
  --forest:     #22362B;
  --forest-2:   #2E4A3A;
  --sage:       #7E9483;
  --ink:        #13201A;
  --muted:      #56655C;

  /* Rôles sémantiques */
  --bg:            var(--ivory);
  --bg-alt:        var(--linen);
  --surface:       #FFFFFF;
  --fg:            var(--ink);
  --fg-muted:      var(--muted);
  --border:        var(--sand);
  --border-soft:   #EBE3D6;
  --accent:        var(--brass);
  --accent-ink:    var(--brass-ink);
  --primary:       var(--forest);
  --on-primary:    var(--ivory);
  --ring:          var(--forest-2);
  --danger:        #A33A2B;
  --success:       #2F6B4A;

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.34vw, 1.4rem);
  --step-2:  clamp(1.42rem, 1.3rem + 0.6vw, 1.8rem);
  --step-3:  clamp(1.7rem, 1.49rem + 1.02vw, 2.32rem);
  --step-4:  clamp(2.02rem, 1.7rem + 1.62vw, 3rem);
  --step-5:  clamp(2.41rem, 1.91rem + 2.5vw, 3.86rem);
  --step-6:  clamp(2.87rem, 2.1rem + 3.83vw, 4.97rem);

  /* Espacement (échelle 4/8) */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container: 78rem;
  --container-narrow: 46rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;
  --radius-pill: 999px;

  /* Élévation — discrète, jamais "cartonneuse" */
  --shadow-1: 0 1px 2px rgba(19, 32, 26, 0.04), 0 2px 8px rgba(19, 32, 26, 0.04);
  --shadow-2: 0 2px 6px rgba(19, 32, 26, 0.05), 0 12px 32px rgba(19, 32, 26, 0.07);
  --shadow-3: 0 8px 20px rgba(19, 32, 26, 0.08), 0 32px 64px rgba(19, 32, 26, 0.1);

  /* Mouvement */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 700ms;

  /* Couches */
  --z-base: 1;
  --z-sticky: 40;
  --z-header: 60;
  --z-drawer: 80;
  --z-toast: 100;
}

/* --------------------------------------------------------------------------
   2. Reset & bases
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 40;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-s); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0 0 var(--space-s); padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; }
small { font-size: var(--step--1); }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}

::selection { background: var(--clay); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 9vw, var(--space-3xl)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--space-2xl)); }
.section--linen { background: var(--bg-alt); }
.section--forest { background: var(--forest); color: var(--ivory); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: var(--ivory); }

.stack > * + * { margin-top: var(--space-s); }
.text-center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }
.mx-auto { margin-inline: auto; }
.mt-l { margin-top: var(--space-l); }
.mt-m { margin-top: var(--space-m); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-s); top: -100px;
  z-index: var(--z-toast);
  background: var(--forest); color: var(--ivory);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-m);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: var(--space-s); }

/* --------------------------------------------------------------------------
   4. Éléments d'identité (eyebrow, filet, ornement)
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--space-m);
}
.eyebrow::before {
  content: "";
  width: 2.25rem; height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.section--forest .eyebrow { color: var(--clay); }
.section--forest .eyebrow::before { background: var(--clay); }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--fg-muted);
  font-weight: 300;
}
.section--forest .lead { color: color-mix(in srgb, var(--ivory) 78%, transparent); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--ivory);
  --btn-bd: var(--forest);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
/* Remplissage qui monte au survol — aucun déplacement de mise en page */
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--forest-2);
  transform: translateY(101%);
  transition: transform 420ms var(--ease-out);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); }

.btn--accent { --btn-bg: var(--brass); --btn-bd: var(--brass); --btn-fg: #1B1408; }
.btn--accent::after { background: #C09A56; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--clay); }
.btn--ghost::after { background: var(--linen); }
.btn--ghost:hover { --btn-bd: var(--brass); box-shadow: none; }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--forest); --btn-bd: var(--ivory); }
.btn--light::after { background: var(--linen); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: color-mix(in srgb, var(--ivory) 45%, transparent); }
.btn--outline-light::after { background: color-mix(in srgb, var(--ivory) 14%, transparent); }

.btn--lg { min-height: 3.5rem; padding: 1.05rem 2.1rem; font-size: var(--step-0); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.btn-row--center { justify-content: center; }

/* Lien fléché éditorial */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--brass) 40%, transparent);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.link-arrow svg { transition: transform var(--dur-base) var(--ease-out); flex: none; }
.link-arrow:hover { border-color: var(--brass); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--forest .link-arrow { color: var(--clay); border-color: color-mix(in srgb, var(--clay) 45%, transparent); }

/* --------------------------------------------------------------------------
   6. En-tête & navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-block: clamp(0.85rem, 1.6vw, 1.4rem);
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

/* État survolant le héros (texte clair) */
.header[data-mode="over"] { color: var(--ivory); }
.header[data-mode="over"] .logo__mark { color: var(--ivory); }
.header[data-mode="over"] .nav__link { color: color-mix(in srgb, #FFFFFF 88%, transparent); }
.header[data-mode="over"] .burger__bar { background: var(--ivory); }

/* État collé (fond ivoire) */
.header.is-stuck {
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 1px 20px rgba(19, 32, 26, 0.05);
  color: var(--ink);
}
.header.is-stuck .logo__mark { color: var(--forest); }
.header.is-stuck .nav__link { color: var(--ink); }
.header.is-stuck .burger__bar { background: var(--ink); }
.header.is-hidden { transform: translateY(-105%); }
.header { transition-property: background, box-shadow, padding, border-color, transform; }

.logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: inherit;
  flex: none;
}
.logo__mark { color: var(--forest); transition: color var(--dur-base) var(--ease-out); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 20;
  font-size: 1.22rem; letter-spacing: 0.01em;
}
.logo__tag {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  margin-top: 0.32rem; opacity: 0.72; font-weight: 500;
}

.nav { display: none; }
@media (min-width: 62.5rem) { .nav { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.75rem); } }

.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.4rem;
  transition: color var(--dur-base) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--accent-ink); }
.header[data-mode="over"] .nav__link[aria-current="page"] { color: var(--clay); }

.header__actions { display: flex; align-items: center; gap: var(--space-xs); }
.header__actions .btn { display: none; }
@media (min-width: 62.5rem) { .header__actions .btn { display: inline-flex; } }

/* Menu déroulant villes */
.nav__group { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 0.9rem); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 15rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-3);
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.nav__group:hover .nav__panel,
.nav__group:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__panel a {
  display: block; padding: 0.6rem 0.85rem;
  border-radius: var(--radius-s);
  font-size: var(--step--1); color: var(--ink); text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav__panel a:hover { background: var(--linen); }

/* Bouton hamburger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
@media (min-width: 62.5rem) { .burger { display: none; } }
.burger__bar {
  display: block; width: 22px; height: 1.5px; margin-inline: auto;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background var(--dur-base);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Tiroir mobile */
.drawer {
  position: fixed; inset: 0;
  z-index: var(--z-drawer);
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--forest);
  color: var(--ivory);
  padding: var(--space-s) var(--gutter) calc(var(--space-l) + env(safe-area-inset-bottom));
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 520ms var(--ease-out), visibility 520ms;
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; }
.drawer .logo__mark, .drawer .logo__name { color: var(--ivory); }
.drawer__close {
  width: 44px; height: 44px; background: none; border: 0; color: var(--ivory); cursor: pointer;
  display: grid; place-items: center;
}
.drawer__nav { display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; padding-block: var(--space-l); }
.drawer__link {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 40;
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  color: var(--ivory);
  text-decoration: none;
  padding-block: 0.42rem;
  opacity: 0; transform: translateY(18px);
  transition: color var(--dur-base) var(--ease-out);
}
.drawer.is-open .drawer__link { animation: drawer-in 620ms var(--ease-out) forwards; }
.drawer__link:hover, .drawer__link[aria-current="page"] { color: var(--clay); }
.drawer__sub {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem;
  padding: 0.6rem 0 1rem;
  font-size: var(--step--1);
}
.drawer__sub a { color: color-mix(in srgb, var(--ivory) 72%, transparent); text-decoration: none; }
.drawer__sub a:hover { color: var(--clay); }
.drawer__foot { border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); padding-top: var(--space-m); display: grid; gap: var(--space-xs); }
.drawer__foot a { color: var(--ivory); text-decoration: none; font-size: var(--step--1); }

@keyframes drawer-in { to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   7. Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94svh, 54rem);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
}
.hero--compact { min-height: min(66svh, 38rem); }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 22s var(--ease-in-out) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(10, 19, 14, 0.9) 0%, rgba(10, 19, 14, 0.72) 38%, rgba(10, 19, 14, 0.28) 68%, rgba(10, 19, 14, 0.1) 100%),
    linear-gradient(to top, rgba(10, 19, 14, 0.75) 0%, rgba(10, 19, 14, 0.28) 40%, rgba(10, 19, 14, 0.1) 65%, rgba(10, 19, 14, 0.5) 100%);
}
@media (max-width: 56rem) {
  .hero__scrim {
    background: linear-gradient(to top, rgba(10, 19, 14, 0.9) 0%, rgba(10, 19, 14, 0.72) 45%, rgba(10, 19, 14, 0.5) 78%, rgba(10, 19, 14, 0.6) 100%);
  }
}

.hero__inner {
  position: relative;
  padding-block: clamp(7.5rem, 16vh, 11rem) clamp(3rem, 8vh, 5.5rem);
  color: var(--ivory);
  width: 100%;
}
.hero__title {
  font-size: var(--step-6);
  color: var(--ivory);
  max-width: 16ch;
  /* Compense la marge négative des lignes révélées, qui rapproche
     visuellement le chapô du titre. */
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 100;
  color: #DFCFB2;
}
.hero__lead {
  font-size: var(--step-1);
  font-weight: 300;
  color: color-mix(in srgb, var(--ivory) 86%, transparent);
  max-width: 46ch;
  margin-bottom: var(--space-l);
}
.hero .eyebrow { color: var(--clay); }
.hero .eyebrow::before { background: var(--clay); }

/* Révélation ligne par ligne.
   Le débord vertical laisse passer jambages et accents : sans lui,
   overflow:hidden rogne le « g » de « charge » et les majuscules accentuées. */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-block: 0.2em 0.38em;
  margin-block: -0.2em -0.38em;
}
.js .reveal-line > span {
  display: block;
  transform: translateY(105%);
  animation: line-up 1050ms var(--ease-out) forwards;
}
.reveal-line > span { display: block; }
.reveal-line:nth-child(1) > span { animation-delay: 120ms; }
.reveal-line:nth-child(2) > span { animation-delay: 240ms; }
.reveal-line:nth-child(3) > span { animation-delay: 360ms; }
@keyframes line-up { to { transform: translateY(0); } }

.js .fade-up-hero { opacity: 0; transform: translateY(20px); animation: fade-up 900ms var(--ease-out) forwards; }
.fade-up-hero--1 { animation-delay: 480ms; }
.fade-up-hero--2 { animation-delay: 620ms; }
.fade-up-hero--3 { animation-delay: 760ms; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* Bandeau de repères sous le héros */
.hero__facts {
  border-top: 1px solid color-mix(in srgb, var(--ivory) 20%, transparent);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-s) var(--space-m);
  padding-top: var(--space-m);
  margin-top: var(--space-l);
  max-width: 46rem;
}
@media (min-width: 48rem) { .hero__facts { grid-template-columns: repeat(4, 1fr); } }
.hero__fact strong {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 40;
  font-size: var(--step-2);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__fact > span {
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--ivory) 72%, transparent);
}

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2rem;
  display: none;
  color: color-mix(in srgb, var(--ivory) 60%, transparent);
}
@media (min-width: 62.5rem) { .scroll-cue { display: block; } }
.scroll-cue__line {
  display: block; width: 1px; height: 3rem;
  background: linear-gradient(to bottom, transparent, currentColor);
  margin-inline: auto;
  transform-origin: top;
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(100%); opacity: 0; }
}

/* --------------------------------------------------------------------------
   8. En-tête de section
   -------------------------------------------------------------------------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, var(--space-xl)); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: 56rem; }
.section-head p { color: var(--fg-muted); font-size: var(--step-1); font-weight: 300; line-height: 1.55; }

.head-split {
  display: grid; gap: var(--space-m);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, var(--space-xl));
}
@media (min-width: 56rem) {
  .head-split { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-xl); }
}
.head-split p { color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   9. Blocs éditoriaux image + texte
   -------------------------------------------------------------------------- */
.editorial {
  display: grid;
  gap: clamp(2rem, 5vw, var(--space-xl));
  align-items: center;
}
@media (min-width: 56rem) {
  .editorial { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
  .editorial--reverse .editorial__media { order: 2; }
}
.editorial + .editorial { margin-top: clamp(3rem, 8vw, var(--space-2xl)); }

.editorial__media { position: relative; }
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--linen);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--landscape { aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--square { aspect-ratio: 1; }

/* Photo légendée (pages communes) */
.figure { margin: 0; }
.figure__caption {
  margin-top: var(--space-s);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--fg-muted);
}
.figure__credit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.figure__credit a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.figure__credit a:hover { color: var(--accent-ink); }

/* Cartouche laiton flottant */
.badge-note {
  position: absolute;
  bottom: -1.25rem; left: -1rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-s) var(--space-m);
  box-shadow: var(--shadow-2);
  max-width: 15rem;
}
@media (min-width: 56rem) { .badge-note { left: -2.5rem; bottom: -2rem; } }
.badge-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "opsz" 40;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.badge-note > span { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.35; display: block; margin-top: 0.2rem; }

/* Liste à puces filet */
.check-list { list-style: none; padding: 0; margin: var(--space-m) 0 0; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.85rem; margin: 0; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 0.28em; color: var(--accent); }
.section--forest .check-list svg { color: var(--clay); }

/* --------------------------------------------------------------------------
   10. Grilles de cartes
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-m); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 52rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62.5rem) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex; flex-direction: column;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.card:hover { border-color: var(--clay); box-shadow: var(--shadow-2); }
.card__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: var(--radius-m);
  background: var(--linen);
  color: var(--accent-ink);
  margin-bottom: var(--space-m);
  flex: none;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.card:hover .card__icon { background: var(--forest); color: var(--clay); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card p { color: var(--fg-muted); font-size: var(--step--1); line-height: 1.6; }
.card__num {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-s);
}

.card--link { text-decoration: none; color: inherit; }
.card--link:hover { text-decoration: none; }

/* Étapes numérotées */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  gap: var(--space-xs) var(--space-m);
  grid-template-columns: auto 1fr;
  padding-block: var(--space-m);
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 52rem) {
  .step { grid-template-columns: 5rem 18rem 1fr; gap: var(--space-l); align-items: baseline; padding-block: var(--space-l); }
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-variation-settings: "SOFT" 30, "opsz" 40;
  color: var(--clay);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step__num::before { content: "0" counter(step); }

/* Variante chronologie : la date remplace le numéro d'étape */
.steps--dates .step__num::before { content: none; }
.steps--dates .step__num {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  white-space: nowrap;
}
@media (min-width: 52rem) {
  .steps--dates .step { grid-template-columns: 9.5rem 16rem 1fr; }
}
.step h3 { margin: 0; font-size: var(--step-2); grid-column: 2 / -1; }
@media (min-width: 52rem) { .step h3 { grid-column: auto; } }
.step p { grid-column: 2 / -1; color: var(--fg-muted); margin: 0; }
@media (min-width: 52rem) { .step p { grid-column: auto; max-width: 52ch; } }

/* --------------------------------------------------------------------------
   11. Chiffres clés
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l) var(--space-m);
}
@media (min-width: 56rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 90;
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  display: block;
}
.section--forest .stat__value { color: var(--clay); }
.stat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: var(--step--1);
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}
.section--forest .stat__label { color: color-mix(in srgb, var(--ivory) 74%, transparent); }

/* --------------------------------------------------------------------------
   12. Témoignages
   -------------------------------------------------------------------------- */
.quote {
  border-left: 2px solid var(--brass);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 60;
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote figcaption { margin-top: var(--space-m); font-size: var(--step--1); color: var(--fg-muted); }
.quote figcaption strong { color: var(--fg); display: block; font-weight: 600; letter-spacing: 0.02em; }
.section--forest .quote { border-color: var(--clay); }
.section--forest .quote figcaption { color: color-mix(in srgb, var(--ivory) 74%, transparent); }
.section--forest .quote figcaption strong { color: var(--ivory); }

.stars { display: inline-flex; gap: 2px; color: var(--brass); margin-bottom: var(--space-s); }
.section--forest .stars { color: var(--clay); }

.testimonial-grid { display: grid; gap: var(--space-m); }
@media (min-width: 52rem) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-direction: column;
}
.testimonial blockquote { margin: 0 0 var(--space-m); font-size: var(--step-0); line-height: 1.6; color: var(--fg); }
.testimonial figcaption { margin-top: auto; font-size: var(--step--1); color: var(--fg-muted); }
.testimonial figcaption strong { display: block; color: var(--fg); font-weight: 600; }

/* Bandeau défilant discret */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: var(--space-s);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); white-space: nowrap;
}
.marquee__item::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   13. Simulateur de revenus
   -------------------------------------------------------------------------- */
.simulator {
  display: grid;
  gap: var(--space-m);
  align-items: start;
}
@media (min-width: 62.5rem) { .simulator { grid-template-columns: 1fr 1fr; gap: var(--space-l); } }

.panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}
.panel--forest { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.panel--forest h3 { color: var(--ivory); }

.field { margin-bottom: var(--space-m); }
.field:last-child { margin-bottom: 0; }
.field__label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
  color: var(--fg);
}
.field__hint { display: block; font-size: var(--step--1); font-weight: 400; color: var(--fg-muted); margin-top: 0.35rem; }
.field__req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg);
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--clay); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--forest-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 32%, transparent);
  background: var(--surface);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2356655C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
.field__error { display: none; margin-top: 0.45rem; font-size: var(--step--1); color: var(--danger); }
.field__error.is-visible { display: block; }

/* Sélecteur segmenté (choix visuels) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.chip span {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: 0.6rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--ivory);
  font-size: var(--step--1); font-weight: 500;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.chip input:hover + span { border-color: var(--clay); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 3px; }

/* Curseur */
.range-row { display: flex; align-items: center; gap: var(--space-s); }
.range {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 44px; background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 3px; background: var(--sand); border-radius: 2px; }
.range::-moz-range-track { height: 3px; background: var(--sand); border-radius: 2px; }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9.5px;
  border-radius: 50%; background: var(--forest);
  border: 3px solid var(--ivory);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest); border: 3px solid var(--ivory);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.range__value {
  min-width: 3.5rem; text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600; font-size: var(--step-0);
}

/* Résultats */
.result__amount {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 120;
  font-size: var(--step-6);
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  display: block;
}
.result__caption { font-size: var(--step--1); color: color-mix(in srgb, var(--ivory) 76%, transparent); margin-top: 0.6rem; }
.result__rows { list-style: none; padding: 0; margin: var(--space-l) 0 0; display: grid; gap: 0; }
.result__rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-s);
  padding-block: 0.85rem; margin: 0;
  border-top: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent);
  font-size: var(--step--1);
}
.result__rows li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent); }
.result__rows span:first-child { color: color-mix(in srgb, var(--ivory) 76%, transparent); }
.result__rows b { font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--step-0); }

.compare { margin-top: var(--space-l); }
.compare__title {
  font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ivory) 62%, transparent);
  margin-bottom: var(--space-s);
}
.compare__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-s);
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--ivory) 82%, transparent);
  margin-bottom: 0.35rem;
}
.compare__row b { font-variant-numeric: tabular-nums; font-size: var(--step-0); color: var(--ivory); }
.compare__bar {
  height: 8px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ivory) 12%, transparent);
  overflow: hidden;
  margin-bottom: var(--space-m);
}
.compare__fill {
  display: block; height: 100%; width: 0;
  border-radius: var(--radius-pill);
  background: var(--clay);
  transition: width 900ms var(--ease-out);
}
.compare__fill--alt { background: color-mix(in srgb, var(--sage) 78%, transparent); }
.compare__delta {
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--ivory) 78%, transparent);
  margin: 0;
}
.compare__delta b { color: var(--clay); font-variant-numeric: tabular-nums; font-size: var(--step-0); }

.disclaimer {
  font-size: var(--step--1);
  color: var(--fg-muted);
  line-height: 1.55;
  padding: var(--space-s) var(--space-m);
  background: var(--linen);
  border-left: 2px solid var(--clay);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.panel--forest .disclaimer {
  background: color-mix(in srgb, #000 14%, transparent);
  color: color-mix(in srgb, var(--ivory) 70%, transparent);
  border-color: var(--sage);
}

/* --------------------------------------------------------------------------
   14. Accordéon FAQ
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-m);
  padding: var(--space-m) 0;
  background: none; border: 0;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 40;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-base) var(--ease-out);
}
.accordion__trigger:hover { color: var(--accent-ink); }
.accordion__icon {
  flex: none; width: 1.4rem; height: 1.4rem;
  position: relative;
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: translateY(-50%);
  transition: transform 380ms var(--ease-out);
}
.accordion__icon::after { transform: translateY(-50%) rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translateY(-50%) rotate(0deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease-out);
}
.accordion__panel > div { overflow: hidden; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel p { color: var(--fg-muted); padding-bottom: var(--space-m); max-width: 68ch; }

/* --------------------------------------------------------------------------
   15. Tarifs / formules
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--space-m); }
@media (min-width: 56rem) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.plan:hover { border-color: var(--clay); box-shadow: var(--shadow-2); }
.plan--featured { background: var(--forest); border-color: var(--forest); color: var(--ivory); box-shadow: var(--shadow-3); }
.plan--featured h3 { color: var(--ivory); }
.plan__flag {
  position: absolute; top: -0.75rem; left: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--brass); color: #1B1408;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--radius-pill);
}
.plan__price {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 30, "opsz" 90;
  font-size: var(--step-4); line-height: 1;
  margin: var(--space-s) 0 0.35rem;
  font-variant-numeric: tabular-nums;
}
.plan__price small { font-family: var(--font-body); font-size: var(--step--1); font-weight: 400; opacity: 0.7; letter-spacing: 0.02em; }
.plan__desc { font-size: var(--step--1); color: var(--fg-muted); }
.plan--featured .plan__desc { color: color-mix(in srgb, var(--ivory) 78%, transparent); }
.plan .check-list { flex: 1; margin-block: var(--space-m); }
.plan .check-list li { font-size: var(--step--1); }
.plan--featured .check-list svg { color: var(--clay); }

/* --------------------------------------------------------------------------
   16. Villes
   -------------------------------------------------------------------------- */
.city-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-l);
  text-decoration: none;
  color: var(--ivory);
  aspect-ratio: 3 / 4;
  background: var(--forest);
}
.city-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.city-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 17, 0.9) 8%, rgba(12, 22, 17, 0.28) 52%, rgba(12, 22, 17, 0.08) 100%);
}
.city-card:hover img { transform: scale(1.06); }
.city-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(1.25rem, 2.6vw, 1.75rem); }
.city-card__body h3 { color: var(--ivory); font-size: var(--step-2); margin-bottom: 0.25rem; }
.city-card__body p { font-size: var(--step--1); color: color-mix(in srgb, var(--ivory) 80%, transparent); margin: 0; }
.city-card__go {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: var(--space-s);
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--clay);
}
.city-card__go svg { transition: transform var(--dur-base) var(--ease-out); }
.city-card:hover .city-card__go svg { transform: translateX(4px); }

/* Fiche d'infos locale */
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.fact-list li {
  display: grid; gap: 0.15rem 1rem;
  padding-block: 0.9rem; margin: 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 40rem) { .fact-list li { grid-template-columns: 12rem 1fr; align-items: baseline; } }
.fact-list dt, .fact-list li > span:first-child {
  font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink);
}
.fact-list li > span:last-child { color: var(--fg); }

/* --------------------------------------------------------------------------
   17. Appel à l'action final
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest); color: var(--ivory); isolation: isolate; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(20, 34, 26, 0.95) 12%, rgba(20, 34, 26, 0.74) 55%, rgba(20, 34, 26, 0.5) 100%); }
.cta-band__inner { padding-block: clamp(3.5rem, 9vw, 7rem); max-width: 44rem; }
.cta-band h2 { color: var(--ivory); font-size: var(--step-4); }
.cta-band p { color: color-mix(in srgb, var(--ivory) 82%, transparent); font-size: var(--step-1); font-weight: 300; }

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */
.footer { background: var(--forest); color: color-mix(in srgb, var(--ivory) 76%, transparent); padding-block: clamp(3rem, 7vw, 5rem) var(--space-l); }
.footer a { color: inherit; text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
.footer a:hover { color: var(--clay); }
.footer__grid { display: grid; gap: var(--space-l); }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-l); } }
.footer .logo__mark { color: var(--ivory); }
.footer .logo__name { color: var(--ivory); }
.footer h4 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer li { margin: 0; font-size: var(--step--1); }
.footer__about { font-size: var(--step--1); line-height: 1.7; max-width: 34ch; margin-top: var(--space-s); }
.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-m);
  justify-content: space-between; align-items: center;
  font-size: var(--step--1);
}
.social { display: flex; gap: 0.5rem; margin-top: var(--space-m); }
.social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--ivory) 22%, transparent);
  border-radius: 50%;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base);
}
.social a:hover { background: var(--clay); border-color: var(--clay); color: var(--forest); }

/* --------------------------------------------------------------------------
   19. Barre d'action mobile & bouton WhatsApp
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(calc(100% + 2rem));
  transition: transform 420ms var(--ease-out);
}
.action-bar.is-visible { transform: translateY(0); }
@media (min-width: 62.5rem) { .action-bar { display: none; } }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.5rem;
  background: var(--ivory);
  color: var(--forest);
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
}
.action-bar a.is-primary { background: var(--forest); color: var(--ivory); }
body.has-action-bar { padding-bottom: 3.5rem; }
@media (min-width: 62.5rem) { body.has-action-bar { padding-bottom: 0; } }

/* --------------------------------------------------------------------------
   20. Animations au défilement
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-out); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

.js [data-reveal="zoom"] img { transform: scale(1.14); transition: transform 1400ms var(--ease-out); }
.js [data-reveal="zoom"].is-in img { transform: scale(1); }

/* Cadre photo : le volet se lève pendant que l'image se dézoome.
   Appliqué sur .frame (overflow caché) pour ne jamais rogner les cartouches. */
.js [data-reveal="frame"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1100ms var(--ease-out);
}
.js [data-reveal="frame"] img { transform: scale(1.12); transition: transform 1500ms var(--ease-out); }
.js [data-reveal="frame"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="frame"].is-in img { transform: scale(1); }

[data-parallax] { backface-visibility: hidden; }

/* --------------------------------------------------------------------------
   21. Notifications
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%; bottom: clamp(1rem, 4vw, 2rem);
  transform: translate(-50%, calc(100% + 4rem));
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-toast);
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--forest); color: var(--ivory);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-3);
  font-size: var(--step--1);
  max-width: calc(100vw - 2rem);
  transition: transform 480ms var(--ease-out), opacity 320ms var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast svg { flex: none; color: var(--clay); }

/* --------------------------------------------------------------------------
   22. Prose (mentions légales, articles)
   -------------------------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-xl); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-l); }
.prose p, .prose li { color: var(--fg-muted); }
.prose a { color: var(--accent-ink); }
/* Tableau d'identité légale */
.legal-list { list-style: none; padding: 0; margin: 0 0 var(--space-m); }
.legal-list li {
  display: grid;
  gap: 0.1rem 1.5rem;
  padding-block: 0.7rem;
  margin: 0;
  border-bottom: 1px solid var(--border-soft);
}
@media (min-width: 34rem) {
  .legal-list li { grid-template-columns: 13rem 1fr; align-items: baseline; }
}
.legal-list li > span:first-child {
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.legal-list li > span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   23. Fil d'Ariane
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: var(--step--1); color: var(--fg-muted); margin-bottom: var(--space-m); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--clay); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }
.hero .breadcrumb { color: color-mix(in srgb, var(--ivory) 72%, transparent); }
.hero .breadcrumb a:hover { color: var(--clay); }

/* --------------------------------------------------------------------------
   24. Page 404
   -------------------------------------------------------------------------- */
.error-page { min-height: 78svh; display: grid; place-items: center; text-align: center; padding-top: 6rem; }
.error-page__code {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  font-size: clamp(6rem, 22vw, 14rem);
  line-height: 0.9;
  color: var(--clay);
}

/* --------------------------------------------------------------------------
   25. Mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="zoom"] img, .js [data-reveal="frame"] img { transform: none !important; }
  .hero__media img { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   26. Impression
   -------------------------------------------------------------------------- */
@media print {
  .header, .drawer, .action-bar, .scroll-cue, .cta-band, .footer .social { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
