
/* Hero banner pleine largeur.
   L'image de fond est appliquée via ::before avec filter:blur pour l'effet de flou.
   inset:-20px compense le flou sur les bords qui déborderait sinon.
   ::after est le dégradé sombre qui assure la lisibilité du texte blanc. */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin: 0 0 28px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url('../images/20221104-191618.webp') center / cover no-repeat;
  filter: blur(6px);
  z-index: 0;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,8,0.42) 0%, rgba(20,15,8,0.58) 60%, rgba(20,15,8,0.78) 100%);
  z-index: 1;
}
/* Le contenu du hero doit être en z-index 2 pour passer au-dessus des pseudo-éléments */
.hero-banner .label,
.hero-banner .inner {
  position: relative;
  z-index: 2;
}
.hero-banner .label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  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);
  pointer-events: none;
  white-space: nowrap;
}
.hero-banner .inner {
  max-width: 880px;
  padding: 40px 32px;
  position: relative;
  width: 100%;
}
.hero-banner .eyebrow {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232,155,42,0.6);
}
.hero-banner h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero-banner .lede {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: #f3e6cf;
  margin: 0 0 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-banner .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Deux variantes de bouton : primary (fond orange) et ghost (transparent + bordure blanche) */
.hero-banner .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: all .18s;
  border: 1px solid var(--orange);
}
.hero-banner .btn-hero.primary {
  background: var(--orange);
  color: #1d1d1d;
}
.hero-banner .btn-hero.primary:hover {
  background: #f4ae44;
  border-color: #f4ae44;
}
.hero-banner .btn-hero.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.hero-banner .btn-hero.ghost:hover {
  background: #fff;
  color: #1d1d1d;
  border-color: #fff;
}

/* ── Choix hero : deux tuiles "magasin" vs "en ligne" ─────────────
   Volontairement très différenciées (couleur, icône, texte) pour qu'aucun
   client ne puisse confondre les deux parcours de commande. */
.hero-choice {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 320px;
  max-width: 100%;
  padding: 18px 20px;
  border: 1.5px solid;
  cursor: pointer;
  text-align: left;
  transition: transform .18s, background .18s;
}
.hero-tile:hover { transform: translateY(-3px); }
.hero-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.hero-tile-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hero-tile-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}
.hero-tile-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}
.hero-tile-arrow { color: rgba(255,255,255,0.6); font-size: 13px; transition: transform .18s; }
.hero-tile:hover .hero-tile-arrow { transform: translateX(3px); }

