/* ==========================================================================
   IBWAH · Feuille de style principale
   Charte : ambre #FABB5B / noir #1D1D1B / crème #FAF7F2
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Couleurs de marque */
  --ink:          #1d1d1b;
  --ink-soft:     #2b2a26;
  --ink-muted:    #6a665d;
  --amber:        #fabb5b;
  --amber-deep:   #e39c2c;
  --amber-soft:   #fde7c4;
  --amber-wash:   #fdf4e6;
  --cream:        #faf7f2;
  --paper:        #ffffff;
  --line:         #e8e2d7;
  --line-dark:    rgba(250, 187, 91, .18);

  /* Typographie */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Rayons */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(29, 29, 27, .05);
  --shadow-md: 0 12px 32px rgba(29, 29, 27, .08);
  --shadow-lg: 0 28px 70px rgba(29, 29, 27, .14);

  /* Surfaces inversées (sections sombres, pied de page, bandeaux) */
  --ink-fixed:    #1d1d1b;   /* encre qui ne s'inverse jamais : texte sur ambre */
  --invert-bg:    #1d1d1b;
  --invert-fg:    #ffffff;
  --invert-muted: rgba(255, 255, 255, .68);

  /* Interface */
  --header-bg:    rgba(250, 247, 242, .82);
  --ghost-border: rgba(29, 29, 27, .22);
  --hover-tint:   rgba(29, 29, 27, .055);

  /* Rythme */
  --wrap: 1220px;
  --gutter: 24px;
  --section: 120px;
  --header-h: 82px;
}

/* --------------------------------------------------------------------------
   1 bis. Palette sombre
   Appliquée par l'attribut data-theme sur <html>. Le script en tête de chaque
   page le pose avant le premier rendu : aucun clignotement au chargement.
   -------------------------------------------------------------------------- */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ink:          #f4f1ea;
  --ink-soft:     #ddd8cd;
  --ink-muted:    #a29c90;

  --amber:        #fabb5b;
  --amber-deep:   #f5b048;
  --amber-soft:   #4a3c24;
  --amber-wash:   #2a2318;

  --cream:        #121211;
  --paper:        #1b1a18;
  --line:         #2f2d29;
  --line-dark:    rgba(250, 187, 91, .22);

  --invert-bg:    #0a0a09;
  --invert-fg:    #f4f1ea;
  --invert-muted: rgba(244, 241, 234, .66);

  --header-bg:    rgba(18, 18, 17, .84);
  --ghost-border: rgba(244, 241, 234, .26);
  --hover-tint:   rgba(244, 241, 234, .07);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
}

