/* Finally French marketing site. Palette and fonts match the app (src/constants/theme.ts). */

@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Fraunces_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/Fraunces_400Regular_Italic.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/Fraunces_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/Inter_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/Inter_500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/Inter_600SemiBold.woff2') format('woff2'); }

:root {
  --cream: #FBF7EF;
  --surface: #FFFFFF;
  --muted: #F3EDE1;
  --border: #E4DCCB;
  --text: #1C2A3A;
  --text-2: #5B6573;
  --blue: #1F3A5F;
  --blue-deep: #152A47;
  --blue-soft: #DCE5F0;
  --accent: #E07A5F;
  --accent-soft: #F8E1D9;
  --success: #2F7D5B;
  --success-soft: #DCEFE5;
  --gold: #C9A24A;
  --gold-soft: #F4EAD2;
  --on-hero: #FBF7EF;
  --on-hero-2: rgba(251, 247, 239, 0.72);
  --hero: linear-gradient(155deg, #2A4C79 0%, #1F3A5F 55%, #152A47 100%);
  --shadow-card: 0 2px 4px rgba(31, 58, 95, 0.04), 0 8px 24px rgba(31, 58, 95, 0.07);
  --shadow-raised: 0 4px 10px rgba(31, 58, 95, 0.10), 0 16px 36px rgba(31, 58, 95, 0.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 18ch; }
h3 { font-size: 1.3rem; }
em { font-style: italic; font-weight: 400; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 14px; border-radius: 8px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow.dark { color: var(--accent); }
.section { padding: 112px 24px; }
.section-lede { margin-top: 20px; font-size: 1.15rem; color: var(--text-2); max-width: 46ch; }
.section-lede.light { color: var(--on-hero-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero);
  color: var(--on-hero);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(224, 122, 95, 0.20), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(201, 162, 74, 0.14), transparent 70%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(251, 247, 239, 0.18); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--on-hero-2); transition: color .2s; }
.nav-links a:hover { color: var(--on-hero); }

.hero-body {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-top: 56px; padding-bottom: 120px;
}
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 em { color: var(--accent); display: block; }
.lede { margin-top: 28px; font-size: 1.22rem; color: var(--on-hero-2); max-width: 34ch; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--on-hero-2); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 190px; padding: 12px 24px; border-radius: 14px;
  background: rgba(251, 247, 239, 0.08);
  border: 1px solid rgba(251, 247, 239, 0.26);
  backdrop-filter: blur(6px);
  cursor: default; user-select: none;
}
.store-top { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-hero-2); }
.store-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }

/* Phone mock-up, drawn in CSS so it always matches the app's palette. */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone {
  width: 300px; aspect-ratio: 9 / 19; padding: 12px; border-radius: 48px;
  background: linear-gradient(160deg, #2b2f36, #0f1216);
  box-shadow: 0 40px 80px rgba(5, 12, 25, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-3deg);
  animation: rise 1s cubic-bezier(.2, .8, .2, 1) both;
}
.phone-screen {
  height: 100%; border-radius: 38px; background: var(--cream); color: var(--text);
  padding: 46px 22px 24px; display: flex; flex-direction: column; gap: 16px; overflow: hidden;
}
.ph-top { display: flex; align-items: center; gap: 12px; }
.ph-close { color: var(--text-2); font-size: 1.4rem; line-height: 1; }
.ph-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--muted); overflow: hidden; }
.ph-bar span { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.ph-kicker { margin-top: 12px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.ph-fr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; }
.ph-answer { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ph-chip { font-size: 0.85rem; padding: 7px 12px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-card); border: 1px solid var(--border); }
.ph-feedback { margin-top: auto; display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--success-soft); font-size: 0.82rem; line-height: 1.45; }
.ph-feedback strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--success); }
.ph-feedback span { color: var(--text-2); }
.ph-tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 0.9rem; }
.ph-button { text-align: center; padding: 14px; border-radius: 14px; background: var(--blue); color: var(--on-hero); font-weight: 600; font-size: 0.95rem; }

.float-card {
  position: absolute; background: var(--surface); color: var(--text);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-raised);
  display: flex; flex-direction: column; animation: rise 1s .25s cubic-bezier(.2, .8, .2, 1) both;
}
.float-streak { top: 12%; right: -4%; }
.float-word { bottom: 14%; left: -6%; animation-delay: .4s; }
.fc-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.fc-value { font-family: var(--serif); font-size: 1.6rem; color: var(--blue); }
.fc-fr { font-family: var(--serif); font-size: 1.2rem; }
.fc-en { font-size: 0.82rem; color: var(--text-2); }

@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Facts strip ---------- */
.facts { background: var(--surface); border-bottom: 1px solid var(--border); position: relative; }
.facts ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 34px; padding-bottom: 34px; }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.facts li + li { border-left: 1px solid var(--border); }
.facts strong { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--blue); }
.facts span { font-size: 0.9rem; color: var(--text-2); }