/* Tuile "retrait en magasin" : orange, couleur de marque historique */
.hero-tile--store {
  border-color: var(--orange);
  background: rgba(232,155,42,0.18);
}
.hero-tile--store .hero-tile-icon { background: var(--orange); color: #1d1d1d; }
.hero-tile--store:hover { background: rgba(232,155,42,0.28); }

/* Tuile "commande en ligne" : bleu dédié, jamais utilisé ailleurs pour le magasin */
.hero-tile--online {
  border-color: var(--online);
  background: rgba(21,101,192,0.22);
}
.hero-tile--online .hero-tile-icon { background: var(--online); color: #fff; }
.hero-tile--online:hover { background: rgba(21,101,192,0.32); }

.hero-secondary-row { display: flex; justify-content: center; margin-top: 4px; }

@media (max-width: 720px) {
  .hero-banner { min-height: 420px; }
  .hero-banner .inner { padding: 32px 20px; }
  .hero-banner .eyebrow { font-size: 10px; letter-spacing: 2px; }
  .hero-banner h1 { font-size: 34px; }
  .hero-banner .lede { font-size: 15px; }
}
@media (max-width: 480px) {
  .hero-banner { min-height: 0; }
  .hero-banner .inner { padding: 48px 16px; }
  .hero-banner h1 { font-size: 26px; }
  .hero-banner .lede { font-size: 14px; margin-bottom: 22px; }
  .hero-banner .eyebrow { letter-spacing: 1.5px; }
  /* Boutons en colonne pleine largeur sur petit écran */
  .hero-banner .btn-hero { padding: 10px 18px; font-size: 12px; width: 100%; justify-content: center; }
  .hero-banner .cta-row { flex-direction: column; gap: 10px; }
  .hero-tile { width: 100%; padding: 14px 16px; }
  .hero-tile-label { font-size: 17px; }
}

/* Layout deux colonnes : contenu principal + sidebar.
   align-items:start permet aux deux colonnes d'avoir des hauteurs indépendantes. */
.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 50px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 28px;
  align-items: start;
}

/* Cartes de section (Nos produits, Traiteur, Animations) :
   fond blanc, bordure fine, espacement interne. */
.section-card {
  background: var(--card);
  padding: 26px 30px 32px;
  margin-bottom: 22px;
  border: 1px solid #ececec;
}
.section-card.flat {
  background: transparent;
  border: none;
  padding: 6px 0 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 18px;
  color: #1d1d1d;
}
.section-title i { color: var(--orange); font-size: 24px; }

/* Dans chaque carte, photo à gauche (270px fixe) et texte à droite */
.section-row {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

/* Photos de section avec images réelles (fond gris en fallback) */
.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ddd;
  background-size: cover;
  background-position: center;
  border: 1px solid #d8d8d8;
}

/* Chaque variante de .photo charge une image spécifique avec un léger dégradé sombre dessus */
/* Dégradés par section — chaque couleur évoque le thème de la carte */
.photo.choucroute {
  background: linear-gradient(135deg, #e89b2a 0%, #c97010 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: none;
}
.photo.traiteur {
  background: linear-gradient(135deg, #e89b2a 0%, #c97010 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: none;
}
.photo.magasin {
  background: linear-gradient(135deg, #e89b2a 0%, #c97010 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: none;
}

/* Reflet lumineux en haut à droite */
.photo.choucroute::before,
.photo.traiteur::before,
.photo.magasin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(255,255,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}
/* Cercle décoratif en bas à droite */
.photo.choucroute::after,
.photo.traiteur::after,
.photo.magasin::after {
  content: "";
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Icône et label centrés dans le bloc photo */
.photo-icon {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}
.photo-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.photo .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);
}

.copy p {
  margin: 0 0 12px;
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.6;
}
.copy p.lead { margin-bottom: 18px; }

.btn-row { margin-top: 18px; }

/* Section "À Propos" sur fond gris légèrement plus foncé que le layout */
.about {
  background: #efefef;
  padding: 28px 32px 32px;
  margin-bottom: 22px;
}
.about h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #1d1d1d;
}
/* Grille texte/photo : texte légèrement plus large */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.about-text p {
  text-align: justify;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #2a2a2a;
}
.about-text p:last-child { margin-bottom: 0; }
.about-photo {
  width: 100%;
  min-height: 100%;
  align-self: stretch;
  background: linear-gradient(135deg, #e89b2a 0%, #c97010 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(255,255,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.about-photo::after {
  content: "";
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.about-photo .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);
}

.share-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.share-fb {
  background: #1877f2;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 3px;
}

/* Sidebar "À La Une" — colonne de droite sur desktop, flex column avec gap entre articles */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

/* Placeholder pour les articles à venir (même style que ou-nous-trouver.css) */
.test-block {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 2px dashed #c9a06a;
  background:
    repeating-linear-gradient(45deg, rgba(201,160,106,0.10) 0 10px, rgba(201,160,106,0.18) 10px 20px);
  color: #8a6a3d;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.side-card {
  background: var(--sidebar-bg);
  padding: 18px 18px 22px;
  border: 1px solid #e2e2e2;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.side-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}
.side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 14px;
}
.side-title i { color: var(--orange); font-size: 18px; }

/* Badge de catégorie en haut de chaque carte "À La Une" */
.une-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--orange);
  color: #fff;
}
.une-tag i { font-size: 9px; }
.une-tag--event   { background: #2e7d32; }
.une-tag--saison  { background: #1565c0; }
.une-tag--service { background: #4a4a4a; }

/* Titre de la carte "À La Une" */
.une-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 500;
  color: #1d1d1d;
  margin: 0 0 8px;
  line-height: 1.25;
}

/* Variante compacte du bouton pour les cartes sidebar */
.btn.btn-sm {
  font-size: 11.5px;
  padding: 7px 14px;
  margin-top: 4px;
}

/* Conteneur du scroll "À La Une".
   overflow:hidden cache les clones qui débordent de la zone visible.
   Sur desktop, les articles sont empilés (flex-direction:column).
   Sur mobile (< 980px), ils défilent horizontalement (voir le media query). */
.une-wrap { overflow: hidden; }
.une-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.une-item { width: 100%; }
/* Les clones créés par JS pour la boucle mobile sont masqués sur desktop */
.une-item[aria-hidden="true"] { display: none; }

/* Photos pour les articles "À La Une" dans la sidebar (placeholders) */
.side-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  margin-bottom: 12px;
  border: 1px solid #d8d8d8;
  background-size: cover;
  background-position: center;
  position: relative;
}
.side-photo .label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.side-photo.fetes {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.25)),
    repeating-linear-gradient(45deg, #c0392b 0 10px, #a8281a 10px 20px);
}
.side-photo.biere {
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.25)),
    repeating-linear-gradient(45deg, #d4a05a 0 8px, #b8854a 8px 16px);
}

