/* =============================================================
   PÉPITES FRANCE — Design System 2026
   Auteur : refonte premium (statique, performance-first)
   Organisation :
     1. Tokens (couleurs, typo, espacements, ombres)
     2. Reset & base
     3. Accessibilité (skip-link, focus, reduced-motion)
     4. Layout (container, sections, grilles)
     5. Composants (boutons, badges, cartes, nav, footer...)
     6. Sections riches (hero, stats, steps, testimonials, faq...)
     7. Formulaires
     8. Utilitaires & animations
     9. Responsive
   ============================================================= */

/* Polices chargées via <link preconnect> dans le <head> de chaque page */

/* ===================== 1. TOKENS ===================== */
:root {
  /* Marque — bleu confiance + or réussite */
  --blue-900: #042c6b;
  --blue-800: #073a8a;
  --blue-700: #0a47ab;   /* bleu principal */
  --blue-600: #1559c9;
  --blue-500: #2f74e6;
  --blue-300: #8fbaf6;
  --blue-100: #dbe9fd;
  --blue-50:  #eef5ff;

  --gold-600: #e0a106;
  --gold-500: #f7b500;   /* or principal */
  --gold-400: #ffc933;
  --gold-100: #fff3cf;
  --gold-50:  #fff9ea;

  /* Neutres */
  --ink-900: #0e1726;   /* texte fort */
  --ink-700: #2a3650;
  --ink-500: #51607a;   /* texte secondaire */
  --ink-300: #94a1b8;
  --line:    #e4e9f2;   /* bordures */
  --surface: #ffffff;
  --surface-2: #f5f8fd;
  --bg: #fbfcfe;

  --success: #1b9c5d;
  --danger: #e0413c;

  /* Typo */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Poppins', var(--font-sans);

  /* Rayons */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(10, 30, 70, .06);
  --sh-sm: 0 4px 14px rgba(10, 40, 90, .07);
  --sh-md: 0 12px 30px rgba(10, 40, 90, .10);
  --sh-lg: 0 24px 60px rgba(10, 40, 90, .14);
  --sh-gold: 0 12px 28px rgba(247, 181, 0, .35);
  --sh-blue: 0 12px 28px rgba(10, 71, 171, .28);

  /* Transitions */
  --t-fast: .18s cubic-bezier(.4, 0, .2, 1);
  --t: .3s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .55s cubic-bezier(.22, 1, .36, 1);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 76px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

/* ===================== 2. RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--blue-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { margin: 0 0 1rem; }

a { color: var(--blue-700); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--blue-900); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }
strong { color: var(--ink-900); font-weight: 700; }

main { flex: 1 0 auto; }

/* ===================== 3. ACCESSIBILITÉ ===================== */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--blue-700);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

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

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

/* ===================== 4. LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

section { position: relative; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--surface-2); }
.section-blue {
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: #fff;
}
.section-blue h2, .section-blue h3 { color: #fff; }
.section-blue p { color: rgba(255, 255, 255, .85); }

.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--ink-500); font-size: 1.12rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.1rem;
}
.section-blue .eyebrow { color: var(--gold-400); background: rgba(255, 255, 255, .1); }

/* ===================== 5. COMPOSANTS ===================== */

/* --- Boutons --- */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.8rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); color: var(--btn-fg); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--blue-800); box-shadow: 0 16px 34px rgba(10, 71, 171, .38); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: #3a2c00;
  box-shadow: var(--sh-gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 100%); box-shadow: 0 16px 34px rgba(247, 181, 0, .45); color: #3a2c00; }

.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-300); }
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-700); color: var(--blue-800); }

.btn-white { background: #fff; color: var(--blue-800); box-shadow: var(--sh-md); }
.btn-white:hover { background: #fff; color: var(--blue-900); }

.btn-lg { padding: 1.15rem 2.3rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* --- Badges / puces --- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-800);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.chip svg { width: 1.05em; height: 1.05em; color: var(--gold-600); }

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
  background: rgba(255, 255, 255, .94);
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .5rem;
  height: var(--nav-h);
}
.nav__logo { display: inline-flex; align-items: center; margin-right: auto; }
.nav__logo img { height: 46px; width: auto; transition: transform var(--t); }
.nav__logo:hover img { transform: scale(1.04); }

.nav__menu { display: contents; }

.nav__links {
  display: flex;
  align-items: center;
  gap: .05rem;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: .4rem .38rem;
  font-weight: 500;
  font-size: .88rem;
  white-space: nowrap;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav__links a[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: 2px;
  height: 3px; border-radius: 3px;
  background: var(--gold-500);
}
.nav__actions { display: flex; align-items: center; gap: .4rem; }
.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue-800);
  padding: .35rem .4rem;
  white-space: nowrap;
}
.nav__tel svg { width: 1.05em; height: 1.05em; color: var(--gold-600); }
.nav__cta { padding: .58rem .95rem; font-size: .88rem; white-space: nowrap; }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  content: '';
  display: block;
  width: 22px; height: 2.5px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.nav__burger span::before { position: absolute; transform: translateY(-7px); }
