/* Site vuparvous.com — mêmes jetons que l'app (src/theme/colors.ts, WCAG AA). */
:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e3e6eb;
  --text: #0e1116;
  --muted: #5b6472;
  --discover: #0fa968;
  --discover-text: #0a7d4c;
  --discover-surface: #e7f8f0;
  --share: #d6208c;
  --share-text: #b01573;
  --share-surface: #fceaf4;
  --ranking: #ffd400;
  --ranking-text: #7a6108;
  --ranking-surface: #fef7df;
  --link: #0a7d4c;
  --radius: 14px;
  --max: 1080px;
  --prose: 720px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d10;
    --surface: #15181d;
    --border: #2a2f37;
    --text: #f5f7fa;
    --muted: #a3abb8;
    --discover-text: #3dd08c;
    --discover-surface: #0a3d28;
    --share-text: #f25cb0;
    --share-surface: #4a0e30;
    --ranking-text: #ffd633;
    --ranking-surface: #3d2f05;
    --link: #3dd08c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--discover); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.02em; }
.brand svg { width: 40px; height: auto; color: var(--discover-text); }
.nav { margin-left: auto; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--discover-text); font-weight: 700; }
.nav .lang { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
/* Mobile : en-tête allégé (les CGU restent dans le pied de page). */
@media (max-width: 560px) {
  .nav .nav-secondary { display: none; }
  .nav { gap: 4px 14px; }
}

/* Accueil : photo de Marseille en fond, voile sombre, sceau et texte blancs
   (identiques en mode clair et sombre : le fond est la photo). */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 72px; text-align: center; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
/* Téléphone : recadrage vertical dédié (phare + fort), ancré à gauche sur le phare. */
@media (max-width: 700px) {
  .hero-bg { object-position: 18% 60%; }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,13,16,0.50) 0%, rgba(11,13,16,0.38) 45%, rgba(11,13,16,0.66) 100%); }
.hero-seal { width: min(340px, 78vw); display: block; margin: 0 auto 8px; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
.hero h1 { margin: 0 auto 12px; } /* le sceau sert de titre principal */
.hero p { color: rgba(255,255,255,0.95); font-size: 20px; max-width: 46ch; margin: 0 auto; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.badge-soon { border: 1px solid rgba(255,255,255,0.55); background: rgba(11,13,16,0.35); border-radius: 12px; padding: 10px 16px; color: #fff; font-size: 15px; backdrop-filter: blur(4px); }
.hero .hero-caption { position: absolute; right: 14px; bottom: 10px; margin: 0; font-size: 12px; color: rgba(255,255,255,0.8); max-width: none; }

.section { padding: 40px 0; }
.section h2 { font-size: 26px; margin: 0 0 20px; text-align: center; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mode { background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.mode h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--accent-text); font-size: 20px; }
.mode h3 svg { width: 34px; height: auto; color: var(--accent-text); flex: none; }
.mode p { margin: 0; color: var(--muted); }
.mode.discover { --accent: var(--discover); --accent-text: var(--discover-text); }
.mode.share { --accent: var(--share); --accent-text: var(--share-text); }
.mode.ranking { --accent: var(--ranking); --accent-text: var(--ranking-text); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 auto; max-width: var(--prose); display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--discover-surface); color: var(--discover-text); font-weight: 800; }
.cities { text-align: center; color: var(--muted); }
/* Bandeau panoramique pleine largeur (section « villes »). */
.cities { padding-top: 0; }
.band { position: relative; margin: 0 0 28px; }
.band img { display: block; width: 100%; height: clamp(180px, 34vw, 440px); object-fit: cover; object-position: center 72%; }
.band figcaption { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.cities strong { color: var(--text); }

/* Pages de texte */
.prose { max-width: var(--prose); margin: 0 auto; padding: 40px 20px 56px; }
.prose h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.prose .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.note { background: var(--ranking-surface); border-left: 4px solid var(--ranking); border-radius: 8px; padding: 12px 16px; font-size: 15px; }
.todo { background: var(--share-surface); border-radius: 4px; padding: 0 4px; font-weight: 700; }
details { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin: 10px 0; background: var(--surface); }
details summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 8px 6px; vertical-align: top; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; padding-bottom: 28px; }
.site-footer a { color: var(--muted); }
.site-footer .copy { margin-right: auto; }
