/* ==========================================================================
   Flore Judet — Coach scolaire Clermont-Ferrand
   Design system — HTML/CSS/JS pur
   Typo : Poppins (texte) + Courgette (accents)
   Palette : #194A60 bleu · #FF8A3A orange · #D7DAE5 gris · #FFFCF0 crème
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Couleurs marque */
  --bleu: #194A60;
  --bleu-700: #123a4c;
  --bleu-900: #0d2c3a;
  --bleu-100: #e6eef2;
  --orange: #FF8A3A;
  --orange-600: #f0741f;
  --orange-100: #ffe9d6;
  --creme: #FFFCF0;
  --gris: #D7DAE5;
  --gris-soft: #eef0f5;      /* D7DAE5 éclairci (fonds sections) */
  --gris-line: #dfe3ec;

  /* Sémantique */
  --bg: #ffffff;
  --bg-alt: var(--gris-soft);
  --bg-cream: var(--creme);
  --ink: #1f2a30;            /* texte principal */
  --ink-soft: #4b5a63;       /* texte secondaire */
  --ink-mute: #71818b;
  --white: #ffffff;

  /* Typo */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Courgette', 'Poppins', cursive;

  /* Rayons / ombres */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(25, 74, 96, .06);
  --shadow-md: 0 12px 30px rgba(25, 74, 96, .10);
  --shadow-lg: 0 24px 60px rgba(25, 74, 96, .16);
  --shadow-orange: 0 12px 26px rgba(255, 138, 58, .32);

  /* Layout */
  --container: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset léger ---------- */
* { box-sizing: border-box; min-width: 0; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
body.menu-open { overflow: hidden; }
img, iframe, video, svg { max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--bleu); font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout utilitaires ---------- */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.4rem, 820px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--bg-cream); }
.section--bleu { background: var(--bleu); color: #dbe7ee; }
.section--bleu h1, .section--bleu h2, .section--bleu h3 { color: #fff; }

/* ---------- Typo helpers ---------- */
h1, .h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-soft); }
.hand { font-family: var(--font-hand); color: var(--orange); font-weight: 400; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: .4rem .9rem; border-radius: var(--r-pill);
}
.section--bleu .eyebrow { background: rgba(255,138,58,.18); color: #ffcf9f; }
.muted { color: var(--ink-mute); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  text-align: center;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255,138,58,.42); }
.btn--ghost { background: transparent; color: var(--bleu); border-color: var(--gris); }
.btn--ghost:hover { border-color: var(--bleu); background: var(--bleu-100); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--bleu); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--gris-line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 92px; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--bleu); font-size: 1.05rem; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; font-family: var(--font-hand); font-size: 1.35rem;
  background: linear-gradient(135deg, var(--bleu), #2c6a86);
}
.brand__name { line-height: 1.1; }
.brand__name span { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-mute); letter-spacing: .02em; }
.nav__menu { display: flex; align-items: center; gap: .1rem; }
.nav__link {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: .55rem .62rem; border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--bleu); background: var(--bleu-100); }
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--bleu); }
.nav__toggle svg { width: 28px; height: 28px; }

/* Logo dans l'en-tête */
.brand { flex: 0 0 auto; }
.brand__logo { height: 74px; width: auto; display: block; transition: transform .3s var(--ease); }
/* Logo du pied de page : version blanche sur fond sombre */
.brand__logo--footer { height: 72px; filter: brightness(0) invert(1); }
/* Léger recadrage optique : le logo a une marge interne, on le laisse déborder proprement du sur-titre */

/* Fond assombri derrière le panneau mobile (créé par JS) */
.nav__backdrop {
  position: fixed; inset: 0; background: rgba(13,44,58,.5);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 95;
}
.nav__backdrop.is-active { opacity: 1; visibility: visible; }

/* Bloc CTA + téléphone injecté par JS dans le panneau (mobile uniquement) */
.nav__panel-extra { display: none; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--gris-line);
  flex-direction: column; gap: .85rem; }
