/* A.B.I — site public
 * Palette noir et blanc (demande du restaurant) : noir #0a0a0a, blanc, gris.
 * Seules les photos de plats gardent leurs couleurs. */
:root {
  --green: #0a0a0a;
  --green-2: #2b2b2b;
  --lime: #ffffff;
  --lime-soft: #d6d6d6;
  --cream: #f4f4f4;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --muted: #595959;
  --line: #dcdcdc;
  --brown: #1a1a1a;
  --wine: #0a0a0a;
  --radius: 16px;
  --wrap: 1180px;
  --head: 72px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
/* Décalage des ancres = hauteur de l'en-tête sticky. Les sections de la carte
 * ajoutent la hauteur de la sous-nav via leur propre scroll-margin-top. */
html { scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.12; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #555555; margin-bottom: .6rem;
}
.kicker.light { color: var(--lime-soft); }

/* Logo (wordmark) — à remplacer par le vrai logo quand il est fourni */
.wordmark {
  font-family: "Baloo 2", var(--sans); font-weight: 800; color: var(--green);
  font-size: 2.1rem; line-height: .9; letter-spacing: .01em;
}
.wordmark span { color: var(--lime); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--green); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: #fff; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: baseline; gap: .7rem; text-decoration: none; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brown); }
.nav .nav-cta { padding: .6rem 1.2rem; font-size: .92rem; color: #fff; }
.nav .nav-cta:hover { color: #fff; }

/* Accueil */
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Carte */
.menu-block { padding: clamp(3rem, 6vw, 5rem) 0; }
.menu-head { text-align: center; margin-bottom: 2rem; }
.menu-head h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; color: var(--green); }
.menu-head .muted { margin-top: .6rem; font-size: .92rem; }

.sub-nav {
  position: sticky; top: var(--head); z-index: 20; display: flex; gap: .5rem; overflow-x: auto;
  padding: .7rem 0; margin-bottom: 2.5rem; background: var(--paper); border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a {
  flex: none; text-decoration: none; font-size: .86rem; font-weight: 500; padding: .45rem .9rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap;
}
.sub-nav a:hover { border-color: var(--green); }
/* Section en cours de lecture (aria-current posé par site.js) */
.sub-nav a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; }

.menu-group { margin-bottom: 2.2rem; }
.menu-label {
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; color: var(--green);
  padding-bottom: .4rem; border-bottom: 2px solid var(--green); margin-bottom: 1.8rem;
}
/* s'ajoute au scroll-padding-top de <html> : en-tête + sous-nav */
.section { margin-bottom: 1.9rem; scroll-margin-top: 64px; }
.section-head { margin-bottom: 1.2rem; }
.section-head h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--green); }
.tagline { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #555555; margin-top: .35rem; }
.section-lead { margin-top: .6rem; color: var(--muted); max-width: 70ch; }

/* ===================================================================
 * LA CARTE — traitée comme un magazine : fond vert profond, héros
 * pleine largeur et photos de plats en grand format.
 * =================================================================== */
.menu-block {
  background: var(--green); color: var(--cream);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.menu-block .menu-head h1 { color: #fff; }
.menu-block .menu-head .kicker { color: var(--lime); }
.menu-block .menu-head .muted { color: rgba(255,255,255,.6); }

/* Barre de sections, version sombre */
.menu-block .sub-nav {
  background: var(--green); border-bottom: 1px solid rgba(255,255,255,.22);
}
.menu-block .sub-nav a {
  background: transparent; border-color: rgba(255,255,255,.26); color: rgba(255,255,255,.88);
}
.menu-block .sub-nav a:hover { border-color: var(--lime); color: #fff; }
.menu-block .sub-nav a[aria-current] { background: var(--lime); border-color: var(--lime); color: #000000; }

.menu-block .menu-label {
  color: #fff; border-bottom-color: rgba(255,255,255,.5);
  font-size: clamp(2.1rem, 4.5vw, 3rem); letter-spacing: .01em;
}
.menu-block .section-head h3 { color: #fff; }
.menu-block .section-lead { color: rgba(255,255,255,.66); }
.menu-block .category h4 { color: var(--lime-soft); }
.menu-block .category-lead { color: rgba(255,255,255,.55); }
.menu-block .item-name { color: var(--cream); }
.menu-block .item-desc { color: rgba(255,255,255,.58); }
.menu-block .leader { border-bottom-color: rgba(255,255,255,.22); }
.menu-block .price b { color: var(--lime); }
.menu-block .price small { color: rgba(255,255,255,.45); }
.menu-block .tagline { color: var(--lime); }

/* Bandeau de section : photo COMPACTE pleine largeur (peu de défilement).
 * ~140 px sur mobile, ~200 px sur grand écran, au lieu de 70 % de la hauteur. */
.section-hero {
  position: relative; margin: 0 0 clamp(.9rem, 3vw, 1.4rem);
  margin-inline: calc(50% - 50vw); width: 100vw;
  height: clamp(120px, 19vh, 160px);
  overflow: hidden; background: #000000; isolation: isolate;
}
.section-hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06); transition: transform 1.4s cubic-bezier(.16,.8,.3,1);
}
.section-hero.is-visible img { transform: scale(1); }
/* Le bas de l'image se fond dans le noir de la carte. */
.section-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--green) 2%, rgba(0,0,0,.7) 30%, rgba(0,0,0,.2) 70%, rgba(0,0,0,.4));
}
.section-hero figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 0 1rem .7rem; text-align: center;
}
.section-hero h3 {
  color: #fff; font-family: var(--serif); font-weight: 600; line-height: 1.05;
  font-size: clamp(1.55rem, 5.5vw, 2.2rem); text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.section-hero .tagline {
  color: var(--lime-soft); margin-top: .25rem; letter-spacing: .18em; font-size: .68rem;
}
@media (min-width: 861px) { .section-hero { height: clamp(150px, 24vh, 220px); } }
.section-head.is-illustrated { margin-bottom: 1.4rem; }
.section-head.is-illustrated .section-lead {
  margin: 0 auto; max-width: 56ch; text-align: center; font-size: 1.02rem;
}

/* Plat photographié : petite miniature à droite du texte ; un tap l'agrandit
 * (fenêtre <dialog>, voir site.js). Même mise en page que les autres plats. */
.item.has-thumb { align-items: center; }
.thumb {
  flex: none; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 12px;
  overflow: hidden; background: #111; cursor: zoom-in;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.thumb:hover img { transform: scale(1.07); }
.thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 820px) { .thumb { width: 88px; height: 88px; } }

/* Traductions (turc / français) entre parenthèses : en italique, plus discrètes */
.tr { font-style: italic; font-weight: 400; color: var(--muted); }
.menu-block .tr { color: rgba(255,255,255,.62); }

/* Icônes des plats (végétarien, végan, sans gluten, épicé, best-seller) */
.tags { display: inline-flex; align-items: center; gap: .3rem; margin-left: .45rem; vertical-align: -3px; }
.tag { display: inline-flex; color: currentColor; }
.tag svg { width: 18px; height: 18px; display: block; }
.legend {
  list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: .5rem 1.3rem; font-size: .82rem; color: rgba(255,255,255,.72);
}
.legend li { display: inline-flex; align-items: center; gap: .4rem; }

/* Agrandissement d'une photo de plat */
.lightbox { border: 0; padding: 0; background: transparent; width: min(92vw, 560px); max-height: 92svh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.84); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 86svh; object-fit: contain; border-radius: 14px; background: #111; }
.lightbox-close {
  position: absolute; top: -14px; right: -6px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: #000; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0 .15rem;
}
/* Apparition au défilement — opacité et translation seulement : aucun effet
 * sur la position de défilement de la page.
 * L'état masqué n'est appliqué que si le script est bien actif (classe posée
 * par un script en ligne dans <head>), sinon une panne de JS rendrait les
 * bandeaux définitivement invisibles. */
.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

.item { display: flex; align-items: flex-start; gap: .85rem; }
.item-body { flex: 1; min-width: 0; }

.category { margin-bottom: 1.3rem; }
.category h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--brown); margin-bottom: .3rem; }
.category-lead { color: var(--muted); font-size: .92rem; margin-bottom: .8rem; max-width: 72ch; }

