/* ============================================================
   MARCHAN PARK — Café · Restaurant, plateau du Marshan, Tanger
   Identity sampled from the house's own assets: the green neon
   storefront sign (#02ba81) + its gold "Café Restaurant" script
   and globe lamps (#f4ab0e), the teal velvet banquette (#20b8bf)
   and mustard chairs of the salle, over a warm sandstone cream.
   A LIGHT, airy café identity — deliberately apart from the
   batch's dark grounds.
   Type: Gambetta (display serif, warmth) + Public Sans (menu-board
   grotesque for body, labels, prices).
   ============================================================ */

@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* color — sampled from the house's own photographs */
  --paper: #f5efe1;        /* warm sandstone cream (façade / walls) */
  --paper-2: #efe6d3;      /* deeper cream — alt sections */
  --ink: #18241d;          /* deep park-green near-black — body text */
  --ink-soft: #46564b;     /* muted green-grey */
  --green: #0f5d43;        /* park green — headings, brand */
  --green-deep: #0b3d2c;   /* deep emerald ground (hero scrim, footer) */
  --green-bright: #0aa06e; /* neon-derived accent (large / decorative) */
  --gold: #a9761a;         /* deep gold — labels on cream (AA) */
  --gold-bright: #f4ab0e;  /* their neon gold — on dark grounds only */
  --teal: #157e8b;         /* banquette accent */
  --mustard: #cf9f3e;      /* mustard chairs */
  --clay: #6f4527;         /* warm brown */
  --line: rgba(24, 36, 29, 0.14);
  --line-soft: rgba(24, 36, 29, 0.08);
  --cream-line: rgba(245, 239, 225, 0.18);

  --display: "Gambetta", "Georgia", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, Arial, sans-serif;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-12: 3rem; --s-16: 4rem; --s-24: 6rem;

  --wrap: 1160px;
  --z-nav: 10; --z-float: 20; --z-toast: 30;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; text-wrap: balance; line-height: 1.06; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ---------- nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(245, 239, 225, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0.6rem clamp(1.1rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: var(--s-6);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.08; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--green); letter-spacing: 0.005em; }
.brand-tag { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 1.75rem); margin-inline: auto; }
.nav-links a {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; color: var(--ink-soft); padding: 0.55rem 0;
  border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--green); border-color: var(--mustard); }
.nav-actions { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  font: inherit; font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  padding: 0.45rem 0.5rem; background: none; border: 0; color: var(--ink-soft); cursor: pointer;
}
.lang-switch .lang-fr { color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--mustard); }
.lang-switch .lang-en:hover { color: var(--green); }
.btn-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  color: var(--paper); background: var(--green); text-decoration: none;
  padding: 0.55rem 1.05rem; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-call:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-call svg { flex: none; }

/* ---------- hero — café-window panorama band + cream content ---------- */
.hero { position: relative; }
.hero-band { position: relative; width: 100%; border-bottom: 3px solid var(--mustard); }
.hero-band img {
  width: 100%; height: clamp(280px, 46vh, 460px);
  object-fit: cover; object-position: center 44%;
}
.hero-content {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.2rem) clamp(1.1rem, 4vw, 2.5rem) clamp(2.4rem, 5vh, 3.6rem);
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.2rem); color: var(--green);
  letter-spacing: -0.01em; margin: 0.14em 0 0.18em;
  animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) 0.07s both;
}
.hero-tagline {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--ink-soft); max-width: 34rem;
  animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) 0.14s both;
}
.hero-cta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  margin-top: clamp(1.3rem, 3vh, 2rem);
  animation: rise 0.7s cubic-bezier(0.22,1,0.36,1) 0.24s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  color: var(--paper); background: var(--green); text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 26px rgba(15, 93, 67, 0.28);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.hero-trust {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--ink);
}
.hero-trust .star { color: var(--gold); font-size: 1.05rem; }
.hero-trust strong { font-weight: 700; }
.link-down {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--green);
  text-decoration: underline; text-decoration-color: var(--mustard); text-underline-offset: 5px;
}
.link-down:hover { color: var(--green-deep); }