.side-card-content { padding: 0; }
.side-card p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #333;
}

/* Carte avec image */
.side-card--img {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--orange);
}
.side-card--img:hover {
  box-shadow: 0 8px 28px rgba(232,155,42,0.22);
  transform: translateY(-3px);
}
.side-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.side-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.side-card--img:hover .side-card-img-wrap img { transform: scale(1.04); }
.side-card--img .side-card-content { padding: 14px 16px 18px; }
.side-card--img .une-card-title { font-size: 20px; }

/* Carte spéciale Fête de la bière (composant décoratif avec cercle central) */
.beer-card {
  background: #fff;
  padding: 16px 16px 20px;
  border: 1px solid #e2e2e2;
}
.beer-emblem {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1d1d1d;
  border-radius: 50%;
  margin: 6px auto 16px;
  max-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
/* Cercle intérieur décoratif via ::before */
.beer-emblem::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.beer-emblem .top {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  margin-top: 18px;
  z-index: 1;
}
.beer-emblem .mid {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 6px 0;
  z-index: 1;
}
.beer-emblem .ribbon {
  background: var(--red);
  color: #fff;
  padding: 5px 16px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  z-index: 1;
  margin: 4px 0;
  border: 1px solid #fff;
}
.beer-emblem .city {
  font-family: "Source Sans 3", sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  z-index: 1;
}
.beer-emblem .stars {
  position: absolute;
  bottom: 24%;
  left: 16%;
  right: 16%;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  color: var(--orange);
  font-size: 10px;
}
/* Fanion décoratif en coin supérieur droit du cercle */
.beer-emblem .corner-flag {
  position: absolute;
  top: 8px;
  right: -32px;
  transform: rotate(45deg);
  background: #d4d11b;
  color: #1d1d1d;
  padding: 3px 36px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 2;
}

.beer-card p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 10px;
  color: #2a2a2a;
}
.beer-card .highlight {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.beer-card .dates {
  font-size: 13px;
  line-height: 1.55;
  margin: 14px 0 6px;
}
.beer-card .dates .strong {
  text-decoration: underline;
  font-weight: 600;
}
.beer-card .addr {
  font-size: 13px;
  line-height: 1.6;
  color: #2a2a2a;
  margin: 0 0 16px;
}

.beer-card .ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
}


/* Popup promotionnelle sur desktop : bloc flottant en haut à droite.
   Masquée par défaut (opacity:0, translateY négatif, pointer-events:none).
   La classe "show" est ajoutée par index.js après 1,5 secondes.
   L'animation de rebond est obtenue avec cubic-bezier(0.34, 1.4, 0.64, 1). */
