/* Variables globales utilisées sur toutes les pages.
   Modifier --orange ici change la couleur d'accent sur l'ensemble du site. */
:root {
  --orange: #e89b2a;
  --orange-deep: #d8851b;
  --red: #c0392b;
  --text: #1d1d1d;
  --muted: #555;
  --line: #e6e6e6;
  --bg: #f3f3f3;
  --card: #ffffff;
  --sidebar-bg: #ededed;
  --section-bg: #efefef;
}

* { box-sizing: border-box; }

/* Base : police principale, couleur de texte, fond gris clair et taille de base 15px.
   overflow-x:hidden empêche un scrollbar horizontal sur mobile. */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Header sticky : reste fixé en haut pendant le scroll.
   La classe "scrolled" est ajoutée par main.js après 10px de scroll,
   elle réduit le padding et ajoute une ombre portée. */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 40px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 40px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.09);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Logo de marque : image + texte empilé verticalement */
.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1.05; text-decoration: none; }
.brand-logo { height: 52px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-row { display: flex; gap: 14px; align-items: baseline; }
.brand-row .word-1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px; font-weight: 500; color: #2a2a2a;
}
.brand-row .word-2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 500; color: #6e6e6e;
}
.brand-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic; font-size: 14px; color: #6e6e6e; margin-top: 1px;
}

/* Navigation principale (desktop uniquement, masquée sous 980px) */
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav a { color: #444; padding: 4px 0; transition: color .15s; }
.nav a:hover { color: var(--orange); }
.nav a.active { color: #1d1d1d; font-weight: 600; }
.nav .cart { display: inline-flex; align-items: center; gap: 6px; color: #444; }
/* Lien "Commander" mis en valeur dans la nav desktop */
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #1d1d1d !important;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background .15s;
}
.nav .nav-cta:hover { background: #f4ae44; }
.nav .nav-cta i { font-size: 12px; }
/* Même lien dans le menu mobile */
.mobile-nav-links a.nav-cta { color: var(--orange) !important; font-weight: 700; }

/* Champ de recherche dans le header.
   L'icône de loupe et la flèche sont deux SVG superposés qui s'échangent via CSS
   en utilisant :focus et :valid sur l'input (voir les sélecteurs ~ ci-dessous).
   Quand l'input a du contenu (:valid), le bouton de réinitialisation devient visible. */
.search-form {
  position: relative;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  width: 175px;
  flex-shrink: 0;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--orange); }

.search-form label {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  cursor: text;
}

.search-form input[type="search"] {
  width: 100%;
  height: 100%;
  padding: 0 28px 0 34px;
  border: none;
  outline: none;
  background: none;
  font-size: 13px;
  color: #444;
  font-family: inherit;
  -webkit-appearance: none;
}
/* Supprime l'icône de nettoyage native de Safari/Chrome */
.search-form input[type="search"]::-webkit-search-cancel-button,
.search-form input[type="search"]::-webkit-search-decoration { display: none; }
.search-form input[type="search"]::placeholder { color: #b3b3b3; }

/* Conteneur des deux icônes SVG (loupe et flèche) */
.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.search-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  color: #999;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1), color 0.3s;
}

/* swap-off (flèche) est masquée par défaut, swap-on (loupe) est visible */
.search-swap-off {
  opacity: 0;
  visibility: hidden;
  transform: rotate(-80deg);
}

/* Bouton de réinitialisation (croix), caché tant que le champ est vide */
.search-close {
  position: absolute;
  right: 7px;
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transform: scale(0);
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  color: #888;
}
.search-close svg { width: 10px; height: 10px; display: block; }
.search-close:hover { background: #f0f0f0; color: var(--orange); }

/* Quand le champ a le focus (vide) : l'icône tourne et la flèche apparaît à la place de la loupe */
.search-form input[type="search"]:focus ~ .search-icon {
  transform: translateY(-50%) rotate(80deg) scale(1.25);
}
.search-form input[type="search"]:focus ~ .search-icon .search-swap-off {
  opacity: 1; visibility: visible; transform: rotate(-80deg); color: var(--orange);
}
.search-form input[type="search"]:focus ~ .search-icon .search-swap-on { opacity: 0; }

/* Quand le champ a du contenu (:valid) : même comportement que focus + le bouton croix apparaît */
.search-form input[type="search"]:valid ~ .search-icon {
  transform: translateY(-50%) scale(1.25) rotate(80deg);
}
.search-form input[type="search"]:valid ~ .search-icon .search-swap-off {
  opacity: 1; visibility: visible; color: var(--orange);
}
.search-form input[type="search"]:valid ~ .search-icon .search-swap-on { opacity: 0; }
.search-form input[type="search"]:valid ~ .search-close {
  opacity: 1; visibility: visible; transform: scale(1); transition: none;
}

/* Version pleine largeur du champ de recherche (utilisée dans le menu mobile) */
.search-form--full { width: 100%; }

/* Mise en page des pages internes (toutes sauf index.php) */
.page-wrap {
  max-width: 1180px;
  margin: 30px auto 50px;
  padding: 0 40px;
}
.page-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 38px;
  margin: 0 0 22px;
  color: #1d1d1d;
}

/* Bouton générique réutilisé sur toutes les pages.
   Fond blanc + bordure orange au repos, fond orange au survol. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: #fff;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.btn:hover { background: var(--orange); color: #fff; }
.btn i { font-size: 13px; }
.btn.outline-orange { width: 100%; justify-content: center; }
.btn.solid-orange { background: #fff; color: var(--orange); border: 1px solid var(--orange); width: 100%; justify-content: center; }

/* Placeholders de photos : fonds rayés colorés en attendant des vraies photos.*/
.photo-ph {
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid #d8d8d8;
}
.photo-ph .label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
  text-align: center;
  padding: 6px;
}
.ph-choucroute {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.18)),
    repeating-linear-gradient(45deg, #e8d28a 0 8px, #d4b96a 8px 16px);
}
.ph-traiteur {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.28)),
    repeating-linear-gradient(45deg, #6b5946 0 8px, #5a4a3a 8px 16px);
}
.ph-magasin {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25)),
    repeating-linear-gradient(45deg, #a89476 0 8px, #93805f 8px 16px);
}
.ph-meat {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.2)),
    repeating-linear-gradient(45deg, #d49a76 0 8px, #b87a55 8px 16px);
}
.ph-veggie {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.2)),
    repeating-linear-gradient(45deg, #e8e2c7 0 8px, #d6cfae 8px 16px);
}
.ph-sausage {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.2)),
    repeating-linear-gradient(45deg, #d6a373 0 8px, #c08850 8px 16px);
}
.ph-map {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.12)),
    repeating-linear-gradient(45deg, #c9d9c0 0 12px, #b3c8a8 12px 24px);
}