/* Photographies légèrement adoucies sur fond sombre */
:root[data-theme="dark"] .split__media img,
:root[data-theme="dark"] .page-hero-media img,
:root[data-theme="dark"] .pole-card__media img { filter: brightness(.88) contrast(1.02); }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15.6px, 15.1px + .13vw, 17.4px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 3.2vw, 4.25rem); }
h2 { font-size: clamp(1.66rem, 1.2rem + 2.1vw, 3.1rem); }
h3 { font-size: clamp(1.12rem, 1rem + .55vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: clamp(1rem, .97rem + .15vw, 1.05rem); letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 2.5px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.section { padding-block: var(--section); }
.section--tight { padding-block: 84px; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: clamp(1rem, .96rem + .2vw, 1.075rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber-deep);
  flex: none;
}
.eyebrow--light { color: rgba(255,255,255,.62); }
.eyebrow--light::before { background: var(--amber); }

.lede { font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); color: var(--ink-muted); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.muted { color: var(--ink-muted); }
.amber-text { color: var(--amber-deep); }

.underline-accent {
  display: inline;
  white-space: nowrap;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-size: 100% .17em;
  background-position: 0 92%;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn svg { flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--amber); color: var(--ink-fixed); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--amber { background: var(--amber); color: var(--ink-fixed); }
.btn--amber:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--light { background: #fff; color: var(--ink-fixed); }
.btn--light:hover { background: var(--amber); color: var(--ink-fixed); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ghost-border); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: #fff; color: var(--ink-fixed); }

.btn--sm { padding: 11px 20px; font-size: .875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--amber);
  transition: gap .25s ease, color .25s ease;
}
.link-arrow:hover { gap: 15px; color: var(--amber-deep); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   4 ter. Écran de chargement
   Il se retire au chargement complet de la page. Une animation CSS de secours
   le masque au bout de 5 s, pour qu'une erreur de script ne bloque jamais le site.
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 22px;
  background: var(--cream);
  animation: preloader-secours 0s linear 5s forwards;
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes preloader-secours { to { opacity: 0; visibility: hidden; } }

.preloader__inner { display: grid; justify-items: center; gap: 20px; }
.preloader__logo {
  width: 54px; height: 54px;
  border-radius: 14px;
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(.92); opacity: .7; }
}
.preloader__track {
  width: 120px; height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.preloader__track::after {
  content: "";
  display: block;
  width: 40%; height: 100%;
  border-radius: 3px;
  background: var(--amber-deep);
  animation: preloader-slide 1.1s ease-in-out infinite;
}
@keyframes preloader-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__track::after { animation: none; }
}

/* --------------------------------------------------------------------------
   4 bis. Bannière promotionnelle
   Masquée sans transition par la classe posée en tête de page si le visiteur
   l'a déjà fermée : elle ne doit jamais apparaître puis disparaître.
   -------------------------------------------------------------------------- */
.promo-bar {
  position: relative;
  z-index: 95;
  background: var(--amber);
  color: var(--ink-fixed);
  font-family: var(--font-display);
  font-weight: 600;
}
:root.promo-hidden .promo-bar { display: none; }

.promo-bar__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 11px calc(var(--gutter) + 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  text-align: center;
  font-size: .92rem;
  line-height: 1.4;
}
.promo-bar strong { font-weight: 800; }

.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(29, 29, 27, .88);
  color: #faf7f2;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .07em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.promo-code:hover { background: var(--ink-fixed); transform: translateY(-1px); }
.promo-code svg { width: 14px; height: 14px; flex: none; }

.promo-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--ink-fixed);
  cursor: pointer;
  transition: background .2s ease;
}
.promo-close:hover { background: rgba(29, 29, 27, .14); }
.promo-close svg { width: 15px; height: 15px; }

@media (max-width: 760px) {
  .promo-bar__inner { font-size: .84rem; padding: 10px calc(var(--gutter) + 30px); gap: 6px 10px; }
  .promo-code { font-size: .78rem; padding: 4px 10px; }
}

/* --------------------------------------------------------------------------
   5. En-tête / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}
.brand-tag {
  font-size: .655rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: .945rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: var(--hover-tint); }
.nav-link.is-active { color: var(--amber-deep); font-weight: 700; }
.nav-link .caret { transition: transform .25s ease; }
.has-drop.is-open > .nav-link .caret { transform: rotate(180deg); }

.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 330px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.has-drop:hover .drop,
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translateY(0); }

.drop a {
  display: block;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  transition: background .2s ease;
}
.drop a:hover { background: var(--amber-wash); }
.drop strong {
  display: block;
  font-family: var(--font-display);
  font-size: .96rem;
  margin-bottom: 2px;
}
.drop span { font-size: .84rem; color: var(--ink-muted); line-height: 1.45; display: block; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Bascule clair / sombre */
.theme-toggle {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ghost-border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.theme-toggle:hover { background: var(--hover-tint); border-color: var(--amber-deep); color: var(--amber-deep); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 1px solid var(--ghost-border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.lang-switch a {
  padding: 9px 13px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-muted);
  transition: background .2s ease, color .2s ease;
}
.lang-switch a:hover { background: var(--hover-tint); color: var(--ink); }
.lang-switch a.is-current { background: var(--amber); color: var(--ink-fixed); }

/* Variantes dans le panneau mobile */
.mobile-panel .lang-row,
.mobile-panel .theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  border-bottom: 0;
}
.mobile-panel .lang-row > span,
.mobile-panel .theme-row > span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-panel .lang-row { border-top: 1px solid var(--line); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ghost-border);
  border-radius: var(--r-pill);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* Panneau mobile */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 89;
  background: var(--cream);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-panel a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a small {
  display: block;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.mobile-panel .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding: 18px 0 0; }

.hero-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--invert-bg);
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}
.hero-card .hero-bg-wrap {
  position: absolute;
  inset: 0;
}
.hero-card img.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(29,29,27,.94) 0%, rgba(29,29,27,.78) 38%, rgba(29,29,27,.25) 70%, rgba(29,29,27,.45) 100%),
    radial-gradient(120% 90% at 8% 100%, rgba(250,187,91,.32) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 56px 60px;
  max-width: 830px;
  color: #fff;
}
.hero-content h1 { color: #fff; margin-bottom: 24px; }
.hero-content p {
  color: rgba(255,255,255,.8);
  font-size: 1.16rem;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-badge {
  position: absolute;
  right: 44px;
  bottom: 56px;
  z-index: 2;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  color: #fff;
  max-width: 290px;
}
.hero-badge .chips { display: flex; margin-bottom: 16px; }
.hero-badge .chip {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.15);
  margin-left: -12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-badge .chip:first-child { margin-left: 0; }
.hero-badge .chip picture,
.hero-badge .chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.hero-badge span { font-size: .89rem; color: rgba(255,255,255,.75); line-height: 1.45; }

/* Hero secondaire (pages pôles) */
.page-hero { padding: 64px 0 0; }
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lede { max-width: 540px; margin-bottom: 32px; }
.page-hero-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}
.page-hero-media picture { height: 100%; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   7. Bandeau défilant
   -------------------------------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 20px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --------------------------------------------------------------------------
   8. Cartes & blocs
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--amber); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-muted); font-size: .975rem; }

