/* Site vitrine P'tit Philou : charte, typographie, boutons et animations communes (maquette Claude Design). */
@font-face { font-family: 'Incised Nord'; src: url('/fonts/incised-901-nord.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Incised Bold'; src: url('/fonts/incised-901-bold.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Comico'; src: url('/fonts/comico.woff2') format('woff2'); font-display: swap; }

:root {
  --rouge: #e60400;
  --beige: #fffbf3;
  --creme: #f6f1e4;
  --rayure: #f7f1e4;
  --noir: #000;
  --gris: rgba(0, 0, 0, .66);
  --titre: 'Incised Nord', 'Arial Black', sans-serif;
  --texte: 'Incised Bold', 'Helvetica Neue', Helvetica, sans-serif;
  --main: 'Comico', 'Comic Sans MS', cursive;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --gx: clamp(20px, 5vw, 80px);
  --gy: clamp(72px, 11vw, 190px);
  --largeur: 1400px;
  --ressort: cubic-bezier(.16, .84, .44, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--beige); color: var(--noir); font-family: var(--texte); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; appearance: none; border-radius: 0; cursor: pointer; }
p, h1, h2, ol, ul, dl, dd, figure { margin: 0; }
a { color: var(--rouge); text-decoration: none; transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .2s ease, box-shadow .2s ease; }
a:hover { color: var(--noir); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
::selection { background: var(--rouge); color: var(--beige); }
.evitement { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--noir); color: var(--beige); }
.evitement:focus { top: 8px; color: var(--beige); }

/* ——— Sections et typographie ——— */
.section { padding: var(--gy) var(--gx); background: var(--beige); }
.section--creme { background: var(--creme); }
.deux-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(44px, 6vw, 110px); align-items: center; max-width: var(--largeur); margin: 0 auto; }
.pile { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); min-width: 0; }
.pile--serree { gap: clamp(12px, 1.6vw, 22px); }
.pile--fine { gap: 6px; }
.surtitre { font-family: var(--titre); font-size: clamp(12px, 1vw, 15px); letter-spacing: .34em; color: var(--rouge); text-transform: uppercase; }
.titre { font-family: var(--titre); font-weight: 900; font-size: clamp(40px, 6vw, 92px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.titre--xl { font-size: clamp(44px, 5.4vw, 88px); line-height: .9; }
.titre--moyen { font-size: clamp(34px, 4.8vw, 72px); }
.texte { max-width: 52ch; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.8; text-wrap: pretty; }
.texte strong { font-weight: 800; }
.manuscrit { max-width: 30ch; font-family: var(--main); font-size: clamp(21px, 2.2vw, 32px); line-height: 1.25; color: var(--rouge); text-wrap: pretty; }
.manuscrit--petit { font-size: clamp(19px, 1.9vw, 28px); line-height: 1.2; text-wrap: balance; }
.manuscrit--mini { margin-top: 6px; font-size: clamp(17px, 1.5vw, 22px); }
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.8; letter-spacing: .04em; color: var(--gris); }
.mono a { color: inherit; text-decoration: underline; }

/* ——— Boutons ——— */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; text-align: center; white-space: nowrap; font-family: var(--titre); font-size: clamp(14px, 1.3vw, 19px); letter-spacing: .12em; text-transform: uppercase; border: 3px solid var(--noir); padding: 18px 28px 16px; }
.bouton--moyen { font-size: clamp(14px, 1.2vw, 18px); padding: 17px 24px 15px; }
.bouton--rouge { color: var(--beige); background: var(--rouge); box-shadow: 7px 7px 0 var(--noir); }
.bouton--rouge:hover { color: var(--beige); transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--noir); }
.bouton--rouge:active { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--noir); }
.bouton--contour { color: var(--noir); background: rgba(255, 251, 243, .6); }
.bouton--contour:hover { color: var(--rouge); border-color: var(--rouge); }
.bouton-ligne { display: inline-flex; align-items: center; align-self: flex-start; min-height: 46px; margin-top: 6px; padding: 12px 18px 11px; border: 2px solid var(--rouge); font-family: var(--titre); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); white-space: nowrap; }
.bouton-ligne:hover { color: var(--beige); background: var(--rouge); }
.lien-souligne { font-size: clamp(16px, 1.3vw, 19px); font-weight: 800; color: var(--noir); font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--noir); padding-bottom: 2px; white-space: nowrap; }
.lien-souligne:hover { color: var(--rouge); border-bottom-color: var(--rouge); }

