:root {
  --blue: #2E48D4;
  --blue-dark: #1F33A3;
  --blue-deep: #16236F;
  --blue-soft: #E9EDFF;
  --sun: #FFC53D;
  --sun-soft: #FFF4D6;
  --ink: #141833;
  --muted: #5E647A;
  --bg: #F6F7FB;
  --card: #FFFFFF;
  --border: #E3E6F0;
  --green: #1D9A6C;
  --radius: 20px;
  --shadow-sm: 0 2px 8px rgba(27, 37, 89, .06);
  --shadow: 0 12px 32px rgba(27, 37, 89, .09);
  --shadow-lg: 0 30px 60px rgba(9, 14, 46, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--blue-dark); font-weight: 800; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .security :focus-visible, .topbar:not(.scrolled) :focus-visible { outline-color: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 20px rgba(255, 197, 61, .35); }
.btn-sun:hover { box-shadow: 0 10px 26px rgba(255, 197, 61, .5); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(46, 72, 212, .25); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* ---- En-tête collant ---- */
.topbar { position: sticky; top: 0; z-index: 50; transition: background .2s ease, box-shadow .2s ease; }
.topbar.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--border); }
.topbar .main-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; color: #fff; transition: color .2s; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.topbar.scrolled .brand { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.link { padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; color: rgba(255,255,255,.9); transition: background .15s, color .2s; }
.nav-links a.link:hover { background: rgba(255,255,255,.12); color: #fff; }
.topbar.scrolled .nav-links a.link { color: var(--muted); }
.topbar.scrolled .nav-links a.link:hover { background: var(--blue-soft); color: var(--blue); }
.nav-cta { margin-left: 10px; }
.topbar:not(.scrolled) .nav-cta { background: #fff; color: var(--blue); box-shadow: 0 6px 18px rgba(9,14,46,.18); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fff; color: var(--blue); box-shadow: 0 6px 18px rgba(9,14,46,.18); cursor: pointer; align-items: center; justify-content: center; }
.topbar.scrolled .menu-btn { background: var(--blue-soft); color: var(--blue); }
.mobile-menu { display: none; }

/* ---- Héros ---- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #4660F0 0%, var(--blue) 45%, var(--blue-dark) 100%); border-radius: 0 0 48px 48px; margin-top: -72px; padding-top: 72px; }
/* Soleil limité au coin : il ne doit passer derrière aucun texte du menu. */
.hero::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--sun); top: -150px; right: -160px; }
.hero::after { content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%; border: 80px solid rgba(255,255,255,.06); bottom: -420px; left: -220px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 110px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 600; }
.pill b { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { font-size: 19px; opacity: .9; max-width: 560px; margin: 22px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; font-weight: 600; opacity: .88; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof svg { color: var(--sun); }

/* Visuel : deux téléphones et des cartes flottantes */
.stage { position: relative; height: 560px; }
.phone { position: absolute; width: 270px; padding: 11px; border-radius: 42px; background: #0D1022; box-shadow: var(--shadow-lg); }
.phone.front { left: 50%; top: 10px; transform: translateX(-40%) rotate(3deg); z-index: 2; }
.phone.back { left: 50%; top: 70px; transform: translateX(-108%) rotate(-6deg); opacity: .96; }
.screen { border-radius: 32px; overflow: hidden; background: var(--bg); color: var(--ink); }
.scr-head { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 30px 15px 15px; border-radius: 0 0 20px 20px; }
.scr-head::before { content: ''; position: absolute; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); top: -24px; right: -18px; }
.scr-head b { position: relative; display: block; font-size: 18px; }
.scr-head small { position: relative; opacity: .85; font-size: 10.5px; }
.scr-total { position: relative; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.seg { position: relative; display: flex; background: rgba(255,255,255,.16); border-radius: 10px; padding: 3px; margin-top: 11px; font-size: 10.5px; font-weight: 700; }
.seg span { flex: 1; text-align: center; padding: 6px; border-radius: 8px; }
.seg span:first-child { background: #fff; color: var(--blue); }
.scr-body { padding: 13px 11px 15px; display: grid; gap: 9px; }
.scr-label { font-size: 8.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tile { background: #fff; border: 1.5px solid var(--border); border-radius: 9px; padding: 8px 0; text-align: center; font-size: 10.5px; font-weight: 800; }
.tile.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.method { background: #fff; border: 1.5px solid var(--border); border-radius: 9px; padding: 8px 0; text-align: center; font-size: 9.5px; font-weight: 700; }
.method.on { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.scr-btn { background: var(--ink); color: #fff; border-radius: 11px; text-align: center; padding: 10px; font-size: 11.5px; font-weight: 700; }
.scr-btn.blue { background: var(--blue); }
.scr-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 10.5px; font-weight: 700; }
.scr-row small { display: block; color: var(--muted); font-weight: 500; font-size: 9px; }
.scr-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--border); padding: 8px 0 11px; font-size: 8.5px; font-weight: 700; color: var(--muted); background: #fff; }
.scr-tabs .on { color: var(--blue); }

.float { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; }
.float .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float strong { display: block; font-size: 14px; }
.float small { color: var(--muted); font-weight: 500; }
.float.notif { right: -6px; top: 92px; animation: bob 6s ease-in-out infinite; }
.float.notif .ico { background: #E5F6EF; color: var(--green); }
.float.goal { left: -8px; bottom: 54px; width: 230px; flex-direction: column; align-items: stretch; gap: 8px; animation: bob 7s ease-in-out -2s infinite; }
.bar { height: 8px; border-radius: 99px; background: var(--blue-soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: 72%; border-radius: 99px; background: var(--blue); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- Bandeau de faits ---- */
.facts { margin-top: -46px; position: relative; z-index: 5; }
.facts-inner { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.fact { padding: 22px 18px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--border); }
.fact strong { display: block; font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.fact span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---- Pour qui ---- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.audience:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.audience .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.audience h3 { font-size: 17px; margin-bottom: 4px; }
.audience p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Fonctions détaillées ---- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot + .spot { margin-top: 110px; }
.spot.reverse .spot-visual { order: -1; }
.spot h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 12px 0 14px; }
.spot p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E48D4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.tag-premium { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--sun-soft); color: #8A5A00; font-size: 11px; font-weight: 800; letter-spacing: .03em; vertical-align: 2px; }
.spot-visual { position: relative; border-radius: 28px; background: linear-gradient(160deg, var(--blue-soft), #F1F3FF 60%); padding: 40px; min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.spot-visual::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--sun); opacity: .9; top: -70px; right: -60px; }

/* Visuel 1 : sans contact */
.tap { position: relative; display: grid; place-items: center; }
.tap .phone { position: relative; width: 240px; left: auto; top: auto; transform: none; }
.tap .rings { position: absolute; inset: -30px; display: grid; place-items: center; pointer-events: none; }
.tap .rings span { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ring 3s ease-out infinite; top: 34%; }
.tap .rings span:nth-child(2) { animation-delay: 1s; }
.tap .rings span:nth-child(3) { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
.contactless { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 6px auto 2px; }

/* Visuel 2 : tableau de bord */
.dash { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; }
.dash-total { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.dash small { color: var(--muted); font-weight: 600; font-size: 13px; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin: 18px 0 8px; }
.chart div { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--blue-soft); position: relative; }
.chart div.on { background: var(--blue); }
.days { display: flex; gap: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.days span { flex: 1; text-align: center; }
.people { margin-top: 16px; display: grid; gap: 8px; }
.person { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; }
.person .amt { margin-left: auto; font-variant-numeric: tabular-nums; }
.person .mini { flex: 1; height: 6px; border-radius: 9px; background: var(--blue-soft); overflow: hidden; }
.person .mini i { display: block; height: 100%; background: var(--blue); border-radius: 9px; }

/* Visuel 3 : reçu */
.receipt { position: relative; width: 100%; max-width: 360px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 26px 24px; transform: rotate(-2deg); }
.receipt h4 { color: var(--blue); font-size: 20px; }
.receipt .meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.receipt hr { border: 0; border-top: 1px dashed var(--border); margin: 14px 0; }
.receipt .line { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.receipt .line b { font-weight: 700; }
.receipt .big { font-size: 28px; font-weight: 800; margin: 6px 0 2px; }
.receipt .words { font-size: 12px; color: var(--muted); font-style: italic; }
.stamp { position: absolute; right: -14px; bottom: -16px; background: var(--sun); color: var(--ink); border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow); transform: rotate(4deg); }

/* ---- Étapes ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---- Sécurité ---- */
.security { background: var(--blue-deep); color: #fff; border-radius: 40px; padding: 72px 56px; position: relative; overflow: hidden; }
.security::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255,197,61,.12); top: -160px; right: -100px; }
.security .section-head p { color: rgba(255,255,255,.75); }
.security .eyebrow { color: var(--sun); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.sec { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; }
.sec .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,197,61,.15); color: var(--sun); display: grid; place-items: center; margin-bottom: 14px; }
.sec h3 { font-size: 17px; margin-bottom: 6px; }
.sec p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.72); }

/* ---- Offres ---- */
.trial-banner { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: var(--sun-soft); color: #7A5000; font-weight: 700; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 22px; justify-content: center; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--border); border-radius: 26px; padding: 34px; box-shadow: var(--shadow-sm); }
.plan.highlighted { border-color: var(--blue); box-shadow: 0 20px 50px rgba(46, 72, 212, .16); }
.plan .badge { position: absolute; top: -14px; left: 34px; background: var(--sun); font-size: 12px; font-weight: 800; padding: 5px 13px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .tagline { color: var(--muted); margin: 6px 0 20px; min-height: 52px; }
.plan .price { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-weight: 500; }
.plan li::before { content: '✓'; color: var(--blue); font-weight: 800; }
.plan li.lead { font-weight: 700; }
.plan li.lead::before { content: ''; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

.compare-wrap { margin-top: 56px; background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.compare-wrap summary { list-style: none; cursor: pointer; padding: 22px 28px; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.compare-wrap summary::-webkit-details-marker { display: none; }
.compare-wrap summary::after { content: '+'; color: var(--blue); font-size: 26px; line-height: 1; }
.compare-wrap[open] summary::after { content: '−'; }
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 28px; text-align: left; border-top: 1px solid var(--border); font-size: 15px; }
.compare thead th { background: var(--bg); font-size: 14px; color: var(--muted); }
.compare thead th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare .group td { background: #FAFBFE; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.yes { color: var(--blue); font-weight: 800; }
.no { color: #6B7186; }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
details.q { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2px 22px; transition: border-color .2s; }
details.q[open] { border-color: var(--blue); }
details.q summary { cursor: pointer; list-style: none; padding: 17px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: '+'; color: var(--blue); font-weight: 800; font-size: 22px; line-height: 1; }
details.q[open] summary::after { content: '−'; }
details.q p { margin: 0 0 18px; color: var(--muted); }

/* ---- Démo ---- */
form { display: grid; gap: 14px; background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input, textarea { font: inherit; font-weight: 500; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 700; margin: 0; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #D33A3A; }
.consent { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---- Pied de page ---- */
footer { margin-top: 90px; background: #fff; border-top: 1px solid var(--border); padding: 56px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid .brand { color: var(--ink); }
.foot-grid .foot-title { color: var(--ink); font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; }

/* ---- Apparition au défilement ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero-grid, .spot, .faq-grid { grid-template-columns: 1fr; }
  .spot.reverse .spot-visual { order: 0; }
  .stage { height: 520px; max-width: 520px; margin: 0 auto; width: 100%; }
  .facts-inner { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--border); }
  .audiences, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: grid; gap: 4px; position: fixed; inset: 72px 12px auto 12px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 12px; z-index: 60; }
  .mobile-menu a { padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); }
  .mobile-menu a:hover { background: var(--blue-soft); }
  .mobile-menu .btn { margin-top: 6px; color: #fff; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .security { padding: 48px 22px; border-radius: 28px; }
  .section { padding: 72px 0; }
  .spot + .spot { margin-top: 72px; }
}
@media (max-width: 560px) {
  .hero::before { width: 200px; height: 200px; top: -110px; right: -90px; }
  .hero-grid { padding-bottom: 96px; padding-top: 40px; gap: 36px; }
  .stage { height: 470px; }
  .phone { width: 230px; }
  .phone.back { display: none; }
  .phone.front { transform: translateX(-50%) rotate(2deg); }
  .float.notif { right: 0; top: 40px; }
  .float.goal { left: 0; bottom: 20px; width: 200px; }
  .facts-inner { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0 !important; border-top: 1px solid var(--border); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd):not(:last-child) { border-right: 1px solid var(--border); }
  .fact:last-child { grid-column: span 2; }
  .audiences, .sec-grid, .row, .foot-grid { grid-template-columns: 1fr; }
  .spot-visual { padding: 28px 18px; min-height: 360px; }
  form { padding: 20px; }
  .compare th, .compare td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .tap .rings span { animation: none; }
  .btn, .audience { transition: none; }
}

/* ---- En-tête des pages intérieures ---- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1000px 500px at 85% -10%, #4660F0 0%, var(--blue) 45%, var(--blue-dark) 100%); border-radius: 0 0 40px 40px; margin-top: -72px; padding-top: 72px; }
/* Soleil limité au coin : il ne doit passer derrière aucun texte du menu. */
.page-hero::before { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--sun); top: -150px; right: -140px; }
.page-hero::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255,255,255,.06); bottom: -380px; left: -200px; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 72px; }
.page-hero .eyebrow { color: var(--sun); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-top: 14px; max-width: 820px; }
.page-hero p { font-size: 19px; opacity: .9; max-width: 640px; margin: 18px 0 0; }
.page-hero .trial-banner { margin-top: 22px; }
.page-first { padding-top: 72px; }
.nav-links a.link[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.topbar.scrolled .nav-links a.link[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.mobile-menu a[aria-current="page"] { color: var(--blue); }

/* ---- Accueil : liens vers les autres pages ---- */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tour { display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.tour:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.tour h3 { font-size: 21px; }
.tour p { margin: 0; color: var(--muted); }
.tour span { color: var(--blue); font-weight: 700; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--blue-deep); color: #fff; border-radius: 32px; padding: 48px; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { margin: 10px 0 0; opacity: .8; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band :focus-visible { outline-color: var(--sun); }
@media (max-width: 1240px) {
  .nav-links a.link { padding: 11px 9px; font-size: 14.5px; }
}
/* Sous 1100 px, les liens ne tiennent plus sur une ligne : menu ☰. */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: grid; gap: 4px; position: fixed; inset: 72px 12px auto auto; width: min(360px, calc(100% - 24px)); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 12px; z-index: 60; }
  .mobile-menu a { padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); }
  .mobile-menu a:hover { background: var(--blue-soft); }
  .mobile-menu .btn { margin-top: 6px; color: #fff; }
}
@media (max-width: 860px) {
  .tours { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; border-radius: 26px; }
  .page-hero .wrap { padding-top: 32px; padding-bottom: 56px; }
  .page-first { padding-top: 56px; }
}

/* ---- Menu selon la personne connectée ---- */
.when-responsable, .when-donor, .when-user { display: none !important; }
html.is-responsable .when-responsable, html.is-donor .when-donor, html.is-user .when-user { display: revert !important; }
html.is-user .when-guest, html.is-subscribed .when-trial { display: none !important; }

/* ---- Connexion et espace donateur ---- */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel h2 { font-size: 22px; }
.panel p { margin: 0; color: var(--muted); }
.auth-wrap { max-width: 520px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border-radius: 14px; padding: 5px; }
.tabs button { min-height: 46px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.auth-form { display: grid; gap: 14px; background: none; padding: 0; border-radius: 0; box-shadow: none; }
form.panel { padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-form label, .profile-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.auth-form input, .profile-form input { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.auth-form input:focus, .profile-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.auth-form .btn { width: 100%; }
.auth-msg { margin: 0; min-height: 1em; font-weight: 600; font-size: 14px; color: #B42318; }
.auth-msg.ok { color: var(--green); }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; }
.donor-grid { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.stat span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.stat.main { background: var(--blue); border-color: var(--blue); color: #fff; }
.stat.main span { color: rgba(255,255,255,.8); }
.rows { display: grid; gap: 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 180px; }
.row .grow small { display: block; color: var(--muted); font-size: 13.5px; }
.row .amount { font-weight: 800; font-variant-numeric: tabular-nums; }
.row .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-form .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .stats, .profile-form { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
}
[hidden] { display: none !important; }

/* Pages juridiques (politique de confidentialité) */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-date { color: var(--muted, #5B5F6E); font-size: 14px; }
.todo { background: #FFF4D6; color: #141833; padding: 0 4px; border-radius: 4px; }