/* ---------- Features ---------- */
.features { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 34px 30px 36px;
  box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.f-num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1rem; margin-bottom: 26px; }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Journey ---------- */
.journey { background: var(--hero); color: var(--on-hero); padding: 112px 0; position: relative; overflow: hidden; }
.metro { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.metro::before {
  content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) 0 8%, rgba(251, 247, 239, 0.22) 8% 100%);
}
.stop { position: relative; padding-right: 18px; display: flex; flex-direction: column; }
.dot { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-deep); border: 5px solid rgba(251, 247, 239, 0.4); position: relative; z-index: 1; }
.stop.is-here .dot { background: var(--cream); border-color: var(--accent); box-shadow: 0 0 0 8px rgba(224, 122, 95, 0.22); }
.lvl { margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1; }
.stop.is-here .lvl { color: var(--accent); }
.lvl-name { margin-top: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.can { margin-top: 12px; font-size: 0.92rem; color: var(--on-hero-2); line-height: 1.5; }
.journey-note { margin-top: 56px; font-size: 0.95rem; color: var(--on-hero-2); border-top: 1px solid rgba(251, 247, 239, 0.16); padding-top: 24px; }

/* ---------- People ---------- */
.people { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { border-top: 2px solid var(--blue); padding-top: 28px; }
.person-fr { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--blue); line-height: 1.3; margin-bottom: 22px; min-height: 2.6em; }
.person h3 { margin-bottom: 10px; }
.person p:last-child { color: var(--text-2); }

/* ---------- Day ---------- */
.day { background: var(--muted); padding: 112px 0; }
.day-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 22px; background: var(--surface); padding: 26px 28px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--on-hero); font-family: var(--serif); font-size: 1.2rem; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Free ---------- */
.free-card {
  background: var(--hero); color: var(--on-hero); border-radius: 28px; padding: 72px 64px;
  box-shadow: var(--shadow-raised); position: relative; overflow: hidden;
}
.free-card::after {
  content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.28), transparent 70%);
}
.free-card h2 { max-width: 20ch; }
.free-card h2 em { color: var(--accent); }
.free-card p:last-child { margin-top: 24px; max-width: 56ch; font-size: 1.12rem; color: var(--on-hero-2); position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; padding-top: 24px; }
.faq h2 { margin-bottom: 40px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--accent); transition: rotate .25s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 26px; color: var(--text-2); max-width: 62ch; }

/* ---------- Closing ---------- */
.closing { background: var(--hero); color: var(--on-hero); padding: 120px 0; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { max-width: none; font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.closing h2 em { color: var(--accent); }
.closing-en { margin-top: 14px; color: var(--on-hero-2); font-size: 1.1rem; }
.closing .stores { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: var(--on-hero-2); padding: 36px 0; font-size: 0.9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: var(--on-hero); font-size: 1.05rem; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; padding-bottom: 96px; }
  .phone-stage { margin-top: 24px; }
  .features, .people { grid-template-columns: 1fr 1fr; }
  .day-inner { grid-template-columns: 1fr; gap: 40px; }
  .metro { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .metro::before { display: none; }
  .stop .dot { border-color: rgba(251, 247, 239, 0.4); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 80px 20px; }
  .nav-links { display: none; }
  .hero-body { padding-top: 24px; padding-bottom: 72px; }
  .store { min-width: 0; flex: 1 1 150px; padding: 12px 18px; }
  .store-name { font-size: 1.25rem; }
  .phone { width: 260px; }
  .float-streak { right: 0; top: 6%; }
  .float-word { display: none; }
  .store-top { white-space: nowrap; font-size: 0.66rem; }
  .facts ul { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .facts li:nth-child(3) { border-left: 0; }
  .features, .people { grid-template-columns: 1fr; }
  .journey, .day { padding: 80px 0; }
  .metro { grid-template-columns: 1fr; row-gap: 0; margin-top: 48px; }
  .metro::before { display: block; left: 11px; right: auto; top: 0; bottom: 0; width: 6px; height: auto;
    background: linear-gradient(180deg, var(--accent) 0 10%, rgba(251, 247, 239, 0.22) 10% 100%); }
  .stop { display: grid; grid-template-columns: 28px 56px 1fr; column-gap: 16px; padding: 0 0 32px; align-items: start; }
  .stop .lvl { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; font-size: 1.7rem; }
  .stop .lvl-name { grid-column: 3; margin-top: 4px; }
  .stop .can { grid-column: 3; margin-top: 4px; }
  .stop .dot { grid-row: 1 / span 2; }
  .free-card { padding: 48px 28px; border-radius: 22px; }
  .closing { padding: 88px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
