/* =========================================================
   Nova Capitals — Flat design + Glassmorphisme
   Couleurs de marque : #1B1464 (bleu nuit) / #FFFF00 (jaune)
   ========================================================= */
:root {
  --navy: #1B1464;
  --navy-900: #0F0B3D;
  --navy-700: #2A2380;
  --navy-500: #4A43A8;
  --yellow: #FFFF00;
  --yellow-soft: #FFFF8A;
  --ink: #12102E;
  --muted: #565470;
  --line: #E3E2F0;
  --bg: #F6F6FC;
  --surface: #FFFFFF;
  --surface-2: #EEEEF8;
  --success: #12805C;
  --danger: #C0262D;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-light: rgba(255, 255, 255, 0.72);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(27, 20, 100, .06), 0 8px 24px rgba(27, 20, 100, .06);
  --shadow-lg: 0 24px 60px rgba(15, 11, 61, .28);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.icon { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1;
  display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; vertical-align: middle; }
.icon.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #F2F200; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: var(--glass-bg); color: #fff; border-color: var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--glass-bg-strong); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

/* ---------- Header (glass) ---------- */
/* Barre centrée, coins bas arrondis : transparente en haut de page, vitrée au défilement */
.site-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 100; height: var(--header-h);
  width: min(calc(var(--container) + 48px), calc(100% - 24px)); border-radius: 0 0 24px 24px;
  background: transparent; border: 1px solid transparent; border-top: 0;
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease; }
.site-header.scrolled { background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-color: rgba(255, 255, 255, .55); box-shadow: 0 12px 32px rgba(15, 11, 61, .14); }
.site-header .container { max-width: none; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; }
.brand { position: relative; display: block; }
.brand img { height: 34px; width: auto; transition: opacity .3s ease; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand .logo-light { opacity: 0; }
.site-header.scrolled .brand .logo-dark { opacity: 1; }
.main-nav { display: none; flex: 1; justify-content: center; align-items: center; gap: 36px; }
.main-nav a { font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); transition: color .2s; position: relative; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.site-header.scrolled .main-nav a { color: var(--muted); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { color: var(--navy); }
.menu-toggle { transition: background .3s, color .3s, border-color .3s; }
.site-header:not(.scrolled) .menu-toggle { background: var(--glass-bg); border-color: var(--glass-border); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px; background: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.header-wa { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.mobile-nav { position: fixed; top: calc(var(--header-h) + 8px); left: 50%; transform: translateX(-50%); width: min(calc(var(--container) + 48px), calc(100% - 24px));
  z-index: 99; display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; border-radius: 20px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 16px 40px rgba(15,11,61,.18); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 8px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; }
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}
@media (max-width: 479px) { .header-actions .btn-primary { display: none; } .brand img { height: 34px; } }

/* Le hero passe sous la barre transparente */
main { padding-top: 0; }
.hero { padding-top: calc(var(--header-h) + 48px) !important; }
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-h) + 72px) !important; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1px rgba(27,20,100,.15); }
.h2 { font-size: clamp(28px, 4vw, 42px); }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 2px; }

/* ---------- Hero (navy + glass) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0 80px; isolation: isolate; }
@media (min-width: 768px) { .hero { padding: 96px 0 112px; } }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.hero::before { width: 460px; height: 460px; right: -120px; top: -140px; background: rgba(255, 255, 0, .22); }
.hero::after { width: 560px; height: 560px; left: -160px; bottom: -260px; background: rgba(74, 67, 168, .9); }
.hero-shape { position: absolute; right: 6%; bottom: -40px; width: 340px; height: 340px; z-index: -1; opacity: .08; pointer-events: none;
  background: var(--yellow); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -0.03em; }
.hero h1 .y { color: var(--yellow); }
.hero .lead { color: rgba(255,255,255,.78); max-width: 620px; }
.hero .lead strong { color: var(--yellow); font-weight: 700; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  /* Carte du simulateur : hauteur fixe, contenu défilant */
  .glass-card.is-scroll { display: flex; flex-direction: column; height: min(620px, calc(100vh - var(--header-h) - 64px)); min-height: 480px; padding-right: 10px; }
  .glass-card.is-scroll .glass-card-head { margin-right: 18px; flex-shrink: 0; }
  .glass-card.is-scroll .form { flex: 1; min-height: 0; overflow-y: auto; padding-right: 14px; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--navy) transparent;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent); padding-bottom: 24px; }
  .glass-card.is-scroll .form::-webkit-scrollbar { width: 6px; }
  .glass-card.is-scroll .form::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 6px; }
  .glass-card.is-scroll .form::-webkit-scrollbar-track { background: transparent; }
}