/* ——— Statut ouvert / fermé (rempli par le script) ——— */
.statut { display: flex; align-items: center; gap: 10px; padding: 9px 14px 8px; border: 2px solid var(--noir); background: var(--beige); font-family: var(--titre); font-size: 12px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.statut--clair { padding: 0; border: 0; background: none; color: var(--beige); line-height: 1.3; }
.statut__point { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.statut--clair .statut__point { background: rgba(255, 251, 243, .4); }
.statut.est-ouvert .statut__point { background: var(--rouge); animation: clignote 2s ease-in-out infinite; }

/* ——— Décor : étincelles, traits, stickers, mascottes ——— */
.etincelle { position: absolute; z-index: 1; height: auto; fill: var(--rouge); stroke: var(--noir); stroke-width: 1.4; stroke-linejoin: round; animation: scintille 3.2s ease-in-out infinite; }
.trait { display: block; width: clamp(120px, 13vw, 180px); height: auto; fill: none; stroke: var(--rouge); stroke-width: 6; stroke-linecap: round; }
.trait--anime path { stroke-dasharray: 320; animation: trace 1.4s .7s cubic-bezier(.65, 0, .35, 1) both; }
.sticker { position: absolute; z-index: 2; height: auto; filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, .18)); pointer-events: none; }
.flotte { animation: flotte 7s ease-in-out infinite; }
.flotte--lente { animation-duration: 9s; animation-delay: -2s; }
.flotte--decalee { animation-duration: 8s; animation-delay: -4s; }

/* Apparition au défilement (le script ajoute .js-anim, puis .est-visible) ; pivot en bas : l'inclinaison n'élargit jamais le bloc. */
.js-anim [data-reveal] { opacity: 0; transform-origin: 50% 100%; transform: perspective(1200px) rotateX(7deg) translateY(30px) scale(.985); transition: opacity .85s var(--ressort), transform .85s var(--ressort); }
.js-anim [data-reveal].est-visible { opacity: 1; transform: none; }

@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flotte { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-1.2deg); } }
@keyframes clignote { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes scintille { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(40deg); opacity: .55; } }
@keyframes gigote { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(5deg); } }
@keyframes bulle { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate3d(12px, -190px, 0); opacity: 0; } }
@keyframes trace { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes apparait { from { opacity: 0; } to { opacity: 1; } }
@keyframes monte { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* En-tête collant (téléphone toujours visible), menu plein écran (mobile), barre d'accès rapide et boutons de fermeture. */
.entete { position: sticky; top: 0; z-index: 50; display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; padding: clamp(10px, 1.4vw, 18px) var(--gx); background: rgba(255, 251, 243, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 2px solid var(--noir); }
.entete__logo { display: block; flex: 0 0 auto; }
.entete__logo img { height: clamp(40px, 4.4vw, 58px); width: auto; }
.entete__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 40px); margin-left: auto; }
.entete__nav a { font-family: var(--titre); font-size: clamp(12px, 1vw, 15px); letter-spacing: .2em; color: var(--noir); text-transform: uppercase; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.entete__nav a:hover { color: var(--rouge); border-bottom-color: var(--rouge); }
.entete__tel { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; background: var(--rouge); color: var(--beige); border: 2px solid var(--noir); box-shadow: 3px 3px 0 var(--noir); font-family: var(--texte); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.entete__tel:hover { color: var(--beige); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--noir); }
.entete__tel:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--noir); }
.entete__tel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.entete__burger { display: none; flex: 0 0 auto; width: 48px; height: 48px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; background: var(--beige); border: 2px solid var(--noir); box-shadow: 3px 3px 0 var(--noir); transition: transform .15s ease, box-shadow .15s ease; }
.entete__burger:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--noir); }
.entete__burger span { display: block; width: 22px; height: 2.5px; background: var(--noir); }
.entete__burger span:nth-child(2) { width: 14px; margin-left: 8px; background: var(--rouge); }

