/* =========================================================
   O’GOOD TIME — Couche d'identité
   Charge APRÈS components.css, home.css, shop.css et accueil.css.
   C'est ici que le système générique prend le visage du
   restaurant : enseigne orange sur nuit, titres condensés en
   capitales, angles nets, mouvement sec.
   Ne contient aucune valeur en dur : tout vient de tokens.css.
   ========================================================= */

/* ---------- Fond : la lueur de l'enseigne, pas un gris ---------- */
body {
  background:
    var(--grad-enseigne),
    var(--bg);
  background-attachment: fixed, scroll;
}

/* ---------- Titres : massifs, serrés, en capitales ---------- */
.opener h1, .hero__title, .pagehead h1, .hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .004em;
  line-height: var(--lh-tight);
}
.opener h1 em, .hero h1 em {
  font-style: normal;
  color: var(--c-braise);
  -webkit-text-fill-color: var(--c-braise);
}

/* ---------- Bandeau d'annonce : plein orange, texte noir ---------- */
.announce {
  background: var(--grad-braise);
  color: var(--c-blanc);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: .012em;
  border-bottom: 0;
}
.announce strong { color: var(--c-blanc); font-weight: 800; }
.announce__close { color: var(--c-blanc); }

/* ---------- En-tête ---------- */
.header {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-2);
}
.logo__mark {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-nuit-3);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.logo:hover .logo__mark { transform: none; }
.logo__word {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-lg);
  letter-spacing: .012em;
  line-height: 1;
}
.logo__word small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-braise);
  margin-top: 3px;
}

/* La navigation : le trait sous le lien est orange et carré. */
.nav a {
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: .01em;
  padding: var(--s-2) var(--s-3);
}
.nav a::after { background: var(--c-braise); height: 2px; border-radius: 0; }
.nav a:hover { color: var(--c-braise); }
.nav a[aria-current="page"] { color: var(--c-braise); }

.icon-btn {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: transparent;
  min-width: 44px; min-height: 44px;
}
.icon-btn:hover {
  background: var(--bg-raise);
  border-color: var(--c-braise);
  color: var(--c-braise);
  transform: none;
}
.icon-btn__count {
  background: var(--c-braise);
  color: var(--c-blanc);
  font-weight: 800;
  border-radius: var(--r-full);
}

/* ---------- Boutons : rectangles francs, pas de pilules ---------- */
.btn {
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: var(--t-sm);
  min-height: 46px;
  transition: transform var(--d-fast) var(--e-back),
              box-shadow var(--d-fast) var(--e-out),
              background var(--d-fast) var(--e-out);
}
.btn--lg { min-height: 54px; font-size: var(--t-base); }
.btn--sm { min-height: 40px; }

.btn--primary {
  background: var(--grad-braise);
  color: var(--c-blanc);
  border: 0;
  box-shadow: var(--glow-braise);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,122,26,.55), 0 12px 40px rgba(255,122,26,.42); }
.btn--primary:active { transform: translateY(0); }

.btn--gold { background: var(--grad-citron); color: var(--c-nuit); border: 0; box-shadow: var(--glow-citron); }
.btn--gold:hover { transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--c-braise); color: var(--c-braise); }

.btn--basilic, .btn--magenta { background: var(--grad-citron); color: var(--c-nuit); box-shadow: var(--glow-citron); }

.btn--glass {
  background: rgba(255,255,255,.10);
  color: var(--c-creme);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255,255,255,.20); }

/* ---------- Cartes de plat ---------- */
.dish, .card, .tile {
  border-radius: var(--r-lg);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dish {
  position: relative;
  transition: transform var(--d-mid) var(--e-out),
              box-shadow var(--d-mid) var(--e-out),
              border-color var(--d-fast);
}
.dish:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.45);
  box-shadow: var(--sh-3);
}
.dish__media { position: relative; overflow: hidden; }
.dish__media img { transition: transform var(--d-slow) var(--e-out); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.dish__price {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  color: var(--c-braise);
  letter-spacing: .01em;
}
.dish.is-out { opacity: .5; }

/* ---------- Pastilles ---------- */
.badge {
  border-radius: var(--r-sm);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .28em .6em;
}
.badge--veg   { background: rgba(111,191,115,.16); color: var(--c-vert); }
.badge--spice { background: rgba(255,106,61,.18);  color: var(--c-flamme); }
.badge--best, .badge--gold { background: var(--grad-braise); color: var(--c-blanc); }
.badge--red   { background: rgba(255,106,61,.18); color: var(--c-flamme); }

/* ---------- Surtitres ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-braise);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: var(--c-braise); border-radius: 0;
}

/* ---------- Sections ---------- */
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--grad-nuit); position: relative; overflow: hidden; color: var(--c-creme); }
.section--ink::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--grad-enseigne); pointer-events: none;
}
.section--ink > * { position: relative; z-index: 1; }
.section--ink .eyebrow { color: var(--c-braise); }