.promo-popup {
  position: fixed;
  top: 90px;
  right: 28px;
  width: 340px;
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.08);
  padding: 28px 26px 24px;
  z-index: 500;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}
/* Trait orange en haut de la popup */
.promo-popup::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
}
.promo-popup.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
/* Bouton de fermeture (croix) en haut à droite */
.promo-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: #bbb;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  line-height: 1;
  transition: color .15s;
}
.promo-close:hover { color: #333; }
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.promo-badge i { font-size: 9px; }
.promo-icon {
  width: 46px; height: 46px;
  background: rgba(232,155,42,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--orange);
  margin-bottom: 14px;
}
.promo-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1d;
  margin: 0 0 10px;
  padding-right: 20px;
  line-height: 1.25;
}
.promo-text {
  font-size: 13.5px;
  color: #5a5a5a;
  line-height: 1.6;
  margin: 0 0 20px;
}
.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #1d1d1d;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: inherit;
  transition: background .15s, transform .15s;
  width: 100%;
  justify-content: center;
}
.promo-btn:hover { background: #f4ae44; transform: translateY(-1px); }
.promo-btn i { font-size: 11px; }
/* La bande compacte et le bouton d'expansion sont cachés sur desktop */
.promo-strip { display: none; }
.promo-expand-btn { display: none; }
.promo-body { display: block; }

/* Responsive : sous 980px, une seule colonne.
   min-width:0 sur les enfants du layout empêche les débordements (notamment le ticker).
   La sidebar passe avant le contenu grâce à order:-1.
   Le ticker "À La Une" passe en mode horizontal avec animation CSS. */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .section-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  /* min-width:0 est nécessaire car les enfants d'une grille ont min-width:auto par défaut,
     ce qui peut faire déborder un élément avec width:max-content (le ticker). */
  .layout > * { min-width: 0; }
  .sidebar {
    display: block;
    order: -1;
    overflow: hidden;
    padding: 0 16px 24px;
  }
  .sidebar .side-title { padding-bottom: 10px; border-bottom: 2px solid var(--orange); margin-bottom: 12px; }
  /* Le ticker horizontal : les items sont côte à côte, largeur totale = largeur naturelle.
     L'animation translate de 0 à -50%, ce qui correspond à la moitié du contenu total
     (qui a été doublé par index.js), revenant donc au début de la séquence. */
  .une-track {
    flex-direction: row;
    width: max-content;
    gap: 14px;
    animation: une-scroll 50s linear infinite;
  }
  .une-item { flex-shrink: 0; width: 240px; }
  .une-item[aria-hidden="true"] { display: flex; }
}

/* Keyframe du ticker "À La Une" : translation infinie de 0 à -50%.
   Défini hors du media query pour rester accessible si besoin. */