/* ---------- section frame ---------- */
.section-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 8vh, 6rem) clamp(1.1rem, 4vw, 2.5rem); }
.section-head { max-width: 42rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); color: var(--green); margin-top: 0.5rem; }
.section-sub { font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); margin-top: 0.55rem; }

/* ---------- intro ---------- */
.intro { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.intro-inner { max-width: 48rem; margin: 0 auto; text-align: center; padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.1rem, 4vw, 2.5rem); }
.orn { color: var(--mustard); margin-bottom: var(--s-4); }
.intro p { font-family: var(--display); font-size: clamp(1.25rem, 2.3vw, 1.55rem); line-height: 1.6; color: var(--ink); }

/* ---------- signatures ---------- */
.plats .section-head { margin-bottom: clamp(2rem, 4.5vh, 3rem); }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.7rem); }
.plat { display: flex; flex-direction: column; }
.plat-feature { grid-column: span 1; }
.plat figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.plat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.plat:hover img { transform: scale(1.035); }
.plat.tall img { aspect-ratio: 4 / 5; }
.plat figcaption { padding-top: 0.7rem; }
.plat-name { display: block; font-family: var(--display); font-weight: 500; font-size: 1.18rem; color: var(--ink); line-height: 1.2; }
.plat-note { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.plats-foot { margin-top: clamp(1.5rem, 3vh, 2.2rem); font-size: 0.92rem; color: var(--ink-soft); font-style: italic; font-family: var(--display); text-align: center; }

/* ---------- carte (pizzas) ---------- */
.carte { background: var(--green-deep); color: var(--paper); }
.carte .eyebrow { color: var(--gold-bright); }
.carte .section-head h2 { color: var(--paper); }
.carte .section-sub { color: #cdbfa6; }
.carte-note { max-width: 40rem; margin: 1rem auto 0; text-align: center; color: #cdbfa6; font-size: 0.95rem; }
.carte-list { max-width: 720px; margin: clamp(2.2rem, 5vh, 3.2rem) auto 0; }
.carte-item { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.95rem 0; border-bottom: 1px solid var(--cream-line); }
.carte-item:last-child { border-bottom: 0; }
.carte-main { flex: 1; min-width: 0; }
.carte-name { display: block; font-family: var(--display); font-weight: 500; font-size: 1.22rem; color: var(--paper); }
.carte-desc { display: block; font-family: var(--sans); font-size: 0.86rem; color: #b8ab92; margin-top: 0.2rem; line-height: 1.5; }
.carte-dots { flex: none; align-self: stretch; }
.carte-price { flex: none; font-family: var(--sans); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--gold-bright); white-space: nowrap; }
.carte-cap { max-width: 720px; margin: clamp(2rem, 4vh, 2.6rem) auto 0; text-align: center; font-family: var(--display); font-style: italic; font-size: 0.92rem; color: #b8ab92; }

/* ---------- salle ---------- */
.salle-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.salle-photo { position: relative; }
.salle-photo img { width: 100%; border-radius: 5px; box-shadow: 0 26px 60px rgba(24, 36, 29, 0.22); }
.salle-photo figcaption, .info-map figcaption { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); padding-top: 0.6rem; }
.salle-body p + p { margin-top: var(--s-4); }
.salle-body .lead { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--green); }
.salle-body .body-p { color: var(--ink-soft); }
.salle-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s-6); }
.tag { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--green); background: rgba(15, 93, 67, 0.09); border: 1px solid rgba(15, 93, 67, 0.2); padding: 0.35rem 0.8rem; border-radius: 999px; }

