/* Bánh Mì Ngon — BRAND.md fait foi. Mobile d'abord. */
:root{
  --herbe:#176631;      /* 60 % : vert herbes fraîches */
  --herbe-2:#24904A;    /* surfaces sur herbe */
  --nuit:#0D2B17;       /* texte sur clair, pied */
  --pousse:#E6F5D3;     /* 30 % : sections claires (vert pousse, pas crème) */
  --pousse-2:#D3EDB8;
  --vive:#7BD34B;       /* coriandre vive : accents sur herbe/nuit */
  --piment:#C21F27;     /* 10 % : l'action, texte blanc */
  --piment-fonce:#A0161D;
  --or:#E8C35A;         /* touche du logo doré */
  --menthe:#CDEBC0;     /* texte secondaire sur herbe */
  --blanc:#FFFFFF;
  --r:18px;
  --ease:cubic-bezier(.22,1,.36,1);
  --pad:clamp(18px,5vw,56px);
  --f:"Be Vietnam Pro",system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;background:var(--herbe);color:var(--blanc);font:400 1.0625rem/1.55 var(--f);overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{margin:0;font-weight:900;line-height:1;letter-spacing:-.035em;text-wrap:balance}
h2{font-size:clamp(2.2rem,10vw,4.4rem)}
h2 span{display:block;color:var(--vive)}
p{margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;background:var(--blanc);color:var(--nuit);padding:10px 14px;border-radius:8px;z-index:60}
.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--or);outline-offset:3px}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;border:2px solid transparent;font:700 1rem/1 var(--f);text-decoration:none;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;transition:transform .12s var(--ease),background-color .15s}
.btn:active{transform:scale(.97)}
.btn-piment{background:var(--piment);color:var(--blanc)}
.btn-piment:active{background:var(--piment-fonce)}
.btn-ligne{background:transparent;border-color:currentColor;color:inherit}
.btn-large{width:100%;min-height:56px}
@media (hover:hover) and (pointer:fine){
  .btn-piment:hover{background:var(--piment-fonce)}
  .top-nav a:hover{color:var(--vive)}
  .ajout:hover{background:var(--piment-fonce)}
}

/* En-tête */
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:8px var(--pad);padding-top:max(8px,env(safe-area-inset-top));background:rgba(13,43,23,.86);backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%)}
.marque{display:flex;flex-direction:column;justify-content:center;min-height:44px;margin-right:auto;text-decoration:none;line-height:1.05}
.marque b{font-weight:900;font-size:1.25rem;letter-spacing:-.03em;color:var(--or)}
.marque small{font-size:.75rem;margin-top:3px;color:var(--menthe);letter-spacing:.02em}
.top-nav{display:none}
.btn-top{min-height:42px;padding:0 18px;font-size:.9375rem}