.nav__panel-extra .btn { width: 100%; }
.nav__panel-tel { display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; color: var(--bleu); font-size: 1.05rem; padding: .5rem; }
.nav__panel-tel svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 1080px) {
  .brand__logo { height: 64px; }
  .nav__actions .btn--ghost, .nav__actions .btn--primary { display: none; }
  .nav__toggle { display: inline-flex; position: relative; z-index: 120; }

  /* Panneau coulissant depuis la droite */
  .nav__menu {
    position: fixed; top: 0; right: 0; z-index: 110;
    height: 100dvh; width: min(85vw, 330px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .25rem;
    background: #fff; padding: 5.5rem 1.3rem 1.8rem;
    box-shadow: -20px 0 55px rgba(13,44,58,.20);
    transform: translateX(105%); transition: transform .35s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__link { padding: .95rem .85rem; font-size: 1.1rem; border-radius: var(--r-md); }
  .nav__link[aria-current="page"] { background: var(--bleu-100); }
  .nav__panel-extra { display: flex; }
}

@media (max-width: 600px) {
  .nav { min-height: 72px; }
  .brand__logo { height: 54px; }
}
@media (max-width: 380px) {
  .brand__logo { height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 85% -10%, var(--orange-100), transparent 60%),
    radial-gradient(900px 500px at 5% 110%, var(--bleu-100), transparent 55%),
    var(--bg-cream);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 3.7rem); margin-bottom: 1rem; }
.hero__title .hand { display: inline-block; }
.hero__sub { max-width: 34ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; color: var(--ink-soft); font-size: .92rem; }
.hero__trust b { color: var(--bleu); }
.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
  background: linear-gradient(160deg, var(--bleu-100), var(--orange-100));
}
.hero__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; max-width: 260px;
}
.hero__badge .num { font-size: 1.7rem; font-weight: 800; color: var(--orange); font-family: var(--font-sans); line-height: 1; }
.hero__badge small { color: var(--ink-soft); font-size: .82rem; line-height: 1.3; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero__sub { max-width: none; }
}

/* ---------- Bandeau stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .6rem; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--bleu); line-height: 1; }
.stat__num .hand { font-family: var(--font-sans); color: var(--orange); }
.stat__label { font-size: .9rem; color: var(--ink-soft); margin-top: .35rem; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section header ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-head .lead { margin-top: .4rem; }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-lg);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange-100); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600); margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .98rem; }
.card--flat { box-shadow: none; }

/* Cartes "pour qui" avec puces */
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0741f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/0.85rem no-repeat;
}
.cross-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--ink-soft); }
.cross-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--bleu-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23194A60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/0.8rem no-repeat;
}

/* ---------- Liste numérotée "profil d'apprentissage" ---------- */
.profil-niveaux {
  list-style: none; counter-reset: niveau;
  margin: 0 0 1.2rem; padding: 0;
  display: grid; gap: .55rem;
}
.profil-niveaux li {
  counter-increment: niveau;
  position: relative; padding-left: 2.4rem;
  color: var(--ink-soft); line-height: 1.5;
}
.profil-niveaux li::before {
  content: counter(niveau);
  position: absolute; left: 0; top: .05rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-600);
  font-family: var(--font-sans); font-weight: 700; font-size: .88rem;
}

/* ---------- Bloc "problème → méthode" (2 col) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img, .split__media .ph {
  border-radius: var(--r-xl); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 5/4; object-fit: cover;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

/* Placeholder image élégant */
.ph {
  background: linear-gradient(150deg, var(--bleu-100), var(--orange-100));
  display: grid; place-items: center; color: var(--bleu); position: relative;
}
.ph span { font-size: .85rem; font-weight: 600; opacity: .55; letter-spacing: .04em; }