.nav__burger span::after { position: absolute; transform: translateY(7px); }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* --- Footer --- */
.site-footer {
  background: linear-gradient(160deg, var(--blue-900) 0%, #03245a 100%);
  color: rgba(255, 255, 255, .78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 5px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 56px; margin-bottom: 1rem; background: #fff; padding: .55rem .8rem; border-radius: 14px; box-shadow: var(--sh-sm); }
.footer-brand p { font-size: .96rem; color: rgba(255, 255, 255, .7); }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-list a { color: rgba(255, 255, 255, .78); font-size: .96rem; }
.footer-list a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 500; }
.footer-contact svg { width: 1.1em; height: 1.1em; color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--gold-400); }

/* --- Cartes génériques --- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--blue-100); }
.card__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--blue-700);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card--gold .card__icon { background: var(--gold-50); color: var(--gold-600); }
.card h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.card p { color: var(--ink-500); margin-bottom: 0; }

/* ===================== 6. SECTIONS RICHES ===================== */

/* --- Hero accueil --- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60% 70% at 12% 18%, rgba(47, 116, 230, .10), transparent 60%),
    radial-gradient(55% 60% at 88% 22%, rgba(247, 181, 0, .14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { font-size: 1.18rem; color: var(--ink-500); max-width: 38ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; }
.hero__trust .stars { color: var(--gold-500); letter-spacing: 2px; font-size: 1.05rem; }
.hero__trust small { color: var(--ink-500); font-size: .92rem; }

.hero__visual { position: relative; }
.hero__card-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--blue-700), var(--blue-900));
}
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: .9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-900);
  animation: floaty 5s ease-in-out infinite;
}
.hero__float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.hero__float--1 { top: 8%; left: -6%; }
.hero__float--2 { bottom: 10%; right: -5%; animation-delay: -2.5s; }
.hero__float small { display: block; font-weight: 500; color: var(--ink-500); font-size: .8rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- Bandeau réassurance défilant --- */
.marquee {
  background: var(--blue-900);
  color: #fff;
  overflow: hidden;
  padding: .9rem 0;
  position: relative;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0 2rem;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span svg { width: 1.05em; height: 1.05em; color: var(--gold-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--blue-700);
  letter-spacing: -.03em;
}
.section-blue .stat__num { color: var(--gold-400); }
.stat__label { font-size: .98rem; color: var(--ink-500); margin-top: .5rem; }
.section-blue .stat__label { color: rgba(255, 255, 255, .82); }

/* --- Étapes (processus) --- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 1.6rem 1.8rem;
  box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px; left: 1.6rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: 14px;
  box-shadow: var(--sh-blue);
}
.step h3 { font-size: 1.18rem; margin: .8rem 0 .4rem; }
.step h4 { font-size: 1.05rem; margin: .8rem 0 .4rem; }
.step p { color: var(--ink-500); margin: 0; font-size: .98rem; }

/* --- Matières (pills) --- */
.subjects { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.subject {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .7rem 1.3rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.subject:hover { transform: translateY(-3px); border-color: var(--gold-500); color: var(--blue-800); }
.subject span.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500); }
.subject__ico { font-size: 1.2em; line-height: 1; }

/* --- Témoignages --- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.testimonial .stars { color: var(--gold-500); letter-spacing: 2px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-700); line-height: 1.6; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  flex-shrink: 0;
}
.testimonial__author strong { display: block; color: var(--ink-900); font-size: .98rem; }
.testimonial__author small { color: var(--ink-500); }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .7rem 1.4rem;
  box-shadow: var(--sh-sm);
  font-weight: 600;
  color: var(--ink-700);
}
.google-badge .g-rating { color: var(--gold-600); font-size: 1.25rem; font-weight: 800; font-family: var(--font-display); }
.google-badge .stars { color: var(--gold-500); letter-spacing: 1px; }

/* --- FAQ accordéon --- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .9rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq__item[open] { box-shadow: var(--sh-sm); border-color: var(--blue-100); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue-700);
  border-bottom: 2.5px solid var(--blue-700);
  transform: rotate(45deg);
  transition: transform var(--t);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 1.5rem 1.4rem; color: var(--ink-500); }
.faq__answer p:last-child { margin-bottom: 0; }

/* --- CTA final --- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 20% 0%, rgba(247, 181, 0, .22), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .hero__cta { justify-content: center; }

/* --- Page-hero (pages intérieures) --- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(50% 80% at 80% 10%, rgba(247, 181, 0, .10), transparent 60%),
    linear-gradient(180deg, var(--blue-50), var(--bg));
  text-align: center;
}
.page-hero .container { max-width: 820px; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; color: var(--ink-500); }

/* --- Fil d'ariane --- */
.breadcrumb { font-size: .88rem; color: var(--ink-500); padding-top: 1.2rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb li::after { content: '›'; margin-left: .4rem; color: var(--ink-300); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--blue-700); }

/* --- Liste à puces check --- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.check-list li { position: relative; padding-left: calc(22px + .75rem); color: var(--ink-700); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a47ab' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-blue .check-list li { color: rgba(255, 255, 255, .9); }
.section-blue .check-list li::before { background-color: rgba(255, 255, 255, .14); }

/* --- Split image + texte --- */
.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 .media-box {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  width: 100%;
}
.media-box {
  aspect-ratio: 5 / 4;
  background: linear-gradient(160deg, var(--blue-600), var(--blue-900));
  display: grid; place-items: center;
  color: rgba(255,255,255,.9);
}

/* ===================== 7. FORMULAIRES ===================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--sh-lg);
  max-width: 680px;
  margin-inline: auto;
}
.form-card h2 { text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .92rem; color: var(--ink-700); }
.form-group .req { color: var(--danger); }

input, select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  padding: .9rem 1.1rem;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--ink-300); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 116, 230, .14);
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2351607a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-note { font-size: .85rem; color: var(--ink-500); text-align: center; margin-top: 1rem; }
.form-note a { text-decoration: underline; }

/* Consentement RGPD */
.form-consent { margin-top: 1.2rem; }
.form-consent label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink-500);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin: .1rem 0 0;
  accent-color: var(--blue-700);
}
.form-consent span { flex: 1; }
.form-consent a { text-decoration: underline; }