.card-num {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber-deep);
  margin-bottom: 18px;
  display: block;
}

.icon-box {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--amber-wash);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--amber-soft);
}
.icon-box svg { width: 24px; height: 24px; }

/* Cartes pôles */
.pole-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pole-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pole-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--amber-wash); }
.pole-card__media picture { height: 100%; }
.pole-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pole-card:hover .pole-card__media img { transform: scale(1.045); }
.pole-card__body { padding: 34px 34px 36px; display: flex; flex-direction: column; flex: 1; }
.pole-card__label {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--ink-fixed);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pole-card__body p { color: var(--ink-muted); margin-bottom: 22px; }
.pole-card__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pole-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .945rem;
  color: var(--ink-soft);
}
.pole-card__list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: .55em;
  border-radius: 2px;
  background: var(--amber);
  transform: rotate(45deg);
}
.pole-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Bloc image + texte */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media picture { height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 20px; }
.split__body p { color: var(--ink-muted); }

.float-stat {
  position: absolute;
  left: 26px; bottom: 26px;
  background: rgba(29,29,27,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 20px 24px;
  color: #fff;
  max-width: 250px;
}
.float-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 3px;
}
.float-stat span { font-size: .85rem; color: rgba(255,255,255,.72); line-height: 1.45; }

/* Liste de points */
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--amber);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}
.checklist strong { font-family: var(--font-display); }
.checklist p { font-size: .95rem; color: var(--ink-muted); margin: 2px 0 0; }

/* --------------------------------------------------------------------------
   9. Sections sombres
   -------------------------------------------------------------------------- */
