/* Palette nuit — cohérence avec l'app mobile pass_voyage. */
:root {
  --primary: #1F3A5F;
  --primary-dark: #15293F;
  --secondary: #E07856;
  --background: #EAEFF6;
  --surface: #FFFFFF;
  --text: #0E1828;
  --muted: #5B6A82;
  --border: rgba(31, 58, 95, 0.12);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--primary); text-decoration: none; }

/* ─── Nav ─── */

.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover { color: var(--primary); }

.cta-link {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.cta-link:hover { background: var(--primary-dark); }

/* ─── Hero ─── */

.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--background) 0%, var(--surface) 100%);
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--secondary);
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}

.lead strong { color: var(--text); font-weight: 600; }

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  min-width: 180px;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary) !important;
  border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--primary); }

.btn-link {
  color: var(--primary) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ─── Sections ─── */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--primary);
  color: white;
}

.section-alt .kicker { color: var(--secondary); }
.section-alt p { color: rgba(255, 255, 255, 0.85); }
.section-alt .feature p { color: rgba(255, 255, 255, 0.85); }

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-alt h2 { color: white; }

.section-head p {
  font-size: 18px;
  color: var(--muted);
}

/* ─── Features grid ─── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* ─── Store badges ─── */

.store-row {
  margin-top: 64px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  padding: 14px 24px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
}

.store-badge.soon {
  background: var(--surface);
}

/* ─── Agency flow ─── */

.agency-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 64px;
}

.flow-step {
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.flow-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.flow-step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}

.agency-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.agency-cta .btn-primary {
  background: var(--secondary);
}

.agency-cta .btn-primary:hover { background: #C8623F; }

.agency-cta .btn-link { color: white !important; }

/* ─── Footer ─── */

.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer .brand { color: white; }

.footer-tagline {
  font-size: 14px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-cols h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer-cols a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  padding: 4px 0;
}

.footer-cols a:hover { color: white; }

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Responsive tweaks ─── */

@media (max-width: 640px) {
  .nav-links a:not(.cta-link) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .btn { min-width: 0; width: 100%; }
}
