/* ==========================================================================
   Skilloraa — Coaching artistique
   Feuille de style principale
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs — thème clair (papier) */
  --ink:        #14110f;
  --ink-soft:   #211c18;
  --paper:      #fbf8f4;
  --paper-2:    #f4eee6;
  --paper-3:    #ece3d7;
  --text:       #221e1a;
  --muted:      #6b625a;
  --line:       #e4dacb;
  --accent:     #e2542c;
  --accent-600: #c9421c;
  --accent-ink: #a8371a;
  --on-accent:  #fff8f5;
  --on-ink:     #f7f1e8;
  --on-ink-mut: #a79c90;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Ombres */
  --sh-1: 0 1px 2px rgba(20, 17, 15, .05), 0 2px 8px rgba(20, 17, 15, .04);
  --sh-2: 0 2px 4px rgba(20, 17, 15, .05), 0 12px 32px rgba(20, 17, 15, .09);
  --sh-3: 0 4px 8px rgba(20, 17, 15, .06), 0 24px 56px rgba(20, 17, 15, .14);

  /* Rythme */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --section-y: clamp(64px, 9vw, 124px);

  /* Typo */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Thème sombre — suit le système, sauf si l'utilisateur a choisi « clair » */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #14110f;
    --paper-2:    #1c1815;
    --paper-3:    #262019;
    --text:       #f2ece3;
    --muted:      #a79c90;
    --line:       #332b24;
    --accent:     #f4703f;
    --accent-600: #e2542c;
    --accent-ink: #f9a47f;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
    --sh-2: 0 2px 4px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
    --sh-3: 0 4px 8px rgba(0, 0, 0, .45), 0 24px 56px rgba(0, 0, 0, .55);
  }
}

/* Thème sombre — choix explicite */
:root[data-theme="dark"] {
  --paper:      #14110f;
  --paper-2:    #1c1815;
  --paper-3:    #262019;
  --text:       #f2ece3;
  --muted:      #a79c90;
  --line:       #332b24;
  --accent:     #f4703f;
  --accent-600: #e2542c;
  --accent-ink: #f9a47f;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 8px rgba(0, 0, 0, .3);
  --sh-2: 0 2px 4px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
  --sh-3: 0 4px 8px rgba(0, 0, 0, .45), 0 24px 56px rgba(0, 0, 0, .55);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

::selection { background: var(--accent); color: var(--on-accent); }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 58ch;
}

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-weight: 620;
  font-size: .98rem;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 20px -6px rgba(226, 84, 44, .65);
}
.btn--primary:hover {
  background: var(--accent-600);
  box-shadow: 0 12px 28px -8px rgba(226, 84, 44, .7);
}

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

.btn--on-dark {
  border-color: rgba(247, 241, 232, .28);
  color: var(--on-ink);
  background: rgba(247, 241, 232, .04);
}
.btn--on-dark:hover {
  border-color: rgba(247, 241, 232, .6);
  background: rgba(247, 241, 232, .1);
}

.btn--lg { padding: 17px 34px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 620;
  color: var(--accent-ink);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. En-tête / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -.035em;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 550;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: .95rem;
  font-weight: 520;
  color: var(--muted);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__links a:hover { color: var(--text); background: var(--paper-2); }
.nav__links a[aria-current="page"] { color: var(--text); font-weight: 620; }
/* Le bouton du menu ne sert que sur mobile : sur ordinateur, celui de .nav__cta suffit */
.nav__links .btn { display: none; }

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

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav__links {
    position: fixed;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 20px var(--gutter) 32px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 4px; font-size: 1.1rem; border-radius: var(--r-sm); }
  .nav__links a.btn { display: inline-flex; margin-top: 14px; padding: 14px 26px; color: var(--on-accent); }
}

/* Bouton de thème */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  cursor: pointer;
  color: var(--muted);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}

/* Halo chaud + grain léger */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 130%;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(226, 84, 44, .38), transparent 62%),
    radial-gradient(48% 44% at 12% 88%, rgba(196, 122, 66, .22), transparent 66%);
  z-index: -2;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(64px, 9vw, 118px);
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  letter-spacing: -.04em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
/* Trait tracé à la main sous le mot clé */
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.1em;
  height: .14em;
  background: var(--accent);
  border-radius: 99px;
  opacity: .32;
}

.hero__lede {
  margin-top: 22px;
  font-size: clamp(1.04rem, 1.9vw, 1.22rem);
  color: var(--on-ink-mut);
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__eyebrow {
  color: var(--accent);
}
.hero__eyebrow::before { background: var(--accent); }

/* Bandeau de preuve sociale */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 241, 232, .14);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__label {
  display: block;
  margin-top: 7px;
  font-size: .82rem;
  color: var(--on-ink-mut);
  letter-spacing: .01em;
}

/* Composition visuelle du hero */
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--sh-3); }

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 14px;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--r-full);
  box-shadow: var(--sh-3);
}
.hero__badge svg { width: 34px; height: 34px; flex: none; border-radius: 0; box-shadow: none; }
.hero__badge b { display: block; font-size: .92rem; font-weight: 680; line-height: 1.25; }
.hero__badge span { display: block; font-size: .78rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__badge { left: 8px; bottom: 14px; }
}

