:root {
  --bordeaux: #5C1A2B;
  --bottle-green: #1E3D2F;
  --mustard: #E0A030;
  --parchment: #EDE8DE;
  --parchment-dim: #E3DDCE;
  --ink: #2A2320;
  --ink-soft: #5A4F49;
  --radius: 2px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'WONK' 1, 'SOFT' 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--bordeaux);
  margin: 0;
}

a { color: inherit; }

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

/* ---------- Nav ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--parchment);
  border-bottom: 1px solid rgba(42,35,32,0.08);
}

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

/* Wordmark: real logo image, height-constrained, width follows its
   native aspect ratio. */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

footer .logo-img {
  height: 30px;
}

.lang-toggle {
  display: flex;
  gap: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.lang-toggle button {
  background: none;
  border: 1px solid rgba(42,35,32,0.2);
  color: var(--ink-soft);
  padding: 6px 12px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.lang-toggle button.active {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--parchment);
}
.lang-toggle button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.lang-toggle button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Bite divider (signature motif) ---------- */

.bite-divider {
  display: block;
  width: 100%;
  height: 22px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bottle-green);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mustard);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  max-width: 14ch;
}

.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.06em;
  height: 0.12em;
  background: var(--mustard);
  z-index: -1;
}

.hero p.sub {
  max-width: 46ch;
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 28px;
}

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--bordeaux);
  color: var(--parchment);
}
.btn-secondary {
  background: transparent;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }

.section-head {
  max-width: 56ch;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-top: 12px;
}

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

.step .num {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--mustard);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Pilot (Toulon) ---------- */

#pilot {
  background: var(--bottle-green);
  color: var(--parchment);
}
#pilot .eyebrow { color: var(--mustard); }
#pilot h2 { color: var(--parchment); }
#pilot .section-head p { color: rgba(237,232,222,0.78); }

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.r-card {
  background: rgba(237,232,222,0.06);
  border: 1px solid rgba(237,232,222,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.r-card .photo {
  height: 140px;
  background: linear-gradient(135deg, rgba(224,160,48,0.18), rgba(224,160,48,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(237,232,222,0.4);
}

.r-card .info { padding: 16px 18px 20px; }
.r-card .info h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--parchment);
  margin: 0 0 4px;
}
.r-card .info p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(237,232,222,0.6);
}

/* ---------- Trust ---------- */

.trust {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.trust .section-head { margin-bottom: 0; }
.trust-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.trust-points .point h3 {
  font-size: 17px;
  color: var(--bordeaux);
  margin-bottom: 6px;
}
.trust-points .point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--bordeaux);
  color: rgba(237,232,222,0.85);
  padding: 56px 0 32px;
}
footer .foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(237,232,222,0.15);
}
footer p.tag {
  max-width: 32ch;
  font-size: 14px;
  color: rgba(237,232,222,0.6);
  margin: 10px 0 0;
}
footer .contact {
  font-size: 14px;
}
footer .contact a { text-decoration: none; border-bottom: 1px solid rgba(237,232,222,0.4); }
footer .legal {
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(237,232,222,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Generic content pages (default.html.twig) ---------- */

main > .wrap {
  padding: 64px 0;
}
main article {
  max-width: 68ch;
  margin: 0 auto;
  padding: 64px 32px;
}
main article h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 24px; }
main article p { color: var(--ink-soft); }

/* ---------- Language toggle ---------- */

[data-lang="en"] { display: none; }
html.lang-en [data-lang="en"] { display: revert; }
html.lang-en [data-lang="fr"] { display: none; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .trust { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 2px;
}
