/* ==========================================================================
   EasyHouse — site public (mobile d'abord, sans dépendance externe)
   ========================================================================== */
:root {
    --blue: #15589E;
    --blue-dark: #0E3F73;
    --navy: #0D2541;
    --orange: #F49B14;
    --orange-dark: #B86E00;
    --bg: #F4F6FA;
    --surface: #FFFFFF;
    --text: #1F2A37;
    --muted: #556171;
    --line: #E2E7EF;
    --green: #12805C;
    --green-bg: #E3F6EE;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(13, 37, 65, .06), 0 2px 8px rgba(13, 37, 65, .05);
    --shadow: 0 10px 30px -10px rgba(13, 37, 65, .22);
    --shadow-lg: 0 30px 60px -20px rgba(13, 37, 65, .45);
    --header-h: 68px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 650; text-decoration: none; border-radius: 999px; padding: .7rem 1.25rem; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s, box-shadow .18s, color .18s, border-color .18s; white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(2px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(244, 155, 20, .8); }
.btn-primary:hover { background: #FFAD2E; color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-outline { color: var(--blue); border-color: #C7D6EA; background: #fff; }
.btn-outline:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.btn-outline svg { width: 1.1em; height: 1.1em; }
.btn-outline:hover svg { transform: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(13, 37, 65, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand b { color: var(--blue); font-weight: 800; }
.brand img { width: 40px; height: 40px; background: #fff; border-radius: 11px; padding: 3px; box-shadow: var(--shadow-sm); }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light b { color: var(--orange); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.js .nav-toggle { display: inline-block; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--navy); border-radius: 2px; transition: transform .25s, background-color .2s; }
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 550; }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--blue); }

/* Menu mobile (repliable) */
@media (max-width: 960px) {
    .js .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(13, 37, 65, .35); padding: .5rem 1.25rem 1.25rem; display: none; }
    .js body.menu-open .main-nav { display: block; animation: drop .2s ease-out; }
    .no-js .header-inner { flex-wrap: wrap; height: auto; padding: .75rem 1.25rem; }
    .no-js .main-nav { width: 100%; }
    .main-nav li a { display: block; padding: .8rem .25rem; border-bottom: 1px solid #EEF1F6; font-size: 1.05rem; }
    .main-nav .btn { width: 100%; margin-top: 1rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 961px) {
    .js .nav-toggle { display: none; }
    .main-nav { display: flex; align-items: center; gap: 1.75rem; }
    .main-nav ul { display: flex; gap: 1.6rem; }
    .main-nav li a { font-size: .96rem; position: relative; padding: .4rem 0; }
    .main-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
    .main-nav li a:hover::after, .main-nav li a.is-active::after { transform: scaleX(1); }
}

/* ---------- Titres de section ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; }
.section-head { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2, .why-copy h2, .daily-copy h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .9rem; }
.section-head p, .why-copy > p, .daily-copy > p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--orange); }
.eyebrow-light { color: #FFD08A; }
.eyebrow .dot { display: none; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 10%, #1E6CC0 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--blue-dark) 55%, var(--blue) 100%); }
.hero-bg { position: absolute; inset: 0; background: url("../img/hero-pattern.svg") repeat; background-size: 120px; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 155, 20, .35), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 3rem; padding-top: 3.5rem; padding-bottom: 4.5rem; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 7.5vw, 3.75rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--orange); display: block; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: #D5E2F2; max-width: 560px; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: #C9D8EA; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--orange); stroke-width: 2.6; }

/* Maquette téléphone */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0A1626; padding: 11px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #24364F, 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-2deg); }
.phone-notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #0A1626; border-radius: 14px; }
.phone-screen { height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); padding: 48px 14px 14px; display: flex; flex-direction: column; gap: 12px; color: var(--text); font-size: 12px; line-height: 1.35; position: relative; }
.ps-top { display: flex; justify-content: space-between; align-items: center; }
.ps-top small { color: var(--muted); display: block; font-size: 11px; }
.ps-top strong { font-size: 14px; color: var(--navy); }
.ps-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 11px; }
.ps-rent { background: linear-gradient(140deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; border-radius: 18px; padding: 14px; position: relative; box-shadow: 0 10px 20px -10px rgba(21, 88, 158, .9); }
.ps-rent small { color: #CFE0F4; font-size: 11px; }
.ps-rent strong { display: block; font-size: 24px; letter-spacing: -.02em; margin: 2px 0 8px; }
.ps-rent em { font-style: normal; font-size: 12px; font-weight: 600; color: #CFE0F4; }
.ps-rent .badge { position: absolute; top: 12px; right: 12px; }
.ps-rent-foot { display: flex; gap: 8px; white-space: nowrap; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 8px; font-size: 10.5px; color: #DCE8F6; }
.ps-rent-foot span:last-child { color: var(--orange); font-weight: 700; }
.ps-section-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--navy); font-size: 12.5px; }
.ps-section-title small { color: var(--muted); font-weight: 500; }
.ps-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 88px; background: #fff; border-radius: 14px; padding: 10px 10px 6px; box-shadow: var(--shadow-sm); }
.ps-chart .bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ps-chart .bar span { width: 100%; height: var(--h); max-height: calc(100% - 16px); border-radius: 5px 5px 2px 2px; background: #C9DAEE; }
.ps-chart .bar-hi span { background: var(--orange); }
.ps-chart small { font-size: 9px; color: var(--muted); }
.ps-list { display: flex; flex-direction: column; gap: 8px; }
.ps-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow-sm); }
.ps-item div { flex: 1; }
.ps-item strong { display: block; font-size: 12px; color: var(--navy); }
.ps-item small { color: var(--muted); font-size: 10.5px; }
.ps-item b { font-size: 12px; color: var(--green); }
.pi { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.pi-blue { background: #E1ECF8; color: var(--blue); }
.pi-orange { background: #FDEFD8; color: var(--orange-dark); }
.ps-tabbar { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-sm); }
.ps-tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #DCE3EC; }
.ps-tabbar i.on { background: var(--blue); }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.4; }
.badge-paid { background: var(--green-bg); color: var(--green); }
.badge-wait { background: #FDEFD8; color: #8A5200; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; background: #fff; color: var(--text); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); font-size: .88rem; }
.float-card small { color: var(--muted); }
.float-card-a { top: 47%; left: 0; }
.float-card-b { bottom: 9%; right: 0; animation-delay: -3s; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc-icon svg { width: 18px; height: 18px; stroke-width: 2.4; }
.fc-green { background: var(--green-bg); color: var(--green); }
.fc-orange { background: #FDEFD8; color: var(--orange-dark); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 520px) {
    .float-card { font-size: .78rem; padding: .55rem .7rem; }
    .float-card-a { left: -.25rem; top: 46%; }
    .float-card-b { right: -.25rem; bottom: 6%; }
    .phone { width: 260px; }
    .ps-item-extra { display: none; }
}

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 2; margin-top: -2.5rem; }
.stats-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 1.4rem 1.1rem; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: .2rem; }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat dt { color: var(--muted); font-size: .9rem; font-weight: 550; }
.stat dd { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; color: var(--blue); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat dd small { font-size: .5em; font-weight: 700; color: var(--orange-dark); letter-spacing: 0; }
.stats-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: .75rem; }
.page-home .stats + .section { padding-top: 3.5rem; }

/* ---------- Fonctionnalités ---------- */
.features { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D3DDEA; }
.feature:hover::after { transform: scaleX(1); }
.feature h3 { font-size: 1.15rem; margin: 1.1rem 0 .45rem; }
.feature p { color: var(--muted); font-size: .97rem; }
.feature-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.feature-icon svg { width: 26px; height: 26px; }
.tone-blue { background: #E4EEF9; color: var(--blue); }
.tone-navy { background: #E3E7EE; color: var(--navy); }
.tone-orange { background: #FDEFD8; color: var(--orange-dark); }

/* ---------- Pourquoi ---------- */
.why { display: grid; gap: 2.5rem; align-items: start; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; counter-reset: s; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps strong { color: var(--navy); display: block; font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.step-num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 0 0 5px #E4EEF9; }
.reasons { display: grid; gap: 1rem; }
.reason { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg); border-radius: var(--radius); padding: 1.35rem; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.reason:hover { border-color: #D3DDEA; background: #fff; }
.reason h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.reason p { color: var(--muted); font-size: .95rem; }
.reason-icon { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy)); }
.reason-icon svg { width: 22px; height: 22px; }

/* ---------- Aperçu (tableau de bord) ---------- */
.daily { display: grid; gap: 3rem; align-items: center; }
.daily .dash { order: 2; }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.checklist svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-bg); color: var(--green); stroke-width: 3; margin-top: 1px; }
.daily-note { margin-top: 1.4rem !important; font-size: .82rem !important; color: var(--muted); }

.dash { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; font-size: 12px; line-height: 1.35; }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F0F3F8; border-bottom: 1px solid var(--line); }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.dash-bar i:nth-child(2) { background: #FBBF24; }
.dash-bar i:nth-child(3) { background: #34D399; }
.dash-bar span { margin-left: 10px; color: var(--muted); font-size: 11.5px; }
.dash-body { display: flex; min-height: 300px; }
.dash-side { width: 54px; background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; flex: none; }
.ds-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--orange); margin-bottom: 6px; }
.dash-side i { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.dash-side i.on { background: #fff; }
.dash-main { flex: 1; padding: 14px; display: grid; gap: 12px; background: var(--bg); min-width: 0; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.kpi small { color: var(--muted); display: block; font-size: 10.5px; }
.kpi strong { display: block; font-size: 15px; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.kpi-trend { font-size: 10px; color: var(--muted); }
.kpi-trend.up { color: var(--green); font-weight: 700; }
.dash-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px; }
.dash-chart, .dash-donut, .dash-table { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.dc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dc-head strong { color: var(--navy); font-size: 12px; }
.dc-head small { color: var(--muted); font-size: 10px; }
.dc-bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; border-bottom: 1px dashed var(--line); }
.dc-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(to top, #B9D0EA, #D9E6F5); }
.dc-bars span.hi { background: linear-gradient(to top, var(--blue), #3C82CF); }
.dash-donut { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.dash-donut small { color: var(--muted); font-size: 10px; }
.donut { width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--orange) 0 85%, #E8EDF4 85% 100%); display: grid; place-items: center; }
.donut span { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--navy); font-size: 14px; }
.dash-table { padding: 4px 12px; }
.dt-row { display: grid; grid-template-columns: 1.4fr 1fr .9fr; align-items: center; padding: 7px 0; border-bottom: 1px solid #EEF1F6; }
.dt-row:last-child { border-bottom: 0; }
.dt-row span { display: flex; align-items: center; gap: 6px; }
.dt-head { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.dt-row .badge { justify-self: start; font-size: 10px; }
.av { width: 18px; height: 18px; border-radius: 50%; background: #BFD3EB; flex: none; }
.av2 { background: #F9D49A; }
.av3 { background: #A9DCC6; }

/* ---------- Bandeau application ---------- */
.app-band { padding: 0 0 4.5rem; }
.app-band-inner { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-dark) 60%, var(--navy) 100%); color: #fff; border-radius: 24px; padding: 2.25rem 1.6rem; display: grid; gap: 1.6rem; align-items: center; position: relative; overflow: hidden; }
.app-band-inner::before { content: ""; position: absolute; inset: 0; background: url("../img/hero-pattern.svg"); background-size: 120px; opacity: .8; pointer-events: none; }
.app-band-inner > * { position: relative; }
.app-band h2 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: .6rem; }
.app-band p { color: #D5E2F2; max-width: 620px; }

/* ---------- Boutons magasins ---------- */
.stores { display: flex; flex-wrap: wrap; gap: .7rem; }
.store { display: inline-flex; align-items: center; gap: .65rem; padding: .55rem 1.05rem .55rem .85rem; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); line-height: 1.15; font-weight: 650; font-size: 1.02rem; transition: transform .18s, background-color .18s; }
.store:hover { color: #fff; transform: translateY(-1px); background: #111; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: .68rem; font-weight: 500; color: #D1D5DB; text-transform: uppercase; letter-spacing: .04em; }
.store-soon { background: rgba(255, 255, 255, .08); color: #E5E7EB; cursor: default; }
.store-soon:hover { transform: none; background: rgba(255, 255, 255, .08); }
.store-light { background: #fff; color: var(--navy); border-color: #fff; }
.store-light small { color: var(--muted); }
.store-light:hover { background: #F4F6FA; color: var(--navy); }
.store-light.store-soon { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.store-light.store-soon small { color: #D5E2F2; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; transition: background-color .2s, box-shadow .2s, border-color .2s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); border-color: #D3DDEA; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--navy); font-size: 1.04rem; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq-sign { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #E4EEF9; position: relative; transition: transform .25s, background-color .2s; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; }
.faq-sign::after { transform: rotate(90deg); transition: transform .25s; }
.faq details[open] .faq-sign { background: var(--orange); }
.faq details[open] .faq-sign::before, .faq details[open] .faq-sign::after { background: var(--navy); }
.faq details[open] .faq-sign::after { transform: rotate(0deg); }
.faq details p { padding: 0 1.3rem 1.25rem; color: var(--muted); }
.faq details[open] p { animation: drop .25s ease-out; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(700px 400px at 100% 0%, rgba(244, 155, 20, .22), transparent 60%), linear-gradient(150deg, var(--navy), var(--blue-dark)); color: #fff; border-radius: 26px; padding: 2.25rem 1.5rem; display: grid; gap: 2rem; box-shadow: var(--shadow-lg); }
.contact h2 { color: #fff; font-size: clamp(1.6rem, 3.8vw, 2.3rem); margin-bottom: .9rem; }
.contact-copy > p:not(.eyebrow) { color: #D5E2F2; margin-bottom: 1.6rem; font-size: 1.05rem; max-width: 520px; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-cards li { display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 1rem 1.1rem; }
.contact-cards small { display: block; color: #AFC4DD; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.contact-cards strong { color: #fff; font-weight: 650; word-break: break-word; }
.contact-cards a { color: #fff; text-decoration: none; }
.contact-cards a:hover { color: var(--orange); text-decoration: underline; }
.cc-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: var(--navy); }
.cc-icon svg { width: 22px; height: 22px; stroke-width: 2; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #B9C7D9; padding-top: 3.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr 1fr; padding-bottom: 2.5rem; }
.footer-about { grid-column: 1 / -1; }
.footer-about p { margin: 1rem 0 1.4rem; max-width: 420px; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: #B9C7D9; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.25rem; padding-bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; }
.to-top { color: #B9C7D9; text-decoration: none; }
.to-top:hover { color: var(--orange); }

/* ---------- Pages internes (erreur, retour de paiement) ---------- */
.center { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1.25rem; background: radial-gradient(800px 400px at 50% 0%, #E4EEF9, transparent 70%); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.5rem 2rem; max-width: 500px; width: 100%; text-align: center; box-shadow: var(--shadow); }
.panel h1 { margin: .75rem 0 .5rem; color: var(--navy); font-size: 2rem; }
.panel p { margin-top: .6rem; }
.icon { font-size: 1.6rem; }
.icon.big { font-size: 3rem; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #E4EEF9; }
.muted { color: var(--muted); }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible, .no-io .reveal { opacity: 1; transform: none; }
.features .reveal:nth-child(3n+2), .reasons .reveal:nth-child(2n) { transition-delay: .08s; }
.features .reveal:nth-child(3n) { transition-delay: .16s; }

/* ---------- Tablette / bureau ---------- */
@media (min-width: 640px) {
    .container { padding-left: 1.75rem; padding-right: 1.75rem; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat { border-bottom: 0; }
    .stat:nth-child(2n) { border-right: 1px solid var(--line); }
    .stat:last-child { border-right: 0; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
    .footer-about, .footer-grid > div:last-child { grid-column: auto; }
    .contact { padding: 3rem 2.5rem; }
    .app-band-inner { padding: 2.5rem; }
}
@media (min-width: 960px) {
    .section { padding: 6rem 0; }
    .hero-inner { grid-template-columns: 1.2fr .8fr; padding-top: 5rem; padding-bottom: 7rem; }
    .phone { width: 300px; }
    .float-card-a { left: -2.5rem; }
    .float-card-b { right: -1.5rem; }
    .features { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
    .why { grid-template-columns: .95fr 1.05fr; gap: 4rem; }
    .reasons { grid-template-columns: 1fr 1fr; }
    .reason { flex-direction: column; padding: 1.6rem; }
    .daily { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; }
    .daily .dash { order: 0; }
    .app-band-inner { grid-template-columns: 1fr auto; padding: 2.75rem 3rem; }
    .contact { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 3.5rem; gap: 3rem; }
}
@media (max-width: 420px) {
    .cta-row .btn { width: 100%; }
    .dash-kpis { grid-template-columns: 1fr 1fr; }
    .dash-kpis .kpi:last-child { display: none; }
    .dash-side { width: 40px; }
    .dc-head small { display: none; }
    .contact { padding: 2rem 1.1rem; }
    .contact-cards li { padding: .85rem .9rem; gap: .8rem; }
    .phone-screen { padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- accès aux espaces (en-tête) ---------- */
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-admin { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 550; color: var(--muted) !important; text-decoration: none; white-space: nowrap; }
.nav-admin svg { width: 1em; height: 1em; }
.nav-admin:hover { color: var(--blue) !important; }
.nav-admin::after { display: none !important; }
.btn-member { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(13, 37, 65, .8); }
.btn-member:hover { background: var(--blue); color: #fff; }
.btn-member svg { width: 1.1em; height: 1.1em; }
.btn-member:hover svg { transform: none; }
@media (max-width: 960px) {
    .nav-actions { flex-direction: column-reverse; align-items: stretch; gap: .25rem; margin-top: 1rem; }
    .nav-actions .btn { margin-top: 0; }
    .main-nav .nav-actions a.nav-admin { justify-content: center; border-bottom: 0; padding: .7rem; font-size: .9rem; }
}
@media (min-width: 961px) { .main-nav li a { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1240px) {
    .main-nav { gap: 1.25rem; }
    .main-nav ul { gap: 1.15rem; }
    .nav-admin span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nav-admin svg { width: 1.25em; height: 1.25em; }
}