/* Héros : la photo dans une baguette */
.hero{padding:14px var(--pad) 34px;display:grid;justify-items:start;gap:14px}
.hero-etat{font-size:.875rem;color:var(--menthe)}
.pastille-etat::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--menthe);margin-right:8px;vertical-align:1px}
.pastille-etat.ouvert::before{background:var(--vive);box-shadow:0 0 0 4px rgba(123,211,75,.25)}
.hero h1{font-size:clamp(2.6rem,13vw,6.4rem);line-height:.92}
.hero h1 span{color:var(--vive)}
.baguette{margin:0;width:100%;border-radius:999px;overflow:hidden;aspect-ratio:2.1/1;box-shadow:0 18px 40px rgba(0,0,0,.28);background:var(--nuit)}
.baguette img{width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.hero-sous{font-size:1.125rem;font-weight:500;max-width:34ch}
.hero-long{display:none}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.note{display:inline-block;padding:12px 0;font-size:.9375rem;color:var(--menthe);text-underline-offset:4px}
.note b{color:var(--blanc)}

/* Les couches : moment signature */
.couches{background:var(--nuit);padding:56px var(--pad)}
.couches-tete{margin-bottom:26px}
.sur{font-size:.8125rem;text-transform:uppercase;letter-spacing:.12em;color:var(--or);font-weight:700;margin-bottom:10px}
.pile{list-style:none;margin:0 auto;padding:0;max-width:560px;display:grid;gap:14px;transition:gap .9s var(--ease)}
.pile.posee{gap:3px}
.c{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:10px 18px;border-radius:12px;font-weight:700;font-size:.9688rem;color:var(--nuit);transform:translateX(var(--dx,0));transition:transform .8s var(--ease)}
.c i{font-style:normal;font-weight:500;font-size:.8125rem;opacity:.75;white-space:nowrap}
.c-pain-haut{background:#D9A55B;border-radius:60px 60px 14px 14px;min-height:60px}
.c-coriandre{background:var(--vive);--dx:-10px}
.c-piment{background:#CF3532;color:var(--blanc);--dx:12px}
.c-concombre{background:#C9E8A0;--dx:-6px}
.c-pickles{background:#F2A35B;--dx:8px}
.c-viande{background:#8A4A26;color:var(--blanc);min-height:58px}
.c-pate{background:#EBD3A6}
.c-pain-bas{background:#C98F45;border-radius:14px 14px 50px 50px;min-height:52px}
.pile.posee .c{--dx:0}
.couches-note{margin-top:22px;color:var(--menthe);text-align:center}

/* Commander */
.commander{background:var(--pousse);color:var(--nuit);padding:56px var(--pad) 48px;display:grid;gap:30px}
.commander h2{color:var(--herbe)}
.cmd-tete p{margin-top:12px;max-width:52ch}
.cmd-bloc h3{font-size:1.6rem;margin-bottom:12px}
.tuiles{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.tuile{display:grid;grid-template-columns:96px 1fr;gap:12px;background:var(--blanc);border-radius:var(--r);padding:10px;align-items:start}
.tuile img{width:96px;height:96px;object-fit:cover;border-radius:12px}
.tuile-sans-photo{grid-template-columns:1fr}
.t-nom{font-weight:800;font-size:1.0625rem;letter-spacing:-.01em}
.t-desc{font-size:.875rem;color:#3D5A45;margin-top:2px}
.t-options{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.opt{min-height:40px;padding:0 12px;border-radius:999px;border:1.5px solid var(--pousse-2);background:var(--pousse);color:var(--nuit);font:600 .8125rem/1 var(--f);cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.opt[aria-pressed="true"]{background:var(--nuit);border-color:var(--nuit);color:var(--blanc)}
.t-bas{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.qte{display:flex;align-items:center;gap:6px}
.qte button{width:44px;height:44px;border-radius:50%;border:2px solid var(--herbe);background:transparent;color:var(--herbe);font:800 1.25rem/1 var(--f);cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.qte .ajout{background:var(--piment);border-color:var(--piment);color:var(--blanc)}
.qte span{min-width:22px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}
.liste{list-style:none;margin:0;padding:0;display:grid;background:var(--blanc);border-radius:var(--r);padding:4px 14px}
.ligne{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--pousse)}
.ligne:last-child{border-bottom:0}
.l-nom{font-weight:700}
.l-desc{display:block;font-weight:400;font-size:.875rem;color:#3D5A45}
.cafe{margin:-4px 0 12px;font-size:.9375rem;color:#3D5A45;max-width:56ch}
.cmd-note{font-size:.875rem;color:#3D5A45}
.heure{background:var(--blanc);border-radius:var(--r);padding:20px;display:grid;gap:14px;scroll-margin-top:90px}
.heure h3{font-size:1.8rem}
.recap{font-size:.9375rem;color:#3D5A45}
.recap b{color:var(--nuit)}
.jours,.creneaux{display:flex;flex-wrap:wrap;gap:8px}
.choix{min-height:44px;padding:0 14px;border-radius:999px;border:2px solid var(--herbe);background:transparent;color:var(--herbe);font:700 .9375rem/1 var(--f);font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.choix[aria-checked="true"]{background:var(--herbe);color:var(--blanc)}
.choix:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed}
.champ{display:grid;gap:6px;font-weight:600;font-size:.9375rem}
.champ input{min-height:50px;padding:12px 14px;border-radius:12px;border:2px solid var(--pousse-2);background:var(--pousse);color:var(--nuit);font:400 16px/1.4 var(--f)}
.champ input:focus{outline:none;border-color:var(--herbe)}
.champ input[aria-invalid="true"]{border-color:var(--piment)}
.erreur{color:var(--piment);font-weight:600;font-size:.9375rem}
.merci{background:var(--herbe);color:var(--blanc);border-radius:var(--r);padding:24px;display:grid;gap:10px}
.merci:focus{outline:none}
.merci-num{font-size:3.6rem;font-weight:900;letter-spacing:-.04em;color:var(--vive);line-height:1}
.merci h3{font-size:1.8rem}
.merci .btn{justify-self:start}

/* Sac (barre du bas) */
.sac{position:fixed;z-index:40;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 20px;border-radius:999px;background:var(--nuit);color:var(--blanc);box-shadow:0 12px 30px rgba(0,0,0,.35);transition:transform .3s var(--ease)}
.sac.cache{transform:translateY(150%)}
.sac-txt{font-weight:600}
.sac-txt b{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:999px;background:var(--vive);color:var(--nuit);margin-right:4px}

/* Salle */
.salle{padding:56px var(--pad);display:grid;gap:20px}
.salle img{border-radius:var(--r);width:100%;aspect-ratio:4/3;object-fit:cover}
.salle p{color:var(--menthe);margin-top:12px;max-width:50ch}

/* Avis */
.avis{background:var(--nuit);padding:56px var(--pad);display:grid;gap:10px;justify-items:start}
.avis-chiffre{font-size:clamp(5rem,26vw,9rem);font-weight:900;letter-spacing:-.05em;line-height:.85;color:var(--or)}
.avis-chiffre small{font-size:.3em;color:var(--menthe);letter-spacing:0}
.avis h2{font-size:clamp(1.8rem,7vw,2.6rem)}
.avis p{color:var(--menthe);max-width:52ch}
.lien{color:var(--vive);font-weight:700;text-underline-offset:4px;display:inline-block;padding:10px 0}

/* Infos */
.infos{background:var(--pousse);color:var(--nuit);padding:56px var(--pad);display:grid;gap:18px}
.infos h2{color:var(--herbe)}
.infos-etat{font-weight:700;font-size:1.125rem}
.horaires{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.horaires th,.horaires td{padding:9px 6px 9px 0;border-bottom:1px solid var(--pousse-2);text-align:left;font-weight:400;white-space:nowrap}
.horaires thead th{font-size:.8125rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#3D5A45}
.horaires tr.auj th,.horaires tr.auj td{font-weight:800;background:var(--pousse-2)}
.adresse{display:grid;gap:8px}
.adresse-rue{font-size:1.6rem;font-weight:900;letter-spacing:-.03em;line-height:1.05}
.adresse-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}

/* Pied */
.pied{background:var(--nuit);color:var(--menthe);padding:48px var(--pad) calc(110px + env(safe-area-inset-bottom));font-size:.875rem;display:grid;gap:10px}
.pied-mot{font-size:clamp(5rem,32vw,16rem);font-weight:900;letter-spacing:-.06em;line-height:.9;color:var(--vive);padding-bottom:.08em}
.pied-trad{font-size:1rem;color:var(--blanc);margin-bottom:12px}
.pied a{color:var(--blanc)}
.pied-maquette{opacity:.7}

.page-texte{padding:32px var(--pad) 64px;max-width:720px;display:grid;gap:16px;color:var(--menthe)}
.page-texte h1{font-size:clamp(2.2rem,9vw,3.4rem);color:var(--blanc)}

@media (max-height:600px) and (max-width:480px){
  .hero{gap:10px;padding-top:8px}
  .hero-etat{display:none}
  .hero h1{font-size:2.5rem}
  .hero-sous{font-size:1rem}
}

@media (min-width:700px){
  .tuiles{grid-template-columns:1fr 1fr}
  .salle{grid-template-columns:1.2fr 1fr;align-items:center}
  .infos{grid-template-columns:1.3fr 1fr;align-items:start;column-gap:48px}
  .infos h2,.infos-etat{grid-column:1/-1}
  .sac{left:auto;right:24px;width:380px}
}

@media (min-width:960px){
  .top-nav{display:flex;gap:26px;font-weight:600}
  .top-nav a{text-decoration:none;color:var(--menthe)}
  .hero{grid-template-columns:1fr 1fr;grid-template-areas:"etat photo" "titre photo" "sous photo" "actions photo";column-gap:56px;align-content:center;min-height:calc(100svh - 64px);padding-block:40px}
  .hero-etat{grid-area:etat;align-self:end}
  .hero h1{grid-area:titre}
  .hero-sous{grid-area:sous}
  .hero-long{display:inline}
  .hero-actions{grid-area:actions;align-self:start}
  .baguette{grid-area:photo;aspect-ratio:1/1.5;max-height:78svh;border-radius:999px;align-self:center}
  .couches{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;align-items:center;padding-block:96px}
  .couches-note{grid-column:2}
  .commander{grid-template-columns:1fr 1fr;column-gap:40px;align-items:start}
  .cmd-tete,.cmd-bloc:has(#banhmi),.cmd-note{grid-column:1/-1}
  .cmd-bloc:has(#banhmi) .cmd-photo{aspect-ratio:21/7}
  .tuiles{grid-template-columns:repeat(3,1fr)}
  .heure,.merci{grid-column:1/-1;max-width:760px}
  .avis{grid-template-columns:auto 1fr;column-gap:40px;align-items:end}
  .avis-chiffre{grid-row:1/5}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .pile,.c,.sac,.btn{transition:none}
  .pile{gap:3px}.c{--dx:0}
}
@media (prefers-reduced-transparency:reduce){
  .top{background:var(--nuit);backdrop-filter:none;-webkit-backdrop-filter:none}
}
.cmd-photo{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r);margin-bottom:12px}