.items {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; column-gap: 2.6rem; row-gap: .85rem;
}
@media (min-width: 820px) {
  .items { grid-template-columns: 1fr 1fr; }
}
.item-row { display: flex; align-items: baseline; gap: .5rem; }
.item-name { font-weight: 600; color: var(--ink); }
.leader {
  flex: 1; min-width: 16px; border-bottom: 1.5px dotted #bdbdbd; transform: translateY(-4px);
}
.prices { display: flex; gap: .9rem; align-items: baseline; white-space: nowrap; }
.price { display: inline-flex; align-items: baseline; gap: .3rem; }
.price b { font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; }
.price small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.item-desc { color: var(--muted); font-size: .9rem; margin-top: .15rem; max-width: 60ch; }

/* Réservation : bandeau noir juste après l'accueil, bouton blanc très visible */
.reserve { background: var(--green); color: #fff; padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.reserve-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.4rem; align-items: start; }
.reserve h2 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; color: #fff; }
.reserve-text { margin-top: .7rem; color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 44ch; }
.reserve-actions { margin-top: 1.4rem; display: grid; gap: .6rem; justify-items: start; }
.reserve-open { color: rgba(255,255,255,.7); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.reserve-open:hover { color: #fff; }
/* Formulaire TheFork intégré : carte blanche, défilement à l'intérieur du cadre */
.reserve-frame { background: #fff; border-radius: var(--radius); overflow: hidden; min-height: 560px; }
.reserve-frame iframe, .reserve-iframe { display: block; width: 100%; height: min(760px, 82vh); min-height: 560px; border: 0; }
.reserve-note { font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; }
.btn.light { background: #fff; color: #0a0a0a; border-color: #fff; }
.btn.light:hover { background: #e8e8e8; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.outline-light:hover { background: #fff; color: #0a0a0a; }
.btn.big { min-height: 56px; font-size: 1.05rem; padding: 1rem 1.6rem; }
/* Code d'intégration TheFork optionnel (iframe/script collé dans l'admin) */
.thefork-slot { margin-top: 2rem; }
.thefork-slot iframe { width: 100%; min-height: 620px; border: 0; border-radius: var(--radius); background: #fff; }

/* Barre « Réserver » fixe : mobile et tablette uniquement */
.reserve-bar { display: none; }
/* Infos */
.info { padding: clamp(3rem, 6vw, 5rem) 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.info-card { background: var(--cream); border-radius: var(--radius); padding: 1.8rem; }
.info-card address { font-style: normal; font-size: 1.08rem; margin-bottom: .6rem; }
.info-card .kicker { margin-top: 1.4rem; }
.info-card .kicker:first-child { margin-top: 0; }
.link { font-weight: 600; color: var(--green-2); }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.plain a { text-decoration: none; border-bottom: 1px solid var(--green); }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.info-map { grid-column: 1 / -1; }
.info-map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: .85rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; }

/* Responsive — pensé mobile d'abord (95 % du trafic) */
/* `clip` plutôt que `hidden` : `hidden` sur <html> crée un conteneur de
 * défilement, ce qui casse position:sticky et provoque des sauts de scroll
 * sur iOS. `hidden` reste le repli pour les navigateurs sans `clip`. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, iframe, table { max-width: 100%; }
a, button { -webkit-tap-highlight-color: rgba(0,0,0,.12); }

@media (max-width: 860px) {
  :root { --head: 66px; }
  .reserve-grid { grid-template-columns: 1fr; row-gap: .6rem; }
  /* Mobile : titre, puis calendrier, puis bouton d'appel */
  .reserve-copy { display: contents; }
  .reserve-frame { order: 2; margin-top: .8rem; }
  .reserve-actions { order: 3; margin-top: .6rem; justify-items: stretch; }
  .reserve-actions .btn { width: 100%; }
  .reserve-open { justify-content: center; }
  .reserve-iframe, .reserve-frame iframe { height: min(640px, 76svh); min-height: 480px; }
  .reserve-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .6rem;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
    transition: transform .25s ease;
  }
  .reserve-bar.is-hidden { transform: translateY(110%); }
  .reserve-bar-main { flex: 1; min-height: 52px; font-size: 1.02rem; }
  .reserve-bar-call { flex: none; width: 52px; min-height: 52px; padding: 0; }
  .site-footer { padding-bottom: calc(1.6rem + 76px + env(safe-area-inset-bottom)); }
  .site-header .bar { min-height: var(--head); }
  .info-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .sub-nav { top: var(--head); }
  .info-map iframe { height: 280px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 2 * 16px); }
  .bar { gap: .8rem; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .35rem; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; min-height: 50px; }
  .menu-block { padding: 2.6rem 0; }
  .menu-head { margin-bottom: 1.4rem; }
  .menu-head h1 { font-size: 2.1rem; }
  .sub-nav { margin: 0 -16px 1.8rem; padding: .6rem 16px; scroll-padding-left: 16px; }
  /* Bandeaux bord à bord sur mobile */
  .item { gap: .7rem; }
  .sub-nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .menu-label { font-size: 2rem; margin-bottom: 1.2rem; }
  .section { margin-bottom: 1.6rem; }
  .section-head h3 { font-size: 1.6rem; }
  .category { margin-bottom: 1.1rem; }
  .category h4 { font-size: 1.2rem; }
  .items { row-gap: .75rem; }
  .item-row { flex-wrap: wrap; row-gap: .15rem; }
  .item-name { flex: 1 1 60%; min-width: 0; }
  .leader { display: none; }
  .prices { margin-left: auto; gap: .7rem; }
  .price b { font-size: 1.02rem; }
  .thefork-slot { margin-top: 1.2rem; }
  .thefork-slot iframe { min-height: 560px; }
  .thefork-slot .placeholder { padding: 1.4rem; }
  .info-card { padding: 1.3rem; }
  .info-card address { font-size: 1.02rem; }
  .plain a, .link { display: inline-flex; align-items: center; min-height: 44px; }
  .hours th, .hours td { padding: .7rem 0; }
  .foot { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .legal h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .nav { gap: .5rem; }
  .nav .nav-cta { padding: .55rem 1rem; }
}

@media (max-width: 380px) {
  .prices { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .section-hero img, .thumb img { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .section-hero img { transform: none; }
}

/* ===================================================================
 * Pages : accueil simplifié, liens rapides, onglets de la carte
 * =================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête : logo rond */
.brand { align-items: center; gap: .8rem; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; display: block; flex: none; }
.nav .nav-link { font-weight: 500; }

/* Accueil */
.home-hero { background: var(--paper); text-align: center; padding: clamp(1.8rem, 6vw, 3.6rem) 0 clamp(2rem, 5vw, 3rem); }
.home-logo { width: min(280px, 62vw); height: auto; margin: 0 auto; border-radius: 50%; }
.home-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--green); margin-top: 1.3rem; }
.home-hero .cta-row { justify-content: center; margin-top: 1.6rem; }
/* Illustration de la façade, recadrée sur le bâtiment (sans l'ancien logo ni le mot MENU) */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.home-art { margin: 0; position: relative; overflow: hidden; aspect-ratio: 1 / .877; width: 100%; }
.home-art img {
  position: absolute; left: -7.5%; top: -57.5%; width: 115%; max-width: none; height: auto;
  mix-blend-mode: multiply;
}
.home-main { text-align: center; min-width: 0; }
.home-logo { display: block; }
.home-hero .cta-row .btn { min-width: 0; flex: 1 1 150px; padding-inline: 1rem; }

.quick-links {
  list-style: none; margin: 2rem auto 0; padding: 0; max-width: 840px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
}
.qlink {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-height: 98px; height: 100%; padding: 1rem .6rem; text-align: center; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--green);
  font-weight: 600; font-size: .95rem; transition: border-color .2s, transform .2s;
}
a.qlink:hover { border-color: var(--green); transform: translateY(-2px); }
.qlink svg { width: 26px; height: 26px; }
.qlink small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.qlink.is-soon { color: #8c8c8c; background: #fafafa; border-style: dashed; cursor: default; }

/* Page carte */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.menu-tabs a {
  text-decoration: none; font-weight: 600; padding: .65rem 1.3rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff; transition: background .2s, color .2s;
}
.menu-tabs a:hover { background: #fff; color: var(--green); }
.menu-group { scroll-margin-top: calc(var(--head) + 64px); }

.carte-cta { background: #fff; text-align: center; padding: clamp(2.6rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.carte-cta h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; color: var(--green); }
.carte-cta p { margin-top: .5rem; color: var(--muted); }
.carte-cta .cta-row { justify-content: center; }

@media (max-width: 860px) {
  .home-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .home-art { width: min(420px, 100%); margin: 0 auto; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .brand-logo { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .home-hero { padding: 1rem 0 1.6rem; }
  .home-logo { width: 150px; }
  .home-hero h1 { font-size: 1.5rem; margin-top: .9rem; }
  .home-hero .cta-row { margin-top: 1.1rem; }
  .home-art { width: min(260px, 74%); }
  .quick-links { margin-top: 1.4rem; }
  .home-hero .cta-row .btn { flex: none; width: 100%; }
  .qlink { min-height: 88px; }
  .carte-cta .cta-row { flex-direction: column; }
  .carte-cta .cta-row .btn { width: 100%; }
}

/* ===================================================================
 * Carrousel de photos (section petit-déjeuner) : défilement tactile
 * par accroche, flèches et pastilles. Sans bibliothèque.
 * =================================================================== */
.section-gallery .section-head { margin-bottom: 1.4rem; }
.section-gallery .section-head h3 { text-align: center; }
.section-gallery .tagline { text-align: center; }
.section-gallery .section-lead {
  margin: .9rem auto 0; max-width: 52ch; text-align: center; font-size: 1.12rem; color: #fff;
}
.menu-block .section-gallery .section-lead { color: #fff; }

.carousel { position: relative; margin: 1.1rem auto 0; max-width: 820px; }
.carousel-track {
  list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; border-radius: var(--radius); outline-offset: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 21 / 9; background: #111; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0,0,0,.62); color: #fff; font-size: 1.9rem; line-height: 1; padding: 0 0 .2rem;
  display: grid; place-items: center; transition: background .2s;
}
.carousel-btn:hover { background: #000; }
.carousel-btn.prev { left: .8rem; }
.carousel-btn.next { right: .8rem; }
.carousel-dots { display: flex; justify-content: center; gap: .15rem; margin-top: .7rem; }
.carousel-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; transition: background .2s; }
.carousel-dot[aria-current="true"]::before { background: #fff; }

@media (max-width: 860px) {
  .carousel-slide { aspect-ratio: 16 / 9; }
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-btn.prev { left: .5rem; }
  .carousel-btn.next { right: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track { scroll-behavior: auto; }
}
