/* Maison de la Presse — Livarot
   Couleurs reprises du logo : bleu marine, rouge, or (la plume). */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #103b5a;
  --navy-fonce: #0b2b43;
  --rouge: #cd2129;
  --rouge-fonce: #a9161d;
  --or: #e2a21e;
  --or-pale: #fbefd2;
  --papier: #fbf7f0;
  --creme: #f3ebdc;
  --blanc: #fff;
  --encre: #162230;
  --gris: #56616c;
  --ligne: #e6dccb;
  --vert: #1d8a4e;
  --orange: #d9730d;

  --titre: "Fraunces", Georgia, "Times New Roman", serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 18px;
  --ombre: 0 1px 2px rgb(16 59 90 / 6%), 0 10px 30px rgb(16 59 90 / 9%);
  --ombre-forte: 0 2px 6px rgb(16 59 90 / 10%), 0 24px 60px rgb(16 59 90 / 18%);
  --gouttiere: 20px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gouttiere); }
.masque {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.rouge { color: var(--rouge); }

:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }

.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--blanc); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.evitement:focus { top: 12px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .65em 1.25em;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 .98rem/1.1 var(--texte); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.bouton:hover { transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton--grand { min-height: 52px; padding: .8em 1.5em; font-size: 1.03rem; }
.bouton--rouge { background: var(--rouge); color: var(--blanc); box-shadow: 0 6px 18px rgb(205 33 41 / 25%); }
.bouton--rouge:hover { background: var(--rouge-fonce); }
.bouton--bleu { background: var(--navy); color: var(--blanc); }
.bouton--bleu:hover { background: var(--navy-fonce); }
.bouton--contour { border-color: var(--navy); color: var(--navy); background: transparent; }
.bouton--contour:hover { background: var(--navy); color: var(--blanc); }

/* ---------- Bandeau du haut, façon « une » de journal ---------- */
.bandeau { background: var(--navy-fonce); color: #e9e1d2; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.bandeau__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.bandeau__edition { color: var(--or); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 240 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--ligne);
  transition: box-shadow .25s;
}
.entete--ombre { box-shadow: 0 6px 24px rgb(16 59 90 / 10%); }
.entete__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marque img { width: 48px; height: 48px; }
.marque__nom {
  display: flex; flex-direction: column;
  font: 650 1.22rem/1.05 var(--titre); color: var(--navy); letter-spacing: -.01em;
}
.marque__nom small {
  font: 700 .7rem/1.3 var(--texte); color: var(--rouge); letter-spacing: .22em; text-transform: uppercase; margin-top: 3px;
}

.nav__liste { display: flex; gap: 4px; }
.nav__liste a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--encre);
  transition: background-color .2s, color .2s;
}
.nav__liste a:hover { background: var(--creme); color: var(--navy); }
.nav__bouton {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--ligne); border-radius: 999px; background: var(--blanc);
  font: 700 .95rem var(--texte); color: var(--navy); cursor: pointer;
}