/* ——— Croix de fermeture (menu, visionneuse) ——— */
.croix { position: relative; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; background: transparent; border: 2px solid var(--beige); }
.croix span { position: absolute; left: 11px; top: 21px; width: 22px; height: 2.5px; background: var(--beige); transform: rotate(45deg); }
.croix span + span { transform: rotate(-45deg); }
.croix--petite { width: 44px; height: 44px; }
.croix--petite span { left: 9px; top: 19px; }

/* ——— Menu plein écran (dialog natif : Échap, focus piégé) ——— */
.menu-mobile { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; background: var(--noir); color: var(--beige); }
.menu-mobile[open] { display: flex; flex-direction: column; animation: apparait .3s var(--ressort) both; }
.menu-mobile::backdrop { background: var(--noir); }
.menu-mobile__haut { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(10px, 1.4vw, 18px) var(--gx); border-bottom: 2px solid var(--rouge); }
.menu-mobile__haut img { height: 40px; width: auto; }
.menu-mobile__liens { display: flex; flex-direction: column; padding: 10px var(--gx) 0; }
.menu-mobile__liens a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0 14px; border-bottom: 1px solid rgba(255, 251, 243, .18); font-family: var(--titre); font-size: clamp(32px, 9vw, 56px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--beige); animation: monte .55s var(--ressort) both; }
.menu-mobile__liens a:nth-child(2) { animation-delay: 55ms; }
.menu-mobile__liens a:nth-child(3) { animation-delay: 110ms; }
.menu-mobile__liens a:nth-child(4) { animation-delay: 165ms; }
.menu-mobile__liens a:nth-child(5) { animation-delay: 220ms; }
.menu-mobile__liens a:nth-child(6) { animation-delay: 275ms; }
.menu-mobile__liens a:active { color: var(--rouge); }
.menu-mobile__liens span { font-size: 12px; letter-spacing: .2em; color: var(--rouge); }
.menu-mobile__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding: 28px var(--gx) 0; }
.menu-mobile__bas .pile { padding-bottom: 28px; animation: monte .55s var(--ressort) .42s both; }
.menu-mobile__bas > img { flex: 0 1 auto; min-width: 0; width: auto; height: clamp(120px, 30vw, 190px); }
.bouton-ligne--beige { border-color: var(--beige); color: var(--beige); letter-spacing: .12em; }
.bouton-ligne--plein { background: var(--rouge); color: var(--beige); letter-spacing: .12em; }
.bouton-ligne--beige:active, .bouton-ligne--plein:active { background: var(--beige); color: var(--noir); }

/* ——— Barre d'accès rapide (mobile, après le hero) ——— */
.barre-rapide { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--beige); border-top: 2px solid var(--noir); padding-bottom: env(safe-area-inset-bottom); transform: translate3d(0, 110%, 0); transition: transform .45s var(--ressort); }
.barre-rapide.est-visible { transform: none; }
.barre-rapide a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 62px; color: var(--noir); font-family: var(--titre); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.barre-rapide a + a { border-left: 2px solid var(--noir); }
.barre-rapide a:active { background: var(--creme); }
.barre-rapide svg { width: 22px; height: 22px; fill: none; stroke: var(--rouge); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.barre-rapide .noir { stroke: var(--noir); }

/* Six rubriques et le téléphone : la navigation complète ne tient qu'à partir de 1200 px. */
@media (max-width: 1199px) {
  .entete { gap: 10px; }
  .entete__nav { display: none; }
  .entete__tel { margin-left: auto; }
  .entete__burger { display: flex; }
}
/* Petits téléphones : logo réduit, puis numéro sans icône, pour garder le numéro lisible en entier. */
@media (max-width: 374px) { .entete__logo img { height: 32px; } }
@media (max-width: 340px) { .entete__tel svg { display: none; } }
@media (max-width: 959px) {
  .barre-rapide { display: grid; }
  .infos { padding-bottom: calc(40px + 72px); }
}
/* Hero (vidéo en fond), bandeau défilant, concept et bandeau « slogan ». */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - 64px), 940px); padding: clamp(48px, 9vw, 140px) var(--gx) clamp(24px, 4vw, 56px); background: var(--beige); }
.hero__rayures { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--rayure) 0 26px, var(--beige) 26px 52px); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 251, 243, .9) 0%, rgba(255, 251, 243, .74) 45%, rgba(255, 251, 243, .92) 100%); pointer-events: none; }
.hero__contenu { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px, 3.4vw, 48px); width: 100%; max-width: 1080px; margin: 0 auto; text-align: center; }
.hero__logo { position: relative; width: min(86%, 660px); }
.hero__logo h1 { margin: 0; transform-style: preserve-3d; will-change: transform; }
.hero__logo h1 img { width: 100%; }
.etincelle--a { top: -7%; right: -4%; width: clamp(24px, 3vw, 44px); }
.etincelle--b { bottom: -4%; left: -5%; width: clamp(16px, 2vw, 28px); animation-duration: 4.1s; animation-delay: -1.3s; }
.hero__infos { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2vw, 26px); }
.hero__accroche { font-family: var(--titre); font-size: clamp(19px, 2.6vw, 38px); line-height: 1; letter-spacing: .22em; color: var(--rouge); text-transform: uppercase; }
.hero__adresse { font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .02em; line-height: 1.6; font-weight: 600; }
.hero__adresse span { white-space: nowrap; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; width: 100%; max-width: 640px; }
.hero__actions .bouton { flex: 1 1 auto; }