.dark {
  background: var(--invert-bg);
  color: var(--invert-fg);
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,187,91,.17) 0%, transparent 65%);
  pointer-events: none;
}
.dark h2, .dark h3 { color: var(--invert-fg); }
.dark p { color: var(--invert-muted); }
.dark .section-head p { color: var(--invert-muted); }
.dark .card {
  background: rgba(255,255,255,.045);
  border-color: var(--line-dark);
}
.dark .card:hover { border-color: var(--amber); background: rgba(255,255,255,.075); }
.dark .card p { color: var(--invert-muted); }
.dark .icon-box {
  background: rgba(250,187,91,.13);
  border-color: rgba(250,187,91,.28);
  color: var(--amber);
}
.dark .checklist p { color: var(--invert-muted); }

/* Les cartes pôles gardent un fond clair : leur texte ne doit pas passer en blanc
   lorsqu'elles sont placées dans une section sombre. */
.dark .pole-card h3 { color: var(--ink); }
.dark .pole-card p { color: var(--ink-muted); }
.dark .pole-card__list li { color: var(--ink-soft); }
.dark .pole-card .link-arrow { color: var(--ink); }
.dark .pole-card .link-arrow:hover { color: var(--amber-deep); }

/* Étapes de méthode */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.dark .step { border-color: var(--line-dark); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--amber);
  line-height: 1;
}
.step__body h3 { margin-bottom: 8px; }
.step__body p { color: var(--ink-muted); max-width: 640px; margin: 0; }
.dark .step__body p { color: var(--invert-muted); }

/* Note de fin de section (« et le reste ») */
.section-note {
  max-width: 780px;
  margin: 52px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.section-note p { color: var(--ink-muted); font-size: .99rem; }
.dark .section-note strong { color: var(--invert-fg); }

/* Statistiques / valeurs */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 46px 0;
  border-block: 1px solid var(--line);
}
.dark .stat-row { border-color: var(--line-dark); }
.stat__pole {
  display: block;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 10px;
}
.dark .stat__pole { color: var(--amber); }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.stat span { font-size: .93rem; color: var(--ink-muted); }
.dark .stat span { color: var(--invert-muted); }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-q .sign {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.faq-item.is-open .faq-q .sign { transform: rotate(45deg); background: var(--amber); border-color: var(--amber); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  color: var(--ink-muted);
  max-width: 780px;
  padding-bottom: 26px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Bandeau CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--invert-bg);
  padding: 76px 60px;
  color: var(--invert-fg);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 140% at 100% 0%, rgba(250,187,91,.28) 0%, transparent 58%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--invert-fg); margin-bottom: 16px; }
.cta-band p { color: var(--invert-muted); margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions .btn { justify-content: center; }

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 26px; }
.contact-list dt, .contact-list .label {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.contact-list .value { font-size: 1.06rem; font-family: var(--font-display); font-weight: 600; }
.placeholder-note {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: var(--amber-wash);
  border: 1px dashed var(--amber-deep);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--amber-deep);
  vertical-align: middle;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span {
  display: block;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-deep);
  background: var(--paper);
}
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--ink-muted); margin: 14px 0 0; text-align: center; }

/* --------------------------------------------------------------------------
   13. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--invert-bg);
  color: var(--invert-fg);
  padding: 82px 0 34px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand-name { color: var(--invert-fg); }
.site-footer .brand-tag { color: var(--invert-muted); }
.footer-about { color: var(--invert-muted); font-size: .95rem; max-width: 320px; margin-top: 22px; }

/* Réseaux sociaux */
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--invert-muted);
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-fixed);
  transform: translateY(-2px);
}
.social svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col li { color: var(--invert-muted); font-size: .95rem; }
.footer-col a { color: var(--invert-muted); font-size: .95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: .855rem;
  color: var(--invert-muted);
}
.footer-bottom a { color: var(--invert-muted); }
.footer-bottom a:hover { color: var(--amber); }

/* --------------------------------------------------------------------------
   14. Animations au défilement
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   15. Pages Contact et Dépôt de dossier
   -------------------------------------------------------------------------- */