/* ---------- Étapes (méthode) ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-lg); padding: 1.5rem; }
.step__num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--bleu), #2c6a86);
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Offres / tarifs ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.offer {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-lg); padding: 1.9rem;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.offer--featured { border-color: var(--orange); box-shadow: var(--shadow-md); position: relative; }
.offer--featured::after {
  content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .35rem .9rem; border-radius: var(--r-pill);
}
.offer h3 { margin-bottom: .2rem; }
.offer__price { font-size: 2.2rem; font-weight: 800; color: var(--bleu); margin: .6rem 0 .2rem; }
.offer__price small { font-size: .95rem; font-weight: 500; color: var(--ink-mute); }
.offer__desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.2rem; }
.offer ul { margin-bottom: 1.6rem; display: grid; gap: .7rem; }
.offer ul li { position: relative; padding-left: 1.7rem; font-size: .96rem; color: var(--ink-soft); }
.offer ul li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.offer .btn { margin-top: auto; }

/* ---------- Témoignages ---------- */
.quote {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem;
}
.quote__stars { color: var(--orange); letter-spacing: .1em; }
.quote p { font-size: 1.02rem; color: var(--ink); margin: 0; }
.quote__author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--bleu-100); color: var(--bleu); font-weight: 700;
}
.quote__author b { display: block; color: var(--bleu); font-size: .95rem; }
.quote__author small { color: var(--ink-mute); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bleu), #23617e);
  border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; color: #dbe7ee;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255,138,58,.28), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-band .btn { }