/* --------------------------------------------------------------------------
   7. Bandeau défilant (disciplines)
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--ink-soft);
  color: var(--on-ink-mut);
  border-top: 1px solid rgba(247, 241, 232, .08);
  padding-block: 18px;
  overflow: hidden;
  white-space: nowrap;
  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: inline-flex;
  gap: 42px;
  align-items: center;
  animation: marquee 34s linear infinite;
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 560;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 42px; }
.marquee__track span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   8. Grilles de cartes
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Carte discipline */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.card__list li {
  font-size: .78rem;
  font-weight: 560;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Méthode (étapes)
   -------------------------------------------------------------------------- */

.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: color-mix(in srgb, var(--accent) 30%, transparent);
  margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .93rem; }

/* --------------------------------------------------------------------------
   10. Tarifs / formules
   -------------------------------------------------------------------------- */

.plans { align-items: start; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  height: 100%;
}
.plan--featured {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
  box-shadow: var(--sh-3);
  position: relative;
}
.plan--featured .plan__desc,
.plan--featured .plan__period,
.plan--featured .plan__features li { color: var(--on-ink-mut); }
.plan--featured .plan__features li::before { color: var(--accent); }

.plan__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .7rem;
  font-weight: 680;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--on-accent);
}

.plan h3 { font-size: 1.3rem; }
.plan__desc { margin-top: 8px; color: var(--muted); font-size: .92rem; min-height: 2.8em; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.plan__period { font-family: var(--font-body); font-size: .9rem; font-weight: 450; color: var(--muted); letter-spacing: 0; }

.plan__features {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 11px;
  flex: 1;
}
.plan__features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: .93rem;
  color: var(--muted);
  align-items: start;
}
.plan__features li::before {
  content: "✓";
  color: var(--accent-ink);
  font-weight: 700;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Témoignages
   -------------------------------------------------------------------------- */

.quote {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.quote__stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote { font-size: 1.02rem; line-height: 1.6; flex: 1; }
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-ink);
}
.quote figcaption b { display: block; font-size: .93rem; font-weight: 620; }
.quote figcaption span { display: block; font-size: .82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Bloc « à propos » / split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split__art svg { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.split h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.split p { margin-top: 18px; color: var(--muted); }
.split .signature {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 620;
  color: var(--text);
}
.split .signature span { display: block; font-family: var(--font-body); font-size: .87rem; font-weight: 450; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 620;
  letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
  border-color: var(--accent);
}
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 66ch; }

/* --------------------------------------------------------------------------
   14. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 50% 0%, rgba(226, 84, 44, .38), transparent 62%);
  z-index: -1;
}
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta-band p {
  margin: 18px auto 0;
  max-width: 52ch;
  color: var(--on-ink-mut);
  font-size: 1.05rem;
}
.cta-band .hero__actions { justify-content: center; }

/* --------------------------------------------------------------------------
   15. Formulaire
   -------------------------------------------------------------------------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .form-layout { grid-template-columns: 1fr; } }

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }

.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .req { color: var(--accent-ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: .97rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__hint { font-size: .8rem; color: var(--muted); }

.form__note { font-size: .82rem; color: var(--muted); }
.form__note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Encart latéral de contact */
.contact-aside { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact-card svg { width: 22px; height: 22px; flex: none; color: var(--accent-ink); margin-top: 3px; }
.contact-card b { display: block; font-size: .95rem; font-weight: 620; }
.contact-card span, .contact-card a { display: block; font-size: .9rem; color: var(--muted); }
.contact-card a:hover { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   16. Page interne — en-tête
   -------------------------------------------------------------------------- */

.page-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 7vw, 86px);
}
.page-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); max-width: 18ch; }
.page-head p { margin-top: 18px; color: var(--muted); max-width: 58ch; font-size: 1.06rem; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent-ink); }
.breadcrumb span { opacity: .5; }

/* --------------------------------------------------------------------------
   17. Pied de page
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-ink-mut);
  padding-block: clamp(48px, 6vw, 76px) 32px;
  margin-top: var(--section-y);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand .brand { color: var(--on-ink); }
.footer__brand p { margin-top: 16px; font-size: .92rem; max-width: 34ch; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-ink);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: .93rem; transition: color .16s var(--ease); }
.footer__col a:hover { color: var(--accent); }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 241, 232, .18);
  border-radius: var(--r-full);
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); background: rgba(226, 84, 44, .1); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: 26px;
  border-top: 1px solid rgba(247, 241, 232, .12);
  font-size: .85rem;
}
.footer__bottom a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   18. Page 404
   -------------------------------------------------------------------------- */

.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section-y);
}
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
  color: color-mix(in srgb, var(--accent) 32%, transparent);
}

/* --------------------------------------------------------------------------
   19. Animations d'apparition
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Décalage en cascade dans une grille */
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-group.is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. Divers
   -------------------------------------------------------------------------- */

.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;
}

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 48px; margin-bottom: 14px; }
.prose h3 { font-size: 1.18rem; margin-top: 30px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 9px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