/* Tuiles de coordonnées */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.contact-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 24px 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.contact-tile:hover { border-color: var(--amber); transform: translateY(-3px); }
.contact-tile .icon-box { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.contact-tile .icon-box svg { width: 19px; height: 19px; }
.contact-tile .label {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 5px;
}
.contact-tile .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  display: block;
}

/* Formulaire pleine largeur */
.form--wide { padding: 44px; }

.form-block { border: 0; padding: 0; margin: 0 0 34px; }
.form-block[hidden] { display: none; }
.form-block > legend {
  display: block;
  width: 100%;
  padding: 0 0 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.form-block > legend small {
  display: block;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-top: 5px;
}
.form-block__num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink-fixed);
  font-size: .78rem;
  font-weight: 800;
  vertical-align: 2px;
}

/* Sélecteur de pôle */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-body {
  display: block;
  height: 100%;
  padding: 24px 24px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.choice-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.choice-body > span:not(.choice-tick) { display: block; font-size: .9rem; color: var(--ink-muted); line-height: 1.5; }
.choice-body .choice-tick {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  margin-bottom: 14px;
  transition: background .22s ease, border-color .22s ease;
}
.choice-body .choice-tick svg { width: 12px; height: 12px; opacity: 0; transition: opacity .18s ease; }
.choice input:checked + .choice-body {
  border-color: var(--amber-deep);
  background: var(--amber-wash);
  box-shadow: 0 6px 20px rgba(227,156,44,.14);
}
.choice input:checked + .choice-body .choice-tick { background: var(--amber); border-color: var(--amber-deep); }
.choice input:checked + .choice-body .choice-tick svg { opacity: 1; }
.choice input:focus-visible + .choice-body { outline: 2.5px solid var(--amber-deep); outline-offset: 3px; }

/* Cases à cocher et boutons radio en grille */
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: .93rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.opt input { width: 17px; height: 17px; accent-color: var(--amber-deep); flex: none; cursor: pointer; }
.opt:hover { border-color: var(--amber); }
.opt:has(input:checked) { border-color: var(--amber-deep); background: var(--amber-wash); }

.field-hint { display: block; font-size: .83rem; color: var(--ink-muted); margin-top: 7px; font-weight: 400; }

/* Consentement */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: .89rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  cursor: pointer;
}
.consent input { width: 17px; height: 17px; accent-color: var(--amber-deep); flex: none; margin-top: 2px; }

/* Hero sans visuel : bloc unique centré, pas de colonne vide à droite */
.page-hero--plain { padding-bottom: 12px; }
.page-hero--plain .page-hero-inner {
  display: block;
  gap: 0;
  text-align: center;
}
.page-hero--plain .page-hero-inner > div {
  max-width: 860px;
  margin-inline: auto;
}
.page-hero--plain .lede { max-width: 680px; margin-inline: auto; }
.page-hero--plain .hero-actions { justify-content: center; }

/* Formulaire multi-étapes */
.stepper {
  display: flex;
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  counter-reset: step;
}
.stepper li {
  flex: 1;
  position: relative;
  text-align: center;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color .25s ease;
}
.stepper li::before {
  counter-increment: step;
  content: counter(step);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-size: .85rem;
  color: var(--ink-muted);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  width: 100%; height: 2px;
  background: var(--line);
  z-index: 1;
  transition: background .3s ease;
}
.stepper li.is-current { color: var(--ink); }
.stepper li.is-current::before { border-color: var(--amber-deep); background: var(--amber-wash); color: var(--ink); }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done::before { background: var(--amber); border-color: var(--amber-deep); color: var(--ink-fixed); }
.stepper li.is-done::after { background: var(--amber); }

.form-step[hidden] { display: none; }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form-nav .btn { min-width: 160px; justify-content: center; }
.form-nav [hidden] { display: none; }

.step-recap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: .9rem;
  color: var(--ink-muted);
}
.step-recap strong { color: var(--ink); font-family: var(--font-display); }

