/* Le Comptoir de la Brick — feuille de style unique
   Poppins pour tout. Palette et proportions du cahier des charges, section 3. */

:root {
  --bg: #FDFBF7;
  --cream: #FDF0E0;
  --cream-deep: #F7E3CC;
  --terra: #C8521A;
  --terra-dark: #A33D10;
  --gold: #B48C32;
  --ink: #2B2523;
  --ink-80: rgba(43, 37, 35, .80);
  --ink-65: rgba(43, 37, 35, .65);
  --ink-45: rgba(43, 37, 35, .45);
  --line: rgba(43, 37, 35, .11);
  --line-gold: rgba(180, 140, 50, .34);

  --font: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1300px;
  --gut: clamp(18px, 4.4vw, 60px);
  --sect: clamp(56px, 6.4vw, 104px);
  --nav-h: 90px;
  --topbar-h: 39px;

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .61, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.02; letter-spacing: -.038em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.section { padding-block: var(--sect); }
.section--cream { background: var(--cream); }
.section--terra { background: var(--terra); color: var(--cream); }
.section--ink { background: var(--ink); color: rgba(253, 240, 224, .82); }

/* ---------- echelle typographique ---------- */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px;
}
.section--terra .eyebrow, .section--ink .eyebrow { color: rgba(253, 240, 224, .62); }

.h-display { font-size: clamp(3rem, 8.6vw, 7.4rem); line-height: .93; letter-spacing: -.05em; }
.h-1 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.042em; line-height: 1.02; }
.h-2 { font-size: clamp(1.75rem, 3.5vw, 2.9rem); letter-spacing: -.036em; line-height: 1.08; }
.h-3 { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.28; }

.lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.68; color: var(--ink-65); font-weight: 400; }
.small { font-size: 13.5px; line-height: 1.62; color: var(--ink-45); }
strong, b { font-weight: 500; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- arche : motif signature ---------- */
.arch-line { display: block; overflow: visible; }
.arch-line path { fill: none; stroke: var(--line-gold); stroke-width: 1.1; vector-effect: non-scaling-stroke; }

.sep { display: flex; align-items: center; gap: 18px; margin: 0 auto clamp(26px, 3vw, 40px); max-width: 320px; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line-gold); }
.sep svg { width: 30px; height: 23px; flex: none; }

/* ---------- boutons ---------- */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #FFF7EC;
  display: inline-flex; align-items: center; gap: .65em;
  padding: 15px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none; border: 1px solid var(--btn-bg); border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { --btn-bg: var(--terra-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(43, 37, 35, .24); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bg); border-color: var(--ink); }