/* ---------- Lead magnet ---------- */
.leadmagnet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
.leadmagnet__card {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 2rem;
}
@media (max-width: 800px){ .leadmagnet { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  background: #fff; border: 1px solid var(--gris-line); border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--orange-100); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--bleu);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 1.4rem; height: 1.4rem; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A3A' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--ink-soft); }

/* ---------- Zone d'intervention ---------- */
.zone-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-tags span {
  background: var(--bleu-100); color: var(--bleu); font-size: .88rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: var(--r-pill);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bleu-900); color: #a9c0cb; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #a9c0cb; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .92rem; color: #8aa4b1; max-width: 34ch; }
.footer__links { display: grid; gap: .6rem; font-size: .94rem; }
.footer__contact li { margin-bottom: .7rem; font-size: .94rem; display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .2rem; color: var(--orange); }
.footer__social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.footer__social a:hover { background: var(--orange); }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #7f99a7;
}
.footer__bottom a { color: #7f99a7; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--ink-mute); padding-top: 1.2rem; }
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb span { margin: 0 .4rem; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { background: var(--bg-cream); padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--gris-line); }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Animations révélation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Prose (articles blog) ---------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  border-left: 4px solid var(--orange); background: var(--bg-cream);
  padding: 1rem 1.4rem; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 1.5rem 0;
  font-style: italic; color: var(--ink);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--bleu); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   MICRO-INTERACTIONS AU SURVOL  (désactivées sur écrans tactiles)
   ========================================================================== */
@media (hover: hover) {
  /* Liens de navigation : soulignement animé */
  .nav__link { position: relative; }
  .nav__link::after {
    content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .32rem; height: 2px;
    background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
  }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__link:hover, .nav__link[aria-current="page"] { background: transparent; }
  .nav__link[aria-current="page"]::after { transform: scaleX(1); }

  /* Logo : léger rebond de la pastille */
  .brand__mark { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
  .brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); box-shadow: var(--shadow-md); }
  .brand:hover .brand__logo { transform: scale(1.03); }

  /* Icônes de cartes : animation quand on survole la carte */
  .card__icon { transition: transform .35s var(--ease), background .3s; }
  .card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); background: var(--orange); color: #fff; }

  /* Images (splits, hero) : léger zoom dans un cadre qui masque le débordement */
  .split__media, .hero__media { overflow: hidden; border-radius: var(--r-xl); }
  .split__media img, .hero__photo { transition: transform .6s var(--ease); }
  .split__media:hover img, .hero__media:hover .hero__photo { transform: scale(1.04); }

  /* Cartes articles : zoom de l'image + remontée */
  .post-card { overflow: hidden; }
  .post-card__img { transition: transform .5s var(--ease); }
  .post-card:hover .post-card__img { transform: scale(1.05); }
  .post-card:hover .post-card__link { gap: .7rem; color: var(--orange-600); }

  /* Offres & citations : remontée douce */
  .offer { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
  .offer:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
  .quote { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
  .quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

  /* Étapes : accent sur la puce numérotée */
  .step { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
  .step:hover { transform: translateX(4px); border-color: var(--orange-100); box-shadow: var(--shadow-sm); }
  .step__num { transition: transform .3s var(--ease); }
  .step:hover .step__num { transform: scale(1.08); }

  /* Liens de pied de page : glissement */
  .footer__links a { display: inline-block; transition: transform .2s var(--ease), color .2s; }
  .footer__links a:hover { transform: translateX(4px); }

  /* Étiquettes de zone : deviennent orange */
  .zone-tags span { transition: background .25s, color .25s, transform .25s var(--ease); }
  .zone-tags span:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

  /* Stats : mise en avant au survol */
  .stat { transition: transform .3s var(--ease); border-radius: var(--r-md); }
  .stat:hover { transform: translateY(-3px); }

  /* Réseaux sociaux : petit rebond */
  .footer__social a { transition: background .25s, transform .25s var(--ease); }
  .footer__social a:hover { transform: translateY(-3px) scale(1.05); }

  /* FAQ : titre légèrement décalé */
  .faq summary { transition: color .2s, padding-left .25s var(--ease); }
  .faq summary:hover { padding-left: 1.7rem; color: var(--orange-600); }
}

/* Focus visible aussi sur les cartes cliquables */
.post-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ==========================================================================
   RESPONSIVE — raffinements mobile / tablette / desktop
   ========================================================================== */

/* --- Grande tablette / petit portable (≤ 1024px) --- */
@media (max-width: 1024px) {
  :root { --section-y: clamp(3rem, 6vw, 5rem); }
}

/* --- Tablette (≤ 820px) --- */
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .hero__badge { max-width: 230px; padding: .8rem .95rem; }
  .hero__badge .num { font-size: 1.5rem; }
  .contact-grid { gap: 2rem; }
}

/* --- Mobile (≤ 600px) --- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: min(100% - 2rem, var(--container)); }
  :root { --section-y: clamp(2.6rem, 9vw, 3.6rem); }

  /* Boutons pleine largeur pour le pouce */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .page-hero div[style*="display:flex"] .btn,
  .section div[style*="justify-content:center"] .btn { flex: 1 1 auto; }

  /* Badge héros : repositionné dans le flux, jamais coupé */
  .hero__media { overflow: visible; }
  .hero__badge { position: static; margin: -14px auto 0; left: auto; bottom: auto; max-width: none; width: fit-content; }

  /* Titres un cran plus compacts */
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  h1, .h1 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }

  /* Ancrage du menu mobile : plein écran défilable si besoin */
  .nav.is-open .nav__menu { max-height: calc(100vh - 74px); overflow-y: auto; }

  /* Cartes & sections : padding réduit */
  .card, .offer, .quote, .step, .leadmagnet__card { padding: 1.3rem; }
  .cta-band { padding: 2rem 1.3rem; }
  .map-embed { height: 260px; }

  /* Boutons : autorise le retour à la ligne pour ne jamais déborder */
  .btn { white-space: normal; }
  .btn--lg { padding: 1rem 1.4rem; font-size: 1rem; }
  /* CTA de bas de page : bouton pleine largeur, propre et centré */
  .cta-band .btn { width: 100%; max-width: 100%; }
  .cta-band p { margin-bottom: 1.4rem; }

  /* Le survol image reste actif au tap → on garde le cadre net */
  .split__media, .hero__media { border-radius: var(--r-lg); }
}

/* --- Très petit mobile (≤ 380px) --- */
@media (max-width: 380px) {
  .brand__name { font-size: .98rem; }
  .brand__name span { font-size: .68rem; }
  .stat__num { font-size: 1.7rem; }
  .offer__price { font-size: 1.9rem; }
}

/* --- Écrans tactiles : neutralise les états de survol collants --- */
@media (hover: none) {
  .card:hover, .offer:hover, .quote:hover, .step:hover { transform: none; }
}

/* --- Confort lecture sur très grands écrans --- */
@media (min-width: 1500px) {
  :root { --container: 1240px; }
}