/* Footer : fond blanc, trait orange en haut via ::before, grille 3 colonnes.
   margin-top:60px assure un espace entre le contenu et le footer. */
.footer {
  background: #fff;
  color: #2a2a2a;
  padding: 0;
  margin-top: 60px;
  position: relative;
  border-top: 1px solid var(--line);
}
/* Ligne orange dégradée tout en haut du footer */
.footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
}

/* Contenu du footer : 3 colonnes (marque plus large que les deux autres) */
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 40px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.hours-undefined {
  font-size: 13.5px;
  color: #999;
  font-style: italic;
  margin: 0;
}
/* Titre de chaque colonne du footer : petites majuscules + séparateur bas */
.footer-col-title {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1d;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.footer-col-title i { color: var(--orange); font-size: 13px; }

/* Colonne marque */
.footer-brand .logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 500;
  color: #2a2a2a;
  margin-bottom: 4px;
}
.footer-brand .logo .light { color: #6e6e6e; }
.footer-brand .tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 18px;
}
.footer-brand .blurb {
  font-size: 13.5px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 18px;
  max-width: 320px;
}

/* Liste de contact dans le footer */
.contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5; color: #2a2a2a;
}
.contact-list li i {
  color: var(--orange); font-size: 13px;
  flex-shrink: 0; margin-top: 4px; width: 16px; text-align: center;
}
.contact-list li a { color: #2a2a2a; transition: color .15s; word-break: break-word; }
.contact-list li a:hover { color: var(--orange); }

/* Bouton téléphone (style tag, avec icône WhatsApp verte) */
.tel-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tel-btn {
  border: 1px solid var(--orange);
  color: var(--orange); background: #fff;
  padding: 7px 16px; font-size: 12px; font-weight: 600; letter-spacing: 1px;
  display: inline-flex; gap: 7px; align-items: center; cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.tel-btn:hover { background: var(--orange); color: #fff; }
.tel-btn:hover i { color: #fff; }
.tel-btn i { color: #2ecc71; transition: color .15s; }
.footer-email { color: #2a2a2a; font-size: 14px; }
.footer-addr { font-size: 14px; line-height: 1.65; color: #2a2a2a; }

/* Liens du footer avec flèche animée qui avance au survol */
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  color: #555;
  font-size: 13.5px;
  transition: color .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "›";
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
  transition: transform .15s;
}
.footer-links a:hover { color: #1d1d1d; }
.footer-links a:hover::before { transform: translateX(3px); }

/* Étiquettes des magasins dans la colonne horaires */
.footer-store-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 8px;
}
.footer-store-name--sep { margin-top: 16px; }

/* Tableau d'horaires : jour à gauche, heure à droite. La classe "open" met le jour en gras. */
.hours-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13.5px;
}
.hours-list li {
  display: flex; justify-content: space-between;
  color: #555;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.hours-list li.open .day { color: #1d1d1d; font-weight: 600; }
.hours-list .time { color: #2a2a2a; font-variant-numeric: tabular-nums; }
.hours-list .closed { color: #999; font-style: italic; }

/* Icônes réseaux sociaux avec tooltip en CSS pur.
   Le tooltip (div.tooltip) est positionné en absolu au-dessus de l'icône,
   il monte de 30px à 42px au survol via une transition sur top. */
.socials {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  gap: 0;
}
.socials .icon-content {
  margin: 0 6px 0 0;
  position: relative;
}
.socials .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d1d1d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  pointer-events: none;
}
.socials .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -42px;
}
.socials .icon-content .link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #4d4d4d;
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}
.socials .icon-content .link:hover {
  box-shadow: 3px 2px 45px 0 rgba(0,0,0,0.12);
}
.socials .icon-content .link svg {
  width: 24px;
  height: 24px;
}
/* Couleurs de marque au survol : bleu Facebook, orange pour l'e-mail */
.socials .icon-content .link[data-social="facebook"]:hover { color: #1877f2; }
.socials .icon-content .link[data-social="email"]:hover { color: var(--orange); }

/* Barre de copyright : copyright à gauche, liens légaux à droite */
.copyright-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
  flex-wrap: wrap;
  gap: 14px;
}
.copyright-bar .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.copyright-bar .legal a { color: #555; transition: color .15s; }
.copyright-bar .legal a:hover { color: var(--orange); }

/* Page loader : deux panneaux noirs (top et bot) qui s'ouvrent vers l'extérieur.
   z-index 9999 pour passer au-dessus de tout. Quand la classe "hidden" est ajoutée,
   les panneaux se translatent hors de l'écran (animation 0.9s). */
.no-loader .page-loader { display: none !important; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: all;
}
.page-loader.hidden {
  pointer-events: none;
}

.ldr-panel {
  position: absolute;
  left: 0; right: 0;
  background: #1a1614;
  transition: transform 0.9s cubic-bezier(.77, 0, .18, 1);
}
.ldr-panel--top { top: 0; height: 51%; }
.ldr-panel--bot { bottom: 0; height: 51%; }
/* 51% au lieu de 50% pour éviter un pixel de séparation visible entre les deux panneaux */
.page-loader.hidden .ldr-panel--top { transform: translateY(-100%); }
.page-loader.hidden .ldr-panel--bot { transform: translateY(100%); }

/* Contenu centré du loader : logo, nom, tagline et égaliseur */
.ldr-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: opacity 0.35s ease;
}
.page-loader.hidden .ldr-content { opacity: 0; }

/* Cercle autour du logo avec animation de pulsation et fondu entrant */
.ldr-emblem {
  width: 88px;
  height: 88px;
  border: 1px solid rgba(232,155,42,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ldrFadeUp 0.5s 0.05s ease both, ldrPulse 2.5s 0.55s ease-in-out infinite;
}
.ldr-emblem img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.ldr-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 6px;
  animation: ldrFadeUp 0.5s 0.15s ease both;
}
.ldr-w1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 2px;
}
.ldr-w2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 400;
  color: #666;
  letter-spacing: 1px;
}
.ldr-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: #555;
  letter-spacing: 2px;
  margin: 0 0 36px;
  animation: ldrFadeUp 0.5s 0.25s ease both;
}
/* Égaliseur : 3 barres animées en décalé pour simuler un rythme musical */
.ldr-equalizer {
  display: flex;
  align-items: center;
  gap: 5px;
  animation: ldrFadeUp 0.5s 0.3s ease both;
}
.ldr-eq-bar {
  display: inline-block;
  width: 3px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  animation: ldrEqScale 1s linear infinite;
}
.ldr-eq-bar:nth-child(2) {
  height: 35px;
  animation-delay: .25s;
}
.ldr-eq-bar:nth-child(3) {
  animation-delay: .5s;
}

@keyframes ldrFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ldrPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,155,42,0); }
  50%       { box-shadow: 0 0 0 10px rgba(232,155,42,0.07); }
}
@keyframes ldrEqScale {
  20% {
    background-color: var(--orange);
    transform: scaleY(1.5);
  }
  40% {
    transform: scaleY(1);
  }
}


