@font-face { font-family: "Shippori Mincho"; font-weight: 500; font-display: swap; src: url(../fonts/shippori-mincho-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Shippori Mincho"; font-weight: 700; font-display: swap; src: url(../fonts/shippori-mincho-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-fond); color: var(--c-texte);
  font-family: var(--f-texte); font-size: var(--t-base); line-height: var(--interligne);
  text-align: var(--align-texte);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; line-height: 1.15; margin: 0; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); text-align: var(--align-section-titre); }
h3 { font-size: var(--t-h3); }
p { margin: 0 0 var(--esp-2); max-width: var(--mesure-texte); }
.centre { text-align: center; }
.centre p { margin-left: auto; margin-right: auto; }
.contenu { width: 100%; max-width: var(--mesure); margin-inline: auto; padding-inline: var(--gouttiere); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--esp-1);
  padding: var(--bouton-padding); border-radius: var(--rayon-rond);
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer; font-size: var(--t-base); font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-rouge { background: var(--c-rouge); color: #fff; }
.btn-rouge:hover { background: var(--c-rouge-vif); }
.btn-contour { border-color: var(--c-texte); color: var(--c-texte); background: transparent; }
.btn-contour:hover { background: var(--c-texte); color: var(--c-fond); }

/* ---------- en-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-fond) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-trait);
}
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: var(--esp-2); min-height: 4.25rem; }
.marque { display: flex; align-items: center; gap: var(--esp-1); text-decoration: none; font-family: var(--f-titre); font-weight: 700; font-size: var(--t-h3); }
.marque img { width: 2.6rem; height: auto; }
.nav { display: flex; gap: var(--esp-3); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--c-texte-2); font-weight: 600; font-size: var(--t-petit); letter-spacing: 0.04em; text-transform: uppercase; }
.nav a:hover { color: var(--c-texte); }
.burger { display: none; background: none; border: 0; color: var(--c-texte); width: 2.75rem; height: 2.75rem; cursor: pointer; }
.burger span { display: block; width: 1.5rem; height: 2px; background: currentColor; margin: 5px auto; transition: transform var(--transition), opacity var(--transition); }
@media (max-width: 60rem) {
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--c-fond-2); border-bottom: 1px solid var(--c-trait); display: none; box-shadow: var(--ombre); }
  .nav.ouvert { display: flex; }
  .marque span { display: none; }
  .statut { margin-left: auto; }
  .nav li { border-top: 1px solid var(--c-trait); }
  .nav a { display: block; padding: var(--esp-2) var(--gouttiere); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- statut ouvert / fermé ---------- */
.statut { display: inline-flex; align-items: center; gap: var(--esp-1); font-size: var(--t-petit); font-weight: 600; white-space: nowrap; }
.statut::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-texte-2); }
.statut[data-etat="ouvert"]::before { background: var(--c-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-ok) 25%, transparent); }
.statut[data-etat="bientot"]::before { background: var(--c-attention); }
.statut[data-etat="ferme"]::before { background: var(--c-rouge-vif); }