/* Fonds photo avec voile bleu nuit (image définie en style inline) */
.has-bg { --overlay: linear-gradient(100deg, rgba(27,20,100,.97) 0%, rgba(27,20,100,.9) 42%, rgba(27,20,100,.62) 100%);
  background-color: var(--navy); background-size: cover; background-position: center; background-repeat: no-repeat; }
.section-navy.has-bg, .cta-band.has-bg { --overlay: linear-gradient(180deg, rgba(27,20,100,.93), rgba(27,20,100,.86)); }
@media (max-width: 900px) { .has-bg { --overlay: linear-gradient(180deg, rgba(27,20,100,.94), rgba(27,20,100,.9)); } }

/* Images des cartes */
.card-media { margin: calc(-1 * var(--card-pad, 28px)) calc(-1 * var(--card-pad, 28px)) 0; height: 190px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media + .card-icon { margin-top: -44px; position: relative; z-index: 1; background: var(--yellow); border: 4px solid #fff; width: 58px; height: 58px; }
.card.featured .card-media + .card-icon { border-color: var(--navy); }
.card .ribbon { z-index: 2; }

/* Cadre photo + panneau vitré superposé */
.photo-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo-frame > img { width: 100%; height: 100%; min-height: 280px; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame .glass-over { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(27,20,100,.72);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border: 1px solid var(--glass-border); padding: 22px; }
.photo-frame .glass-over::after { display: none; }
@media (max-width: 520px) {
  .photo-frame:has(.glass-over) > img { aspect-ratio: auto; height: 200px; min-height: 0; }
  .photo-frame .glass-over { position: static; border-radius: 0; background: var(--navy); }
}

/* Illustrations */
.illu { display: block; width: 100%; max-width: 440px; height: auto; border-radius: var(--radius-lg); }
.illu-sm { max-width: 220px; margin: 0 auto 18px; border-radius: 16px; }
.hero-grid > div:first-child { display: flex; flex-direction: column; gap: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,0,.6); } 50% { box-shadow: 0 0 0 6px rgba(255,255,0,0); } }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--yellow); }

.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--radius); }
.badge { display: flex; align-items: center; gap: 10px; padding: 12px; }
.badge .icon { color: var(--yellow); }
.badge b { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.badge span { display: block; font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.3; }

/* Carte vitrée claire posée sur le hero */
.glass-card { position: relative; border-radius: var(--radius-lg); padding: 28px; background: var(--glass-light);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow-lg); color: var(--ink); }
.glass-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(27,20,100,.1); }
.glass-card-head h2, .glass-card-head h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.glass-card-head h2::before, .glass-card-head h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--navy); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--yellow);
  font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag.light { background: var(--surface-2); color: var(--navy); }

/* ---------- Formulaires ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--danger); }
.input-wrap { position: relative; }
.input-wrap .icon, .input-wrap .prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 20px; pointer-events: none; }
.input-wrap .prefix { font-weight: 700; font-size: 15px; }
.input, .select, .textarea { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.input-wrap .input { padding-left: 44px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B1464' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,20,100,.12); }
.input.invalid, .select.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(192,38,45,.1); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }

/* Range */
.range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; background: var(--surface-2); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--navy); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--navy); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Choix segmentés */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(27,20,100,.25); }

/* ---------- Bande de chiffres / engagements ---------- */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: 24px 22px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(24px, 3vw, 32px); color: var(--navy); letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: var(--muted); }
.stat .icon { color: var(--navy); background: var(--yellow); border-radius: 10px; padding: 6px; font-size: 20px; margin-bottom: 12px; }