/* ===================== 8. UTILITAIRES & ANIMATIONS ===================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.muted { color: var(--ink-500); }
.lead { font-size: 1.15rem; color: var(--ink-500); }
.flow > * + * { margin-top: 1rem; }
.gap-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hide-mobile { }
.center-btn { display: flex; justify-content: center; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* --- Bouton flottant + popup contact --- */
.fab-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 900; }
.fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #3a2c00;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--sh-gold);
  display: grid; place-items: center;
  animation: floaty 3.5s ease-in-out infinite;
  transition: transform var(--t-fast);
}
.fab:hover { transform: scale(1.07); }
.fab-popup {
  position: absolute;
  bottom: 76px; right: 0;
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.98);
  transform-origin: bottom right;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.fab-popup.open { opacity: 1; visibility: visible; transform: none; }
.fab-popup__row { display: flex; gap: .8rem; align-items: flex-start; padding: .6rem 0; }
.fab-popup__row + .fab-popup__row { border-top: 1px solid var(--line); }
.fab-popup__row .ico { font-size: 1.3rem; flex-shrink: 0; }
.fab-popup__row strong { display: flex; align-items: center; gap: .4rem; color: var(--blue-800); }
.fab-popup__row small { display: block; color: var(--ink-500); font-size: .84rem; margin-top: .15rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--ink-300); }
.status-dot.open { background: var(--success); box-shadow: 0 0 0 3px rgba(27, 156, 93, .2); }
.status-dot.closed { background: var(--danger); }

/* --- Prose (pages légales / contenu rédactionnel) --- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 .8rem; padding-top: .5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.18rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose ul li { list-style: disc; margin-bottom: .4rem; }
.prose a { text-decoration: underline; }
.prose .updated { color: var(--ink-500); font-size: .92rem; margin-bottom: 2rem; }
.prose .callout {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--r-sm);
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
}
.prose .callout.todo { background: var(--gold-50); border-left-color: var(--gold-500); }
.prose .data-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .96rem; }
.prose .data-table th, .prose .data-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.prose .data-table th { background: var(--surface-2); font-family: var(--font-display); color: var(--blue-900); width: 38%; }

/* --- Bloc contact (cartes) --- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.contact-card .card__icon { margin-inline: auto; }
.contact-card a { font-weight: 600; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* ===================== 9. RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; order: -1; }
  .hero__lead { max-width: none; }
}

/* Barre de navigation : menu burger dès que le menu complet ne tient plus sur une ligne */
@media (max-width: 1200px) {
  .nav { gap: 1.5rem; }
  .nav__burger { display: inline-flex; position: relative; }
  .nav__menu { display: none; }
  .nav.open .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
  }
  .nav.open .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
  }
  .nav.open .nav__links a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav.open .nav__links a[aria-current="page"]::after { display: none; }
  .nav.open .nav__actions { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: .8rem; }
  .nav.open .nav__tel { display: inline-flex; justify-content: center; background: var(--blue-50); border-radius: var(--r-sm); font-size: .95rem; padding: .6rem; }
  .nav.open .nav__cta { display: inline-flex; }
}

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { order: -1 !important; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__float--1 { left: 0; }
  .hero__float--2 { right: 0; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: 100%; }
}
