/* ==========================================================================
   Perfetto — feuille de style
   Palette reprise du flyer : fond charbon, jaune signature, accent rouge.
   ========================================================================== */

:root {
  /* Couleurs de marque */
  --yellow: #ffd100;
  --yellow-dim: #e0b800;
  --red: #d4161d;

  /* Fonds */
  --bg: #141313;
  --surface: #1c1a1a;
  --surface-2: #232020;
  --surface-3: #2b2727;
  --line: #363131;
  --line-soft: #2a2626;

  /* Textes */
  /* Contrastes vérifiés sur le fond charbon : 5,4:1 minimum pour --ink-4,
     le plus clair des gris — au-dessus du seuil WCAG AA (4,5:1). */
  --ink: #ffffff;
  --ink-2: #d8d3d3;
  --ink-3: #a29b9b;
  --ink-4: #928b8b;

  /* Typo */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Rythme */
  --shell: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Hauteurs des barres collantes */
  --topbar-h: 60px;
  --stickybar-h: 60px;

  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .85);
  --ring: 0 0 0 3px rgba(255, 209, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }

/* Indispensable : nos éléments de liste/grille redéfinissent `display`,
   ce qui écraserait le `display:none` natif de l'attribut [hidden]. */
[hidden] { display: none !important; }

/* Visible pour les lecteurs d'écran uniquement. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Empêche les titres de section de passer sous les barres collantes */
  scroll-padding-top: calc(var(--topbar-h) + var(--stickybar-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: .6rem 1rem;
  background: var(--yellow);
  color: #141313;
  font-weight: 800;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 19, 19, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.topbar__inner {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.brand__mark { width: auto; height: 30px; flex: none; }
.brand__text { display: flex; align-items: baseline; gap: .34rem; min-width: 0; }
.brand__name {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
  transform: translateY(-2px);
}
.brand__accent {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1;
  color: var(--yellow);
}

.topbar__actions { display: flex; align-items: center; gap: .6rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .34rem .8rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill--ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--surface);
}

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ddc7f;
  box-shadow: 0 0 0 3px rgba(61, 220, 127, .18);
}

.topbar__phones { display: flex; gap: .4rem; }
.phonebtn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: 10px;
  background: var(--yellow);
  color: #141313;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease;
}
.phonebtn:hover { background: #ffdc38; transform: translateY(-1px); }
.phonebtn svg { width: 14px; height: 14px; stroke-width: 2.2; }

@media (max-width: 860px) {
  .topbar__hours { display: none; }
  .topbar__phones .phonebtn:nth-child(n+2) { display: none; }
}
@media (max-width: 420px) {
  .brand__mark { height: 26px; }
  .brand__name { font-size: 1.08rem; }
  .brand__accent { font-size: 1.2rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  z-index: -1;
  background:
    radial-gradient(46% 40% at 50% 18%, rgba(255, 209, 0, .16), transparent 68%),
    radial-gradient(30% 26% at 82% 60%, rgba(212, 22, 29, .10), transparent 70%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero__logo {
  width: auto;
  height: clamp(96px, 18vw, 148px);
  filter: drop-shadow(0 12px 34px rgba(255, 209, 0, .16));
}

.hero__title {
  max-width: 22ch;
  font-size: clamp(2rem, 6.4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--yellow);
}

.hero__lead {
  max-width: 56ch;
  color: var(--ink-3);
  font-size: clamp(.95rem, 2.2vw, 1.075rem);
  text-wrap: pretty;
}

.chiprow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
}
.chiprow li {
  padding: .34rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chiprow--tight { justify-content: flex-start; margin-top: 1rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: .5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: .95rem;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn svg { width: 17px; height: 17px; stroke-width: 2; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: #141313; }
.btn--primary:hover { background: #ffdc38; }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.hero__meta {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .4rem;
  max-width: 52ch;
  color: var(--ink-4);
  font-size: .84rem;
  text-align: center;
}
.hero__meta svg { flex: none; margin-top: .32em; }

/* ==========================================================================
   BASCULE FOOD / SWEETS
   ========================================================================== */
.switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.switch__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .85rem 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-3);
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
.switch__btn:hover { background: var(--surface-2); color: var(--ink); }

.switch__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.1;
}
.switch__sub {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}

.switch__btn[aria-pressed="true"] {
  background: var(--yellow);
  color: #141313;
}
.switch__btn[aria-pressed="true"] .switch__sub { opacity: .72; }

@media (max-width: 480px) {
  .switch__title { font-size: 1.3rem; }
  .switch__sub { font-size: .58rem; letter-spacing: .1em; }
  .switch__btn { padding: .7rem .5rem; }
}

/* ==========================================================================
   BARRE COLLANTE : CATÉGORIES + RECHERCHE
   ========================================================================== */
.carte { padding-bottom: clamp(3rem, 8vw, 5rem); }

.stickybar {
  position: sticky;
  top: var(--topbar-h);
  z-index: 50;
  margin-top: 1.25rem;
  background: rgba(20, 19, 19, .9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-block: 1px solid var(--line-soft);
}

.stickybar__inner {
  min-height: var(--stickybar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.catnav {
  display: flex;
  gap: .4rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: .6rem 0;
  /* dégradé de fondu sur les bords pour signaler le défilement */
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
}
.catnav::-webkit-scrollbar { display: none; }

.catnav__link {
  flex: none;
  scroll-snap-align: start;
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-3);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.catnav__link:hover { color: var(--ink); border-color: var(--ink-4); }
.catnav__link.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #141313;
}

.search {
  position: relative;
  flex: 0 0 260px;
  display: flex;
  align-items: center;
}
.search__icon {
  position: absolute;
  left: .8rem;
  width: 16px; height: 16px;
  color: var(--ink-4);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: .6rem .8rem .6rem 2.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
}
.search input::placeholder { color: var(--ink-4); }
.search input:focus { outline: none; border-color: var(--yellow); box-shadow: var(--ring); }
.search input::-webkit-search-cancel-button { display: none; }

.search__clear {
  position: absolute;
  right: .5rem;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1;
}
.search__clear:hover { background: var(--yellow); color: #141313; }

@media (max-width: 900px) {
  .stickybar__inner { flex-direction: column; align-items: stretch; gap: 0; padding-block: .5rem; }
  .catnav { order: 2; padding-top: .5rem; padding-bottom: .2rem; }
  .search { order: 1; flex: 1 1 auto; }
  :root { --stickybar-h: 108px; }
}

/* Sur grand écran, toutes les catégories tiennent : on passe à la ligne
   plutôt que de masquer la fin de la liste derrière un défilement. */
@media (min-width: 1100px) {
  .catnav {
    flex-wrap: wrap;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    row-gap: .4rem;
  }
}

/* ==========================================================================
   NOTES ET ÉTAT VIDE
   ========================================================================== */
.pricenote {
  margin: 1.5rem 0 .25rem;
  color: var(--ink-4);
  font-size: .8rem;
}
.pricenote strong { color: var(--ink-2); font-weight: 700; }
.star { color: var(--yellow); }

.noresult {
  margin: 3rem 0;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-3);
  text-align: center;
}

/* ==========================================================================
   SECTIONS DE LA CARTE
   ========================================================================== */
.cat {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  scroll-margin-top: calc(var(--topbar-h) + var(--stickybar-h) + 16px);
}
.cat[hidden] { display: none; }

.cat__media {
  position: relative;
  aspect-ratio: 21 / 6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.cat:hover .cat__media img { transform: scale(1.03); }
.cat__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 19, .1) 0%, rgba(20, 19, 19, .55) 100%);
}
@media (max-width: 640px) { .cat__media { aspect-ratio: 16 / 7; } }

/* Mise en page éditoriale sur grand écran : photo à gauche sur toute la
   hauteur, carte des prix à droite. Évite les rangées de prix étirées sur
   toute la largeur, illisibles au-delà de ~700px. */
@media (min-width: 980px) {
  .cat--aside {
    display: grid;
    grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
    /* `auto 1fr` : quand la photo est plus haute que la liste (catégories
       courtes), l'espace restant va sous les prix — pas entre le titre et
       la première ligne. */
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: start;
  }
  .cat--aside .cat__media {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 270px;
  }
  .cat--aside .cat__head { grid-column: 2; grid-row: 1; margin-top: 0; }
  .cat--aside .items,
  .cat--aside .chips { grid-column: 2; grid-row: 2; }

  /* Sections sans photo latérale : on borne la largeur de lecture. */
  .cat--full .items--single:not(.items--split) { max-width: 720px; }

  /* Pendant une recherche les photos sont masquées : on libère aussi la
     colonne qu'elles occupaient, sinon les résultats restent décalés. */
  #sections.is-searching .cat--aside { display: block; }
}

/* Bandeau de vignettes (sandwichs) */
.cat__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .5rem;
}
.cat__strip figure { margin: 0; }
.cat__strip img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.cat__strip figcaption {
  margin-top: .35rem;
  color: var(--ink-4);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 700px) {
  .cat__strip { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .cat__strip figcaption { font-size: .6rem; }
}

.cat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0 .9rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--yellow);
}

.cat__title {
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.15;
}
.cat__count {
  flex: none;
  color: var(--ink-4);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   TABLEAU DE PRIX
   ========================================================================== */
.items {
  --pcol: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.items__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(var(--cols), var(--pcol));
  align-items: center;
  gap: .5rem;
  padding: .62rem .9rem;
}

.items__head {
  padding-block: .35rem;
  border-bottom: 1px solid var(--line);
}
.items__head span {
  color: var(--ink-4);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.items__head span:not(:first-child) { text-align: center; color: var(--yellow-dim); }

.item { border-bottom: 1px solid var(--line-soft); transition: background .14s ease; }
.item:last-child { border-bottom: 0; }
.item:hover { background: var(--surface); }

.item__name {
  min-width: 0;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.3;
}
.item__detail {
  display: block;
  color: var(--ink-4);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.item__price {
  text-align: center;
  font-size: .98rem;
  font-weight: 800;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.item__price--none { color: var(--ink-4); font-weight: 500; }

/* Ligne signature */
.item--star {
  background: var(--yellow);
  color: #141313;
  border-bottom: 0;
  border-radius: 8px;
}
.item--star:hover { background: #ffdc38; }
.item--star .item__name { font-weight: 900; }
.item--star .item__price { color: #141313; }
.item--star .item__price--none { color: rgba(20, 19, 19, .62); }
.item--star .item__detail { color: rgba(20, 19, 19, .7); }
.item--star .item__star { color: #141313; }

/* Prix unique : nom et prix collés par une ligne de points */
.items--single .items__row { grid-template-columns: minmax(0, 1fr) auto; }
.items--single .item__name { display: flex; align-items: baseline; gap: .55rem; }
.items--single .item__name::after {
  content: '';
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  align-self: flex-end;
  margin-bottom: .28em;
  background-image: linear-gradient(90deg, var(--line) 0 2px, transparent 2px 6px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
}
.items--single .item--star .item__name::after {
  background-image: linear-gradient(90deg, rgba(20, 19, 19, .32) 0 2px, transparent 2px 6px);
}
.items--single .item__price { min-width: 3.2rem; text-align: right; }

/* Longues listes à prix unique : deux colonnes sur grand écran.
   `columns` (et non `grid`) pour que la lecture reste verticale. */
@media (min-width: 900px) {
  .items--single.items--split { columns: 2; column-gap: 3rem; }
  .items--single.items--split .items__row { break-inside: avoid; }
}

/* Tableaux larges : colonnes plus généreuses pour que les intitulés
   « Baguette farcie », « Makloub »… ne se touchent pas. */
@media (min-width: 781px) {
  .items--wide { --pcol: 88px; }
  .items--wide .items__head span:not(:first-child) {
    font-size: .62rem;
    letter-spacing: .03em;
    line-height: 1.25;
  }
}

/* Tableaux larges (sandwichs, 4 variantes et plus) → cartes empilées sur mobile */
@media (max-width: 780px) {
  .items--wide .items__head { display: none; }
  .items--wide .items__row {
    grid-template-columns: repeat(3, 1fr);
    gap: .45rem .5rem;
    padding: .75rem .8rem;
  }
  .items--wide .item__name { grid-column: 1 / -1; margin-bottom: .1rem; }
  .items--wide .item__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .05rem;
    padding: .3rem .2rem;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    font-size: .9rem;
  }
  .items--wide .item__price::before {
    content: attr(data-label);
    color: var(--ink-4);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.2;
  }
  .items--wide .item--star .item__price {
    border-color: rgba(20, 19, 19, .22);
    background: rgba(255, 255, 255, .28);
  }
  .items--wide .item--star .item__price::before { color: rgba(20, 19, 19, .6); }
}

@media (max-width: 480px) {
  .items { --pcol: 50px; }
  .items__row { padding-inline: .55rem; }
  .item__name { font-size: .9rem; }
  .item__price { font-size: .92rem; }
}

/* Suppléments en pastilles */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .5rem;
}
.chips li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 600;
}
.chips b { color: var(--yellow); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Note de bas de carte */
.cartenote {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-3);
  font-size: .9rem;
  font-style: italic;
}
.cartenote svg { flex: none; width: 18px; height: 18px; color: var(--yellow); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr .8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__col--brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer__logo { width: auto; height: 92px; }
.footer__tagline {
  color: var(--ink-4);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.7;
}

.footer__h {
  margin-bottom: .7rem;
  color: var(--yellow);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer__h--spaced { margin-top: 1.5rem; }
.footer__p { color: var(--ink-2); font-size: .92rem; margin-bottom: .6rem; }

.link {
  display: inline-block;
  color: var(--yellow);
  font-size: .88rem;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .16s ease;
}
.link:hover { border-color: var(--yellow); }

.footer__phones { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }

.socials { display: flex; flex-direction: column; gap: .55rem; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  transition: color .16s ease;
}
.socials a:hover { color: var(--yellow); }
.socials svg { flex: none; width: 17px; height: 17px; color: var(--yellow); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.3rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-4);
  font-size: .78rem;
}
.footer__disclaimer { color: var(--ink-4); }

/* ==========================================================================
   BARRE D'ACTION MOBILE + BOUTON RETOUR HAUT
   ========================================================================== */
.actionbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(20, 19, 19, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .55rem .3rem .6rem;
  color: var(--ink-3);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.actionbar__btn svg { width: 20px; height: 20px; }
.actionbar__btn:first-child { color: var(--yellow); }
.actionbar__btn:active { background: var(--surface-2); }

@media (max-width: 780px) {
  .actionbar { display: grid; }
  body { padding-bottom: 62px; }
}

.totop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(28, 26, 26, .92);
  backdrop-filter: blur(10px);
  color: var(--ink-2);
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.totop:hover { color: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.totop svg { width: 19px; height: 19px; stroke-width: 2.2; }
@media (max-width: 780px) { .totop { bottom: 74px; } }

/* ==========================================================================
   ANIMATIONS D'APPARITION
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .cat { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .cat.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   IMPRESSION
   ========================================================================== */
@media print {
  :root { --bg: #fff; --ink: #000; --ink-2: #222; --ink-3: #444; --ink-4: #666; --line: #ccc; --line-soft: #e5e5e5; --surface: #fff; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .topbar, .stickybar, .actionbar, .totop, .hero__cta, .switch, .skip-link, .search { display: none !important; }
  .hero { padding: 0 0 1rem; }
  .cat { opacity: 1 !important; transform: none !important; break-inside: avoid; page-break-inside: avoid; }
  .cat__media, .cat__strip { display: none; }
  .item__price { color: #000; }
  .item--star { background: #ffd100 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cat__head { border-bottom-color: #000; }
}