/* ---------- annonce ---------- */
.annonce { background: var(--c-rouge); color: #fff; }
.annonce .contenu { padding-block: var(--esp-2); display: grid; gap: var(--esp-1); text-align: center; }
.annonce h3 { font-size: var(--t-h3); }
.annonce p { margin: 0 auto; white-space: pre-line; }
.annonce .btn { margin-top: var(--esp-1); justify-self: center; }

/* ---------- héros ---------- */
.heros { position: relative; min-height: min(88vh, 52rem); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.heros img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.heros::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 45%, var(--c-fond) 100%); }
.heros .contenu { padding-block: var(--esp-4); display: grid; gap: var(--esp-2); justify-items: center; }
.heros .logo { width: clamp(7rem, 18vw, 11rem); filter: drop-shadow(0 12px 30px rgba(0,0,0,0.6)); }
.heros h1 { text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
.heros .slogan { font-family: var(--f-titre); font-size: var(--t-h3); color: var(--c-texte); letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.heros .actions { display: flex; flex-wrap: wrap; gap: var(--esp-2); justify-content: center; margin-top: var(--esp-2); }
.heros .promo { font-size: var(--t-petit); color: var(--c-texte-2); margin: 0; }

/* ---------- sections ---------- */
.section { padding-block: var(--esp-4); }
.section-alt { background: var(--c-fond-2); }
.section h2 { margin-bottom: var(--esp-3); }
.section h2 small { display: block; font-family: var(--f-texte); font-size: var(--t-petit); color: var(--c-rouge-vif); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: var(--esp-1); font-weight: 600; }

/* ---------- horaires ---------- */
.horaires-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--esp-3); align-items: start; }
.encadre { background: var(--c-fond-3); border: 1px solid var(--c-trait); border-radius: var(--rayon); padding: var(--encadre-padding); }
.encadre .btn { margin-top: var(--bouton-marge-cadre); }
.tableau-horaires { width: 100%; border-collapse: collapse; }
.tableau-horaires th, .tableau-horaires td { padding: var(--esp-1) 0; border-bottom: 1px solid var(--c-trait); text-align: left; vertical-align: top; }
.tableau-horaires th { font-weight: 600; width: 40%; }
.tableau-horaires tr:last-child th, .tableau-horaires tr:last-child td { border-bottom: 0; }
.tableau-horaires tr.aujourdhui th, .tableau-horaires tr.aujourdhui td { color: var(--c-rouge-vif); }
.tableau-horaires .ferme { color: var(--c-texte-2); }
.fermetures { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--esp-1); }
.fermetures li { display: flex; flex-wrap: wrap; gap: 0 var(--esp-2); justify-content: space-between; border-bottom: 1px solid var(--c-trait); padding-bottom: var(--esp-1); }
.fermetures li:last-child { border-bottom: 0; }
.fermetures time { color: var(--c-texte-2); white-space: nowrap; margin-left: auto; font-size: var(--t-petit); }
.encadre, .encadre * { min-width: 0; }
.adresse { font-style: normal; display: grid; gap: var(--esp-1); }
.adresse a { text-decoration: none; }
.adresse a:hover { color: var(--c-rouge-vif); }
.adresse strong { font-family: var(--f-titre); font-size: var(--t-h3); }

/* ---------- galeries ---------- */
.galerie { display: grid; gap: var(--esp-2); grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.galerie-portrait { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.galerie li { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--c-fond-3); }
.galerie a { display: block; aspect-ratio: 4 / 3; }
.galerie-portrait a { aspect-ratio: 3 / 4; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.galerie li:hover img { transform: scale(1.05); }
.galerie figcaption { position: absolute; inset: auto 0 0 0; padding: var(--esp-1) var(--esp-2); background: linear-gradient(transparent, rgba(0,0,0,0.75)); font-size: var(--t-petit); font-weight: 600; pointer-events: none; }
.galerie figcaption:empty { display: none; }

/* ---------- à propos ---------- */
.a-propos { display: grid; gap: var(--esp-3); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 60rem) { .a-propos { grid-template-columns: 1.1fr 0.9fr; } }
.a-propos p { white-space: pre-line; }
.a-propos img { border-radius: var(--rayon); box-shadow: var(--ombre); }

/* ---------- visionneuse ---------- */
.visionneuse { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.92); display: none; place-items: center; padding: var(--gouttiere); }
.visionneuse.ouverte { display: grid; }
.visionneuse img { max-width: 100%; max-height: 85vh; width: auto; height: auto; border-radius: var(--rayon); box-shadow: var(--ombre); }
.visionneuse button { position: absolute; background: rgba(255,255,255,0.1); border: 0; color: #fff; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.visionneuse .fermer { top: var(--gouttiere); right: var(--gouttiere); }
.visionneuse .prec { left: var(--gouttiere); top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: var(--gouttiere); top: 50%; transform: translateY(-50%); }
.visionneuse figcaption { position: absolute; bottom: var(--gouttiere); left: 0; right: 0; text-align: center; color: var(--c-texte-2); }

/* ---------- pied ---------- */
.pied { background: var(--c-fond-2); border-top: 1px solid var(--c-trait); padding-block: var(--esp-3); text-align: center; color: var(--c-texte-2); font-size: var(--t-petit); }
.pied .contenu { display: grid; gap: var(--esp-2); justify-items: center; }
.pied .liens { display: flex; flex-wrap: wrap; gap: var(--esp-2); justify-content: center; }
.pied a { color: var(--c-texte); text-decoration: none; }
.pied a:hover { color: var(--c-rouge-vif); }
.pied .mention { max-width: var(--mesure-texte); margin: 0 auto; }
.pied .compteur { color: var(--c-texte-2); }
.pied .compteur a { color: var(--c-texte-2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