/* ---------- Annonce ---------- */
.annonce { background: var(--or-pale); border-bottom: 1px solid #efd9a4; color: #5b4206; }
.annonce p { padding-block: 12px; text-align: center; font-weight: 500; }

/* ---------- Haut de page ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 88% 10%, rgb(226 162 30 / 13%), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgb(16 59 90 / 7%), transparent 60%);
}
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 80px); align-items: center; }

.surtitre {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 800 .8rem/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--rouge);
}
.surtitre::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--or); }
.surtitre--clair { color: var(--or); }

.hero h1 {
  font-family: var(--titre); font-weight: 650; color: var(--navy);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em;
  text-wrap: balance;
}
.chapo { margin-top: 22px; max-width: 34em; font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: #37434f; }

.statut {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre);
  font-weight: 700; font-size: .98rem;
}
.statut[hidden] { display: none; }
.statut__point {
  width: 11px; height: 11px; border-radius: 50%; flex: none; background: var(--gris);
}
[data-etat="ouvert"] .statut__point { background: var(--vert); box-shadow: 0 0 0 0 rgb(29 138 78 / 45%); animation: pouls 2s infinite; }
[data-etat="bientot"] .statut__point { background: var(--orange); }
[data-etat="ferme"] .statut__point { background: var(--rouge); }
@keyframes pouls {
  0% { box-shadow: 0 0 0 0 rgb(29 138 78 / 45%); }
  70% { box-shadow: 0 0 0 9px rgb(29 138 78 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(29 138 78 / 0%); }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.atouts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--gris); font-weight: 600; font-size: .95rem; }
.atouts li { display: inline-flex; align-items: center; gap: 8px; }
.atouts .ic { color: var(--navy); }

.hero__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__cadre {
  padding: 10px; background: var(--blanc); border-radius: 26px; box-shadow: var(--ombre-forte);
  transform: rotate(1.4deg);
}
.hero__cadre img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.hero__badge {
  position: absolute; left: -34px; bottom: 42px; width: 112px; height: 112px;
  border-radius: 50%; border: 6px solid var(--blanc); box-shadow: var(--ombre-forte);
  transform: rotate(-8deg);
}

/* Petite entrée en douceur au chargement */
@media (prefers-reduced-motion: no-preference) {
  .hero__texte > * { animation: monter .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__texte > :nth-child(2) { animation-delay: .06s; }
  .hero__texte > :nth-child(3) { animation-delay: .12s; }
  .hero__texte > :nth-child(n+4) { animation-delay: .18s; }
  .hero__photo { animation: monter .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes monter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--creme { background: var(--creme); }
.section__tete { max-width: 46em; margin-bottom: clamp(32px, 5vw, 52px); }
.section h2, .reseaux h2 {
  font: 650 clamp(2rem, 1.35rem + 2.3vw, 3.1rem)/1.06 var(--titre); color: var(--navy); letter-spacing: -.02em;
  text-wrap: balance;
}
.section__tete p:not(.surtitre) { margin-top: 16px; color: var(--gris); font-size: 1.1rem; }

/* ---------- En boutique ---------- */
.cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.carte {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px 26px; background: var(--blanc);
  border: 1px solid var(--ligne); border-radius: var(--rayon);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: #d9ccb4; }
.carte__icone {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px;
  border-radius: 14px; background: var(--navy); color: var(--or);
}
.carte__icone .ic { width: 26px; height: 26px; }
.carte h3 { font: 700 1.12rem/1.25 var(--texte); color: var(--navy); }
.carte p { color: var(--gris); font-size: .98rem; line-height: 1.5; }
.carte--appel { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: var(--blanc); }
.carte--appel .carte__icone { background: var(--or); color: var(--navy); }
.carte--appel h3 { color: var(--blanc); }
.carte--appel p { color: #cfdbe6; }
.carte--appel a { color: var(--or); font-weight: 700; text-decoration: none; white-space: nowrap; }
.carte--appel a:hover { text-decoration: underline; }

.petites-lignes {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; max-width: 60em;
  color: var(--gris); font-size: .84rem; line-height: 1.5;
}
.moins18 {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 2px solid var(--rouge); border-radius: 50%;
  font: 800 .78rem var(--texte); color: var(--rouge);
}

/* ---------- Horaires ---------- */
.horaires { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.horaires__intro > p:not(.surtitre) { margin-top: 16px; color: var(--gris); font-size: 1.1rem; }

.etat {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--rayon);
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre);
}
.etat[hidden] { display: none; }
.etat__titre { display: flex; align-items: center; gap: 10px; font: 650 1.45rem/1.2 var(--titre); color: var(--navy); }
.etat__detail { margin-top: 6px; color: var(--gris); }

.horaires__table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden;
  box-shadow: var(--ombre); font-size: 1.05rem;
}
.horaires__table th, .horaires__table td { padding: 15px 22px; border-bottom: 1px solid var(--ligne); }
.horaires__table tr:last-child th, .horaires__table tr:last-child td { border-bottom: 0; }
.horaires__table th { text-align: left; font-weight: 600; }
.horaires__table td { text-align: right; font-variant-numeric: tabular-nums; color: #37434f; }
.horaires__ferie th, .horaires__ferie td { background: #faf6ee; color: var(--gris); }
.horaires__table tr.aujourdhui th, .horaires__table tr.aujourdhui td { background: var(--or-pale); color: var(--encre); font-weight: 700; }
.horaires__table tr.aujourdhui th { box-shadow: inset 5px 0 0 var(--or); }
.pastille {
  display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; vertical-align: 2px;
  background: var(--navy); color: var(--blanc); font: 700 .7rem/1.5 var(--texte); letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Photos ---------- */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.galerie__item--une { grid-column: span 2; grid-row: span 2; }
.galerie__item a {
  position: relative; display: block; height: 100%; overflow: hidden; border-radius: 16px;
  background: var(--creme); cursor: zoom-in;
}
.galerie__item img { width: 100%; height: 100%; aspect-ratio: 12 / 7; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.galerie__item--une img { aspect-ratio: auto; }
.galerie__item a:hover img { transform: scale(1.045); }
.galerie__zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--navy); box-shadow: var(--ombre);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.galerie__zoom .ic { width: 18px; height: 18px; }
.galerie__item a:hover .galerie__zoom, .galerie__item a:focus-visible .galerie__zoom { opacity: 1; transform: none; }

/* ---------- Questions fréquentes ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq__item {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.faq__item[open] { box-shadow: var(--ombre); border-color: #d9ccb4; }
.faq__item summary {
  position: relative; padding: 18px 60px 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.06rem; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--creme); color: var(--rouge); font: 500 1.35rem/1 var(--texte);
  transition: rotate .25s;
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { padding: 0 22px 20px; color: #37434f; }
.faq__item a { color: var(--navy); font-weight: 700; }

/* ---------- Réseaux sociaux ---------- */
.reseaux { background: var(--navy); color: #d7e1ea; padding-block: clamp(56px, 7vw, 88px); }
.reseaux__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.reseaux h2 { color: var(--blanc); }
.reseaux__in > div > p:not(.surtitre) { margin-top: 14px; font-size: 1.1rem; }
.reseaux__liens { display: grid; gap: 14px; }
.reseau {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 16%); border-radius: var(--rayon); background: rgb(255 255 255 / 5%);
  text-decoration: none; color: var(--blanc); transition: background-color .2s, transform .2s, border-color .2s;
}
.reseau:hover { background: rgb(255 255 255 / 11%); border-color: rgb(255 255 255 / 30%); transform: translateX(4px); }
.reseau strong { display: block; font-size: 1.12rem; }
.reseau small { display: block; color: #b8c7d5; font-size: .95rem; }
.reseau__icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.reseau__icone .ic { width: 26px; height: 26px; }
.reseau__icone--facebook { background: #1877f2; }
.reseau__icone--instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }

/* ---------- Nous trouver ---------- */
.acces { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.acces address { margin-top: 22px; font: 400 1.3rem/1.5 var(--titre); color: var(--encre); }
.acces address strong { font-weight: 650; color: var(--navy); }
.acces__tel {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-weight: 800; font-size: 1.35rem; color: var(--rouge); text-decoration: none;
}
.acces__tel:hover { text-decoration: underline; }
.acces__boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.acces__carte { position: relative; }
.acces__carte iframe {
  display: block; width: 100%; height: clamp(320px, 38vw, 460px); border: 0;
  border-radius: var(--rayon); box-shadow: var(--ombre-forte); background: var(--creme);
}
.acces__agrandir {
  position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--blanc); box-shadow: var(--ombre);
  font-weight: 700; font-size: .88rem; color: var(--navy); text-decoration: none;
}
.acces__agrandir .ic { width: 16px; height: 16px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--navy-fonce); color: #c4d0db; padding-top: 56px; font-size: .98rem; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr .8fr; gap: 32px; padding-bottom: 40px; }
.pied__marque { display: flex; align-items: center; gap: 14px; }
.pied__marque img { width: 64px; height: 64px; }
.pied__marque strong { font: 650 1.15rem var(--titre); color: var(--blanc); }
.pied__titre { font: 800 .78rem/1.2 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__bas {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .88rem; color: #9fb1c1;
}
.pied__bas a { color: #d7e1ea; }

/* ---------- Barre d'actions sur téléphone ---------- */
.barre-mobile { display: none; }

/* ---------- Visionneuse de photos ---------- */
.visionneuse {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(6 18 29 / 80%); overflow: hidden;
}
.visionneuse::backdrop { background: rgb(6 18 29 / 92%); }
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse__figure { display: grid; justify-items: center; gap: 14px; padding: 64px 72px; max-width: 100%; }
.visionneuse__figure img {
  max-width: min(1200px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / 50%);
}
.visionneuse figcaption { display: flex; gap: 14px; align-items: baseline; color: #e9eef3; font-size: 1rem; text-align: center; }
.visionneuse__compteur { color: #93a6b7; font-size: .9rem; font-variant-numeric: tabular-nums; }
.visionneuse__bouton {
  position: fixed; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); color: var(--blanc); cursor: pointer;
  transition: background-color .2s;
}
.visionneuse__bouton:hover { background: rgb(255 255 255 / 24%); }
.visionneuse__bouton .ic { width: 24px; height: 24px; }
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse__prec { left: 16px; top: 50%; translate: 0 -50%; }
.visionneuse__suiv { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Page simple (mentions légales, 404) ---------- */
.page { padding-block: clamp(48px, 7vw, 88px); }
.page__contenu { max-width: 760px; }
.page h1 { font: 650 clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem)/1.05 var(--titre); color: var(--navy); letter-spacing: -.02em; }
.page h2 { font: 650 1.5rem/1.2 var(--titre); color: var(--navy); margin-top: 40px; margin-bottom: 12px; }
.page p, .page li { color: #37434f; }
.page p + p { margin-top: 10px; }
.page .chapo { margin-top: 16px; }
.page a:not(.bouton) { color: var(--navy); font-weight: 600; }
.page .hero__actions { margin-top: 28px; }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__bouton { display: inline-flex; }
  .nav__liste {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 0; padding: 8px var(--gouttiere) 16px;
    background: var(--papier); border-bottom: 1px solid var(--ligne); box-shadow: 0 16px 30px rgb(16 59 90 / 12%);
  }
  .menu-ouvert .nav__liste { display: flex; }
  .nav__liste a { padding: 14px 8px; border-radius: 10px; font-size: 1.08rem; }
  .entete__in { position: relative; }

  .hero__grille { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { width: min(100%, 560px); }
  .hero__cadre { transform: none; }
  .hero__cadre img { aspect-ratio: 1 / 1; object-position: 50% 56%; }
  .hero__badge { left: auto; right: -8px; bottom: -22px; width: 92px; height: 92px; }

  .horaires, .acces, .reseaux__in { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Téléphone ---------- */
@media (max-width: 720px) {
  :root { --gouttiere: 16px; }
  body { font-size: 1rem; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .bandeau__in > span:first-child { display: none; }
  .bandeau__in { justify-content: center; }
  .entete__in { min-height: 64px; gap: 12px; }
  .entete__appel { display: none; }
  .marque img { width: 42px; height: 42px; }
  .marque__nom { font-size: 1.08rem; }

  /* Sur téléphone, « Appeler » et « Itinéraire » restent en bas de l'écran : pas besoin de les répéter en haut */
  .hero .hero__actions { display: none; }
  .atouts { gap: 8px 18px; margin-top: 24px; }

  .cartes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .carte { padding: 18px 16px 20px; }
  .carte__icone { width: 44px; height: 44px; border-radius: 12px; }
  .carte h3 { font-size: 1.02rem; }
  .carte p { font-size: .92rem; }
  .carte--appel { grid-column: 1 / -1; }

  .horaires__table th, .horaires__table td { padding: 13px 16px; }

  .galerie { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .galerie__item--une, .galerie__item:last-child { grid-column: 1 / -1; grid-row: auto; }
  .galerie__item:last-child img { aspect-ratio: 12 / 7; }
  .galerie__item--une img { aspect-ratio: 12 / 7; }
  .galerie__zoom { display: none; }

  .acces__boutons .bouton { flex: 1 1 auto; }
  .pied__grille { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(251 247 240 / 96%); border-top: 1px solid var(--ligne);
    box-shadow: 0 -8px 24px rgb(16 59 90 / 10%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .barre-mobile a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
    border-radius: 14px; font-weight: 800; text-decoration: none;
  }
  .barre-mobile a:first-child { background: var(--rouge); color: var(--blanc); }
  .barre-mobile a:last-child { background: var(--navy); color: var(--blanc); }

  .visionneuse__figure { padding: 64px 8px 84px; }
  .visionneuse__figure img { max-height: calc(100vh - 190px); border-radius: 8px; }
  .visionneuse__prec, .visionneuse__suiv { top: auto; bottom: 18px; translate: none; }
  .visionneuse__prec { left: calc(50% - 60px); }
  .visionneuse__suiv { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Lien vers la fiche Google (avis) */
.acces__avis {
  display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 10px;
  font-weight: 700; color: var(--navy); text-decoration: none;
}
.acces__avis .ic { color: var(--or); fill: var(--or); }
.acces__avis:hover { text-decoration: underline; }
