@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url('/fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap; src: url('/fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 800; font-display: swap; src: url('/fonts/sora-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --gold: #C79A2B;
  --gold-dark: #8A6A12;
  --gold-soft: #F8F1DB;
  --ink: #17171C;
  --ink-2: #3B3B44;
  --muted: #5E5E66;
  --line: #E7E2D6;
  --cream: #FBF8F1;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(23, 23, 28, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.gold { color: var(--gold); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.eyebrow.center { display: block; }
.eyebrow-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin: 14px auto 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #B88C22; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(23, 23, 28, 0.06); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Bandeau du haut */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 241, 0.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: Sora, Inter, sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-name.light { color: var(--white); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--gold-dark); }
.auth { display: flex; gap: 8px; margin-left: auto; }
.menu { display: none; position: relative; }
.login-mobile { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, 92vw); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; display: grid; gap: 4px; }
.menu-panel a:not(.btn) { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-panel a:not(.btn):hover { background: var(--gold-soft); }
.menu-panel .btn { width: 100%; margin-top: 6px; }

/* Accueil */
.hero { padding: 64px 0 72px; background: radial-gradient(1100px 500px at 85% -10%, rgba(199, 154, 43, 0.18), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); margin-top: 20px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.93rem; }
.ticks li, .list li { display: flex; align-items: flex-start; gap: 8px; }
.ticks svg, .list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; padding-bottom: 40px; }
.laptop { margin: 0; }
.laptop-screen { background: #0E0E12; border-radius: 16px 16px 6px 6px; padding: 10px; box-shadow: var(--shadow); }
.laptop-screen img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.laptop-base { height: 14px; margin: 0 -4%; background: linear-gradient(#D9D6CF, #B9B5AC); border-radius: 0 0 18px 18px; }
.phone { margin: 0; background: #0E0E12; border-radius: 34px; padding: 9px; box-shadow: var(--shadow); }
.phone img { border-radius: 26px; aspect-ratio: 585 / 1266; object-fit: cover; object-position: top; }
.phone-hero { position: absolute; width: 30%; right: -2%; bottom: 0; }

.strip { background: var(--ink); color: #E9E6DD; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 16px 0; font-weight: 500; font-size: 0.95rem; }
.strip-inner span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 10px; vertical-align: middle; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--gold-soft); fill: none; stroke: var(--gold-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 0.97rem; }

.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text > p:not(.eyebrow) { color: var(--ink-2); margin-top: 16px; font-size: 1.05rem; }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.stack { position: relative; padding-bottom: 18%; }
.window { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.window img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.window-offset { position: absolute; width: 72%; right: -4%; bottom: 0; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.phone-up { transform: translateY(-28px); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 700; font-family: Sora, Inter, sans-serif; line-height: 1.2; }
.store small { font-family: Inter, sans-serif; font-weight: 500; font-size: 0.72rem; color: #CFCFD6; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan .list { margin: 8px 0 18px; flex: 1; align-content: start; }
.plan .btn { align-self: stretch; }
.plan-featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-featured .plan-desc, .plan-featured .price span { color: #CFCFD6; }
.plan-featured .btn-gold { color: var(--ink); }
.price { font-family: Sora, Inter, sans-serif; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plans-note { margin: 24px 0 0; text-align: center; font-size: 0.95rem; color: var(--muted); }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.plan-desc { color: var(--muted); font-size: 0.95rem; }
.badge { position: absolute; top: -13px; left: 28px; background: var(--gold); color: var(--ink); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* Questions */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-top: 12px; }
.faq:first-of-type { margin-top: 36px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--muted); padding-bottom: 18px; }

.final { background: var(--ink); color: var(--white); padding: 80px 0; text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 16px; }
.final-icon { width: 64px; height: 64px; }
.final p { color: #CFCFD6; font-size: 1.08rem; }
.final .btn { margin-top: 8px; }

.footer { background: #0E0E12; color: #B4B4BC; padding: 36px 0; }
.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: #E2E2E8; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-note { margin-left: auto; font-size: 0.88rem; }

/* Pages légales */
.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 12px; padding-top: 8px; }
.legal p { color: var(--ink-2); margin-top: 10px; white-space: pre-line; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }

@media (max-width: 1000px) {
  .nav, .auth { display: none; }
  .menu { display: block; }
  .login-mobile { display: inline-flex; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-text { order: 0; }
  .hero-visual { max-width: 640px; }
  .features, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .features, .plans { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 0; }
  .phone-hero { width: 34%; }
  .phones { gap: 10px; }
  .phone { border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 18px; }
  .footer-note { margin-left: 0; }
  .cta-row .btn { width: 100%; }
}