/* ---------- Bandeau défilant : orange plein, texte noir ---------- */
.marquee, .marquee.strip {
  background: var(--grad-braise);
  color: var(--c-blanc);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-block: 0;
}
.marquee__dot, .strip .marquee__dot { background: var(--c-blanc); }

/* ---------- Formulaires ---------- */
.field input, .field select, .field textarea {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-height: 46px;
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-braise);
  box-shadow: 0 0 0 3px rgba(255,122,26,.20);
  outline: none;
}
.field label { font-size: var(--t-sm); font-weight: 600; letter-spacing: .01em; }

/* ---------- Avis Google ---------- */
.gcard {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-raise);
  transition: border-color var(--d-fast), transform var(--d-fast) var(--e-out);
}
.gcard:hover { border-color: var(--c-braise); transform: translateY(-2px); }
.gcard__arrow { color: var(--c-braise); }
.gstars, .stars-row { color: var(--c-braise); }
.review { border-radius: var(--r-lg); }

/* ---------- Pied de page ---------- */
.footer {
  background: var(--c-nuit-2);
  color: var(--c-creme);
  border-top: 1px solid var(--line);
}
[data-theme="light"] .footer { background: var(--c-nuit); }
.footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-sm);
  letter-spacing: .14em;
  color: var(--c-braise);
}
.footer a:hover { color: var(--c-braise); }
.footer__credit a { color: var(--c-braise); font-weight: 800; letter-spacing: .04em; }
.footer__social a {
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.14);
  min-width: 44px; min-height: 44px;
  display: grid; place-items: center;
}
.footer__social a:hover { border-color: var(--c-braise); color: var(--c-braise); }
.pay span {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .10em;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm);
  padding: .3em .55em;
  color: rgba(255,255,255,.62);
}

/* ---------- Boutons flottants ---------- */
.fab {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-raise);
  min-width: 48px; min-height: 48px;
}
.fab--order {
  background: var(--grad-braise);
  color: var(--c-blanc);
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: var(--glow-braise);
}
.fab--call { background: var(--grad-citron); color: var(--c-nuit); border: 0; }

/* ---------- Bouton flottant « Appeler » ----------
   Il était noir sur fond noir : on le voyait à peine. En blanc il
   ressort, et il se distingue de « Commander » juste en dessous, qui
   garde le rouge de la marque. Le sélecteur reprend celui de home.css
   ([data-theme="dark"]) pour être aussi précis que lui. */
.fab--call,
[data-theme="dark"] .fab--call {
  background: var(--c-blanc);
  color: var(--c-nuit);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), var(--sh-2);
}
.fab--call:hover,
[data-theme="dark"] .fab--call:hover {
  background: var(--c-creme);
  color: var(--c-nuit);
}
.fab--call svg { color: var(--c-nuit); }
.fab--wa   { background: #25D366; color: #062E14; border: 0; }

/* ---------- Le tampon « halal » et consorts ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-vert);
  border: 1px solid rgba(111,191,115,.36);
  border-radius: var(--r-full);
  padding: .42em .9em;
}
.stamp svg { width: 15px; height: 15px; }

/* ---------- L'ardoise : la carte affichée au mur ---------- */
.slate {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.slate__row {
  display: flex; align-items: baseline; gap: var(--s-3);
  padding-block: var(--s-3);
  border-bottom: 1px dashed var(--line);
}
.slate__row:last-child { border-bottom: 0; }

/* ---------- La carte imprimée sur la page d'accueil ---------- */
.carte-line {
  display: flex; align-items: baseline; gap: var(--s-3);
  padding-block: var(--s-3);
  border-bottom: 1px dashed var(--line);
}
.carte-line:last-child { border-bottom: 0; }
.carte-line b {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-base);
  letter-spacing: .015em;
  flex: none;
}
.carte-line b span { display: block; font-family: var(--font-body); font-size: var(--t-xs);
                     text-transform: none; letter-spacing: 0; color: var(--text-mute); font-weight: 400; }
/* Les pointillés qui relient le nom au prix, comme sur une carte papier. */
.carte-line i {
  flex: 1 1 auto; height: 1px; min-width: 18px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-4px);
}
.carte-line em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  color: var(--c-braise);
  flex: none;
}