/* ---------- Cartes produits (flat) ---------- */
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 22px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; gap: 16px; --card-pad: 28px; padding: var(--card-pad); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(27,20,100,.18); }
.card .card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--navy); }
.card .card-icon .icon { font-size: 26px; }
.card h3 { font-size: 21px; }
.card .amount { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--navy-500); }
.card p { color: var(--muted); font-size: 15px; }
.card .card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.card.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.featured h3 { color: #fff; }
.card.featured p { color: rgba(255,255,255,.75); }
.card.featured .amount { color: var(--yellow); }
.card.featured .card-icon { background: var(--yellow); }
.card.featured .checklist li { color: rgba(255,255,255,.9); }
.card.featured .checklist .icon { color: var(--yellow); }
.card.featured .card-foot { border-color: rgba(255,255,255,.15); }
.card.featured .specs { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.card.featured .specs dt { color: rgba(255,255,255,.65); }
.card.featured .specs dd { color: #fff; }
.card .ribbon { position: absolute; top: 20px; right: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.card.featured .link-arrow { color: var(--yellow); }
.link-arrow .icon { transition: transform .2s; font-size: 20px; }
.link-arrow:hover .icon { transform: translateX(4px); }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.checklist .icon { color: var(--success); font-size: 20px; }

.specs { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps.three { grid-template-columns: repeat(3, 1fr); } .steps.four { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step .num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--surface-2); position: absolute; top: 20px; right: 24px; }
.step .card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: var(--navy); margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step .meta { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--surface-2); padding: 6px 12px; border-radius: 999px; }
.step .meta .icon { font-size: 16px; }

/* Section navy avec étapes vitrées */
.section-navy { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.section-navy::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; top: -200px; background: rgba(74,67,168,.8); filter: blur(80px); z-index: -1; }
.section-navy::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -120px; bottom: -180px; background: rgba(255,255,0,.12); filter: blur(80px); z-index: -1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: rgba(255,255,255,.75); }
.section-navy .eyebrow { color: var(--yellow); }
.section-navy .step { background: var(--glass-bg); border-color: var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.section-navy .step p { color: rgba(255,255,255,.75); }
.section-navy .step .num { color: rgba(255,255,255,.1); }
.section-navy .step .meta { background: rgba(255,255,0,.14); color: var(--yellow); }

/* ---------- Avantages ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .card-icon { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; } }

.highlight-box { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.highlight-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,0,.25); filter: blur(50px); z-index: -1; }
.highlight-box .big { font-family: var(--font-head); font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--yellow); line-height: 1; letter-spacing: -0.03em; }
.highlight-box p { color: rgba(255,255,255,.78); margin-top: 10px; }

/* ---------- Cas d'usage ---------- */
.case { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.case .case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case .case-amount { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--navy); }
.case .where { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.case .where .icon { font-size: 18px; }
.case h3 { font-size: 18px; }
.case p { color: var(--muted); font-size: 15px; }
.case .case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.disclaimer-sm { font-size: 13px; color: var(--muted); margin-top: 20px; text-align: center; font-style: italic; }

/* ---------- Tableau ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; }
.table thead th:first-child { color: var(--yellow); }
.table tbody th { font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--bg); width: 24%; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Éligibilité ---------- */
.criteria { display: grid; gap: 16px; }
@media (min-width: 700px) { .criteria { grid-template-columns: repeat(2, 1fr); } }
.criterion { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.criterion .n { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.criterion h3 { font-size: 17px; margin-bottom: 4px; }
.criterion p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] { border-color: rgba(27,20,100,.25); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Bloc contact / CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: #fff; padding: 44px 28px; isolation: isolate; }
@media (min-width: 768px) { .cta-band { padding: 64px; } }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,0,.2); filter: blur(70px); z-index: -1; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -160px; bottom: -220px; background: rgba(74,67,168,.9); filter: blur(70px); z-index: -1; }
.cta-band .eyebrow, .highlight-box .eyebrow { color: var(--yellow); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta-band .lead { color: rgba(255,255,255,.78); }
.cta-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: background .2s; }
.contact-item:hover { background: var(--glass-bg-strong); }
.contact-item .ci-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--navy); }
.contact-item .ci-icon.wa { background: #25D366; color: #fff; }
.contact-item small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--font-head); }
.contact-item b { font-family: var(--font-head); font-size: 17px; word-break: break-word; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.85); }
.checks-inline span { display: inline-flex; align-items: center; gap: 6px; }
.checks-inline .icon { color: var(--yellow); font-size: 18px; }

