/* B2B Food Hunter — site public (page d'accueil). Polices auto-hébergées (SIL OFL, voir fonts/LICENSE-*). */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/static/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url(/static/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url(/static/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/static/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

/* Layout : une table de restaurant le midi, plateau tournant en 3D (un plat par jour de la semaine), lumière chaude de salle ; puis des sections calmes et éditoriales sur fond brun-charbon. */
:root {
  --ground: #120D0A;
  --ground-2: #1C1511;
  --line: #3A2D24;
  --fg: #F5EEE4;
  --muted: #B3A595;
  --accent: #FF5A1F;
  --brass: #E3B26B;
  --herb: #9CC59A;
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body { background: var(--ground); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 12px 40px -12px rgba(255, 90, 31, .65); }
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost { border-color: rgba(245, 238, 228, .3); color: var(--fg); background: rgba(18, 13, 10, .35); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--fg); }

/* ---------- nav */
.nav { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand b { font: 700 15px/1.05 var(--body); letter-spacing: .08em; }
.brand b span { color: var(--accent); display: block; }
.nav .links { margin-left: auto; display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.nav .links a { text-decoration: none; }
.nav .links a:hover { color: var(--fg); }
@media (max-width: 1100px) { .nav .links { display: none; } }

/* ---------- hero */
.hero { position: relative; min-height: 780px; overflow: hidden; isolation: isolate; background: radial-gradient(90% 70% at 72% 55%, #3A2416 0%, var(--ground) 70%); }
#table3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 13, 10, .94) 0%, rgba(18, 13, 10, .7) 32%, rgba(18, 13, 10, 0) 58%), linear-gradient(0deg, var(--ground) 0%, rgba(18, 13, 10, 0) 20%); }
.hero .wrap { padding-block: 168px 120px; }
.hero h1 { font-family: var(--display); font-size: clamp(58px, 7.6vw, 112px); line-height: .95; letter-spacing: -.015em; max-width: 8.5ch; }
.hero h1 em { color: var(--accent); }
.hero p.lead { max-width: 31rem; font-size: 19px; color: #DCCFBF; margin: 28px 0 36px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .fine { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero .fine span::before { content: "✓"; color: var(--herb); margin-right: 7px; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(0deg, var(--ground) 0%, rgba(18, 13, 10, .82) 42%, rgba(18, 13, 10, .1) 72%); }
  .hero .wrap { padding-block: 380px 56px; }
  .hero p.lead { font-size: 17px; }
}

/* carte du jour */
.today { position: absolute; right: 28px; bottom: 36px; width: 300px; padding: 18px 20px; border-radius: 18px; background: rgba(28, 21, 17, .7); border: 1px solid rgba(245, 238, 228, .12); backdrop-filter: blur(14px); }
.today .days { display: flex; gap: 6px; margin: 12px 0 14px; }
.today .days i { flex: 1; height: 32px; display: grid; place-items: center; border-radius: 10px; font: 500 11px var(--mono); font-style: normal; color: var(--muted); background: rgba(245, 238, 228, .05); transition: background .5s, color .5s; }
.today .days i.on { background: var(--accent); color: #fff; }
.today .what { font-family: var(--display); font-size: 32px; line-height: 1; }
.today .dish { color: var(--muted); font-size: 14px; margin-top: 6px; }
.today .meta { font: 500 11px var(--mono); color: var(--muted); margin-top: 12px; display: flex; justify-content: space-between; }
.today .tag { font: 500 10px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 760px) { .today { left: 16px; right: 16px; width: auto; top: 92px; bottom: auto; } }

/* ---------- sections */
section { padding-block: 112px; }
@media (max-width: 600px) { section { padding-block: 72px; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 56px; }
.sec-head h2, .split h2, .cta-box h2 { font-family: var(--display); font-size: clamp(42px, 5.2vw, 72px); line-height: 1; letter-spacing: -.01em; margin-top: 14px; }
.sec-head h2 em, .split h2 em, .cta-box h2 em { color: var(--brass); }
.sec-head p { color: var(--muted); font-size: 18px; max-width: 34rem; margin: 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* semaine type */
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.day { position: relative; padding: 22px 20px 24px; border-radius: 20px; background: linear-gradient(180deg, var(--ground-2), rgba(28, 21, 17, .35)); border: 1px solid var(--line); min-width: 0; overflow: hidden; }
.day .d { font: 500 12px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.day h3 { font-family: var(--display); font-size: 34px; line-height: 1; margin: 52px 0 10px; }
.day p { margin: 0; color: var(--muted); font-size: 14px; }
.day .plate { position: absolute; top: 18px; right: 18px; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(245, 238, 228, .9), 0 10px 24px rgba(0, 0, 0, .5); }
.week-note { margin-top: 18px; font: 500 12px var(--mono); color: var(--muted); }
@media (max-width: 900px) { .week { grid-template-columns: repeat(2, minmax(0, 1fr)); } .day:last-child { grid-column: span 2; } }
@media (max-width: 480px) { .week { grid-template-columns: 1fr; } .day:last-child { grid-column: auto; } }

/* déroulé */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font: 500 13px var(--mono); color: var(--accent); }
.step h3 { font-family: var(--display); font-size: 30px; line-height: 1.05; margin: 14px 0 10px; }
.step p { color: var(--muted); margin: 0; }
.step .time { display: inline-block; margin-top: 16px; font: 500 13px var(--mono); color: var(--brass); border: 1px solid rgba(227, 178, 107, .35); border-radius: 999px; padding: 4px 12px; }
.nego { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; }
.nego .n { font: 500 13px var(--mono); color: var(--accent); }
.nego h3 { margin: 6px 0 8px; }
.nego p { margin: 0; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 72px; }
.promise { min-width: 0; }
.promise b { display: block; font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; }
.promise span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* restaurants */
.resto { background: linear-gradient(180deg, var(--ground) 0%, #1A110C 100%); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.split h2 { margin-bottom: 24px; }
.split p { color: #DCCFBF; font-size: 18px; max-width: 32rem; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); transform: rotate(45deg) scale(.7); }
.ticket { position: relative; padding: 30px 30px 26px; border-radius: 4px; background: #F6F1E7; color: #1A1712; font-family: var(--mono); font-size: 15px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(-1.6deg); }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle at 6px 0, transparent 6px, #F6F1E7 6.5px) repeat-x; background-size: 12px 12px; }
.ticket::before { top: -11px; transform: rotate(180deg); }
.ticket::after { bottom: -11px; }
.ticket h4 { margin: 0 0 18px; font: 400 30px/1 var(--display); }
.ticket .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #CFC6B4; font-variant-numeric: tabular-nums; }
.ticket .row.total { border-bottom: 0; font-weight: 700; font-size: 18px; padding-top: 16px; }
.ticket .row.total span:last-child { color: #D9430F; }
.ticket small { display: block; margin-top: 14px; color: #6E6658; font-size: 11px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } .ticket { transform: none; } }

/* contact */
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 31, .28) 0%, rgba(255, 90, 31, 0) 55%), var(--ground-2); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.cta-box p { color: var(--muted); }
form { display: grid; gap: 12px; min-width: 0; }
label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
input, select { height: 50px; border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 13, 10, .7); color: var(--fg); padding: 0 14px; font: 500 16px var(--body); width: 100%; }
input:focus, select:focus { border-color: var(--brass); outline: none; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sent { font-size: 14px; color: var(--herb); min-height: 22px; }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; padding: 36px 22px; } .form-row { grid-template-columns: 1fr; } }

footer { padding-block: 48px 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 32px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ajouts site réel */
.nav .account { font-size: 15px; color: var(--fg); text-decoration: none; border: 1px solid rgba(245, 238, 228, .3); border-radius: 999px; padding: 8px 16px; }
.nav .account:hover { border-color: var(--fg); }
@media (max-width: 760px) { .nav .account:first-of-type { margin-left: auto; } .nav .account { padding: 7px 12px; font-size: 13px; } .nav .wrap { gap: 8px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent.error { color: #FF9C7A; }
.resto .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.resto .ctas form { display: inline; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
.site-flash { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); z-index: 6; width: min(560px, calc(100% - 32px)); padding: 12px 18px; border-radius: 14px; background: rgba(28, 21, 17, .92); border: 1px solid var(--line); font-size: 14px; }
.nav .account { white-space: nowrap; display: inline-block; }
.nav .account:first-letter { text-transform: uppercase; }
@media (max-width: 760px) { .lg-only { display: none; } }
form.inline-form { display: inline-flex; }

/* Bas de page : présentation, liens, contact, bouton WhatsApp */
.site-foot { padding-block: 64px 32px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); background: var(--ground-2); }
.site-foot .wrap { display: block; border-top: 0; padding-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-about p { margin: 18px 0 0; max-width: 34ch; line-height: 1.7; }
.site-foot h3 { margin: 6px 0 18px; color: var(--fg); font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.foot-grid > div > a, .foot-contact span { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-decoration: none; overflow-wrap: anywhere; }
.foot-contact svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 520px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } .site-foot { padding-bottom: 96px; } }

.brand .tagline { font: italic 400 15px/1.2 var(--display, serif); color: var(--muted); margin-left: 10px; padding-left: 12px; border-left: 1px solid currentColor; white-space: nowrap; }
@media (max-width: 1320px) { .brand .tagline { display: none; } }
.nav .links a { white-space: nowrap; }