/* ---------- Étiquette de famille sur la carte affichée ---------- */
.ticket {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--t-sm);
  letter-spacing: .14em;
  background: var(--grad-braise);
  color: var(--c-blanc);
  border-radius: var(--r-sm);
  padding: .32em .75em;
}

/* ---------- Pastille numérotée (pages intérieures) ----------
   Chiffre blanc sur pastille orange : l'ancienne règle le peignait
   en orange sur orange, donc invisible. */
.stack .step__num {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  color: var(--c-blanc);
  line-height: 1;
}

/* ---------- Le volet du panier ---------- */
.cartd { background: var(--bg-alt); }
.cartd__head, .cartd__foot { border-color: var(--line); }
.cartd__sum .is-total { font-family: var(--font-display); font-size: var(--t-lg); color: var(--c-braise); }
.chip {
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 600;
  min-height: 40px;
}
.chip.is-on, .chip[aria-pressed="true"] {
  background: var(--c-braise); color: var(--c-blanc);
  border-color: var(--c-braise); font-weight: 700;
}

/* ---------- Entrée en cascade de l'ouverture ---------- */
@keyframes ogt-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.opener__tag   { animation: ogt-rise 700ms var(--e-out) both 100ms; }
.opener h1     { animation: ogt-rise 800ms var(--e-out) both 200ms; }
.opener__lede  { animation: ogt-rise 800ms var(--e-out) both 320ms; }
.opener__cta   { animation: ogt-rise 800ms var(--e-out) both 420ms; }
.opener__facts { animation: ogt-rise 800ms var(--e-out) both 520ms; }

/* =========================================================
   Correctifs de mise en page
   ========================================================= */

/* ---------- Annonce : une seule version à la fois ----------
   Le balisage porte une version longue et une version courte ;
   sans ces règles, les deux s'affichaient l'une après l'autre. */
.announce__short { display: none; }
@media (max-width: 720px) {
  .announce__long  { display: none; }
  .announce__short { display: inline; }
}
.announce .wrap { position: relative; padding-right: 2.2rem; }
.announce__close {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); margin-left: 0;
}

/* ---------- Bandeau cookies ----------
   Posé à droite : à gauche il recouvrait les boutons de
   l'ouverture, donc le numéro de téléphone. */
