@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #273449;
  --border: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --gold: #ffc107;
  --gold-soft: #ffd700;
  --indigo: #6366f1;
  --sport: #38bdf8;
  --eco: #4ade80;
  --culture: #c084fc;
  --explorer: #fb923c;
  --cozy: #f472b6;
  --radius: 16px;
  --max: 1080px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-soft);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-header nav {
  display: flex;
  gap: 20px;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.site-header nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(255, 193, 7, 0.08), transparent 70%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

h1 .accent {
  color: var(--gold);
}

.lead {
  color: var(--muted);
  font-size: 19px;
  margin: 0 0 32px;
  max-width: 34em;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  line-height: 1.2;
}

.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.store strong {
  font-size: 16px;
  font-weight: 600;
}

.store-note {
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
}

/* Phone mockup */
.phone {
  justify-self: center;
  width: 300px;
  max-width: 100%;
  border-radius: 40px;
  padding: 12px;
  background: #050914;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.02);
}

.screen {
  border-radius: 30px;
  background: var(--bg);
  padding: 22px 14px 18px;
  overflow: hidden;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.gold {
  color: var(--gold);
}

.chip.fire {
  color: var(--explorer);
}

.tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.tabs span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 9px;
  color: var(--muted);
}

.tabs span.on {
  background: var(--border);
  color: var(--text);
}

.qcard {
  border: 1px solid var(--c);
  background: color-mix(in srgb, var(--c) 9%, var(--bg));
  border-radius: 14px;
  padding: 11px 12px;
  margin-bottom: 10px;
}

.qcard:last-child {
  margin-bottom: 0;
}

.qcard .tag {
  color: var(--c);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.qcard .title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  margin: 2px 0 6px;
}

.qcard .meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.qcard .meta b {
  color: var(--gold);
  font-weight: 600;
}

.c-cozy { --c: var(--cozy); }
.c-culture { --c: var(--culture); }
.c-eco { --c: var(--eco); }
.c-sport { --c: var(--sport); }
.c-explorer { --c: var(--explorer); }

/* Sections */
section {
  padding: 64px 0;
}

section.alt {
  background: #111a2e;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 700;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 40em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1300;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3,
.feature h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.step p,
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c, var(--gold));
  border-radius: var(--radius);
  padding: 22px 24px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.categories span {
  border: 1px solid var(--c);
  color: var(--c);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
}

.promises {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.promises li {
  position: relative;
  padding-left: 30px;
}

.promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--eco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ */
.faq {
  max-width: 760px;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Legal pages */
.legal {
  padding: 48px 0 72px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 15px;
}

.legal h2 {
  font-size: 22px;
  margin: 40px 0 10px;
}

.legal h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}

.legal p,
.legal li {
  color: #cbd5e1;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal strong {
  color: var(--text);
}

.summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 8px;
}

.summary-box p:first-child {
  margin-top: 0;
}

.summary-box ul {
  margin-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 12px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: #cbd5e1;
}

th {
  color: var(--text);
  background: var(--surface);
  font-weight: 600;
}

.mail {
  display: inline-block;
  font-weight: 600;
  font-size: 19px;
  word-break: break-all;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 860px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps,
  .features,
  .promises {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 0;
  }
}

@media (max-width: 640px) {
  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tr,
  td {
    display: block;
  }

  tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px 0;
    margin-bottom: 12px;
  }

  td {
    border-bottom: 0;
    padding: 6px 16px;
  }

  td:nth-child(2)::before,
  td:nth-child(3)::before {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  td:nth-child(2)::before {
    content: "À quoi elles servent";
  }

  td:nth-child(3)::before {
    content: "Base légale";
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .site-header nav {
    display: none;
  }

  .lead {
    font-size: 17px;
  }

  .store {
    flex: 1 1 100%;
  }
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 20px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}

.plan.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.06);
}

.plan h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.plan.featured h3 {
  color: var(--gold);
}

.plan .price {
  margin: 4px 0 16px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.plan .price span {
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan li {
  padding: 7px 0;
  border-top: 1px solid var(--border);
  color: #cbd5e1;
  font-size: 16px;
}

.plan li strong {
  color: var(--text);
}

.plan-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
