/*
 * Site public de Local Eats (cible Hosting `site`) : accueil, assistance et
 * pages légales. HTML statique, sans script ni style en ligne : la CSP du site
 * n'autorise que ce fichier et les ressources du site lui-même.
 * Polices de la marque servies par le site (licence OFL dans fonts/).
 * Toujours en clair, quel que soit le thème du système (choix du 27/10/2026) :
 * l'alternance bandeau sombre / sections claires fait le rythme de la page.
 */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --green: #2e7d32;
  --green-strong: #1b5e20;
  --green-soft: #e8f3e8;
  --amber: #f0a72b;
  --amber-ink: #8a5300;
  --navy: #17375e;
  --copper: #9c3f1e;
  --ink: #18201b;
  --text: #24302a;
  --muted: #56645b;
  --line: #dfe6e1;
  --bg: #ffffff;
  --surface: #f6f8f6;
  --night: #0f1712;
  --night-2: #16211a;
  --on-night: #f3f6f3;
  --on-night-muted: #b9c6bd;
  --link: #2e7d32;
  --radius: 18px;
  --display: 'Bricolage Grotesque', 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.01em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* En-tête ---------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.site-header--night { background: var(--night); border-bottom-color: rgba(255,255,255,.08); }
.site-header--night .brand { color: var(--on-night); }
.site-header--night .nav a { color: var(--on-night-muted); }
.site-header--night .nav a:hover { color: #fff; }

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.2; border: 2px solid transparent;
}
.btn--amber { background: var(--amber); color: #1d1406; }
.btn--amber:hover { background: #ffb941; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-strong); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Badges des stores (liens à poser quand les fiches sont publiées). */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; padding: 8px 16px;
  border-radius: 12px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.25); text-decoration: none;
}
.store small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #c9d1cc; }
.store strong { font-size: 17px; font-family: var(--display); }
.store--soon { opacity: .8; }

/* Accueil : bandeau ---------------------------------------------------- */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 76px; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--amber); background: rgba(240,167,43,.12);
  border: 1px solid rgba(240,167,43,.4);
}
.hero h1 { color: #fff; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; margin: 0 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: 20px; color: var(--on-night-muted); max-width: 34em; margin: 0; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0; border-radius: 28px;
  background: linear-gradient(180deg, transparent 55%, rgba(15,23,18,.55));
}
.hero-note {
  position: absolute; left: -24px; bottom: 28px; z-index: 1; max-width: 270px; padding: 14px 16px; border-radius: 16px;
  background: rgba(15,23,18,.86); border: 1px solid rgba(255,255,255,.14); font-size: 15px; color: var(--on-night);
}
.hero-note strong { display: block; font-family: var(--display); color: var(--amber); font-size: 16px; }

/* Sections ---------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--surface { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head .kicker, .kicker {
  display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-ink);
}
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 0 0 14px; }
.section-head p { font-size: 19px; color: var(--muted); margin: 0; }

/* Les trois applications */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--line);
}
.app-card img { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; }
.app-card h3 { margin: 0 0 4px; font-size: 22px; }
.app-card .for { margin: 0 0 14px; font-weight: 700; color: var(--muted); font-size: 15px; }
.app-card ul { margin: 0 0 22px; padding-left: 20px; color: var(--text); }
.app-card li { margin-bottom: 6px; }
.app-card .cta { margin-top: auto; }
.app-card--rider { border-top: 5px solid var(--navy); }
.app-card--pro { border-top: 5px solid var(--copper); }
.app-card--client { border-top: 5px solid var(--green); }
.soon { font-size: 14px; color: var(--muted); }

/* Parti pris */
.manifesto { background: var(--night); color: var(--on-night); }
.manifesto .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.manifesto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.manifesto h2 { color: #fff; }
.manifesto .intro { font-size: 19px; color: var(--on-night-muted); margin: 0 0 30px; }
.manifesto .kicker { color: var(--amber); }
.pledges { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pledges li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.pledges .num { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--amber); line-height: 1; }
.pledges h3 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.pledges p { margin: 0; color: var(--on-night-muted); }
.manifesto a { color: var(--amber); }

/* Restaurateurs, livreurs */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.split--reverse .split-media { order: 2; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.split .btn--ghost { color: var(--link); }

/* Ce que le client y gagne */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perk { padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.perk svg { width: 34px; height: 34px; color: var(--link); margin-bottom: 14px; }
.perk h3 { margin: 0 0 6px; font-size: 20px; }
.perk p { margin: 0; color: var(--muted); }

/* Bandeau assistance */
.help { padding: 56px 0; }
.help .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px;
  border-radius: var(--radius); background: var(--green-soft);
}
.help h2 { margin: 0 0 4px; font-size: 26px; }
.help p { margin: 0; color: var(--muted); }

/* Pied de page ------------------------------------------------------------ */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 56px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: var(--on-night); margin-bottom: 10px; }
.site-footer h3 { color: var(--on-night); font-size: 15px; margin: 0 0 12px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

/* Pages de texte (assistance, légal) -------------------------------------- */
main.page { width: min(780px, 100% - 40px); margin: 0 auto; padding: 48px 0 72px; }
main.page h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; margin: 0 0 8px; }
main.page h2 { font-size: 23px; margin: 40px 0 10px; color: var(--ink); }
main.page h3 { font-size: 19px; margin: 24px 0 6px; }
main.page p, main.page li { margin: 0 0 10px; }
main.page ul { padding-left: 22px; }
.lead { color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.box { border-left: 4px solid var(--green); padding: 12px 16px; background: var(--green-soft); border-radius: 8px; }

/* Petits écrans ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap, .manifesto .wrap, .split .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .wrap { padding: 40px 0 56px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-note { left: 12px; bottom: 12px; }
  .manifesto img { aspect-ratio: 16 / 10; }
  .split--reverse .split-media { order: 0; }
  .apps, .perks { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav { gap: 2px 14px; font-size: 14px; }
  .help .wrap { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