/* Bouton hamburger : affiché uniquement sous 980px.
   Les trois span forment les barres. Quand la classe "open" est présente,
   la première tourne à 45°, la deuxième disparaît, la troisième tourne à -45°
   pour former une croix. */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: 4px;
  transition: background .15s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: #2a2a2a; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile : overlay full-screen avec backdrop semi-transparent et panneau latéral.
   visibility:hidden + pointer-events:none évitent tout interaction quand fermé.
   Le panneau glisse depuis la droite via translateX. */
.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200; visibility: hidden; pointer-events: none;
}
.mobile-nav.open { visibility: visible; pointer-events: auto; }
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0;
  width: min(300px, 85vw); height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.mobile-nav-header .brand-sm {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px; font-weight: 500; color: #2a2a2a;
}
.mobile-nav-header .brand-sm span { color: #6e6e6e; }
.mobile-nav-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: #555;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; transition: background .15s, color .15s;
}
.mobile-nav-close:hover { background: var(--bg); color: #1d1d1d; }
.mobile-nav-links {
  display: flex; flex-direction: column;
  padding: 12px 0; flex: 1;
}
.mobile-nav-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; font-size: 15px; color: #333;
  border-bottom: 1px solid var(--line);
  transition: background .12s, color .12s;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover { background: #fafafa; color: var(--orange); }
.mobile-nav-links a.active { color: #1d1d1d; font-weight: 600; }
.mobile-nav-links a i { width: 18px; text-align: center; color: var(--orange); font-size: 14px; }
.mobile-nav-search {
  padding: 16px 20px; border-top: 1px solid var(--line); flex-shrink: 0;
}

/* Responsive partagé : sous 980px, le header passe en mode mobile.
   La nav desktop est masquée, le hamburger devient visible, le menu mobile est activé.
   Le footer passe en 2 colonnes pour mieux s'adapter. */
@media (max-width: 980px) {
  .site-header { padding: 14px 20px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px 20px 20px;
  }
  /* La colonne marque occupe les deux colonnes sur tablette */
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .blurb { max-width: 100%; font-size: 13px; margin-bottom: 12px; }
  .footer-brand .logo { font-size: 22px; }
  .footer-brand .tag { font-size: 13px; margin-bottom: 12px; }
  .footer-col-title { margin-bottom: 12px; padding-bottom: 8px; }
  .socials { justify-content: flex-start; }
  .hours-list { font-size: 13px; }
  .contact-list li { font-size: 13px; }
}

/* Surbrillance de recherche : fond jaune vif sur les occurrences trouvées par main.js */
mark.search-hl {
  background: #ffd740;
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* Petit mobile : header encore plus compact, tagline masquée pour gagner de la place */
@media (max-width: 480px) {
  .site-header { padding: 12px 16px; }
  .brand-logo { height: 40px; }
  .brand-row .word-1 { font-size: 22px; }
  .brand-row .word-2 { font-size: 20px; }
  .brand-tag { display: none; }

  .page-wrap { padding: 0 12px; margin-top: 20px; }
  .page-title { font-size: 28px; margin-bottom: 16px; }

  /* Footer en une seule colonne sur très petit écran, blurb masqué */
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 22px 12px 16px; }
  .footer-brand .blurb { display: none; }
  .copyright-bar { padding: 12px 12px; font-size: 12px; flex-direction: column; gap: 8px; text-align: center; }
}
