/* TchadiCash — site vitrine. Aucune dépendance : HTML + CSS + un peu de JS. */
:root {
  --primary: #3544E8;
  --primary-600: #2A37C9;
  --primary-50: #EEF0FE;
  --ink: #0F1638;
  --ink-2: #3B4266;
  --muted: #6B7194;
  --line: #E4E7F2;
  --bg: #F5F6FB;
  --card: #FFFFFF;
  --success: #16A34A;
  --amber: #F5A524;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(22, 30, 90, .28);
  --shadow-sm: 0 6px 20px -10px rgba(22, 30, 90, .22);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
svg.i { width: 22px; height: 22px; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 16px;
  font: 700 15px/1 var(--font); border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 28px -12px rgba(53, 68, 232, .8); }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 251, .8);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .9); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--primary); }
.nav a[aria-current="location"]::after { content: ""; position: absolute; right: 14px; bottom: 1px; left: 14px; height: 2px; border-radius: 2px; background: var(--primary); }
.header .btn { height: 44px; padding: 0 18px; font-size: 14px; }
.header .btn-cta { border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px; background: var(--primary); box-shadow: 0 6px 16px -10px rgba(53, 68, 232, .72); transition: transform .2s, box-shadow .2s, background .2s; }
.header .btn-cta:hover { background: var(--primary-600); box-shadow: 0 8px 18px -10px rgba(53, 68, 232, .7); transform: translateY(-1px); }
.header .btn-cta:active { transform: translateY(0) scale(.98); }
.header .btn-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.header .btn-cta:hover svg { transform: translateX(2px); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header .btn-cta { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav a { padding: 14px; font-size: 16px; }
  .nav a[aria-current="location"]::after { right: auto; bottom: 6px; left: 14px; width: 24px; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.white { background: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-50); padding: 7px 14px; border-radius: 999px;
}
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 16px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 14px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(53, 68, 232, .18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--success); width: 20px; height: 20px; }

.hero-visual { position: relative; height: 620px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone.main { left: 50%; top: 0; transform: translateX(-62%); width: 290px; z-index: 2; }
.hero-visual .phone.back { left: 50%; top: 70px; transform: translateX(8%) rotate(6deg); width: 250px; z-index: 1; opacity: .96; }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 13px; color: var(--muted); animation: floaty 5s ease-in-out infinite;
}
.float-chip strong { display: block; color: var(--ink); font-size: 15px; }
.float-chip .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.float-chip.c1 { left: 0; top: 120px; }
.float-chip.c1 .dot { background: var(--success); }
.float-chip.c2 { right: 0; bottom: 90px; animation-delay: -2.5s; }
.float-chip.c2 .dot { background: var(--primary); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Téléphone : cadre CSS autour d'une capture réelle */
.phone {
  border-radius: 44px; padding: 10px; background: #0D1230;
  box-shadow: 0 40px 80px -30px rgba(15, 22, 56, .55), inset 0 0 0 2px #2A3157;
}
.phone img { border-radius: 34px; width: 100%; height: auto; background: #fff; }

@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { height: 520px; max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-visual .phone.main { width: 240px; }
  .hero-visual .phone.back { width: 205px; top: 60px; }
}
@media (max-width: 520px) {
  /* Tailles relatives à la largeur : rien ne déborde, même à 320 px. */
  .hero-visual { height: calc(min(100vw - 32px, 440px) * 1.24); }
  .hero-visual .phone { padding: 6px; border-radius: 30px; }
  .hero-visual .phone img { border-radius: 24px; }
  .hero-visual .phone.main { width: 54%; transform: translateX(-82%); }
  .hero-visual .phone.back { width: 45%; top: 12%; transform: translateX(-4%) rotate(5deg); }
  .float-chip { padding: 10px 12px; font-size: 12px; }
  .float-chip strong { font-size: 13.5px; }
  .float-chip .dot { width: 34px; height: 34px; }
  .float-chip.c1 { top: 230px; }
  .float-chip.c2 { bottom: 30px; }
}

/* ---------- Bandeau partenaires ---------- */
.trust { padding: 28px 0 8px; }
.trust p { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; margin-top: 18px; }
.logos img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.logos img:hover { filter: none; opacity: 1; }
.logos .mc { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink-2); opacity: .75; }
.logos .mc i { width: 26px; height: 26px; border-radius: 50%; background: #EB001B; display: inline-block; }
.logos .mc i + i { margin-left: -16px; background: rgba(247, 158, 27, .9); }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-top: 20px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.badge-soon { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #9A5B00; background: #FFF3DC; padding: 3px 8px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Blocs alternés (texte + capture) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; display: flex; justify-content: center; gap: 20px; }
.split-media::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 40px;
  background: linear-gradient(135deg, var(--primary-50), #fff); z-index: 0;
}
.split-media .phone { position: relative; z-index: 1; width: 250px; }
.split-media .phone.small { width: 210px; margin-top: 60px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks li svg { color: var(--primary); width: 24px; height: 24px; margin-top: 1px; }
.checks strong { color: var(--ink); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 80px; }
}
@media (max-width: 520px) {
  /* Les deux téléphones partagent la largeur disponible au lieu d'une taille fixe. */
  .split-media { gap: 10px; }
  .split-media .phone { width: 54%; min-width: 0; padding: 6px; border-radius: 30px; }
  .split-media .phone img { border-radius: 24px; }
  .split-media .phone.small { width: 44%; margin-top: 36px; }
  .split-media::before { inset: 6% 0; border-radius: 28px; }
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); text-align: center; }
.step .phone { width: 200px; margin: 0 auto 24px; padding: 7px; border-radius: 34px; }
.step .phone img { border-radius: 28px; }
.step h3 { font-size: 19px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.step h3::before {
  counter-increment: s; content: counter(s);
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Carte virtuelle ---------- */
.card-band {
  background: radial-gradient(1200px 500px at 85% -10%, #5866FF 0%, transparent 60%), linear-gradient(160deg, #1E2AB8, #0F1638 75%);
  color: #fff; border-radius: 32px; padding: 64px; overflow: hidden; position: relative;
}
.card-band .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.card-band .lead { color: rgba(255, 255, 255, .75); }
.card-band .checks li { color: rgba(255, 255, 255, .85); }
.card-band .checks strong { color: #fff; }
.card-band .checks svg { color: #8FA0FF; }
.card-band .split-media::before { display: none; }
.vcard {
  width: 100%; max-width: 380px; aspect-ratio: 1.586; border-radius: 22px; padding: 26px;
  background: linear-gradient(135deg, #4F5DFF, #2A37C9 60%, #1B238A);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .15);
  display: flex; flex-direction: column; justify-content: space-between; position: absolute; z-index: 3;
  left: -40px; bottom: 30px; transform: rotate(-8deg);
}
.vcard .top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.vcard .top img { height: 18px; width: auto; filter: brightness(0) invert(1); }
.vcard .chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #F7D27B, #C9973A); }
.vcard .num { font-size: 20px; letter-spacing: .14em; font-weight: 600; }
.vcard .bot { display: flex; justify-content: space-between; font-size: 12px; opacity: .85; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.uses span { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 960px) {
  .card-band { padding: 44px 24px; border-radius: 26px; }
  .vcard { left: 0; bottom: 10px; max-width: 280px; padding: 18px; }
  .vcard .num { font-size: 15px; }
}

/* ---------- Sécurité ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.sec { padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.sec .ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.sec h3 { font-size: 17px; margin-top: 18px; }
.sec p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Galerie d'écrans ---------- */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 48px max(16px, calc((100vw - var(--wrap)) / 2)) 30px; margin-top: 8px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: none; width: 230px; scroll-snap-align: center; text-align: center; }
.gallery .phone { padding: 7px; border-radius: 36px; }
.gallery .phone img { border-radius: 30px; }
.gallery figcaption { margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.gallery-nav { display: flex; justify-content: center; gap: 10px; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.gallery-nav button:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 520px) { .gallery figure { width: 190px; } }

/* ---------- Histoire ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.story-quote {
  position: sticky; top: 110px; background: var(--primary); color: #fff; border-radius: 28px; padding: 40px;
  box-shadow: 0 30px 60px -30px rgba(53, 68, 232, .9);
}
.story-quote blockquote { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.35; }
.story-quote p { margin-top: 22px; opacity: .8; font-size: 14.5px; }
.story-body p { color: var(--ink-2); font-size: 17px; }
.story-body p + p { margin-top: 18px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 30px; } .story-quote { position: static; padding: 30px; } .story-quote blockquote { font-size: 20px; } }

/* ---------- Tarifs ---------- */
.fees { margin-top: 48px; background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; max-width: 860px; margin-inline: auto; }
.fee { display: flex; align-items: center; gap: 18px; padding: 22px 28px; }
.fee + .fee { border-top: 1px solid var(--line); }
.fee .ico { width: 44px; height: 44px; border-radius: 13px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex: none; }
.fee div { flex: 1; }
.fee h3 { font-size: 16.5px; }
.fee p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.fee .price { font-weight: 800; font-size: 18px; text-align: right; white-space: nowrap; }
.fee .price.free { color: var(--success); }
.fees-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 560px) { .fee { padding: 18px; gap: 14px; } .fee .ico { display: none; } .fee .price { font-size: 16px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--primary); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Contact (Sahelia TD Startup) ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.contact {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.contact .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.contact.wa .ico { background: #E7F8EE; color: #1FA855; }
.contact.ms .ico { background: #EAF1FF; color: #0A7CFF; }
.contact h3 { font-size: 18px; margin-top: 18px; }
.contact p { color: var(--muted); font-size: 14.5px; margin-top: 6px; flex: 1; }
.contact .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--primary); font-size: 14.5px; }
.contact .go svg { width: 16px; height: 16px; transition: transform .2s; }
.contact:hover .go svg { transform: translateX(4px); }
.address { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }
.address strong { color: var(--ink); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Appel final ---------- */
.final { padding: 0 0 96px; }
.final-box {
  isolation: isolate;
  background: linear-gradient(135deg, var(--primary), #5B67FF); color: #fff; border-radius: 32px;
  padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative;
}
.final-box h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.final-box p { opacity: .85; margin-top: 12px; font-size: 17px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #0F1638; color: #fff; border-radius: 14px; padding: 10px 18px; min-width: 190px; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .7; }
.store strong { font-size: 16px; }
.store[aria-disabled="true"] { cursor: default; }
.final-phones { position: relative; height: 300px; }
.final-phones .phone { position: absolute; width: 190px; padding: 7px; border-radius: 32px; }
.final-phones .phone img { border-radius: 26px; }
.final-phones .phone:first-child { right: 120px; top: 10px; transform: rotate(-8deg); }
.final-phones .phone:last-child { right: 0; top: 40px; transform: rotate(6deg); }
@media (max-width: 900px) {
  .final-box { grid-template-columns: 1fr; padding: 40px 24px 0; text-align: center; }
  .stores { justify-content: center; }
  /* Deux téléphones droits, côte à côte, qui « sortent » du bas du bloc. */
  .final-phones { display: flex; justify-content: center; align-items: flex-start; gap: 12px; height: auto; max-width: 380px; width: 100%; margin: 8px auto 0; }
  .final-phones .phone { position: relative; inset: auto; width: 47%; min-width: 0; margin-bottom: -70px; padding: 6px; border-radius: 30px; }
  .final-phones .phone img { border-radius: 24px; }
  .final-phones .phone:first-child { right: auto; top: auto; transform: none; margin-top: 28px; }
  .final-phones .phone:last-child { right: auto; top: auto; transform: none; }
}

/* ---------- Pied de page ---------- */
.footer { background: #0F1638; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255, 255, 255, .55); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .about { margin-top: 16px; max-width: 320px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
}

@media (max-width: 520px) {
  .card-band .split-media .phone { width: 64%; }
  .card-band .split-media { padding-bottom: 40px; }
  .vcard { max-width: 78%; bottom: 0; }
}

/* ---------- Pages juridiques ---------- */
.legal-hero { padding: 56px 0 8px; }
.legal-hero h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; margin-top: 16px; }
.legal-hero .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding: 32px 0 96px; }
.legal-toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; font-size: 14px; }
.legal-toc strong { display: block; margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--ink-2); }
.legal-toc a:hover { color: var(--primary); }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; min-width: 0; }
.legal-doc section + section, .legal-doc .intro + section { margin-top: 36px; }
.legal-doc h2 { font-size: 22px; font-weight: 800; scroll-margin-top: 96px; }
.legal-doc h3 { font-size: 17px; margin-top: 20px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); font-size: 16px; }
.legal-doc p { margin-top: 12px; }
.legal-doc ul, .legal-doc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-doc strong { color: var(--ink); }
.legal-doc a { color: var(--primary); font-weight: 600; }
.legal-doc .intro { font-size: 17px; margin-top: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 700; background: var(--bg); }
.legal-table-wrap { overflow-x: auto; }
.legal-note { margin-top: 16px; background: var(--primary-50); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink-2); font-size: 15px; }
.legal-steps { counter-reset: st; list-style: none; padding: 0 !important; }
.legal-steps li { position: relative; padding-left: 46px; min-height: 32px; }
.legal-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.legal-links a { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; }
.legal-links a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .legal-doc { padding: 24px 18px; border-radius: 18px; }
  .legal-doc h2 { font-size: 20px; }
}