/* ——— Bandeau défilant ——— */
.bandeau { overflow: hidden; background: var(--rouge); border-block: 2px solid var(--noir); padding: 13px 0; }
.bandeau__piste { display: flex; width: max-content; animation: defile 28s linear infinite; }
.bandeau__piste p { display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); padding-right: clamp(24px, 3vw, 52px); font-family: var(--titre); font-size: clamp(15px, 1.5vw, 24px); letter-spacing: .2em; color: var(--beige); text-transform: uppercase; white-space: nowrap; }
.bandeau__piste i { width: 9px; height: 9px; border-radius: 50%; background: var(--noir); }

/* ——— Concept ——— */
.concept { position: relative; overflow: hidden; }
.concept__chapo { max-width: 34ch; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.4; font-weight: 700; text-wrap: pretty; }
.concept__chapo em { font-style: normal; color: var(--rouge); }
.concept__atouts { display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); gap: clamp(12px, 2vw, 32px); max-width: 560px; margin: 0; padding: 0; list-style: none; }
.concept__atouts li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--noir); padding-top: 16px; font-family: var(--titre); font-size: clamp(12px, 1.1vw, 16px); letter-spacing: .06em; text-transform: uppercase; }
.concept__atouts svg { width: 32px; height: 32px; fill: none; stroke: var(--noir); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.concept__atouts .rouge { stroke: var(--rouge); }
.concept__atouts .plein { fill: var(--rouge); }
.concept__atouts .point { fill: var(--rouge); stroke: var(--rouge); }

/* Visuel : mascotte sur trame de points, stickers autour */
.visuel { position: relative; display: flex; justify-content: center; align-items: center; padding: clamp(10px, 2vw, 30px) 0; }
.visuel__trame { position: absolute; left: 50%; top: 50%; width: min(112%, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background-image: radial-gradient(circle, #c7b29f 0 2.2px, transparent 2.8px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(closest-side, #000 20%, rgba(0, 0, 0, .5) 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, rgba(0, 0, 0, .5) 55%, transparent 100%); opacity: .28; pointer-events: none; }
.visuel--rouge .visuel__trame { width: min(110%, 480px); background-image: radial-gradient(circle, var(--rouge) 0 2.2px, transparent 2.8px); }
.visuel__mascotte { position: relative; width: min(80%, 440px); will-change: transform; }
.visuel__mascotte--petite { width: min(70%, 360px); }
.sticker--cartes { top: 0; left: 2%; width: clamp(74px, 9vw, 130px); transform: rotate(-12deg); }
.sticker--disco { right: 4%; bottom: 4%; width: clamp(64px, 7.5vw, 110px); transform: rotate(9deg); }

/* ——— Slogan sur fond noir ——— */
.slogan { position: relative; overflow: hidden; background: var(--noir); padding: clamp(26px, 2.6vw, 36px) var(--gx) 0; }
.slogan__bulles { position: absolute; inset: 0; pointer-events: none; }
.slogan__bulles span { position: absolute; bottom: -18px; width: 8px; height: 8px; border: 2px solid rgba(255, 251, 243, .4); border-radius: 50%; animation: bulle 7.5s linear infinite; }
.slogan__bulles span:nth-child(1) { left: 6%; }
.slogan__bulles span:nth-child(2) { left: 17%; width: 12px; height: 12px; animation-duration: 9s; animation-delay: -3s; }
.slogan__bulles span:nth-child(3) { left: 29%; width: 6px; height: 6px; animation-duration: 6.5s; animation-delay: -1.5s; }
.slogan__bulles span:nth-child(4) { left: 44%; width: 10px; height: 10px; animation-duration: 8s; animation-delay: -5s; }
.slogan__bulles span:nth-child(5) { left: 58%; width: 7px; height: 7px; animation-duration: 7s; animation-delay: -2.2s; }
.slogan__bulles span:nth-child(6) { left: 71%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: -6s; }
.slogan__bulles span:nth-child(7) { left: 86%; animation-duration: 7.8s; animation-delay: -3.7s; }
.slogan__bulles span:nth-child(8) { left: 94%; width: 6px; height: 6px; animation-duration: 6.2s; animation-delay: -.8s; }
.slogan__contenu { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 56px); max-width: var(--largeur); margin: 0 auto; }
.slogan__texte { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: clamp(20px, 2.6vw, 36px); text-align: center; }
.slogan__texte p { max-width: 32ch; font-family: var(--main); font-size: clamp(21px, 2.7vw, 40px); line-height: 1.15; color: var(--beige); text-wrap: balance; }
.slogan__texte .trait { width: clamp(100px, 10vw, 150px); }
.slogan__contenu > img { flex: 0 0 auto; width: auto; height: clamp(110px, 12vw, 180px); }
/* Section carte (pages du menu en images) et visionneuse plein écran. */
.carte__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(44px, 6vw, 100px); align-items: start; max-width: var(--largeur); margin: 0 auto; }
.carte__intro { position: relative; display: flex; flex-direction: column; gap: clamp(26px, 3vw, 40px); }
@media (min-width: 960px) and (min-height: 781px) { .carte__intro { position: sticky; top: 112px; } }
.carte__entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.carte__mascotte { flex: 0 0 auto; width: clamp(96px, 12vw, 190px); }
.carte__mascotte > div { will-change: transform; }

.happy { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding: clamp(22px, 2.6vw, 32px); padding-right: clamp(84px, 8vw, 112px); background: var(--noir); color: var(--beige); box-shadow: 7px 7px 0 var(--rouge); }
.happy__surtitre { font-family: var(--titre); font-size: 12px; letter-spacing: .3em; color: var(--rouge); text-transform: uppercase; }
.happy__heures { font-family: var(--titre); font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -.01em; }
.happy__note { font-size: 15px; line-height: 1.6; color: rgba(255, 251, 243, .85); }
.happy .statut { margin-top: 6px; }
.happy__badge { position: absolute; top: -30px; right: max(-14px, 10px - var(--gx)); display: grid; place-items: center; width: clamp(86px, 8vw, 114px); aspect-ratio: 1; transform: rotate(-9deg); animation: gigote 3.4s ease-in-out infinite; }
.happy__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--rouge); stroke: var(--noir); stroke-width: 3; stroke-linejoin: round; }
.happy__badge .ombre { fill: var(--noir); stroke: none; }
.happy__badge span { position: relative; font-family: var(--titre); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .04em; color: var(--beige); text-transform: uppercase; white-space: nowrap; }
.carte__grignotage { position: relative; height: clamp(90px, 9vw, 130px); }
.sticker--frites { left: 4%; top: 0; width: clamp(80px, 8vw, 120px); transform: rotate(-8deg); }
.sticker--hotdog { left: clamp(110px, 12vw, 170px); top: 6px; width: clamp(80px, 8vw, 120px); transform: rotate(10deg); }
.carte__reserver { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.carte__menu { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px); min-width: 0; }
.carte__barre { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; padding-bottom: 14px; border-bottom: 2px solid var(--noir); }
.carte__titre-menu { font-family: var(--titre); font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .14em; text-transform: uppercase; }
.bouton-pdf { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 12px 16px 10px; border: 2px solid var(--noir); font-family: var(--titre); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--noir); white-space: nowrap; }
.bouton-pdf:hover { color: var(--beige); background: var(--noir); }
.bouton-pdf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carte__pages { display: flex; flex-direction: column; gap: clamp(26px, 2.8vw, 40px); }
.page-carte { position: relative; display: block; width: 100%; padding: 0; border: 2px solid var(--noir); background: #fff; box-shadow: 6px 6px 0 var(--noir); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.page-carte:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--noir); }
.page-carte:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--noir); }
.page-carte img { width: 100%; }
.page-carte__loupe { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 11px 7px; background: var(--noir); color: var(--beige); font-family: var(--titre); font-size: 11px; line-height: 1; letter-spacing: .14em; }
.page-carte__loupe svg { width: 14px; height: 14px; fill: none; stroke: var(--rouge); stroke-width: 2.8; stroke-linecap: round; }
.carte__points { display: none; align-items: center; gap: 6px; margin-top: -6px; }
.carte__points span { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .25); transition: width .3s ease, background-color .3s ease; }
.carte__points span.actif { width: 22px; background: var(--rouge); }
.carte__points p { margin-left: auto; }

