/* Le Platane : nuit, enseigne rouge et alu, briques, tôle noire, suspensions émaillées */
:root {
  --nuit: #14110e;
  --tole: #1f1c19;
  --mur: #2c2722;
  --rouge: #d42a1e;
  --rouge-vif: #ff6252;
  --rouge-fonce: #7c140d;
  --brique: #a9532f;
  --alu: #d3cfc8;
  --alu-ombre: #6f6a63;
  --creme: #f3ece3;
  --creme-2: #e8dfd3;
  --encre: #1b1714;
  --encre-2: #5a5047;
  --rouge-txt: #b01e14;
  --titre: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--nuit); color: var(--creme); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--creme); color: var(--encre); padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid #ffd27a; outline-offset: 3px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.eyebrow { font-family: var(--texte); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rouge-vif); margin: 0 0 .6rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75rem 1.4rem; border-radius: 2px; font-weight: 700; text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-rouge { background: var(--rouge); color: #fff; box-shadow: 0 4px 0 var(--rouge-fonce); }
.btn-rouge:hover { background: #b9231a; }
.btn-ligne { border-color: var(--alu); color: var(--creme); }
.btn-ligne:hover { background: var(--creme); color: var(--encre); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .9rem; }
.btn-bloc { width: 100%; }

/* Lettres en relief, comme l'enseigne */
.titre-relief, .relief-titre, .logo, .f-logo { font-family: var(--titre); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .01em; }
.relief-titre { font-size: clamp(2.3rem, 6vw, 4.4rem); margin: 0 0 1.2rem; color: var(--creme); text-shadow: 1px 1px 0 var(--alu-ombre), 2px 2px 0 var(--alu-ombre), 3px 3px 0 #3d3833, 4px 4px 0 #3d3833, 8px 10px 18px rgba(0,0,0,.45); }
.relief-alu { color: var(--alu); text-shadow: 1px 1px 0 #8a857e, 2px 2px 0 #77726b, 3px 3px 0 #5f5a54, 5px 6px 10px rgba(0,0,0,.5); }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: .7rem clamp(16px, 3vw, 36px); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(20,17,14,.92); box-shadow: 0 1px 0 rgba(211,207,200,.15); }
.logo { font-size: 1.7rem; text-decoration: none; display: flex; gap: .25em; }
.logo-le, .f-logo .logo-le { color: #fff; text-shadow: 1px 1px 0 #8a857e, 2px 2px 0 #5f5a54; }
.logo-pl { color: var(--rouge); text-shadow: 1px 1px 0 var(--rouge-fonce), 2px 2px 0 var(--rouge-fonce); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--creme); }
.nav a:hover { color: var(--rouge-vif); }

/* 1. Entrée */
.entree { position: relative; }
.entree-stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0b0907; }
.e-dev-wrap, .e-salle, .e-dev, .e-ombre { position: absolute; inset: 0; }
.e-dev-wrap img, .e-salle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.e-dev-wrap { transform-origin: 46% 64%; }
.e-dev-fantome { position: absolute; inset: 0; opacity: 0; filter: grayscale(.6) brightness(.5); }
.e-salle { opacity: 0; visibility: hidden; }
.e-salle img { object-position: 45% 55%; }
.e-ombre { background: linear-gradient(180deg, rgba(11,9,7,.55) 0%, rgba(11,9,7,.25) 40%, rgba(11,9,7,.85) 100%); }
.lampe { position: absolute; left: 50%; top: 0; width: 120px; margin-left: -60px; z-index: 3; pointer-events: none; display: none; }
.lampe svg { display: block; width: 120px; height: auto; }
.lampe-swing { transform-origin: 60px 0; position: relative; }
.lampe-halo { position: absolute; left: 50%; top: 92%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,170,.75), rgba(255,180,120,.18) 40%, transparent 70%); opacity: 0; }
.e-titre { position: absolute; inset: auto 0 0; z-index: 4; padding: 0 clamp(16px, 5vw, 72px) clamp(56px, 10vh, 110px); max-width: 980px; }
.kicker { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--alu); margin: 0 0 .8rem; }
.titre-relief { font-size: clamp(4rem, 14vw, 11.5rem); margin: 0; display: flex; flex-wrap: wrap; gap: 0 .18em; }
.t-le { color: #fff; text-shadow: 1px 1px 0 #a9a49c, 2px 2px 0 #8a857e, 3px 3px 0 #77726b, 4px 4px 0 #5f5a54, 5px 5px 0 #4a453f, 10px 14px 24px rgba(0,0,0,.6); }
.t-platane { color: var(--rouge); text-shadow: 1px 1px 0 #a91d14, 2px 2px 0 #96180f, 3px 3px 0 #82140c, 4px 4px 0 #6e100a, 5px 5px 0 #5a0c07, 10px 14px 24px rgba(0,0,0,.6), 0 0 34px rgba(255,70,50,.35); }
.enseigne { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: .06em; margin: .5rem 0 1rem; }
.enseigne i { font-style: normal; color: var(--rouge-vif); text-shadow: none; padding: 0 .2em; }
.e-sub { max-width: 34em; margin: 0 0 1.4rem; color: #efe7dd; }
.e-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.e-hint { display: none; position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; z-index: 4; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--alu); margin: 0; }
.e-hint span { display: inline-block; }
.motion .lampe, .motion .e-hint { display: block; }
.motion .e-dev-fantome { opacity: .1; }

/* 2. Maison */
.maison { background: var(--creme); color: var(--encre); padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.maison::before { content: ""; position: absolute; inset: 0 0 auto; height: 14px; background: repeating-linear-gradient(90deg, var(--brique) 0 46px, #8c4224 46px 48px); opacity: .9; }
.maison .eyebrow { color: var(--rouge-txt); }
.maison .relief-titre { color: var(--rouge); text-shadow: 1px 1px 0 #a91d14, 2px 2px 0 #82140c, 3px 3px 0 #5a0c07, 6px 8px 14px rgba(0,0,0,.18); }
.maison-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.maison-txt p { color: #2f2924; }
.reperes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 2rem 0 0; }
.reperes li { background: var(--encre); color: var(--creme); padding: 1rem; display: flex; flex-direction: column; border-bottom: 4px solid var(--rouge); }
.reperes strong { font-family: var(--titre); font-weight: 900; font-size: 2.1rem; line-height: 1; text-transform: uppercase; }
.reperes span { font-size: .85rem; color: #d9d0c5; }
.maison-photo { margin: 0; perspective: 1200px; }
.maison-cadre { overflow: hidden; box-shadow: 0 30px 60px -20px rgba(27,23,20,.5); transform-origin: 0 50%; }
.maison-cadre img { width: 100%; aspect-ratio: 1440 / 880; object-fit: cover; }
.maison-photo figcaption { font-size: .85rem; color: var(--encre-2); margin-top: .6rem; }

/* 3. Carte et borne */
.carte { background: var(--tole); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px, rgba(0,0,0,.25) 26px 28px, transparent 28px 52px); padding: clamp(80px, 11vw, 140px) 0; }
.carte-tete { max-width: 760px; margin-bottom: 2.4rem; }
.carte-intro { color: #e3dbd1; }
.carte-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.onglets { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.js .onglets { display: flex; }
.onglets button { background: transparent; border: 2px solid #5f5a54; color: var(--creme); padding: .55rem 1rem; min-height: 44px; font-family: var(--titre); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.onglets button[aria-selected="true"] { background: var(--rouge); border-color: var(--rouge); color: #fff; box-shadow: 0 4px 0 var(--rouge-fonce); }
.panneau { margin-bottom: 2rem; }
.js .panneau[hidden] { display: none; }
.panneau h3 { font-family: var(--titre); font-weight: 900; text-transform: uppercase; font-size: 2rem; margin: 0 0 .3rem; color: var(--alu); }
.panneau-note { color: #cfc6bb; font-size: .95rem; margin: 0 0 1rem; }
.plats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.plat { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "nom prix btn" "desc desc btn"; align-items: center; column-gap: 12px; padding: .8rem 0; border-bottom: 1px dashed rgba(211,207,200,.25); }
.plat .nom { grid-area: nom; font-weight: 700; font-size: 1.05rem; }
.plat .desc { grid-area: desc; font-size: .88rem; color: #c9c0b5; }
.plat .prix { grid-area: prix; font-family: var(--titre); font-weight: 800; font-size: 1.4rem; color: var(--rouge-vif); white-space: nowrap; }
.ajout { grid-area: btn; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--rouge); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: none; }
.js .ajout { display: inline-flex; align-items: center; justify-content: center; }
.ajout:hover { background: var(--rouge); }
.ajout.pris { background: var(--rouge); transform: scale(1.08); }
.plats-pizzas .plat { grid-template-columns: 1fr auto; grid-template-areas: "nom tailles"; }
.tailles { grid-area: tailles; display: flex; gap: 6px; }
.taille { min-height: 44px; padding: .3rem .7rem; border: 2px solid var(--rouge); background: transparent; color: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.taille:hover { background: var(--rouge); }
.source { font-size: .85rem; color: #c9c0b5; border-left: 3px solid var(--rouge); padding-left: .9rem; max-width: 60em; }

.borne { display: none; position: sticky; top: 90px; }
.js .borne { display: block; }
.borne-neon { font-family: var(--titre); font-weight: 800; text-transform: uppercase; text-align: center; font-size: 1.9rem; line-height: .95; color: #ffd9d3; text-shadow: 0 0 4px #ff6252, 0 0 12px #ff3b2b, 0 0 26px #e2261b; margin-bottom: 12px; }
.borne-corps { background: #f2efe9; color: var(--encre); border-radius: 22px 22px 8px 8px; padding: 16px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.7), inset 0 -6px 0 #d6d1c8; }
.borne-bascule { display: none; width: 100%; background: var(--encre); color: var(--creme); border: 0; padding: .7rem 1rem; min-height: 48px; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; border-radius: 6px; }
.borne-ecran { background: #120f0c; color: #f0e9df; border-radius: 6px; padding: 14px; min-height: 230px; display: flex; flex-direction: column; border: 6px solid #2b2722; }
.borne-vide { color: #bdb3a7; font-size: .92rem; margin: 0; }
.borne-liste { list-style: none; padding: 0; margin: 0; max-height: 280px; overflow: auto; }
.borne-liste li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.borne-liste .q { font-family: var(--titre); font-weight: 800; color: var(--rouge-vif); font-size: 1.2rem; }
.borne-liste .p { font-weight: 600; white-space: nowrap; }
.borne-liste .moins { width: 32px; height: 32px; border: 1px solid #6a625a; background: transparent; color: #f0e9df; border-radius: 50%; cursor: pointer; }
.borne-total { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--rouge); }
.borne-somme { font-family: var(--titre); font-size: 2rem; font-weight: 900; color: #fff; }
.borne-effacer { margin-top: .6rem; align-self: flex-start; background: none; border: 0; color: #d0c6ba; text-decoration: underline; cursor: pointer; padding: .3rem 0; min-height: 32px; }
.borne-tpe { padding-top: 14px; }
.borne-tpe p { font-size: .82rem; color: #4a423b; margin: .7rem 0 0; }
.vol { position: fixed; z-index: 80; pointer-events: none; background: var(--rouge); color: #fff; font-weight: 700; font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }

/* 4. Salle */
.salle { background: #0f0d0b; padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.salle-intro { color: #d9d0c5; max-width: 40em; }
.rampe { display: flex; justify-content: space-around; width: min(100% - 32px, var(--wrap)); margin: 2rem auto 0; height: 70px; }
.r-lampe { position: relative; width: 56px; height: 70px; transform-origin: 50% 0; }
.r-lampe::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 44px; background: #6f6a63; }
.r-lampe::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 26px; background: var(--rouge); border-radius: 28px 28px 2px 2px; box-shadow: 0 14px 40px 6px rgba(255,200,140,.25); }
.mur { list-style: none; padding: 0; margin-top: 1rem; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 14px; }
.m { position: relative; }
.m1 { grid-column: 1 / span 4; grid-row: span 3; }
.m2 { grid-column: 5 / span 2; grid-row: span 3; }
.m3 { grid-column: 1 / span 2; grid-row: span 2; }
.m4 { grid-column: 3 / span 2; grid-row: span 2; }
.m5 { grid-column: 5 / span 2; grid-row: span 4; }
.m6 { grid-column: 1 / span 2; grid-row: span 2; }
.m7 { grid-column: 3 / span 2; grid-row: span 2; }
.photo { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo:hover img { transform: scale(1.04); }

/* 5. Note */
.note { background: var(--rouge); color: #fff; padding: clamp(70px, 10vw, 120px) 0; overflow: hidden; }
.note-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.note-chiffre { font-family: var(--titre); font-weight: 900; font-size: clamp(8rem, 22vw, 16rem); line-height: .8; color: #fff; display: flex; perspective: 800px; text-shadow: 2px 2px 0 #c9c4bc, 4px 4px 0 #a9a49c, 6px 6px 0 #77726b, 8px 8px 0 #4a453f, 16px 20px 30px rgba(0,0,0,.35); }
.n-ch { display: inline-block; transform-origin: 50% 0; }
.note .eyebrow { color: #fff; }
.note .relief-titre { color: #fff; text-shadow: 1px 1px 0 #8f170f, 2px 2px 0 #7c140d, 3px 3px 0 #5a0c07; }
.note p { color: #fff; max-width: 34em; }
.note .btn-rouge { background: var(--nuit); box-shadow: 0 4px 0 #000; }
.note .btn-rouge:hover { background: #000; }

/* 6. Venir */
.venir { background: var(--creme); color: var(--encre); padding: clamp(80px, 11vw, 140px) 0; }
.venir .eyebrow { color: var(--rouge-txt); }
.venir .relief-titre { color: var(--encre); text-shadow: 1px 1px 0 #a9a49c, 2px 2px 0 #8a857e, 3px 3px 0 #77726b; }
.venir-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.etat { font-weight: 700; margin: 0 0 1rem; color: var(--encre); }
.etat.ouvert::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #1d7a3a; margin-right: .5em; }
.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid #d3c9bd; font-weight: 500; }
.horaires th { font-weight: 700; width: 7.5em; }
.horaires td:nth-child(2) { white-space: nowrap; width: 8em; }
.horaires tr.today { background: var(--encre); color: var(--creme); }
.horaires tr.today th, .horaires tr.today td { border-color: var(--encre); }
.barre-cell { width: 45%; }
.barre { display: block; position: relative; height: 10px; background: #e0d6ca; }
.barre::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--debut, 0%); right: 5.9%; background: var(--rouge); transform-origin: 0 50%; transform: scaleX(var(--s, 1)); }
.today .barre { background: #3d3630; }
.petit { font-size: .85rem; color: var(--encre-2); }
.today .petit { color: inherit; }
.adresse { font-family: var(--titre); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; margin: 0 0 1.2rem; }
.acces-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.venir .btn-ligne { border-color: var(--encre); color: var(--encre); }
.venir .btn-ligne:hover { background: var(--encre); color: var(--creme); }
.plan { aspect-ratio: 4 / 3; background: #d8cfc3; border: 6px solid var(--encre); }
.plan iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pied */
.site-footer { background: var(--nuit); color: #d9d0c5; padding: 60px 0 120px; font-size: .92rem; }
.f-logo { font-size: 3rem; margin: 0 0 1rem; display: flex; gap: .2em; }
.credits { font-size: .82rem; color: #b9b0a5; max-width: 60em; }
.cta-mobile { display: none; }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,8,6,.92); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 60px 16px; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox button { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--alu); background: rgba(20,17,14,.8); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Responsive */
@media (max-width: 960px) {
  .carte-grid { grid-template-columns: 1fr; }
  .borne { position: sticky; top: auto; bottom: 78px; z-index: 30; display: none; }
  .js .borne { display: block; }
  .borne-neon { display: none; }
  .borne-corps { border-radius: 10px; padding: 8px; }
  .borne-bascule { display: flex; }
  .borne-ecran, .borne-tpe { display: none; }
  .borne.ouverte .borne-ecran, .borne.ouverte .borne-tpe { display: flex; }
  .borne.ouverte .borne-tpe { display: block; }
  .borne-ecran { margin-top: 8px; min-height: 0; }
  .borne-liste { max-height: 34vh; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-tel { margin-left: auto; }
  .maison-grid, .venir-grid, .note-grid { grid-template-columns: 1fr; }
  .plats { grid-template-columns: 1fr; }
  .mur { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .m1 { grid-column: 1 / span 2; grid-row: span 2; }
  .m2, .m3, .m4, .m6, .m7 { grid-column: auto; grid-row: span 2; }
  .m5 { grid-column: auto; grid-row: span 2; }
  .rampe .r-lampe:nth-child(n+4) { display: none; }
  .cta-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 60; background: var(--nuit); border-top: 1px solid #3d3833; }
  .cta-mobile a { display: flex; align-items: center; justify-content: center; min-height: 58px; font-weight: 700; text-decoration: none; letter-spacing: .03em; }
  .cta-mobile a:first-child { background: var(--rouge); color: #fff; }
  .site-footer { padding-bottom: 110px; }
}
@media (max-width: 520px) {
  .logo { font-size: 1.4rem; }
  .reperes { grid-template-columns: 1fr; }
  .reperes li { flex-direction: row; align-items: baseline; gap: .7rem; }
  .barre-cell { display: none; }
  .e-cta .btn { flex: 1 1 100%; }
  .e-titre { padding-bottom: 92px; }
  .e-dev-wrap img { object-position: 30% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .photo img { transition: none; }
}