@keyframes une-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* FAQ accordion */
.faq {
  background: var(--card);
  padding: 26px 30px 32px;
  margin-bottom: 22px;
  border: 1px solid #ececec;
}
.faq-list { margin-top: 4px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1d;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] > .faq-q::after { transform: rotate(180deg); }
.faq-a {
  padding: 0 0 18px;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.faq-a a { color: var(--orange); text-decoration: underline; }
.faq-a a:hover { color: var(--orange-deep); }

@media (max-width: 480px) {
  .layout { padding: 0 12px 30px; }
  .section-card { padding: 18px 14px 20px; }
  .about { padding: 18px 14px; }
  .section-title { font-size: 16px; }
  .une-item { width: 220px; }
  .une-modal-overlay { padding: 12px; }
  .une-modal-content { padding: 18px 14px 18px; }
  .une-modal-title { font-size: 19px; }

  /* --- ANCIENNE VERSION MOBILE DU POPUP (conservée en commentaire pour référence)
  .promo-popup {
    right: 12px;
    left: 12px;
    width: auto;
    top: auto;
    bottom: 70px;
    padding: 18px 16px 16px;
    max-height: 55vh;
    overflow-y: auto;
  }
  .promo-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 10px; }
  .promo-title { font-size: 18px; }
  .promo-text { font-size: 12.5px; margin-bottom: 14px; }
  .promo-btn { padding: 10px 16px; font-size: 11px; }
  --- */

  /* Popup version mobile : bande fixée en bas de l'écran.
     Le corps (.promo-body) est collapsé (max-height:0) et animé par index.js au clic sur la flèche.
     border-left/right/bottom sont retirés, border-top orange remplace le ::before. */
  .promo-popup {
    right: 0; left: 0; width: 100%;
    top: auto; bottom: 0;
    padding: 0;
    border-left: none; border-right: none; border-bottom: none;
    border-top: 3px solid var(--orange);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.14);
    border-radius: 0;
    overflow: hidden;
  }
  .promo-popup::before { display: none; }

  /* Bande compacte de 58px de hauteur : icône + label + bouton flèche */
  .promo-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 52px 0 14px;
    height: 58px;
  }
  .promo-strip-icon {
    width: 34px; height: 34px;
    background: rgba(232,155,42,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange); font-size: 14px;
    flex-shrink: 0;
  }
  .promo-strip-label {
    flex: 1;
    font-size: 13px; font-weight: 600;
    color: #1d1d1d; line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Bouton flèche : tourne à 180° quand la popup est ouverte (classe "expanded") */
  .promo-expand-btn {
    display: flex;
    align-items: center; justify-content: center;
    background: rgba(232,155,42,0.1);
    border: 1px solid rgba(232,155,42,0.3);
    border-radius: 50%;
    width: 30px; height: 30px;
    color: var(--orange); font-size: 13px;
    cursor: pointer;
    transition: transform 0.3s;
    flex-shrink: 0;
  }
  .promo-popup.expanded .promo-expand-btn { transform: rotate(180deg); }

  .promo-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }
  .promo-popup.expanded .promo-body {
    max-height: 420px;
    opacity: 1;
    padding: 16px 16px 20px;
  }

  .promo-icon { width: 32px; height: 32px; font-size: 14px; margin-bottom: 8px; }
  .promo-title { font-size: 17px; margin-bottom: 8px; padding-right: 0; }
  .promo-text { font-size: 12.5px; margin-bottom: 12px; }
  .promo-btn { padding: 10px 16px; font-size: 11px; }
}

@media (max-width: 360px) {
  .layout { padding: 0 10px 20px; }
  .section-card { padding: 14px 10px 16px; }
  .about { padding: 14px 10px; }
  .section-title { font-size: 15px; gap: 8px; }
  .hero-banner h1 { font-size: 22px; }
  .hero-banner .lede { font-size: 13px; }
  .une-item { width: 200px; }
  .side-card { padding: 14px 14px 16px; }
  .une-card-title { font-size: 17px; }
  .sidebar { padding: 0 10px 18px; }
}

/* ── MODAL À LA UNE ───────────────────────────────────────────── */
.une-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.une-modal-overlay.open { opacity: 1; visibility: visible; }

.une-modal {
  background: #fff;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}
.une-modal-overlay.open .une-modal { transform: translateY(0) scale(1); }

.une-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  background: rgba(0,0,0,0.18);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}
.une-modal-close:hover { background: rgba(0,0,0,0.38); }

.une-modal-img {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.une-modal-icon {
  font-size: 64px;
  color: rgba(255,255,255,0.65);
}

.une-modal-content {
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.une-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--orange);
  color: #fff;
  align-self: flex-start;
}
.une-modal-tag.une-tag--saison  { background: #1565c0; }
.une-modal-tag.une-tag--service { background: #4a4a4a; }
.une-modal-tag.une-tag--event   { background: #2e7d32; }

.une-modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  color: #1d1d1d;
  margin: 0;
  line-height: 1.2;
}
.une-modal-text {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0;
}
.une-modal-text[hidden] { display: none; }

@media (max-width: 580px) {
  .une-modal { grid-template-columns: 1fr; max-height: 95vh; }
  .une-modal-img { min-height: 180px; max-height: 200px; }
  .une-modal-content { padding: 22px 18px 22px; }
  .une-modal-title { font-size: 22px; }
}