/* ---------- Mention légale ---------- */
.legal-strip { background: var(--surface-2); border-top: 1px solid var(--line); padding: 18px 0; }
.legal-strip p { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-logo { display: inline-block; padding: 14px 20px; border-radius: 18px; background: #fff; margin-bottom: 20px; }
.footer-logo img { height: 68px; width: auto; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--yellow); font-size: 20px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Simulateur ---------- */
.sim-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--navy); color: #fff; }
.sim-result small { display: block; font-size: 12px; color: rgba(255,255,255,.65); }
.sim-result b { font-family: var(--font-head); font-size: 30px; color: var(--yellow); letter-spacing: -0.02em; }
.amount-display { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.amount-display output { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--navy); }

/* ---------- Demande multi-étapes ---------- */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
.stepper li { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.stepper .bar { height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.stepper .lbl { font-size: 12px; font-weight: 600; color: var(--muted); display: none; }
.stepper .lbl b { display: block; font-family: var(--font-head); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-500); }
@media (min-width: 640px) { .stepper .lbl { display: block; } }
.stepper li.done .bar { background: var(--navy); }
.stepper li.current .bar { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(27,20,100,.2); }
.stepper li.current .lbl { color: var(--navy); }
.form-panel { display: none; }
.form-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-head { margin-bottom: 22px; }
.panel-head h2 { font-size: 24px; margin-top: 6px; }
.panel-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-nav .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .form-nav .btn { flex: 0 0 auto; } }
.demande-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .demande-layout { grid-template-columns: 1fr 360px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .panel { padding: 36px; } }
.aside-stack { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .aside-stack { position: sticky; top: calc(var(--header-h) + 20px); } }
.info-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #FFFFE0; border: 1px solid #EDED7A; font-size: 14px; color: var(--ink); }
.info-note .icon { color: var(--navy); }
.recap { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--line); }
.recap div:nth-child(odd) { background: var(--bg); }
.recap div:last-child { border-bottom: 0; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; word-break: break-word; }
.success-box { text-align: center; padding: 20px 0; }
.success-box .big-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); }
.success-box .big-icon .icon { font-size: 40px; }
.send-actions { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 560px) { .send-actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Devise (suffixe) & statut d'envoi ---------- */
.input-wrap .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 13.5px; color: var(--navy); background: var(--surface-2); padding: 4px 8px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.input-wrap .input.has-suffix { padding-left: 14px; padding-right: 92px; }
.form-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form-status[hidden] { display: none; }
.form-status.is-loading { background: var(--surface-2); color: var(--navy); }
.form-status.is-success { background: #E6F6EF; color: #0B5E42; border: 1px solid #A7DEC5; }
.form-status.is-error { background: #FDECEC; color: #8E1B20; border: 1px solid #F3B9BB; }
.form-status .icon { font-size: 20px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Bouton info + fenêtre (registres) ---------- */
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.label-row label { margin-bottom: 0 !important; }
.info-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--yellow); color: var(--navy); transition: transform .15s, box-shadow .15s; }
.info-btn .icon { font-size: 18px; }
.info-btn:hover { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(255,255,0,.35); }
.info-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.modal { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 760px); padding: 0; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: fadeIn .25s ease; }
.modal::backdrop { background: rgba(15, 11, 61, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 14px; }
.modal-head .eyebrow { margin-bottom: 6px; }
.modal-head h2 { font-size: 21px; }
.modal-close { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: var(--surface-2); }
.modal-search { position: relative; padding: 0 24px 14px; }
.modal-search .icon { position: absolute; left: 38px; top: 25px; transform: translateY(-50%); color: var(--muted); font-size: 20px; }
.modal-search .input { padding-left: 44px; }
.modal-body { overflow: auto; padding: 0 24px; flex: 1; }
.registres-table { min-width: 0; font-size: 14px; }
.registres-table thead th { position: sticky; top: 0; z-index: 1; }
.registres-table td, .registres-table th { padding: 11px 12px; }
.registres-table tbody td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.registres-table tbody td:last-child { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.registres-table tr.zone td { background: var(--navy); color: var(--yellow); font-family: var(--font-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; font-weight: 700; }
.registres-table tr.is-current td { background: #FFFFE0; }
@media (max-width: 560px) { .registres-table td:last-child, .registres-table th:last-child { display: none; } }
.modal-foot { padding: 14px 24px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 0; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill .dot { animation: none; }
  .btn, .card { transition: none; }
}

/* =========================================================
   RESPONSIVE — garde-fous et version mobile
   ========================================================= */

/* 1. Garde-fous : aucun élément ne doit élargir la page */
body { overflow-x: clip; overflow-wrap: break-word; }
main { overflow-x: clip; }
.hero-grid > *, .split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .cta-grid > *, .demande-layout > *,
.form-row > *, .criteria > *, .steps > *, .stats-grid > *, .footer-grid > *, .field, .form, .card, .case, .feature, .criterion, .step { min-width: 0; }
.input, .select, .textarea { min-width: 0; max-width: 100%; }
.specs div { flex-wrap: wrap; }
.specs dd { text-align: right; margin-left: auto; }
.glass-card-head { flex-wrap: wrap; }
.contact-item > span:last-child { min-width: 0; }
img, svg, video { max-width: 100%; }

/* 2. Tablette */
@media (max-width: 1023px) {
  .hero-grid { gap: 36px; }
  .split { gap: 32px; }
  .section-head { margin-bottom: 36px; }
}

/* 3. Mobile */
@media (max-width: 640px) {
  :root { --radius-lg: 18px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .h2 { font-size: clamp(24px, 7vw, 30px); }
  .lead { font-size: 16px; margin-top: 12px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }

  /* Hero */
  .hero { padding-bottom: 56px; }
  .hero { padding-top: calc(var(--header-h) + 28px) !important; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); letter-spacing: -0.02em; hyphens: auto; }
  .hero-grid > div:first-child { gap: 16px; }
  .pill { font-size: 10.5px; letter-spacing: .06em; padding: 6px 12px; white-space: normal; line-height: 1.35; }
  .badges { gap: 8px; }
  .badge { padding: 10px; gap: 8px; }
  .badge b { font-size: 12px; }
  .badge span { font-size: 11.5px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .breadcrumb { font-size: 12px; flex-wrap: wrap; }

  /* Boutons : le texte peut passer à la ligne au lieu de déborder */
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 10px 18px; }
  .btn-lg { min-height: 52px; padding: 12px 20px; font-size: 15px; }

  /* Formulaires : 16 px minimum pour éviter le zoom automatique sur iPhone */
  .input, .select, .textarea { font-size: 16px; height: 48px; }
  .textarea { height: auto; }
  .glass-card { padding: 20px 16px; border-radius: 20px; }
  .glass-card-head h2, .glass-card-head h3 { font-size: 17px; }
  .chip span { min-height: 38px; padding: 0 12px; font-size: 13.5px; }
  .amount-display output { font-size: 24px; }
  .sim-result { padding: 14px 16px; }
  .sim-result b { font-size: 24px; }
  .range-scale { font-size: 11px; }
  .input-wrap .input.has-suffix { padding-right: 84px; }

  /* Bandeau de chiffres */
  .stats { margin-top: -32px; }
  .stat { padding: 18px 14px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 12.5px; }

  /* Cartes */
  .card { --card-pad: 20px; gap: 14px; }
  .card-media { height: 170px; }
  .card h3 { font-size: 19px; }
  .card .ribbon { top: 14px; right: 14px; }
  .case, .feature, .criterion, .step { padding: 20px; }
  .feature { gap: 14px; }
  .step .num { font-size: 36px; top: 16px; right: 18px; }
  .highlight-box { padding: 22px; }
  .photo-frame > img { min-height: 220px; }

  /* Tableau : défilement horizontal dans son cadre uniquement */
  .table th, .table td { padding: 12px 14px; font-size: 13.5px; }

  /* FAQ */
  .faq summary { padding: 16px; font-size: 15px; }
  .faq .answer { padding: 0 16px 16px; font-size: 14.5px; }

  /* Contact */
  .cta-band { padding: 32px 18px; border-radius: 22px; }
  .cta-band h2 { font-size: clamp(24px, 7vw, 30px); }
  .contact-item { padding: 12px 14px; gap: 12px; }
  .contact-item .ci-icon { width: 40px; height: 40px; }
  .contact-item b { font-size: 15px; }
  .checks-inline { gap: 8px 16px; font-size: 13px; }

  /* Demande */
  .panel { padding: 20px 16px; }
  .panel-head h2 { font-size: 21px; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
  .form-nav > span:empty { display: none; }
  .recap div { flex-direction: column; gap: 2px; }
  .recap dd { text-align: left; }
  .send-actions .btn { width: 100%; }

  /* Fenêtre des registres : plein écran */
  .modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .modal-head { padding: 18px 16px 12px; }
  .modal-head h2 { font-size: 18px; }
  .modal-search { padding: 0 16px 12px; }
  .modal-search .icon { left: 30px; }
  .modal-body { padding: 0 16px; }
  .modal-foot { padding: 12px 16px 16px; }

  /* Pied de page */
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-logo img { height: 52px; }
  .footer-bottom { flex-direction: column; margin-top: 32px; }

  /* Bouton WhatsApp flottant */
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* 4. Très petits écrans */
@media (max-width: 374px) {
  .badges { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .chips { gap: 6px; }
  .chip span { padding: 0 10px; font-size: 13px; }
  .header-actions .btn-primary { display: none; }
}