/* Mobile : les pages défilent horizontalement, avec des points de position */
@media (max-width: 959px) {
  .carte__pages { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gx)); padding: 2px var(--gx) 12px; scroll-padding: 0 var(--gx); }
  .carte__pages::-webkit-scrollbar { display: none; }
  .page-carte { scroll-snap-align: start; }
  .carte__points { display: flex; }
}

/* ——— Visionneuse plein écran ——— */
.visionneuse { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #1a1a1a; color: var(--beige); }
.visionneuse[open] { display: flex; flex-direction: column; animation: apparait .25s var(--ressort) both; }
.visionneuse::backdrop { background: #1a1a1a; }
.visionneuse__haut, .visionneuse__bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px clamp(12px, 3vw, 32px); background: var(--noir); }
.visionneuse__haut { padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 2px solid var(--rouge); }
.visionneuse__haut p { font-family: var(--titre); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.visionneuse__outils { display: flex; align-items: center; gap: 8px; }
.visionneuse__bas { padding-bottom: max(10px, env(safe-area-inset-bottom)); border-top: 2px solid rgba(255, 251, 243, .2); }
.visionneuse__bas .mono { color: rgba(255, 251, 243, .7); text-align: center; }
.visionneuse__zone { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(12px, 2vw, 28px); }
.visionneuse__image { width: auto; max-width: 100%; max-height: 100%; margin: 0 auto; background: #fff; box-shadow: 0 0 0 2px var(--noir); cursor: zoom-in; }
.visionneuse__zone.est-zoomee .visionneuse__image { width: 200%; max-width: none; max-height: none; cursor: zoom-out; }
.bouton-sombre { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px 9px; background: transparent; border: 2px solid var(--beige); color: var(--beige); font-family: var(--titre); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.bouton-sombre:hover { border-color: var(--rouge); color: var(--rouge); }
.bouton-sombre:disabled { opacity: .3; cursor: default; }
.bouton-sombre--rouge { background: var(--rouge); border-color: var(--rouge); }
.bouton-sombre--rouge:hover { color: var(--noir); background: var(--beige); border-color: var(--beige); }
@media (min-width: 960px) { .visionneuse__zone.est-zoomee .visionneuse__image { width: min(1500px, 140%); } }
/* Galerie photos, afterwork et événements, section fidélité (renvoi vers l'app carte.ptitphilou.fr). */
.photos__contenu { display: flex; flex-direction: column; gap: clamp(32px, 4.5vw, 72px); max-width: var(--largeur); margin: 0 auto; }
.photos__entete { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 64px); align-items: end; }
.photo { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ressort), box-shadow .45s ease; }
.photo img:hover { transform: perspective(1100px) rotateX(2deg) translateY(-8px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .45); }
.photo figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(0, 0, 0, .6); }
.photos__defile { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(76vw, 280px), 1fr); gap: clamp(16px, 2.4vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: -16px calc(-1 * var(--gx)) -40px; padding: 16px var(--gx) 40px; scroll-padding: 0 var(--gx); }
.photos__defile::-webkit-scrollbar { display: none; }
.photos__defile .photo { scroll-snap-align: start; }
.photos__defile img { aspect-ratio: 2 / 3; }
.photos__aide { display: none; margin-top: -12px; }
@media (max-width: 959px) { .photos__aide { display: block; } }
/* Ordinateur : les photos en grille de 3, sans défilement */
@media (min-width: 960px) { .photos__defile { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }

/* ——— Afterwork & événements ——— */
.evenements { position: relative; overflow: hidden; }
.occasions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.occasions li { padding: 11px 14px 9px; border: 2px solid var(--noir); font-family: var(--titre); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.equipements { display: grid; gap: 12px; max-width: 560px; margin: 0; padding: 0; list-style: none; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; }
.equipements li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 12px; border-top: 2px solid var(--noir); }
.equipements strong { font-weight: 800; }
.evenements__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
/* Les deux jeux du bar, l'un au-dessus de l'autre, décalés de part et d'autre. */
.evenements__visuel { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 2vw, 24px); }
.evenements__visuel .sticker { position: relative; }
.sticker--flechettes { align-self: flex-end; width: clamp(150px, 17vw, 250px); margin-right: 6%; transform: rotate(10deg); }
.sticker--babyfoot { align-self: flex-start; width: clamp(160px, 18vw, 260px); margin-left: 6%; transform: rotate(-8deg); }

/* ——— Fidélité ——— */
.photos, .fidelite { position: relative; overflow: hidden; }
.fidelite .visuel { order: 2; }
.fidelite__texte { order: 1; }
.fidelite__surtitre { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.etiquette { display: inline-block; white-space: nowrap; font-family: var(--titre); font-size: 11px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--beige); background: var(--noir); padding: 6px 12px 5px; }
.etapes { display: grid; gap: 14px; max-width: 560px; margin: 0; padding: clamp(22px, 3vw, 40px); padding-left: calc(clamp(22px, 3vw, 40px) + 1.4em); border: 2px solid var(--noir); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; }
.etapes li::marker { font-family: var(--titre); color: var(--rouge); }
.etapes strong { font-weight: 800; }
.fidelite__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fidelite__actions .bouton { white-space: normal; } /* « Rejoindre la fidélité » passe sur deux lignes sous 376 px */
.sticker--citron { top: 6%; left: 6%; width: clamp(80px, 9vw, 130px); transform: rotate(-10deg); }
/* Pied de page : infos pratiques, horaires du jour en rouge, mentions. */
.infos { background: var(--noir); color: var(--beige); padding: clamp(72px, 10vw, 170px) var(--gx) 40px; }
.infos__contenu { max-width: var(--largeur); margin: 0 auto; }
.infos .titre { margin-bottom: clamp(40px, 6vw, 90px); }
.infos__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(36px, 4vw, 56px); }
.infos__bloc { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--rouge); padding-top: 20px; }
.infos__surtitre { margin-bottom: 4px; font-family: var(--titre); font-size: 12px; letter-spacing: .28em; color: var(--rouge); text-transform: uppercase; }
.infos__fort { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; font-weight: 700; }
.infos__note { font-size: 15px; line-height: 1.6; color: rgba(255, 251, 243, .8); }
.infos__telephone { align-self: flex-start; font-family: var(--titre); font-size: clamp(22px, 1.7vw, 27px); line-height: 1.1; letter-spacing: 0; color: var(--beige); font-variant-numeric: tabular-nums; white-space: nowrap; border-bottom: 3px solid var(--rouge); padding-bottom: 4px; }
.infos__telephone:hover, .infos__insta:hover { color: var(--rouge); }
.infos__insta { align-self: flex-start; padding: 4px 0; font-size: clamp(18px, 1.4vw, 22px); font-weight: 800; color: var(--beige); }
.horaires { display: flex; flex-direction: column; }
.horaires[hidden] { display: none; }
.horaires div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 251, 243, .14); font-size: 15px; font-weight: 600; }
.horaires dd { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.horaires div.est-ferme { color: rgba(255, 251, 243, .55); }
.horaires div.est-aujourdhui { color: var(--rouge); font-weight: 800; }
.horaires div.est-aujourdhui dt::after { content: ' · auj.'; }
.infos__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 110px); padding-top: 28px; border-top: 2px solid rgba(255, 251, 243, .35); }
.infos__pied img { height: clamp(38px, 3.6vw, 52px); width: auto; }
.infos__pied .mono { max-width: 62ch; color: rgba(255, 251, 243, .68); }