/* Vérification humaine (preuve de travail, sans service tiers) */
.hcheck {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  margin-bottom: 20px;
  transition: border-color .25s ease, background .25s ease;
}
.hcheck__icon {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
}
.hcheck__icon svg { width: 13px; height: 13px; opacity: 0; transition: opacity .2s ease; }
.hcheck__text { font-size: .9rem; color: var(--ink-muted); line-height: 1.45; }
.hcheck__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 1px;
}
.hcheck.is-working .hcheck__icon {
  border-color: var(--amber-deep);
  border-top-color: transparent;
  animation: hspin .7s linear infinite;
}
.hcheck.is-done { border-color: var(--amber-deep); background: var(--amber-wash); }
.hcheck.is-done .hcheck__icon { background: var(--amber); border-color: var(--amber-deep); }
.hcheck.is-done .hcheck__icon svg { opacity: 1; }
@keyframes hspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hcheck.is-working .hcheck__icon { animation: none; } }

/* Piège à robots : jamais affiché, jamais atteint au clavier */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Page de texte long (politique de confidentialité) */
.prose { max-width: 760px; margin-inline: auto; }
.prose > h2 {
  font-size: clamp(1.32rem, 1.15rem + .6vw, 1.62rem);
  margin: 52px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.06rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.15em; display: grid; gap: 9px; }
.prose li::marker { color: var(--amber-deep); }
.prose a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose__meta {
  display: inline-block;
  padding: 7px 15px;
  margin-bottom: 34px;
  border-radius: var(--r-pill);
  background: var(--amber-wash);
  border: 1px solid var(--amber-soft);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
}

/* Encadré d'information */
.info-card {
  background: var(--amber-wash);
  border: 1px solid var(--amber-soft);
  border-radius: var(--r-lg);
  padding: 30px 30px 28px;
}
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--ink-muted); font-size: .95rem; }
.info-card .link-arrow { margin-top: 18px; }

/* --------------------------------------------------------------------------
   16. Responsive
   Échelle complète, du petit téléphone à l'écran ultra-large.
   Ordre : d'abord les très grands écrans (min-width), puis la dégressive.
   -------------------------------------------------------------------------- */

/* ---- Très grands écrans : on élargit au lieu d'étirer le vide ---- */
@media (min-width: 1600px) {
  :root { --wrap: 1360px; --section: 138px; --gutter: 32px; }
  .hero-card { min-height: 700px; }
  .hero-content { padding: 88px 72px 72px; }
  .cta-band { padding: 88px 72px; }
}

@media (min-width: 1920px) {
  :root { --wrap: 1480px; --section: 152px; }
  .hero-card { min-height: 760px; }
  .section-head { max-width: 820px; }
}

/* ---- Ordinateurs portables compacts ---- */
@media (max-width: 1280px) {
  :root { --section: 104px; }
  .split { gap: 52px; }
  .page-hero-inner { gap: 44px; }
  .nav-link { padding: 10px 12px; }
  .nav-menu { gap: 2px; }
  .drop { width: 300px; }
}