/* ---------- avis ---------- */
.avis { background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.avis .section-head { text-align: center; margin-inline: auto; }
.avis-grid { margin-top: clamp(2.2rem, 5vh, 3.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
.avis blockquote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.avis .q-mark { font-family: var(--display); font-size: 2.4rem; line-height: 0.5; color: var(--mustard); height: 1.1rem; }
.avis blockquote p { font-family: var(--display); font-size: clamp(1.1rem, 1.9vw, 1.32rem); line-height: 1.5; color: var(--ink); }
.avis-gloss { font-family: var(--sans); font-size: 0.84rem; line-height: 1.55; color: var(--ink-soft); margin-top: -0.15rem; }
.avis blockquote footer { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 0.4rem; }
.avis blockquote footer .star { color: var(--gold); }

/* ---------- infos ---------- */
.infos-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(2rem, 4.5vh, 3rem); }
.infos-list { display: flex; flex-direction: column; gap: var(--s-6); }
.info-item { display: flex; flex-direction: column; gap: 0.25rem; }
.info-label { font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.info-value { font-size: 1.08rem; }
.tel-big { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.tel-big:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--mustard); }
.btn-call-lg {
  display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  color: var(--paper); background: var(--green); text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 999px; margin-top: var(--s-2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-call-lg:hover { background: var(--green-deep); transform: translateY(-2px); }
.infos-note { font-size: 0.9rem; font-style: italic; color: var(--ink-soft); font-family: var(--display); max-width: 26rem; }
.info-map { display: flex; flex-direction: column; gap: 0.6rem; }
.map-card { display: block; text-decoration: none; color: inherit; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform 0.25s ease, border-color 0.25s ease; }
.map-card:hover { transform: translateY(-2px); border-color: rgba(15, 93, 67, 0.4); }
.map-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: 0.25rem; }
.map-title { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--green); }
.map-sub { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.map-cta { font-family: var(--sans); font-size: 0.88rem; font-weight: 700; color: var(--green); margin-top: 0.35rem; }

/* ---------- footer ---------- */
.footer { background: var(--green-deep); color: var(--paper); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.8rem, 6vh, 4rem) clamp(1.1rem, 4vw, 2.5rem); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.footer-name { font-family: var(--display); font-weight: 600; font-size: 1.9rem; color: var(--paper); }
.footer-rating { font-family: var(--sans); font-size: 0.95rem; color: #cdbfa6; }
.footer-rating .star { color: var(--gold-bright); }
.footer-rating strong { color: var(--paper); }
.footer-google { font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--gold-bright); text-decoration: underline; text-underline-offset: 4px; }
.footer-google:hover { color: #ffbe33; }
.footer-copy { font-family: var(--sans); font-size: 0.78rem; color: #9fae9d; margin-top: var(--s-2); }

/* ---------- floating call ---------- */
.call-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--green); color: var(--paper); text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 0.8rem 1.15rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(11, 32, 24, 0.4); transition: transform 0.2s ease, background 0.2s ease;
}
.call-float:hover { transform: translateY(-2px); background: var(--green-deep); }
.call-float .call-label { white-space: nowrap; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: var(--z-toast);
  transform: translate(-50%, 12px);
  background: var(--green-deep); color: var(--paper); border: 1px solid rgba(244, 171, 14, 0.5);
  font-family: var(--sans); font-size: 0.9rem; padding: 0.7rem 1.3rem; border-radius: 999px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .salle-grid { grid-template-columns: 1fr; }
  .infos-cols { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .nav-links { display: none; } }
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .plat-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .plat-name { font-size: 1.02rem; }
  .hero-band img { object-position: center 40%; }
  .call-float .call-label { display: none; }
  .call-float { padding: 0.85rem; }
  /* compact nav — icon-only call button so nothing clips at 360px */
  .nav-inner { gap: 0.5rem; padding-inline: 0.9rem; }
  .brand-name { font-size: 1.12rem; }
  .nav-actions { gap: 0.35rem; }
  .lang-switch button { padding: 0.45rem 0.3rem; }
  .btn-call { padding: 0.55rem; }
  .btn-call-txt { display: none; }
  .hero-eyebrow { letter-spacing: 0.1em; font-size: 0.68rem; }
}
@media (max-width: 380px) {
  .plat-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ---------- touch targets ---------- */
@media (pointer: coarse) {
  .lang-switch button { padding: 0.7rem 0.55rem; }
  .nav-links a { padding: 0.7rem 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-eyebrow, .hero h1, .hero-tagline, .hero-cta-row { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .plat img { transition: none; }
  .plat:hover img { transform: none; }
  .btn-primary:hover, .btn-call:hover, .btn-call-lg:hover, .call-float:hover, .map-card:hover { transform: none; }
}