.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--terra-dark); }
.btn--cream:hover { --btn-bg: #fff; --btn-fg: var(--terra-dark); }

.btn--onvideo { --btn-bg: rgba(253, 251, 247, .1); --btn-fg: #FFF7EC; border-color: rgba(255, 247, 236, .72); backdrop-filter: blur(10px); }
.btn--onvideo:hover { --btn-bg: #FFF7EC; --btn-fg: var(--ink); border-color: #FFF7EC; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--terra-dark);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow span[aria-hidden] { transition: transform .35s var(--ease); }
.link-arrow:hover span[aria-hidden] { transform: translateX(5px); }
.section--terra .link-arrow, .section--ink .link-arrow { color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- bandeau + navigation ---------- */
.topbar {
  margin: 0; background: var(--terra-dark); color: rgba(253, 240, 224, .92);
  font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  text-align: center; padding: 10px 16px;
}
@media (max-width: 620px) {
  :root { --topbar-h: 32px; }
  .topbar { font-size: 9.5px; letter-spacing: .1em; padding: 8px 12px; }
}

.masthead { position: sticky; top: 0; z-index: 60; }
.nav {
  position: relative;
  background: rgba(253, 251, 247, .82);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); transition: height .45s var(--ease); }
.masthead.is-scrolled .nav__inner { height: 68px; }
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 56px; width: auto; transition: height .45s var(--ease); }
.masthead.is-scrolled .nav__logo img { height: 44px; }
.nav__logo .is-cream { display: none; }

.nav__menu { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  position: relative; display: inline-block;
  font-size: 14px; font-weight: 400; letter-spacing: -.005em;
  text-decoration: none; color: var(--ink-80); padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--terra); transition: right .35s var(--ease);
}
.nav__menu a:hover { color: var(--terra-dark); }
.nav__menu a:hover::after { right: 0; }
.nav__menu a[aria-current="page"] { color: var(--terra-dark); }
.nav__menu a[aria-current="page"]::after { right: 0; }

.nav__cta { flex: none; }
.nav__burger {
  display: none; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav__burger span { display: block; width: 18px; height: 1.4px; background: var(--ink); margin: 4.4px auto; transition: transform .35s var(--ease), opacity .25s; }
.masthead.is-open .nav__burger span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.masthead.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.masthead.is-open .nav__burger span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* nav posee sur le hero : transparente, avec un voile qui garantit la lisibilite
   du logo et des liens quelle que soit l'image affichee par la video */
.masthead.is-over .nav { background: transparent; backdrop-filter: none; border-color: transparent; }
.masthead.is-over .nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 70px);
  background: linear-gradient(to bottom, rgba(43, 37, 35, .62) 0%, rgba(43, 37, 35, .34) 48%, rgba(43, 37, 35, 0) 100%);
  pointer-events: none;
}
.nav__inner { position: relative; z-index: 2; }
.masthead.is-over .nav__logo .is-terra { display: none; }
.masthead.is-over .nav__logo .is-cream { display: block; }
.masthead.is-over .nav__menu a { color: rgba(255, 247, 236, .9); }
.masthead.is-over .nav__menu a:hover, .masthead.is-over .nav__menu a[aria-current="page"] { color: #FFF7EC; }
.masthead.is-over .nav__menu a::after { background: #FFF7EC; }
.masthead.is-over .nav__burger { border-color: rgba(255, 247, 236, .45); }
.masthead.is-over .nav__burger span { background: #FFF7EC; }
.masthead.is-over .btn--ghost { --btn-fg: #FFF7EC; border-color: rgba(255, 247, 236, .5); }
.masthead.is-over .btn--ghost:hover { --btn-bg: #FFF7EC; --btn-fg: var(--ink); border-color: #FFF7EC; }
body.is-home .masthead { position: fixed; left: 0; right: 0; top: 0; }

@media (max-width: 980px) {
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1;
    /* dvh et non inset:0 : avec les barres du navigateur mobile, inset:0 depasse
       la zone reellement visible et le bouton du bas se retrouve coupe */
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px;
    background: var(--bg);
    padding: calc(var(--nav-h) + var(--topbar-h) + 18px) var(--gut)
             calc(34px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .masthead.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu li { width: 100%; overflow: hidden; }
  .nav__menu a {
    display: block; padding: 11px 0; color: var(--ink);
    font-size: clamp(1.9rem, 8vw, 2.7rem); font-weight: 300; letter-spacing: -.04em;
    transform: translateY(24px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
  }
  .nav__menu a::after { display: none; }
  .masthead.is-open .nav { background: var(--bg); }
  .masthead.is-open .nav::before { display: none; }
  /* backdrop-filter cree un bloc conteneur pour les elements fixed : tant qu'il
     est actif, le menu plein ecran reste prisonnier de la hauteur de la barre. */
  .masthead.is-open .nav { background: transparent; backdrop-filter: none; }
  .masthead.is-open .nav::before { display: none; }
  .masthead.is-open .nav__logo .is-terra { display: block; }
  .masthead.is-open .nav__logo .is-cream { display: none; }
  .masthead.is-open .nav__burger span { background: var(--ink); }
  .masthead.is-open .nav__menu a { transform: none; opacity: 1; color: var(--ink); }
  .masthead.is-open .nav__menu a[aria-current="page"] { color: var(--terra-dark); }
  .masthead.is-open .nav__menu .menu-cta a { color: #FFF7EC; }
  .masthead.is-open .nav__menu li:nth-child(1) a { transition-delay: .06s; }
  .masthead.is-open .nav__menu li:nth-child(2) a { transition-delay: .1s; }
  .masthead.is-open .nav__menu li:nth-child(3) a { transition-delay: .14s; }
  .masthead.is-open .nav__menu li:nth-child(4) a { transition-delay: .18s; }
  .masthead.is-open .nav__menu li:nth-child(5) a { transition-delay: .22s; }
  .masthead.is-open .nav__menu li:nth-child(6) a { transition-delay: .26s; }
  .masthead.is-open .nav__menu li:nth-child(7) a { transition-delay: .3s; }
  .nav__menu .menu-cta { padding-top: 30px; }
  /* .nav__menu a passe en display:block en mobile, ce qui neutralisait le centrage
     du bouton : on lui rend son display flex */
  .nav__menu .menu-cta a {
    display: flex; justify-content: center; align-items: center;
    font-size: 15px; font-weight: 500; padding: 17px 26px;
  }
  .masthead.is-open .nav__burger { border-color: var(--line); }
  /* le menu est un frere du logo dans le meme conteneur : sans z-index propre,
     le logo et le bouton de fermeture passeraient dessous */
  .nav__logo, .nav__burger { position: relative; z-index: 2; }
  /* pas de double bouton Commander quand le menu est ouvert */
  body:has(.masthead.is-open) .stickybar { display: none; }
}
.nav__menu .menu-cta { display: none; }
@media (max-width: 980px) { .nav__menu .menu-cta { display: block; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: var(--gut);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0 var(--gut) var(--gut);
  border-radius: 0 0 var(--r-xl) var(--r-xl); overflow: hidden; background: var(--cream);
}
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 2.6s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(43, 37, 35, .82) 0%, rgba(43, 37, 35, .46) 34%, rgba(43, 37, 35, .12) 64%, rgba(43, 37, 35, .22) 100%),
    linear-gradient(to right, rgba(43, 37, 35, .34) 0%, rgba(43, 37, 35, 0) 55%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding: 0 clamp(8px, 3vw, 48px) clamp(34px, 5vw, 70px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px clamp(30px, 5vw, 80px); align-items: end;
}
.hero h1 { color: #FFF7EC; }
.hero h1 .thin { font-weight: 200; font-style: italic; opacity: .96; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .line > span { display: block; transform: translateY(112%); animation: riseIn 1.05s var(--ease) .1s both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .26s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hero__side > * { animation: fadeUp .9s var(--ease) both; }
.hero__side > *:nth-child(1) { animation-delay: .48s; }
.hero__side > *:nth-child(2) { animation-delay: .6s; }
.hero__side > *:nth-child(3) { animation-delay: .72s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__side { max-width: 340px; padding-bottom: 6px; }
.hero__sub { color: rgba(255, 247, 236, .88); font-size: clamp(.98rem, 1.2vw, 1.08rem); margin-bottom: 26px; }
.hero__note { margin-top: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 247, 236, .68); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__side { max-width: 460px; }
}

.hero__arch {
  position: absolute; z-index: 1; top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 74vw); height: min(560px, 58svh); pointer-events: none;
}
.hero__arch path { stroke: rgba(255, 247, 236, .34); stroke-width: 1.1; }
.hero__arch--draw path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.8s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .hero { padding: 0; }
  .hero__media { inset: 0; border-radius: 0; }
  .hero__inner { padding: 0 var(--gut) clamp(30px, 6vw, 50px); }
  .hero__arch { top: 40%; width: 86vw; height: min(400px, 42svh); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media video, .hero__media img { animation: none; }
  .hero__arch--draw path { animation: none; stroke-dashoffset: 0; }
}

.sound-toggle {
  position: absolute; z-index: 3;
  left: calc(var(--gut) + clamp(8px, 3vw, 48px)); top: calc(var(--nav-h) + var(--topbar-h) + 22px);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: rgba(253, 251, 247, .14); border: 1px solid rgba(255, 247, 236, .38);
  color: #FFF7EC; font-family: var(--font); font-size: 12.5px; cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .3s var(--ease);
}
.sound-toggle:hover { background: rgba(253, 251, 247, .3); }
.sound-toggle svg { width: 15px; height: 15px; flex: none; }
.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }
.sound-toggle[aria-pressed="true"] .icon-off { display: none; }
/* sur mobile : icone seule, calee a droite sous le menu */
@media (max-width: 760px) {
  .hero .sound-toggle {
    left: auto; right: var(--gut); top: calc(var(--nav-h) + var(--topbar-h) + 16px);
    padding: 12px; gap: 0;
  }
  .hero .sound-toggle .sound-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  }
}

/* ---------- bandeau defilant ---------- */
.marquee {
  overflow: hidden; background: var(--terra); color: #FFF7EC;
  padding-block: 18px; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 0; animation: slide 34s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 54px);
  padding-right: clamp(28px, 4vw, 54px);
  font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 300; letter-spacing: -.01em;
}
.marquee i { font-style: normal; opacity: .5; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- hero pages interieures ---------- */
.pagehead { padding: clamp(52px, 6vw, 88px) 0 clamp(28px, 3.2vw, 44px); }
.pagehead .lede { max-width: 620px; margin-top: 24px; }
.pagehead--cream { background: var(--cream); }

/* ---------- en-tete de section, composition editoriale ---------- */
.shead {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(22px, 4vw, 72px); align-items: end;
  margin-bottom: clamp(30px, 3.4vw, 48px);
}
.shead__aside { padding-bottom: 6px; }
.shead__aside .lede { max-width: 46ch; }
@media (max-width: 860px) { .shead { grid-template-columns: 1fr; align-items: start; } }

/* ---------- grilles ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
/* les formules ont trop de texte pour tenir a deux de front sur mobile */
@media (max-width: 760px) { .grid--plans { grid-template-columns: 1fr; } }

/* ---------- cartes d'orientation ---------- */
.route {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(28px, 3vw, 40px);
  min-height: clamp(240px, 22vw, 300px);
  /* terracotta fonce : contraste 5,7:1 avec le creme, conforme pour tous les corps de texte */
  background: var(--terra-dark); border-radius: var(--r-lg);
  text-decoration: none; color: var(--cream);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.section--cream .route { background: var(--terra-dark); }
.route__num {
  position: absolute; right: clamp(18px, 2.2vw, 30px); bottom: -22px;
  font-size: clamp(6rem, 10vw, 8.6rem); font-weight: 200; line-height: 1;
  color: rgba(253, 240, 224, .34); letter-spacing: -.07em; pointer-events: none;
  transition: transform .6s var(--ease), color .45s var(--ease);
}
.route:hover { background: #AC4211; transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(43, 37, 35, .5); }
.route:hover .route__num { transform: translateY(-8px); color: rgba(253, 240, 224, .46); }
.route h3 { position: relative; margin-bottom: 12px; font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 400; letter-spacing: -.032em; color: #FFF7EC; }
/* creme a 94 % : 5,3:1 au repos et 4,9:1 au survol, conforme AA */
.route p { position: relative; color: rgba(253, 240, 224, .94); font-size: 15px; max-width: 24ch; }
.route .link-arrow { position: relative; color: #FFF7EC; }

/* ---------- produits ---------- */
.dish { display: flex; flex-direction: column; }
.dish__img {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r-lg); background: var(--cream);
}
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.05); }
.dish__body { padding: 20px 4px 0; }
.dish h3 { margin-bottom: 8px; }
.dish__tag { font-size: 14.5px; color: var(--ink-65); margin-bottom: 12px; }
.dish__compo { font-size: 13.5px; color: var(--ink-45); line-height: 1.55; margin-bottom: 14px; }

/* accordeon allergenes */
.allerg { border-top: 1px solid var(--line); margin-top: auto; margin-inline: 4px; }
.allerg > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 0; cursor: pointer; list-style: none;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45);
  transition: color .3s var(--ease);
}
.allerg > summary::-webkit-details-marker { display: none; }
.allerg > summary::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 1.3px solid var(--gold); border-bottom: 1.3px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .35s var(--ease);
}
.allerg[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.allerg > summary:hover { color: var(--terra-dark); }
.allerg__body { padding-bottom: 16px; font-size: 13.5px; line-height: 1.62; color: var(--ink-65); }
.allerg__body p { margin-bottom: .45em; }
.allerg__body strong { font-weight: 500; color: var(--ink); }
.allerg__note { font-size: 12px; color: var(--ink-45); margin-top: 8px; }

/* ---------- formules ---------- */
.plan {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.8vw, 36px);
  background: var(--cream); border-radius: var(--r-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.section--cream .plan { background: var(--bg); }
.plan:hover { transform: translateY(-5px); box-shadow: 0 28px 54px -34px rgba(43, 37, 35, .42); }
.plan__price {
  margin: 0 0 4px; font-size: clamp(2.3rem, 3.4vw, 3.1rem); font-weight: 200;
  letter-spacing: -.05em; line-height: 1; color: var(--terra-dark);
}
.plan__name {
  font-size: 1.05rem; font-weight: 500; letter-spacing: -.015em;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan__list li {
  position: relative; padding-left: 18px;
  font-size: 14px; line-height: 1.45; color: var(--ink-65);
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.plan__sub { margin: 18px 0 0; font-size: 13px; color: var(--ink-45); }

.plan--feature { background: var(--terra); color: rgba(253, 240, 224, .88); }
.section--cream .plan--feature { background: var(--terra); }
.plan--feature .plan__price { color: #FFF7EC; }
.plan--feature .plan__name { color: #FFF7EC; border-bottom-color: rgba(253, 240, 224, .28); }
.plan--feature .plan__list li { color: rgba(253, 240, 224, .86); }
.plan--feature .plan__list li::before { background: rgba(253, 240, 224, .6); }
.plan--feature .plan__sub { color: rgba(253, 240, 224, .68); }

/* ---------- listes / tableaux ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.table td:first-child { font-weight: 500; }
.table-scroll { overflow-x: auto; }

.plainlist { list-style: none; margin: 0; padding: 0; }
.plainlist li { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-80); }
.plainlist li:first-child { border-top: 1px solid var(--line); }

/* ---------- bloc media + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 84px); align-items: center; }
.split--narrow { grid-template-columns: .88fr 1.12fr; }
@media (max-width: 960px) { .split, .split--narrow { grid-template-columns: 1fr !important; } }

/* piece signature : media cadre dans l'arche */
.arch-media { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.arch-media__frame { position: relative; aspect-ratio: 5 / 7; }
.arch-media video, .arch-media img { width: 100%; height: 100%; object-fit: cover; clip-path: url(#archClip); }
.arch-media__outline { position: absolute; inset: -16px; pointer-events: none; }
.arch-media__outline path { stroke: var(--line-gold); stroke-width: 1.1; }
.arch-media .sound-toggle {
  left: 50%; right: auto; top: auto; bottom: 22px; transform: translateX(-50%);
  background: rgba(43, 37, 35, .38); border-color: rgba(255, 247, 236, .3);
}

.figure-r { margin: 0; overflow: hidden; border-radius: var(--r-lg); }
.figure-r img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pillar { background: var(--bg); border-radius: var(--r-md); padding: clamp(22px, 2.6vw, 32px); }
.section--cream .pillar { background: var(--bg); }
.pillar__icon { width: 26px; height: 26px; margin-bottom: 20px; color: var(--terra); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -.015em; }
.pillar p { font-size: 14px; color: var(--ink-65); }
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }


/* ---------- etapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.6vw, 52px); }
.step__num {
  display: block; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-gold);
  font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 200; letter-spacing: -.05em; color: var(--gold); line-height: 1;
}
.step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-65); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.gallery a { margin: 0; aspect-ratio: 1; overflow: hidden; display: block; border-radius: var(--r-md); background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(14px, 2vw, 24px); }
.duo__stack { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- encadres ---------- */
.note { padding: clamp(28px, 3.4vw, 44px); background: var(--cream); border-radius: var(--r-lg); }
.section--cream .note { background: var(--bg); }
.note h2, .note h3 { margin-bottom: 14px; }
.note p { font-size: 15.5px; color: var(--ink-65); }

.callout {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line-gold); border-radius: var(--r-md);
  font-size: 14.5px; color: var(--ink-65);
  display: flex; gap: 14px; align-items: flex-start;
}
.callout svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: 3px; }
.callout a { color: var(--terra-dark); }

/* ---------- bloc Notre histoire, image en debord ---------- */
.story { position: relative; overflow: hidden; }
.story__inner { display: grid; grid-template-columns: minmax(0, 54%); }
.story__text { padding-block: clamp(10px, 3vw, 40px); }
.story__media {
  position: absolute; right: 0; top: clamp(28px, 3.4vw, 52px); bottom: clamp(28px, 3.4vw, 52px);
  width: min(42vw, 620px);
  border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__media {
    position: relative; right: auto; top: auto; bottom: auto;
    width: auto; margin: clamp(32px, 5vw, 48px) 0 0 var(--gut);
    aspect-ratio: 16 / 10;
  }
}

/* ---------- bandeau de fin ---------- */
.band { background: var(--terra); color: var(--cream); padding-block: clamp(58px, 6.4vw, 96px); overflow: hidden; }
.band h2 { color: #FFF7EC; }
.band p { margin: 22px 0 34px; max-width: 420px; color: rgba(253, 240, 224, .84); }
.band__inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.band .h-display { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
.band__media { position: relative; aspect-ratio: 1 / .86; }
.band__fig { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-xl); }
.band__fig img { width: 100%; height: 100%; object-fit: cover; }
.band__fig--a { left: 0; top: 0; width: 60%; aspect-ratio: 4 / 5; }
.band__fig--b {
  right: 0; bottom: 0; width: 50%; aspect-ratio: 1;
  border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(43, 37, 35, .5);
}
@media (max-width: 860px) {
  .band__inner { grid-template-columns: 1fr; }
  .band__media { max-width: none; }
}

/* ---------- formulaires ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-45); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 15.5px; color: var(--ink);
  padding: 14px 18px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.section--cream .field input, .section--cream .field select, .section--cream .field textarea { background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-65); }
.consent input { margin-top: 3px; accent-color: var(--terra); width: 17px; height: 17px; }
.form__ok {
  padding: 16px 20px; border-radius: var(--r-md); background: var(--cream);
  font-size: 15px; color: var(--terra-dark);
}
.form__ok[hidden] { display: none; }

/* ---------- onglets ---------- */
.tabs {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--cream); border-radius: var(--r-pill);
  margin-bottom: clamp(40px, 5vw, 66px);
}
.section--cream .tabs { background: var(--bg); }
.tabs button {
  appearance: none; background: none; border: 0; border-radius: var(--r-pill);
  padding: 12px 26px; cursor: pointer;
  font-family: var(--font); font-size: 14.5px; font-weight: 400; color: var(--ink-65);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--terra); color: #FFF7EC; font-weight: 500; }
@media (max-width: 520px) { .tabs { display: flex; width: 100%; } .tabs button { flex: 1; padding: 12px 10px; font-size: 13.5px; } }

/* ---------- whatsapp flottant ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px; border-radius: var(--r-pill);
  background: var(--terra); color: #FFF7EC;
  font-family: var(--font); font-size: 14px; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 18px 38px -16px rgba(43, 37, 35, .55);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.wa:hover { background: var(--terra-dark); transform: translateY(-3px); }
.wa svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 620px) { .wa { padding: 15px; right: 16px; bottom: 16px; } .wa span { display: none; } }

/* ---------- pied de page ---------- */
.footer { background: var(--ink); color: rgba(253, 240, 224, .62); padding-block: clamp(52px, 6vw, 80px) 0; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1.25fr 1.15fr 1.2fr 1.25fr;
  gap: clamp(26px, 3vw, 46px);
}
@media (max-width: 1120px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer img.footer__logo { width: 168px; height: auto; margin-bottom: 24px; }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { color: rgba(253, 240, 224, .62); text-decoration: none; font-size: 14.5px; transition: color .3s var(--ease); }
.footer a:hover { color: #FFF7EC; }
.footer p { font-size: 14.5px; line-height: 1.65; }
.footer__sig { font-size: 14.5px; color: rgba(253, 240, 224, .45); }
.footer__news { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer__news input {
  flex: 1; min-width: 160px; background: rgba(253, 240, 224, .06); border: 1px solid rgba(253, 240, 224, .16);
  color: #FFF7EC; padding: 13px 18px; border-radius: var(--r-pill); font-family: var(--font); font-size: 14.5px;
}
.footer__news input::placeholder { color: rgba(253, 240, 224, .36); }
.footer__news input:focus { outline: none; border-color: var(--gold); }
.footer__news button {
  flex: none; padding: 13px 24px; background: var(--terra); color: #FFF7EC;
  border: 0; border-radius: var(--r-pill); font-family: var(--font); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background .3s var(--ease);
}
.footer__news button:hover { background: var(--terra-dark); }
.footer__halal { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: rgba(253, 240, 224, .5); }
.footer__halal span { border: 1px solid rgba(253, 240, 224, .26); border-radius: var(--r-pill); padding: 4px 13px; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.footer__bottom {
  margin-top: clamp(36px, 4vw, 54px); padding-block: 24px;
  border-top: 1px solid rgba(253, 240, 224, .11);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(253, 240, 224, .42);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
/* le bouton WhatsApp flottant se pose en bas a droite : on libere la place */
@media (min-width: 621px) { .footer__bottom nav { padding-right: 180px; } }
.footer__bottom a { font-size: 13px; }

/* ---------- apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* les visuels se posent avec un leger zoom arriere */
.reveal img, .reveal video { transform: scale(1.12); transition: transform 1.5s var(--ease); }
.reveal.is-in img, .reveal.is-in video { transform: scale(1); }
.arch-media video { transform: none; transition: none; }

/* parallaxe douce sur les grands visuels, pilotee par le defilement */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .story__media img, .band__fig img {
      height: 118%; margin-top: -9%;
      animation: parallax linear both;
      animation-timeline: view(); animation-range: entry 0% exit 100%;
    }
    @keyframes parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal img, .reveal video { transform: none; transition: none; }
  .hero h1 .line > span, .hero__side > * { animation: none; transform: none; opacity: 1; }
}

/* ---------- barre fixe mobile ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(253, 251, 247, .94); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.stickybar .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) {
  .stickybar { display: block; }
  body.has-stickybar { padding-bottom: 86px; }
  body.has-stickybar .wa { bottom: 88px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- zoom au survol des visuels ----------
   Place en fin de feuille : doit passer apres .reveal.is-in img, de meme specificite. */
.figure-r img { transition: transform .85s var(--ease); }
.figure-r:hover img,
figure:hover > .figure-r img { transform: scale(1.055); }
.dish:hover .dish__img img { transform: scale(1.055); }
.gallery a:hover img { transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) {
  .figure-r:hover img, figure:hover > .figure-r img,
  .dish:hover .dish__img img, .gallery a:hover img { transform: none; }
}

/* menu mobile sur ecran peu haut : on resserre pour que le bouton reste visible */
@media (max-width: 980px) and (max-height: 760px) {
  .nav__menu a { font-size: clamp(1.5rem, 6.4vw, 2.1rem); padding: 8px 0; }
  .nav__menu .menu-cta { padding-top: 20px; }
  .nav__menu { padding-top: calc(var(--nav-h) + var(--topbar-h) + 10px); }
}

/* ---------- pages legales ---------- */
.legal { font-size: 15.5px; line-height: 1.75; color: var(--ink-80); }
.legal p { margin-bottom: 1em; }
.legal a { color: var(--terra-dark); text-underline-offset: 3px; }
.legal__h {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.02em;
  margin: clamp(34px, 4vw, 48px) 0 14px; padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line); color: var(--ink);
}
.legal > .legal__h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__sub { font-weight: 500; color: var(--ink); margin-bottom: .4em !important; }
.legal__list { margin: 0 0 1.1em; padding-left: 20px; }
.legal__list li { margin-bottom: .5em; }
.legal__table { margin-bottom: 1.2em; font-size: 14px; }
.legal__table th { white-space: nowrap; }
.legal__foot {
  margin-top: clamp(40px, 5vw, 60px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-45);
}
.todo {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 0 0 1.2em; padding: 18px 22px;
  background: var(--cream); border-left: 2px solid var(--terra); border-radius: var(--r-md);
  font-size: 14px; line-height: 1.6; color: var(--ink-65);
}
.todo svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--terra); }
.todo p { margin: 0; }
.todo strong { color: var(--terra-dark); font-weight: 500; }

/* =========================================================================
   PETITS ECRANS — meme grammaire que le bureau, densite adaptee.
   Regles regroupees ici et placees en fin de feuille : elles doivent passer
   apres les grilles generiques, de meme specificite.
   ========================================================================= */

/* ---- tablette : jamais d'orphelin dans les groupes de trois ---- */
@media (max-width: 980px) {
  /* cartes d'orientation : trois bandes pleine largeur plutot que 2 + 1 */
  .grid--routes { grid-template-columns: 1fr; gap: 12px; }
  .route { min-height: 0; gap: 18px; padding: clamp(24px, 3.4vw, 32px); }
  .route h3 { font-size: clamp(1.3rem, 3.4vw, 1.6rem); }
  .route p { max-width: 46ch; }
  .route__num { font-size: clamp(4.6rem, 12vw, 6.4rem); bottom: -16px; right: 22px; }

  /* accompagnements, prestations, recettes : on garde trois de front */
  .grid--acc, .grid--cards, .grid--dishes { grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---- tablette etroite ---- */
@media (max-width: 820px) {
  .grid--dishes { grid-template-columns: repeat(2, 1fr); }
}

/* ---- mobile ---- */
@media (max-width: 620px) {
  /* le hero garde son cadre arrondi, comme sur grand ecran */
  .hero { padding: 0 var(--gut) var(--gut); }
  .hero__media { inset: 0 var(--gut) var(--gut); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  /* le texte doit garder sa marge A L'INTERIEUR du cadre, pas coller a son bord */
  .hero__inner { padding: 0 20px clamp(26px, 6vw, 40px); }

  /* en cadrage vertical la video montre une zone claire derriere le texte :
     on renforce le voile pour retrouver le blanc franc du bureau */
  .hero__veil {
    background:
      linear-gradient(to top, rgba(43, 37, 35, .64) 0%, rgba(43, 37, 35, .59) 30%,
                              rgba(43, 37, 35, .42) 52%, rgba(43, 37, 35, .24) 74%,
                              rgba(43, 37, 35, .24) 100%);
  }
  .hero h1 { color: #fff; }
  .hero__sub { color: #fff; }
  .hero__sub { color: #FFF7EC; }
  .hero__note { color: rgba(255, 247, 236, .84); }

  /* logo, menu et bouton son : de l'air par rapport au bord du cadre video,
     comme sur grand ecran ou le conteneur centre le leur donne naturellement */
  body.is-home .nav .wrap { padding-inline: calc(var(--gut) + 16px); }
  .hero .sound-toggle { right: calc(var(--gut) + 16px); }
  .h-display { font-size: clamp(3.1rem, 13vw, 4.4rem); }

  /* deux recettes de front : la page reste parcourable */
  .grid--dishes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid--dishes .dish__body { padding: 14px 2px 0; }
  .grid--dishes .dish h3 { font-size: 1rem; }
  .grid--dishes .dish__tag { font-size: 12.5px; line-height: 1.45; margin-bottom: 8px; }
  .grid--dishes .dish__compo { font-size: 11.5px; line-height: 1.45; margin-bottom: 10px; }
  .grid--dishes .allerg > summary { font-size: 10px; letter-spacing: .1em; padding: 11px 0; gap: 8px; }
  .grid--dishes .allerg__body { font-size: 12.5px; }

  /* accompagnements : trois lignes photo + texte, tout est visible d'un coup */
  .grid--acc { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .grid--acc > figure {
    display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 16px;
    background: var(--bg); border-radius: var(--r-lg); padding: 10px 18px 10px 10px;
  }
  .section--cream .grid--acc > figure { background: var(--bg); }
  .grid--acc .figure-r { aspect-ratio: 1; border-radius: var(--r-md); }
  .grid--acc .figure-r img { height: 100%; }
  .grid--acc figcaption { padding: 0 !important; }
  .grid--acc figcaption .h-3 { font-size: 1.05rem; }
  .grid--acc figcaption .small { margin-top: 5px !important; font-size: 12.5px; line-height: 1.45; }

  /* boissons : six packshots, trois de front */
  .grid--drinks { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .grid--drinks figcaption { font-size: 12px !important; padding-top: 10px !important; }

  /* prestations entreprises */
  .grid--cards { grid-template-columns: 1fr; }

  /* les quatre visuels de l'accueil restent en deux colonnes */
  .grid--shots { gap: 12px; }

  /* le contour de l'arche ne doit pas toucher les bords de l'ecran */
  .arch-media { max-width: calc(100% - 22px); }
  .arch-media__outline { inset: -10px; }
  /* la pointe de l'arche ne montrait que le mur blanc de l'atelier : on recadre
     sur les mains et le plan de travail, et on pose le bloc sur du creme pour
     que la video se detache du fond de page */
  .arch-media video { object-position: center 88%; }
  .arch-media__frame { aspect-ratio: 4 / 5; }

  /* les trois photos de preparation : une bande de vignettes plutot qu'un empilement */
  .duo { display: flex; gap: 10px; }
  .duo > .figure-r { flex: 1; }
  .duo__stack { flex: 2; display: flex; flex-direction: row; gap: 10px; }
  .duo__stack > * { flex: 1; }
  .duo .figure-r { aspect-ratio: 1; border-radius: var(--r-md); }
  .duo .figure-r img { height: 100%; }

  /* piliers et etapes : plus compacts, toujours deux de front */
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pillar { padding: 20px 18px; }
  .pillar__icon { margin-bottom: 14px; }
  .steps { gap: 26px; }
  .step__num { margin-bottom: 14px; padding-bottom: 12px; }

  /* tableau des sauces : en fiches, les colonnes etaient trop etroites */
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 0; }
  .table td:first-child { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
  .table td[data-l] { font-size: 14px; color: var(--ink-65); }
  .table td[data-l]::before {
    content: attr(data-l); display: block; margin-top: 8px;
    font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  }
  .table-scroll { overflow-x: visible; }

  /* respirations internes */
  .note { padding: 24px 20px; }
  .plan { padding: 24px 22px; }
  .formula, .plainlist li { padding-block: 14px; }
  .footer__top { gap: 30px; }
}

/* ---- tres petits ecrans ---- */
@media (max-width: 380px) {
  .grid--dishes { grid-template-columns: 1fr; }
  .grid--drinks { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- retours client du 5 septembre 2026 ---------- */

/* Accent calligraphique, trois ou quatre sur tout le site, jamais dans un paragraphe.
   Yellowtail tient lieu de substitut a la police Breathing du logo, non fournie :
   remplacer --calli par Breathing le jour ou le fichier arrive, rien d'autre a changer. */
/* police du logo, fournie par le client le 6 septembre 2026 */
:root { --calli: "Kaushan Script", cursive; }
.calli {
  font-family: var(--calli); font-style: normal; font-weight: 400;
  letter-spacing: 0; line-height: .9;
  font-size: 1.18em; padding-right: .06em;
}

/* bandeau permanent : le texte definitif est trop long pour tenir fixe, il defile */
.topbar {
  margin: 0; overflow: hidden; white-space: nowrap;
  background: var(--terra-dark); color: rgba(253, 240, 224, .94);
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  padding: 11px 0;
}
.topbar__track { display: inline-flex; animation: slide 46s linear infinite; }
.topbar__track span { padding-right: 3.5em; }
.topbar i { font-style: normal; opacity: .55; padding-inline: .5em; }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; } }
@media (max-width: 620px) { .topbar { font-size: 10.5px; letter-spacing: .08em; padding: 9px 0; } }

/* surtitres dores : ils etaient a la limite du lisible */
.eyebrow { font-size: 13px; letter-spacing: .2em; }
.eyebrow--lg { font-size: 15px; letter-spacing: .16em; color: var(--terra-dark); }

/* corps de texte : le client demande plus de respiration */
body { font-size: 17.5px; line-height: 1.8; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.72; }
.small { font-size: 14.5px; line-height: 1.7; }
.plainlist li { font-size: 16.5px; padding-block: 19px; }

/* carte recette : le nom passe devant, le prix descend en bas sans pastille */
.dish__name {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 400; letter-spacing: -.028em;
  line-height: 1.16; margin-bottom: 10px;
}
.dish__tag { font-size: 15px; color: var(--ink-65); margin-bottom: 12px; }
.dish__compo { font-size: 13.5px; color: var(--ink-45); line-height: 1.6; margin-bottom: 14px; }
.dish__price {
  position: static; margin: 0 0 14px; padding: 0; background: none; backdrop-filter: none;
  font-size: 14px; font-weight: 500; color: var(--terra-dark); letter-spacing: -.01em;
}

/* cartes de formule : visuel, nom, composition, prix */
.plan { padding: clamp(26px, 2.6vw, 34px); gap: 0; }
.plan__img {
  margin: -6px -6px 20px; border-radius: var(--r-md); overflow: hidden;
  background: var(--cream-deep); aspect-ratio: 1;
}
.section--cream .plan__img, .plan--feature .plan__img { background: rgba(253, 240, 224, .55); }
.plan__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.plan__name {
  font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 400; letter-spacing: -.03em;
  padding-bottom: 0; margin-bottom: 16px; border-bottom: 0; line-height: 1.14;
}
.plan__list { margin-bottom: 22px; }
.plan__price {
  margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 500; color: var(--terra-dark); letter-spacing: -.02em;
}
.plan--feature .plan__price { border-top-color: rgba(253, 240, 224, .3); }
.plan__sub { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--ink-45); }
.plan--feature .plan__sub { color: rgba(253, 240, 224, .7); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 58px -32px rgba(43, 37, 35, .42); }
.grid--plans { gap: clamp(18px, 2.4vw, 30px); }

/* le tableau des sauces vit desormais dans un deroulant */
.allerg--sauces { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.allerg--sauces > summary { font-size: 12px; letter-spacing: .14em; padding: 16px 0; }
.allerg--sauces .table { font-size: 14px; }

/* deux canaux sur la page Commander : WhatsApp d'abord, formulaire en second */
.note__zones {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.65; color: var(--ink-65);
}
.section--cream .note__zones { border-top-color: rgba(43, 37, 35, .12); }
.note { display: flex; flex-direction: column; }
.note__actions {
  margin-top: auto; padding-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
}

/* citations extraites de la page Notre histoire */
.pull {
  margin: clamp(34px, 4.4vw, 56px) 0; padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 2px solid var(--terra);
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.28;
  letter-spacing: -.03em; color: var(--terra-dark);
}
.signature {
  margin-top: clamp(28px, 3.2vw, 42px);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; color: var(--terra-dark);
}
.story-fig { margin: clamp(30px, 3.6vw, 44px) 0; }
/* overflow hidden obligatoire : l'image porte le zoom d'apparition et deborderait de 12 % */
.story-wide { margin: clamp(40px, 5vw, 68px) 0 0; overflow: hidden; }
.story-wide img { width: 100%; height: auto; }
.story-wide figcaption {
  max-width: var(--wrap); margin: 14px auto 0; padding-inline: var(--gut);
  font-size: 13.5px; color: var(--ink-45);
}

/* le logo halal etait present mais peu visible */
.footer__halal { gap: 13px; font-size: 14px; }
.footer__halal span {
  font-size: 12px; letter-spacing: .14em; padding: 7px 16px;
  border-color: rgba(253, 240, 224, .45); color: rgba(253, 240, 224, .92);
}

/* logo d'en-tete agrandi */
.nav__logo img { height: 66px; }
.masthead.is-scrolled .nav__logo img { height: 52px; }
:root { --nav-h: 100px; }
.masthead.is-scrolled .nav__inner { height: 76px; }

/* les sections respirent davantage */
:root { --sect: clamp(68px, 7.6vw, 128px); }

@media (max-width: 620px) {
  .nav__logo img { height: 54px; }
  .masthead.is-scrolled .nav__logo img { height: 46px; }
  :root { --nav-h: 84px; }
  .eyebrow { font-size: 12px; letter-spacing: .16em; }
  .eyebrow--lg { font-size: 13.5px; }
  body { font-size: 16.5px; line-height: 1.75; }
  .grid--dishes .dish__name { font-size: 1.06rem; }
  .grid--dishes .dish__price { font-size: 13px; }
  .plan__img { aspect-ratio: 16 / 11; }
  .note__actions { gap: 14px; }
}

/* un en-tete sans colonne laterale prend toute la largeur : sinon « Les accompagnements »
   se coupait apres « Les » dans une colonne de 600 px */
.shead:not(:has(.shead__aside)) { grid-template-columns: 1fr; }
.shead:not(:has(.shead__aside)) h2 { max-width: 22ch; }

/* ---------- retours client du 6 septembre 2026 ---------- */

/* 1. Alignement des encarts.
   Les grilles CSS egalisent deja la hauteur des cellules ; ce qui manquait, c'est que
   le contenu de chaque carte s'etire et que prix et boutons soient ancres en bas. */
.plan, .dish, .route, .note, .grid--cards > article { height: 100%; }
.dish__body { display: flex; flex-direction: column; flex: 1; }
.dish__price { margin-top: auto; padding-top: 10px; }
.grid--cards > article { display: flex; flex-direction: column; }

/* 2. Visuels de formules en pleine largeur de carte, sans cadre ni fond distinct */
.plan__img {
  position: relative;
  margin: calc(-1 * clamp(26px, 2.6vw, 34px)) calc(-1 * clamp(26px, 2.6vw, 34px)) 22px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: none; aspect-ratio: 4 / 3;
}
.section--cream .plan__img, .plan--feature .plan__img { background: none; }
.plan__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px 6px 0; }
.plan__count {
  position: absolute; right: 14px; bottom: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-45);
}
.plan--feature .plan__count { color: rgba(253, 240, 224, .72); }

/* prix des formules : entre le corps de texte et le nom */
.plan__price { font-size: 1.35rem; font-weight: 400; letter-spacing: -.03em; }
.plan__sub { margin-top: 10px; font-size: 13.5px; }

/* alignement d'une carte a l'autre : les noms tiennent sur deux lignes reservees,
   les listes demarrent donc a la meme hauteur, et la zone de prix a une hauteur fixe
   pour que tous les montants partagent la meme ligne de base */
.plan__name { min-height: 2.3em; display: flex; align-items: flex-start; }
.plan__price { min-height: 3.6em; }
.grid--dishes .dish__name { min-height: 2.4em; }
.grid--dishes .dish__tag { min-height: 3.2em; }

/* 3. Derniere rangee centree : en grille, les colonnes remplissent toute la largeur et
   l'orphelin reste cale a gauche. En flex, la derniere rangee se centre d'elle-meme. */
.grid--dishes {
  --gap: clamp(14px, 2vw, 26px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.grid--dishes > .dish { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); }
@media (max-width: 980px) { .grid--dishes > .dish { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 820px) { .grid--dishes > .dish { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 620px) { .grid--dishes { --gap: 12px; } }
@media (max-width: 380px) { .grid--dishes > .dish { flex-basis: 100%; } }

/* 4. Boisson mise en avant, les autres en une ligne de texte */
.drink { margin: 0; max-width: 340px; }
.drink figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-top: 16px;
}
.drink__nom { font-size: 1.05rem; font-weight: 500; }
.drink__prix { font-size: 1.05rem; color: var(--terra-dark); }
.drink__autres { margin-top: 22px; max-width: 46ch; }

/* 5. Hero : degrade sombre en haut, sous le menu, pour detacher logo et navigation */
.hero__scrim {
  position: absolute; left: 0; right: 0; top: 0; height: 150px; z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .40), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; }

/* logo agrandi d'environ 30 % */
.nav__logo img { height: 86px; }
.masthead.is-scrolled .nav__logo img { height: 62px; }
:root { --nav-h: 118px; }
.masthead.is-scrolled .nav__inner { height: 84px; }

/* le titre descendait trop bas : on lui redonne de l'air sous « autrement. » */
.hero__inner { padding-bottom: clamp(52px, 7vw, 104px); }

/* 6. Navigation : c'est entre 980 et 1150 px qu'elle se serrait le plus */
@media (max-width: 1150px) and (min-width: 981px) {
  .nav__menu { gap: 14px; }
  .nav__menu a { font-size: 13px; }
  .nav__cta { padding: 12px 20px; font-size: 13.5px; }
  .nav__logo img { height: 70px; }
  :root { --nav-h: 102px; }
}

@media (max-width: 980px) {
  .nav__logo img { height: 72px; }
  .masthead.is-scrolled .nav__logo img { height: 56px; }
  :root { --nav-h: 104px; }
}

@media (max-width: 620px) {
  .nav__logo img { height: 62px; }
  .masthead.is-scrolled .nav__logo img { height: 50px; }
  :root { --nav-h: 92px; }
  .hero__scrim { height: 120px; }
  .plan__img { aspect-ratio: 16 / 10; }
  .plan__price { font-size: 1.2rem; }
  .drink { max-width: none; }
}

/* logo halal fourni par le client le 7 septembre 2026, detoure en creme pour le footer sombre */
.footer .footer__halal {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; font-size: 14px; color: rgba(253, 240, 224, .72);
}
.footer .footer__halal img { width: 58px; height: 58px; flex: none; }
.footer .footer__halal span {
  border: 0; padding: 0; margin: 0; font-size: 14px; letter-spacing: normal;
  text-transform: none; color: rgba(253, 240, 224, .72); max-width: 22ch;
}

/* mobile : logo d'en-tete plus grand sans allonger la barre */
@media (max-width: 620px) {
  .nav__logo img { height: 76px; }
  .masthead.is-scrolled .nav__logo img { height: 60px; }
  :root { --nav-h: 94px; }
  .masthead.is-scrolled .nav__inner { height: 76px; }
  .footer .footer__halal img { width: 54px; height: 54px; }
}

/* ---------- transition entre les pages ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .22s ease both; }
  ::view-transition-new(root) { animation: vtIn .4s var(--ease) both; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
}