/* ---- Bascule vers le menu burger ---- */
@media (max-width: 1140px) {
  .nav-menu, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---- Tablettes en paysage ---- */
@media (max-width: 1080px) {
  :root { --section: 92px; }
  .split, .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero--plain .page-hero-inner { gap: 0; }
  .split--reverse .split__media { order: 0; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-card { flex-direction: column; align-items: stretch; }
  .hero-badge { position: static; margin: 0 56px 56px; max-width: none; }
  .page-hero-media { aspect-ratio: 16 / 9; }
  .split__media { aspect-ratio: 16 / 10; }
  .split__media img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---- Tablettes en portrait ---- */
@media (max-width: 900px) {
  :root { --section: 84px; --header-h: 76px; }
  .hero-card { min-height: 520px; }
  .hero-content { padding: 56px 40px 44px; }
  .hero-badge { margin: 0 40px 40px; }
  .form--wide { padding: 32px 28px; }
  .stepper li { font-size: .72rem; }
  .split { gap: 36px; }
}

/* ---- Téléphones ---- */
@media (max-width: 760px) {
  :root { --section: 74px; --gutter: 20px; --header-h: 72px; }
  .hero { padding-top: 12px; }
  .hero-card { min-height: 0; border-radius: var(--r-lg); }
  .hero-content { padding: 48px 24px 32px; }
  .hero-content p { font-size: 1.02rem; }
  .hero-badge { margin: 0 24px 32px; padding: 22px 24px; }
  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 34px 0; }
  .stat-row[style*="repeat(2"] { gap: 20px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .step__num { font-size: 1.9rem; }
  .section-head { margin-bottom: 40px; }
  .cta-band { padding: 44px 26px; border-radius: var(--r-lg); }
  .cta-actions { gap: 10px; }
  .form { padding: 26px 22px; }
  .form--wide { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .site-footer { padding: 62px 0 30px; }
  .card { padding: 28px 24px; }
  .pole-card__body { padding: 28px 24px 30px; }
  .split { gap: 28px; }
  .split__media { aspect-ratio: 4 / 3; }
  .page-hero { padding: 36px 0 0; }
  .page-hero-media { aspect-ratio: 4 / 3; }
  .contact-cards { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .opt-grid, .opt-grid--3 { grid-template-columns: 1fr; }
  .info-card { padding: 26px 22px; }
  .faq-q { font-size: 1rem; gap: 16px; padding: 22px 0; }
  .float-stat { left: 16px; bottom: 16px; right: 16px; max-width: none; padding: 16px 18px; }
  .marquee-track, .marquee-track span { gap: 30px; }
}

/* ---- Petits téléphones ---- */
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .nav-actions .lang-switch { display: none; }
  .underline-accent { white-space: normal; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 14px 22px; }
  .stepper li { font-size: 0; }
  .stepper li::before { font-size: .85rem; width: 30px; height: 30px; }
  .stepper li:not(:last-child)::after { top: 14px; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; min-width: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.18rem; }
  .mobile-panel a { font-size: 1.25rem; padding: 14px 0; }
  .mobile-panel .theme-row span { font-size: 1.25rem; }
  .form-block > legend { font-size: 1.04rem; }
  .contact-tile { padding: 20px; }
}

/* ---- Très petits écrans (320 à 380 px) ---- */
@media (max-width: 380px) {
  :root { --gutter: 15px; --section: 62px; }
  .brand-tag { display: none; }
  .hero-content { padding: 40px 18px 28px; }
  .hero-badge { margin: 0 18px 28px; padding: 18px 20px; }
  .card, .pole-card__body { padding: 24px 18px; }
  .form, .form--wide { padding: 20px 16px; }
  .cta-band { padding: 36px 20px; }
  .stat-row { grid-template-columns: 1fr; }
  .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .opt { font-size: .88rem; padding: 11px 13px; }
  .hcheck { flex-wrap: wrap; gap: 10px; }
}

/* ---- Téléphone tenu à l'horizontale : le menu doit rester défilable ---- */
@media (orientation: landscape) and (max-height: 560px) {
  .mobile-panel { padding-block: 18px 28px; }
  .mobile-panel a { padding: 11px 0; font-size: 1.15rem; }
  .mobile-panel .btn { margin-top: 18px; }
  .hero-card { min-height: 0; }
}

/* ---- Écrans tactiles : pas d'effet de survol persistant ---- */
@media (hover: none) {
  .card:hover, .pole-card:hover, .contact-tile:hover { transform: none; box-shadow: none; }
  .btn:hover { transform: none; }
  .has-drop:hover .drop { opacity: 0; visibility: hidden; transform: translateY(-8px); }
  .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translateY(0); }
}

/* ---- Impression ---- */
@media print {
  .site-header, .mobile-panel, .marquee, .cta-band, .form-nav, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 18px; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
