/* Site eMedia : mêmes couleurs que l'app (AppPalette), clair par défaut et sombre selon le système. */
:root {
  --bg: #f6f4f2; --bg2: #efebe7; --surface: #ffffff; --fg: #16161a; --mute: #6b6b75; --line: #e6e2de;
  --accent: #F2555A; --accent-text: #D23A40; --accent-soft: rgba(242, 85, 90, .1); --success: #1f9d55;
  --night: #0c0c0e; --night2: #17171b; --night-fg: #f4f4f5; --night-mute: #a1a1aa;
  --radius: 22px; --shadow: 0 24px 60px rgba(22, 22, 26, .12);
  --display: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e; --bg2: #141417; --surface: #17171b; --fg: #f4f4f5; --mute: #a1a1aa; --line: #26262b;
    --accent-text: #FF7B7F; --accent-soft: rgba(242, 85, 90, .14); --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ─────────── Boutons ─────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 99px; font: 600 15px Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-accent { background: var(--accent); color: #fff; }
.link-arrow { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* ─────────── En-tête ─────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-banner { background: var(--accent); color: #fff; text-align: center; font: 600 14px/1.4 Inter, sans-serif; padding: 9px 20px; }
.site-banner a { color: #fff; text-decoration: none; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px var(--display); }
.brand img { border-radius: 9px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--mute); transition: color .15s; }
.main-nav a:hover { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--surface); }
.lang-switch button { border: 0; background: none; color: var(--mute); font: 600 13px Inter, sans-serif; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.lang-switch button.is-active { background: var(--fg); color: var(--bg); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ─────────── Accroche ─────────── */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 14px; line-height: 1.5; }
.eyebrow .live-dot { vertical-align: 1px; margin-right: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 0 0 rgba(242, 85, 90, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(242, 85, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 85, 90, 0); } }
h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; font-weight: 800; margin: 0 0 20px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--mute); margin: 0 0 30px; max-width: 34em; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-buttons.center { justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 170px; padding: 10px 18px; border-radius: 14px; background: var(--fg); color: var(--bg); text-decoration: none; transition: transform .15s; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn span { display: flex; flex-direction: column; text-align: left; font: 600 17px/1.15 Inter, sans-serif; }
.store-btn small { font-size: 11.5px; font-weight: 500; opacity: .7; }
.store-btn.is-preferred { order: -1; box-shadow: 0 0 0 3px var(--accent-soft); }
.store-btn-light { background: #fff; color: #16161a; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; padding: 0; margin: 34px 0 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font: 800 26px var(--display); font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--mute); font-size: 14px; }

/* Écran de rue (aperçu) */
.hero-visual { position: relative; padding: 24px 12px 0; }
.street-screen { position: relative; max-width: 520px; margin: 0 auto; }
.screen-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 26px; padding: 16px; background: linear-gradient(160deg, #3a3a42, #121214 55%); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }
.screen-content { position: relative; height: 100%; border-radius: 12px; overflow: hidden; background: #050506; }
.screen-content img, .screen-content video { width: 100%; height: 100%; object-fit: cover; }
.screen-content::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .1), transparent 38%); pointer-events: none; }
.screen-placeholder { height: 100%; display: grid; place-content: center; text-align: center; color: #fff; background: radial-gradient(circle at 30% 20%, #ff8a8d, transparent 55%), linear-gradient(135deg, #F2555A, #a3182a); }
.screen-placeholder strong { font: 800 clamp(24px, 3.4vw, 34px) var(--display); }
.screen-placeholder span { opacity: .85; font-weight: 500; margin-top: 4px; }
.screen-live { position: absolute; top: 28px; left: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font: 700 11.5px Inter, sans-serif; letter-spacing: .06em; }
.screen-pole { width: 34px; height: 86px; margin: 0 auto; background: linear-gradient(90deg, #26262b, #3a3a42 50%, #26262b); border-radius: 0 0 6px 6px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; }
.chip-place { top: 0; right: 0; }
.chip-check { bottom: 40px; left: 0; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: #fff; font-size: 13px; }

/* ─────────── Sections ─────────── */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.kicker { margin: 0 0 12px; font: 700 13px Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; margin: 0 0 18px; max-width: 18em; }
.section-lead { font-size: 18px; color: var(--mute); margin: 0 0 36px; max-width: 40em; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
/* Apparition au défilement, seulement si le script tourne (sinon tout reste visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Écrans */
.screen-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.screen-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 150px; }
.screen-card-photo { margin: -20px -20px 12px; aspect-ratio: 16 / 9; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg2); }
.screen-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.screen-card-zone { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.screen-card strong { font: 700 19px var(--display); }
.screen-card-meta { color: var(--mute); font-size: 14.5px; }
.screen-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; font-size: 14.5px; }
.screen-card-price { font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mute); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.status.is-online { color: var(--success); }
.status.is-online::before { background: var(--success); }
.screens-more { margin: 24px 0 0; color: var(--mute); }

/* Fonctionnement */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; font: 800 18px var(--display); }
.step h3 { font-size: 20px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--mute); }

/* Avantages */
.benefits { background: var(--bg2); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.benefit-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 19px; margin: 16px 0 6px; }
.benefit p { margin: 0; color: var(--mute); }

/* Devis, réviseurs */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-row, .quote-total { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-row span { color: var(--mute); }
.quote-total { border: 0; padding-bottom: 0; font: 800 20px var(--display); }
.quote-total strong { color: var(--accent-text); }
.reviewers { background: var(--night); color: var(--night-fg); border-top: 0; }
.reviewers .section-lead, .reviewers .ticks li { color: var(--night-mute); }
.reviewers .ticks li::before { background: rgba(242, 85, 90, .2); color: #FF7B7F; }
.reviewers .kicker, .reviewers .link-arrow { color: #FF7B7F; }
.rev-visual { display: grid; place-items: center; }
.rev-card { width: min(360px, 100%); padding: 24px; border-radius: var(--radius); background: var(--night2); border: 1px solid #26262b; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.rev-card::before { content: ''; display: block; aspect-ratio: 16 / 9; border-radius: 14px; margin-bottom: 18px; background: radial-gradient(circle at 70% 30%, #ffb36b, transparent 55%), linear-gradient(135deg, #6a5cff, #F2555A); }
.rev-tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: rgba(255, 179, 107, .15); color: #ffb36b; font-size: 12.5px; font-weight: 700; }
.rev-card strong { display: block; margin: 10px 0 16px; font: 700 20px var(--display); }
.rev-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rev-actions span { text-align: center; padding: 11px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.rev-no { background: #26262b; color: var(--night-fg); }
.rev-yes { background: var(--accent); color: #fff; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 700 18px var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent-text); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 12px 0 0; color: var(--mute); white-space: pre-line; }

/* Téléchargement */
.download { background: radial-gradient(circle at 50% 0%, rgba(242, 85, 90, .35), transparent 60%), var(--night); color: var(--night-fg); text-align: center; border-top: 0; }
.download h2 { margin-left: auto; margin-right: auto; }
.download .section-lead { color: var(--night-mute); margin-left: auto; margin-right: auto; }
.soon { margin: 18px 0 0; color: var(--night-mute); font-size: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.contact-list span { color: var(--mute); font-size: 13.5px; font-weight: 600; }
.contact-list a { font: 700 18px var(--display); text-decoration: none; overflow-wrap: anywhere; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--mute); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--fg); }
.socials { display: flex; gap: 10px; margin-left: auto; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); color: var(--mute); }
.socials a:hover { color: var(--fg); }
.socials svg { width: 18px; height: 18px; }
.footer-copy { width: 100%; margin: 0; color: var(--mute); font-size: 14px; }
.footer-copy a { text-decoration: none; font-weight: 600; }
.footer-copy a:hover { color: var(--fg); }

/* ─────────── Petits écrans ─────────── */
@media (max-width: 1020px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 17px; color: var(--fg); }
  .menu-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero-grid, .split-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .screen-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .rev-visual { order: 2; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .screen-grid, .benefit-grid, .steps { grid-template-columns: 1fr; }
  .float-chip { font-size: 12.5px; padding: 8px 11px; }
  .chip-check { bottom: 54px; }
  .socials { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
}