.cookie {
  left: auto; right: var(--s-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}
@media (max-width: 900px) {
  .cookie { left: var(--s-4); right: var(--s-4); max-width: none; bottom: var(--s-4); }
}

/* ---------- Logo : le nom ne se coupe pas ---------- */
.logo { flex: none; }
.logo__word { white-space: nowrap; }
.logo__word small { white-space: nowrap; letter-spacing: .12em; }
@media (max-width: 400px) {
  .logo__word { font-size: var(--t-base); }
  .logo__word small { font-size: 10px; letter-spacing: .08em; }
}

/* ---------- Ouverture : le texte prime sur l'illustration ----------
   Le voile passe de bas-en-haut à gauche-droite au-delà du
   téléphone : le titre garde son contraste sans noyer l'image. */
.opener__photo img { object-position: 62% center; }
@media (min-width: 860px) {
  .opener__veil {
    /* Un seul voile, horizontal : le titre garde son contraste à gauche
       et le burger reste franc à droite. Le voile vertical d'origine
       s'ajoutait par-dessus et le rendait terne. */
    background: linear-gradient(96deg,
      rgba(10,10,13,.97) 0%, rgba(10,10,13,.88) 36%,
      rgba(10,10,13,.34) 62%, rgba(10,10,13,.04) 100%);
  }
  .opener__inner { max-width: var(--maxw); }
  .opener h1, .opener__lede, .opener__cta, .opener__facts { max-width: 62%; }
}

/* ---------- Apparition au défilement : filet de sécurité ----------
   .reveal part à opacity 0 et n'est révélé que par main.js. En mode
   « mouvement réduit », l'animation n'a plus lieu d'être : le contenu
   doit être visible immédiatement, sans dépendre d'un script. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Navigation : les intitulés ne se coupent pas ---------- */
.nav a { white-space: nowrap; }

/* ---------- Mosaïque : le texte doit rester lisible ----------
   Sur les petites tuiles, l'illustration remontait derrière le nom
   du plat. On assombrit davantage le bas et on laisse respirer la
   grande tuile, qui a la place de montrer son visuel. */
.star__veil {
  background: linear-gradient(180deg,
    rgba(10,10,13,.10) 0%, rgba(10,10,13,.62) 42%,
    rgba(10,10,13,.93) 78%, rgba(10,10,13,.98) 100%);
}
.stars > :first-child .star__veil {
  background: linear-gradient(180deg,
    rgba(10,10,13,0) 0%, rgba(10,10,13,.45) 52%, rgba(10,10,13,.95) 100%);
}
.star__body { padding-top: var(--s-7); }
.star__row { align-items: center; }
.star__row .btn { flex: none; }

/* ---------- En-tête sur téléphone ----------
   Le panneau peut ajouter des icônes (favoris, compte) en plus de
   celles livrées : à 390 px la rangée débordait et créait un
   défilement horizontal sur toute la page. On ne garde donc que
   le panier et le menu, les deux seules utiles au pouce.
   Le thème, les favoris et le compte restent joignables depuis le
   menu déroulant et le pied de page. */
@media (max-width: 620px) {
  .header__bar { gap: var(--s-3); }
  .header__tools { gap: var(--s-1); margin-left: auto; }
  .header__tools > .icon-btn:not(.burger):not([href="/panier"]) { display: none; }
  .icon-btn { min-width: 42px; min-height: 42px; }
}
/* Ceinture et bretelles : aucun élément ne doit élargir la page. */
html, body { max-width: 100%; }
.marquee, .strip { overflow: hidden; }

/* ---------- Carte affichée : les longs noms ne poussent plus ----------
   « Tacos XL — 3 viandes » avec flex:none élargissait la ligne, donc la
   page entière sur téléphone. Le nom peut désormais se replier ; seuls
   les pointillés et le prix gardent leur largeur. */
.carte-line { flex-wrap: wrap; }
.carte-line b { flex: 1 1 auto; min-width: 0; }
.carte-line b span { overflow-wrap: anywhere; }
.carte-line i { flex: 1 1 18px; }
.carte-line em { flex: none; }

/* ---------- Pied : les moyens de paiement passent à la ligne ---------- */
.pay { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---------- En-tête entre 1025 et 1320 px ----------
   La navigation complète, les icônes et le bouton « Commander »
   ne tiennent pas ensemble sous 1320 px. Le bouton disparaît en
   premier : la même action reste à un doigt via l'icône panier et
   le bouton flottant. */
@media (max-width: 1320px) {
  .header__cta { display: none; }
  .header__bar { gap: var(--s-4); }
  .nav { gap: var(--s-1); }
  .nav a { padding-inline: var(--s-2); }
}

/* ---------- Les mots longs ne dilatent plus leur colonne ----------
   Un élément de grille vaut par défaut min-width:auto : un mot
   insécable (adresse e-mail, nom composé) imposait alors sa largeur
   à toute la colonne, et la page débordait sur les petits écrans. */
.resa > *, .stack > *, .find > *, .story > *, .steps > *, .footer__cols > * { min-width: 0; }
h1, h2, h3, h4, p, li, address, .btn { overflow-wrap: break-word; }

/* Les listes du pied sont elles-mêmes des grilles : sans min-width:0
   sur leurs éléments, l'adresse et l'e-mail imposaient leur largeur
   à la colonne, et la page débordait à 540 et 1024 px. */
.footer ul, .footer li, .footer li > a { min-width: 0; }
.footer li, .footer li > a { overflow-wrap: anywhere; }

/* ---------- Formulaire de réservation ----------
   Les champs de saisie ont une largeur intrinsèque (taille par
   défaut d'un input) qui empêchait leur colonne de se réduire.
   On passe aussi la bascule une colonne à 1100 px : à 1024 px,
   deux colonnes ne tenaient pas avec le formulaire. */
@media (max-width: 1100px) { .resa { grid-template-columns: 1fr; } }
.resa__form, .resa__row, .field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; width: 100%; }
@media (max-width: 620px) { .resa__row { grid-template-columns: 1fr; } }

/* ---------- Très petits écrans (320 px) ----------
   Un iPhone SE de première génération reste en circulation ;
   on resserre les repères chiffrés de l'ouverture plutôt que
   de les laisser pousser la page. */
@media (max-width: 380px) {
  .opener__facts { gap: var(--s-4); }
  .opener__facts > div { flex: 1 1 44%; }
  .zone { font-size: var(--t-xs); }
}

/* Mosaïque à 320 px : le prix et le bouton « Commander » côte à côte
   dépassaient. Ils passent à la ligne plutôt que d'élargir la page. */
.star__row { flex-wrap: wrap; }
.star, .star__body, .star__row > * { min-width: 0; }

/* ---------- Titres de section sur très petits écrans ----------
   « incontournables » est un mot long : à 320 px il dépassait, car
   anim.js enveloppe chaque mot dans un masque qui ne peut pas se
   couper. On réduit le corps plutôt que de couper le mot. */
@media (max-width: 380px) {
  .sec-head h2, .section h2 { font-size: var(--t-xl); }
  .find__h { font-size: var(--t-xl); }
}

/* ---------- Étapes « Commander sans appeler » ----------
   home.css dessine .step en rangée avec un carré orange de 46 px pour
   le numéro : le chiffre y était rogné et le texte poussé à côté.
   Ici le numéro est un grand chiffre posé au-dessus du titre. */
.steps .step { display: block; }
.steps .step__num {
  width: auto; height: auto;
  display: block;
  background: none;
  border-radius: 0;
  color: var(--c-braise);
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 400;
  line-height: 1;
  place-items: initial;
  margin-bottom: var(--s-2);
}

/* =========================================================
   Bloc-marque (logo fourni par le client)
   Le fichier contient déjà le nom et la signature « Le goût des
   bonnes choses » : on l'affiche entier plutôt qu'une pastille
   accompagnée du nom réécrit en texte, ce qui ferait doublon.
   La hauteur est fixée, la largeur suit toute seule.
   ========================================================= */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__lockup {
  /* Le bloc contient la signature « Le goût des bonnes choses » :
     en dessous de 56 px elle devient illisible. La barre s'élargit
     donc un peu pour lui laisser la place. */
  height: 58px; width: auto;
  display: block;
  transition: transform var(--d-fast) var(--e-out), opacity var(--d-fast);
}
.logo:hover .logo__lockup { transform: scale(1.03); }
.footer .logo__lockup { height: 84px; }

@media (max-width: 620px) { .logo__lockup { height: 46px; } }
@media (max-width: 380px) { .logo__lockup { height: 40px; } }

/* En thème clair, le logo est dessiné pour un fond noir : on lui
   redonne son support plutôt que de le laisser flotter sur la crème. */
[data-theme="light"] .logo__lockup {
  background: var(--c-nuit);
  border-radius: var(--r-md);
  padding: 5px 9px;
}

/* L'écran de chargement reprend le même bloc-marque. */
.preload__img { width: auto; height: 84px; }

/* Mentions légales : les listes de la page juridique sont des grilles,
   et « Dénomination sociale : … » imposait sa largeur à 320 px. */
.legal ul, .legal li, .prose ul, .prose li, main ul, main li { min-width: 0; }
main li { overflow-wrap: anywhere; }

/* ---------- Bandeau des pages intérieures ----------
   .pagehead--photo possède déjà son propre voile (.pagehead__veil).
   Ajouter un second calque par-dessus assombrissait deux fois et
   écrasait la photo : on règle donc le voile existant plutôt que
   d'en empiler un nouveau. Dégradé horizontal, comme l'ouverture :
   le texte à gauche, le plat visible à droite. */
.pagehead--photo {
  padding-block: var(--s-8) var(--s-7);
  min-height: 340px;
  display: flex; align-items: center;
}
.pagehead--photo .wrap { width: 100%; }
.pagehead__img { object-position: 72% center; }
.pagehead__veil {
  background: linear-gradient(96deg,
    rgba(10,10,13,.95) 0%, rgba(10,10,13,.84) 38%,
    rgba(10,10,13,.42) 68%, rgba(10,10,13,.12) 100%);
}
.pagehead--photo h1 { color: var(--c-creme); }
.pagehead--photo p { color: rgba(248,244,236,.82); max-width: 52ch; }
.pagehead--photo .eyebrow, .pagehead--photo .crumbs a:hover { color: var(--c-braise); }
.pagehead--photo .eyebrow::before { background: var(--c-braise); }

@media (max-width: 760px) {
  .pagehead--photo { min-height: 280px; }
  .pagehead__img { object-position: 68% center; }
  .pagehead__veil {
    background: linear-gradient(180deg,
      rgba(10,10,13,.86) 0%, rgba(10,10,13,.80) 40%, rgba(10,10,13,.94) 100%);
  }
}

/* ---------- Adresse du bloc « Nous trouver » ----------
   accueil.js réécrit ce bloc en <b> + <span> sans retour à la ligne :
   sans display:block, tout se collait sur une seule ligne
   (« O'Good Time Triel-sur-Seine181 rue Paul Doumer78510… »). */
.find__addr b, .find__addr span { display: block; }
.find__addr b { font-size: var(--t-lg); margin-bottom: .35rem; }
.find__addr span { font-size: var(--t-base); color: rgba(248,244,236,.86); }
.find__addr span:last-child { margin-top: .4rem; color: var(--c-braise); font-weight: 600; }
