/* =========================================================
   Casa Panuozzo Marseille — maquette « trattoria vert & rose »
   Inspiration : sites de trattorias haut de gamme (bandeau
   photo plein écran, capitales fines espacées, signature
   manuscrite, tirets de couleur, tuiles photo à cartouche,
   colonnes de contact en aplats de couleur).
   Couleurs : vert de la façade Casa Panuozzo + rose de ses photos.
   Polices : Forum (titres), Mrs Saint Delafield (signature),
   Albert Sans (texte).
   ========================================================= */

:root {
  --blanc: #FFFDF8;
  --vert: #1D471D;
  --vert-2: #2C5E2C;
  --vert-pastel: #BFD8B5;
  --vert-pale: #EEF4EA;
  --rose: #C73A5E;
  --rose-2: #A92E4E;
  --rose-vif: #E8577A;
  --rose-pastel: #F7D6DD;
  --rose-pale: #FDF1F3;
  --texte: #2A332A;
  --muted: #5A6658;
  --line: rgba(29, 71, 29, .14);

  --f-titre: 'Forum', 'Times New Roman', serif;
  --f-script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
  --f-texte: 'Albert Sans', system-ui, sans-serif;

  --font-heading: var(--f-titre);
  --font-body: var(--f-texte);
  --color-bg: var(--blanc);
  --color-surface: #fff;
  --color-text: var(--texte);
  --color-text-muted: var(--muted);
  --color-accent: var(--rose);
  --color-accent-2: var(--vert-pastel);
  --color-border: var(--line);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-padding-top: 90px; }
body.tn { background: var(--blanc); color: var(--texte); font-family: var(--f-texte); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
body.tn h1, body.tn h2, body.tn h3 { font-family: var(--f-titre); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--vert); }
body.tn a { color: inherit; }
.tn [hidden] { display: none !important; }
.placeholder-flag { font-family: var(--f-texte); font-size: .74em; letter-spacing: 0; text-transform: none; vertical-align: .1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-ribbon { background: var(--vert-pale); color: var(--vert); font-size: .84rem; position: relative; z-index: 70; }
.demo-ribbon strong { color: var(--rose); }

/* signature manuscrite + tirets vert / rose */
.script { font-family: var(--f-script); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--rose); margin: 0 0 .2rem; letter-spacing: 0; text-transform: none; }
.dashes { display: flex; justify-content: center; gap: 22px; margin: 1.1rem 0 1.4rem; }
.dashes i { width: 34px; height: 4px; background: var(--vert-2); }
.dashes i + i { background: var(--rose-vif); }
.dashes--left { justify-content: flex-start; }

/* ---------- Boutons ---------- */
.btn-rose, .btn-vert, .btn-ghost-w, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.7rem;
  font-family: var(--f-titre); font-size: 1.02rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.tn .btn-rose { background: var(--rose); color: #fff; border-color: var(--rose); }
.tn .btn-rose:hover { background: var(--rose-2); border-color: var(--rose-2); }
.tn .btn-vert { background: var(--vert); color: #fff; border-color: var(--vert); }
.tn .btn-vert:hover { background: var(--vert-2); }
.tn .btn-ghost-w { color: #fff; border-color: rgba(255, 255, 255, .85); background: transparent; }
.tn .btn-ghost-w:hover { background: #fff; color: var(--vert); }
.tn .btn-line { color: var(--vert); border-color: var(--vert); background: transparent; }
.tn .btn-line:hover { background: var(--vert); color: #fff; }
.btn-rose[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.top { position: fixed; left: 0; right: 0; top: var(--ribbon-h, 37px); z-index: 50; transition: background .35s, box-shadow .35s, top .2s; }
.top-in { max-width: var(--max); margin: 0 auto; padding: .9rem var(--gutter); display: flex; align-items: center; gap: 2rem; }
.top-logo { background: var(--blanc); padding: 6px 12px; display: block; flex: 0 0 auto; }
.top-logo img { height: 46px; width: auto; display: block; }
.top-nav { display: flex; gap: 2.1rem; margin: 0 auto; }
.top-nav a { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: 1.02rem; color: #fff; text-decoration: none; padding: .4rem 0; position: relative; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.top-nav a:hover::after { right: 0; }
.top-act { display: flex; align-items: center; gap: .8rem; }
.top-bag { min-height: 46px; display: inline-flex; align-items: center; gap: .6rem; padding: 0 .9rem; background: transparent; border: 1px solid rgba(255, 255, 255, .8); color: #fff; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; cursor: pointer; }
.top-bag b { min-width: 24px; height: 24px; display: inline-grid; place-items: center; background: var(--rose-vif); color: #fff; font-family: var(--f-texte); font-size: .8rem; letter-spacing: 0; }
.top-bag.bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.1); } 70% { transform: scale(.97); } }
.top-cta { min-height: 46px; padding: .5rem 1.2rem; font-size: .95rem; }
.top.solid { background: rgba(255, 253, 248, .97); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.top.solid .top-nav a, .top.solid .top-bag { color: var(--vert); }
.top.solid .top-bag { border-color: var(--vert); }
.top.solid .tn-burger i { background: var(--vert); }
.top.solid .tn-burger { border-color: var(--vert); }
.tn-burger { display: none; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255, 255, 255, .85); position: relative; cursor: pointer; }
.tn-burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s, top .3s; }
.tn-burger i:nth-child(1) { top: 16px; } .tn-burger i:nth-child(2) { top: 23px; } .tn-burger i:nth-child(3) { top: 30px; }
.tn-burger[aria-expanded="true"] i:nth-child(1) { top: 23px; transform: rotate(45deg); }
.tn-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.tn-burger[aria-expanded="true"] i:nth-child(3) { top: 23px; transform: rotate(-45deg); }
body.menu-open .top { background: var(--blanc); }
body.menu-open .tn-burger { border-color: var(--vert); }
body.menu-open .tn-burger i { background: var(--vert); }

.tn-menu { position: fixed; inset: 0; z-index: 45; background: var(--blanc); padding: 140px var(--gutter) 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tn-menu nav { display: flex; flex-direction: column; gap: .2rem; }
.tn-menu nav a { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: 1.9rem; color: var(--vert); text-decoration: none; padding: .45rem 0; animation: menuIn .5s var(--ease) both; }
.tn-menu nav a:nth-child(2) { animation-delay: .04s; } .tn-menu nav a:nth-child(3) { animation-delay: .08s; } .tn-menu nav a:nth-child(4) { animation-delay: .12s; } .tn-menu nav a:nth-child(5) { animation-delay: .16s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Bandeau ---------- */
.banner { position: relative; min-height: max(640px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; z-index: -2; transform: scale(1.04); animation: slowzoom 18s ease-out forwards; background: var(--rose-pastel); }
@keyframes slowzoom { to { transform: scale(1.12); } }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 46, 20, .86) 0%, rgba(18, 46, 20, .62) 38%, rgba(18, 46, 20, .12) 68%, rgba(18, 46, 20, 0) 100%),
    linear-gradient(180deg, rgba(18, 46, 20, .35) 0%, rgba(18, 46, 20, 0) 22%, rgba(255, 253, 248, 0) 78%, var(--blanc) 100%); }
.banner-in { width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) 120px; color: #fff; }
.banner-kick { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .3em; font-size: 1.05rem; margin: 0 0 .6rem; color: var(--vert-pastel); }
.banner h1 { color: #fff !important; font-size: clamp(3.6rem, 10.5vw, 8.6rem); line-height: .92; letter-spacing: .05em; margin: 0; }
.banner .dashes { justify-content: flex-start; }
.banner .dashes i { background: var(--vert-pastel); }
.banner .dashes i + i { background: var(--rose-vif); }
.banner-lead { max-width: 34rem; font-size: 1.12rem; color: rgba(255, 255, 255, .92); margin: 0 0 2rem; }
.banner-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.banner-facts { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 2.2rem; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.banner-facts b { font-family: var(--f-titre); font-weight: 400; font-size: 1.35rem; color: #fff; margin-right: .45rem; letter-spacing: .05em; }

/* ---------- Titres de section ---------- */
.title-block { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.title-block h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; margin: 0 0 .4rem; }
.sub { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .24em; font-size: .98rem; color: var(--rose); margin: 0; }
.note { font-size: .9rem; color: var(--muted); }

/* ---------- Tuiles ---------- */
.tiles-sec { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.tiles { max-width: var(--max); margin: 1.4rem auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; text-decoration: none; background: var(--rose-pastel); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile-box { position: absolute; inset: 11% 12%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.4rem, 2.3vw, 2.1rem); line-height: 1.1; transition: inset .5s var(--ease); }
.tile-box small { font-size: .5em; letter-spacing: .3em; margin-bottom: .5rem; }
.tile-box--vert { background: rgba(29, 71, 29, .62); }
.tile-box--rose { background: rgba(169, 46, 78, .66); }
.tile:hover .tile-box { inset: 7% 8%; }

/* ---------- Commande ---------- */
.order { background: var(--rose-pale); padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--rose-pastel); border-bottom: 1px solid var(--rose-pastel); }
.order-in { max-width: var(--max); margin: 0 auto; }
.tabs { position: sticky; top: 78px; z-index: 20; display: flex; justify-content: center; gap: .3rem; margin: 1.8rem auto 2.4rem; padding: .5rem var(--gutter); background: var(--rose-pale); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; min-height: 46px; padding: .4rem 1.3rem; background: transparent; border: 1px solid transparent; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .2em; font-size: 1.05rem; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--vert); border-color: var(--vert); background: #fff; }

.menu-grid { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dish { display: grid; grid-template-columns: 150px 1fr; background: #fff; cursor: pointer; transition: box-shadow .3s, transform .3s var(--ease); min-height: 170px; }
.dish:hover { box-shadow: 0 18px 36px -24px rgba(29, 71, 29, .45); transform: translateY(-2px); }
.dish-img { width: 150px; height: 100%; min-height: 170px; object-fit: cover; background: var(--rose-pastel); }
.dish-body { padding: 1.1rem 1.3rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.dish-body h3 { font-size: 1.45rem; margin: 0; line-height: 1.15; letter-spacing: .07em; }
.dish-tag { font-family: var(--f-texte); text-transform: none; letter-spacing: 0; font-size: .74rem; font-weight: 600; color: var(--rose); background: var(--rose-pale); padding: .1rem .45rem; margin-left: .3rem; vertical-align: .25em; white-space: nowrap; }
.dish-ing { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.5; flex: 1; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .5rem; padding-top: .55rem; border-top: 1px solid var(--line); }
.price { font-family: var(--f-titre); font-size: 1.45rem; color: var(--rose); letter-spacing: .04em; white-space: nowrap; }
.add { min-height: 44px; padding: 0 1rem; background: transparent; border: 1px solid var(--vert); color: var(--vert); font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.add:hover { background: var(--vert); color: #fff; }
.dish.is-out { opacity: .55; }
.dish.is-out .add { display: none; }
.out-flag { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .12em; color: var(--rose); font-size: .9rem; }

.formules { padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.formule { background: #fff; padding: 2rem 1.6rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; border-top: 4px solid var(--vert-pastel); }
.formule:nth-child(2) { border-top-color: var(--rose-vif); }
.formule h3 { font-size: 1.7rem; margin: 0; }
.formule p { margin: 0; color: var(--muted); flex: 1; }
.formule .save { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .22em; font-size: .85rem; color: var(--rose); }

.bev-grid { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bottle { background: #fff; text-align: center; padding: 1rem .6rem 1.1rem; position: relative; }
.bottle button { all: unset; cursor: pointer; display: block; width: 100%; }
.bottle button:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
.bottle img { width: 100%; max-width: 140px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; transition: transform .35s var(--ease); }
.bottle button:hover img { transform: translateY(-6px) rotate(-3deg); }
.bottle b { display: block; font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: .98rem; margin-top: .4rem; color: var(--vert); }
.bottle span { font-family: var(--f-titre); color: var(--rose); font-size: 1.1rem; }
.bottle.added::after { content: "+1"; position: absolute; top: .3rem; left: 50%; font-family: var(--f-titre); color: var(--rose); font-size: 1.4rem; animation: plus .8s ease forwards; }
@keyframes plus { from { opacity: 1; transform: translate(-50%, 16px); } to { opacity: 0; transform: translate(-50%, -24px); } }

.dol-grid { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dolce { background: #fff; text-align: center; padding: 1.4rem 1rem; cursor: pointer; transition: box-shadow .3s; }
.dolce:hover { box-shadow: 0 16px 30px -22px rgba(29, 71, 29, .45); }
.dolce img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 0 auto .8rem; background: var(--rose-pastel); }
.dolce b { display: block; font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; line-height: 1.25; color: var(--vert); }
.dolce span { font-family: var(--f-titre); color: var(--rose); font-size: 1.15rem; }

/* ---------- La maison ---------- */
.maison { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.maison-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 0; }
.maison-text p { color: var(--muted); text-align: justify; hyphens: auto; }
.maison-text .quote { font-family: var(--f-titre); font-size: 1.5rem; line-height: 1.35; color: var(--vert); text-align: left; letter-spacing: .02em; border-left: 4px solid var(--rose-vif); padding-left: 1.1rem; margin-top: 1.6rem; }
.maison-photo { margin: 0; position: relative; }
.maison-photo::before { content: ""; position: absolute; top: -26px; right: -26px; width: 70%; height: 70%; background: var(--rose-pastel); z-index: -1; }
.maison-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--vert-pale); }
.maison { position: relative; isolation: isolate; }

/* ---------- L'appli : collage ---------- */
.appli { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.collage { position: relative; min-height: 560px; }
.collage-block { position: absolute; left: 0; top: 14%; width: 74%; height: 82%; background: var(--vert-pastel); }
.collage-a { position: absolute; left: 6%; top: 0; width: 52%; aspect-ratio: 2/3; object-fit: cover; background: var(--vert-pale); }
.collage-b { position: absolute; right: 0; top: 20%; width: 46%; aspect-ratio: 2/3; object-fit: cover; background: var(--rose-pastel); border: 10px solid var(--blanc); }
.appli-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin: 0 0 .3rem; }
.appli-text > p { color: var(--muted); text-align: justify; hyphens: auto; }
.how { list-style: none; counter-reset: h; padding: 0; margin: 1.6rem 0 2rem; }
.how li { counter-increment: h; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.how li::before { content: counter(h); grid-row: span 2; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; font-family: var(--f-titre); font-size: 1.15rem; color: #fff; background: var(--vert); }
.how li:nth-child(even)::before { background: var(--rose); }
.how b { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--vert); }
.how span { color: var(--muted); font-size: .95rem; }
.appli-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.appli-hint { font-size: .9rem; color: var(--muted); margin: 0; max-width: 24rem; }

/* ---------- Bande photo ---------- */
.band { position: relative; height: clamp(360px, 62vh, 560px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: var(--vert); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--blanc) 0%, rgba(255, 253, 248, 0) 18%, rgba(18, 46, 20, .25) 50%, rgba(255, 253, 248, 0) 82%, var(--blanc) 100%); }
.band-in { color: #fff; padding: 0 var(--gutter); }
.band .script { color: #fff; font-size: clamp(3.4rem, 8vw, 6rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.band-title { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .24em; font-size: clamp(1.1rem, 2.4vw, 1.6rem); margin: 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr 1fr; margin-top: clamp(2rem, 5vw, 4rem); }
.c-col { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.4rem, 3vw, 3rem); text-align: center; }
.c-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; margin: 0; line-height: 1.15; }
.c-col p { margin: 0 0 1.1rem; }
.c-col--vert { background: var(--vert-pastel); color: var(--vert); }
.c-col--vert .dashes i { background: var(--vert); }
.c-col--blanc { background: #fff; }
.c-col--rose { background: var(--rose); color: #fff; }
.c-col--rose .c-title { color: #fff !important; }
.c-col--rose .dashes i { background: #fff; }
.c-col--rose .dashes i + i { background: var(--vert-pastel); }
.c-col--rose a { text-decoration: underline; text-underline-offset: 3px; }
.c-col--rose .placeholder-flag { color: #92400E; }
.c-label { display: block; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .2em; font-size: .92rem; opacity: .9; }
.waitlist { display: grid; gap: .8rem; text-align: left; }
.waitlist > p { text-align: center; color: var(--muted); font-size: .95rem; }
.tn input:not([type]), .tn input[type="text"], .tn input[type="tel"], .tn input[type="email"], .tn select { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 0; background: var(--blanc); color: var(--texte); font-size: 16px; font-family: var(--f-texte); }
.tn input:focus, .tn select:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(191, 216, 181, .7); }
.tn input.invalid { border-color: var(--rose); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 400; font-family: var(--f-texte); text-transform: none; letter-spacing: 0; margin: 0; }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--rose); }
.consent span { flex: 1; }
.consent a { text-decoration: underline; }
.form-msg { border-left: 3px solid var(--vert); padding: .6rem .9rem; background: var(--vert-pale); font-size: .93rem; margin: 0; }
.form-msg.err { border-color: var(--rose); background: var(--rose-pale); color: var(--rose-2); }

/* ---------- Pied ---------- */
.foot { text-align: center; padding: 3rem var(--gutter) 7.5rem; background: var(--blanc); }
.foot .script { font-size: 3.4rem; }
.foot-line { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .24em; color: var(--vert); margin: .3rem 0 1rem; }
.foot p { font-size: .92rem; color: var(--muted); margin: .3rem 0; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot-small { font-size: .82rem !important; }

/* ---------- Widget de commande ---------- */
.widget { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 320px; transition: transform .35s var(--ease), opacity .35s; }
.widget.hide { transform: translateY(130%); opacity: 0; }
.widget-btn { width: 100%; display: flex; align-items: center; gap: .8rem; padding: .7rem .7rem .7rem 1.1rem; background: var(--vert-pastel); border: 0; color: var(--vert); cursor: pointer; text-align: left; box-shadow: 0 18px 40px -18px rgba(29, 71, 29, .55); border-radius: 14px; }
.widget-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.widget-text small { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; }
.widget-text b { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget-go { background: var(--vert); color: #fff; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; padding: 0 1rem; min-height: 46px; display: grid; place-items: center; white-space: nowrap; border-radius: 8px; }
.widget.has-items .widget-go { background: var(--rose); }

/* ---------- Fiche produit & panier ---------- */
.sheet, .cart { position: fixed; inset: 0; z-index: 80; }
.sheet-scrim, .cart-scrim { position: absolute; inset: 0; background: rgba(18, 46, 20, .35); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; background: var(--blanc); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
.x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--vert); background: var(--blanc); font-size: 1.6rem; line-height: 1; color: var(--vert); cursor: pointer; }
.sheet-body { display: grid; grid-template-columns: 1fr 1.1fr; }
.sheet-photo { background: var(--rose-pastel); }
.sheet-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.sheet-form { padding: 1.8rem 1.7rem 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.sheet-form h2 { font-size: 2.1rem; margin: 0; padding-right: 2.6rem; line-height: 1.1; }
.sheet-form .lede { color: var(--muted); margin: 0; font-size: .95rem; }
.group { border-top: 1px solid var(--line); padding-top: .9rem; }
.group > p { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; margin: 0 0 .6rem; display: flex; justify-content: space-between; color: var(--vert); }
.group > p small { font-family: var(--f-texte); text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { min-height: 40px; padding: .35rem .8rem; border: 1px solid var(--line); background: #fff; font-size: .92rem; cursor: pointer; color: var(--texte); font-family: var(--f-texte); }
.chip[aria-pressed="true"].minus { text-decoration: line-through; color: var(--muted); border-style: dashed; background: transparent; }
.chip[aria-pressed="true"].plus { border-color: var(--rose); background: var(--rose-pale); color: var(--rose-2); }
.chip em { font-style: normal; color: var(--rose); margin-left: .25rem; }
.formule-toggle { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem; background: var(--vert-pale); cursor: pointer; }
.formule-toggle input { width: 22px; height: 22px; accent-color: var(--rose); flex: 0 0 22px; margin-top: 2px; }
.formule-toggle b { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--vert); }
.formule-toggle small { color: var(--muted); }
.formule-picks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.field { display: grid; gap: .25rem; }
.field label, .formule-picks label { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .88rem; color: var(--vert); }
.sheet-foot { display: flex; gap: .8rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: auto; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--vert); }
.qty button { width: 44px; height: 48px; background: none; border: 0; font-size: 1.3rem; color: var(--vert); cursor: pointer; }
.qty output { min-width: 28px; text-align: center; font-family: var(--f-titre); font-size: 1.2rem; }
.sheet-foot .btn-rose { flex: 1; letter-spacing: .14em; }

.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100vw); background: var(--blanc); display: flex; flex-direction: column; animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.cart-head { padding: 1.2rem 1.4rem; background: var(--vert-pastel); position: relative; }
.cart-head h2 { font-size: 1.8rem; margin: 0; }
.cart-head .x { top: 50%; transform: translateY(-50%); }
.cart-body { flex: 1; overflow: auto; padding: 1.2rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.steps-bar { display: flex; gap: .4rem; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--muted); }
.steps-bar span { flex: 1; border-top: 3px solid var(--line); padding-top: .4rem; }
.steps-bar span.on { border-color: var(--rose); color: var(--vert); }
.line-item { display: grid; grid-template-columns: 68px 1fr auto; gap: .9rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.line-item img { width: 68px; height: 68px; object-fit: cover; background: var(--rose-pastel); }
.line-item b { font-family: var(--f-titre); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; font-size: 1.12rem; display: block; line-height: 1.2; color: var(--vert); }
.line-item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.line-item .qty { margin-top: .45rem; }
.line-item .qty button { width: 38px; height: 38px; }
.line-price { font-family: var(--f-titre); font-size: 1.2rem; color: var(--rose); }
.upsell { padding: .8rem; display: flex; gap: .8rem; align-items: center; background: var(--rose-pale); }
.upsell img { width: 52px; height: 52px; object-fit: contain; }
.upsell p { margin: 0; font-size: .92rem; flex: 1; }
.totals { border-top: 1px solid var(--vert); padding-top: .8rem; display: grid; gap: .3rem; }
.totals div { display: flex; justify-content: space-between; font-size: .95rem; }
.totals .grand { font-family: var(--f-titre); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--vert); }
.totals .grand span:last-child { color: var(--rose); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--vert); }
.seg button { min-height: 48px; background: #fff; border: 0; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; color: var(--vert); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--vert); }
.seg button[aria-pressed="true"] { background: var(--vert); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.slot { min-height: 58px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--vert); }
.slot b { font-family: var(--f-titre); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; }
.slot small { font-size: .7rem; color: var(--muted); }
.slot[aria-pressed="true"] { border-color: var(--rose); background: var(--rose-pale); }
.slot[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.pay { display: grid; gap: .5rem; }
.pay label { display: flex; gap: .7rem; align-items: center; padding: .75rem .9rem; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: var(--f-texte); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--texte); }
.pay input { width: 20px; height: 20px; accent-color: var(--rose); }
.pay small { color: var(--muted); display: block; font-size: .8rem; }
.cart-actions { display: grid; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.linkish { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); cursor: pointer; min-height: 44px; font-size: .95rem; font-family: var(--f-texte); }

.ticket { background: #fff; border-top: 4px solid var(--rose); padding: 1.4rem 1.2rem 1.5rem; text-align: center; }
.ticket small { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.ticket .num { font-family: var(--f-titre); font-size: 3rem; line-height: 1.05; color: var(--rose); margin: .2rem 0; letter-spacing: .06em; }
.ticket p { margin: .2rem 0; font-size: .95rem; }
.track { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track::before { content: ""; position: absolute; left: 16%; right: 16%; top: 15px; border-top: 1px dashed var(--muted); }
.track li { position: relative; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .1em; font-size: .88rem; color: var(--muted); }
.track li i { display: block; width: 30px; height: 30px; margin: 0 auto .4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--blanc); position: relative; }
.track li.done { color: var(--vert); }
.track li.done i { border-color: var(--vert); background: var(--vert); }
.track li.now { color: var(--rose); }
.track li.now i { border-color: var(--rose); background: var(--rose-pastel); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(199, 58, 94, .45); } 80% { box-shadow: 0 0 0 10px rgba(199, 58, 94, 0); } }
.hint { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--vert-pastel); padding: .5rem .8rem; background: #fff; margin: 0; }
.hint a { text-decoration: underline; }
.loyal { background: var(--vert-pale); padding: .9rem; }
.loyal p { margin: 0 0 .5rem; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--vert); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--vert-2); opacity: .6; }
.stamps i.on { opacity: 1; border: 1px solid var(--vert); background: radial-gradient(circle, var(--vert) 0 34%, transparent 35%); }
.stamps i.gift { opacity: 1; border: 1px solid var(--rose); background: var(--rose-pastel); }

.flyer { position: fixed; z-index: 90; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; pointer-events: none; border: 2px solid #fff; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .3); transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }
.toast { position: fixed; left: 50%; top: 1rem; z-index: 95; transform: translate(-50%, -160%); opacity: 0; visibility: hidden; background: #fff; border-left: 4px solid var(--rose); color: var(--vert); padding: .8rem 1.1rem; font-weight: 500; max-width: calc(100vw - 32px); box-shadow: 0 14px 30px -16px rgba(29, 71, 29, .5); transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }

.cookie-banner { background: #fff; border: 1px solid var(--line); border-radius: 0; bottom: 100px; }
.cookie-banner .btn-primary { background: var(--vert); box-shadow: none; border-radius: 0; }

/* garde-fous */
.maison > *, .appli > *, .sheet-body > *, .contact > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top-nav { gap: 1.3rem; }
  .top-nav a { font-size: .95rem; }
  .top-bag span { display: none; }
  .bev-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .top-nav, .top-cta { display: none; }
  .top-in { justify-content: space-between; }
  .tn-burger { display: block; }
  .menu-grid { grid-template-columns: 1fr; }
  .maison, .appli { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .formules { grid-template-columns: 1fr; }
  .dol-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.tn { font-size: 16px; }
  .top-logo img { height: 38px; }
  .top-in { padding: .6rem 16px; gap: .6rem; }
  .banner { min-height: 92svh; align-items: flex-end; }
  .banner-img { object-position: 64% 70%; }
  .banner::before { background: linear-gradient(180deg, rgba(18, 46, 20, .55) 0%, rgba(18, 46, 20, .2) 30%, rgba(18, 46, 20, .55) 55%, rgba(18, 46, 20, .86) 82%, var(--blanc) 100%); }
  .banner-in { padding: 120px 16px 70px; }
  .banner-kick { font-size: .88rem; letter-spacing: .22em; }
  .banner-lead { font-size: 1rem; }
  .banner-cta > * { flex: 1 1 100%; }
  .banner-facts { gap: .2rem 1.4rem; }
  .tiles { gap: 10px; padding: 0 16px; }
  .tile-box { inset: 9% 9%; font-size: 1.15rem; }
  .tabs { justify-content: flex-start; top: 64px; }
  .tabs button { padding: .4rem .9rem; font-size: .98rem; letter-spacing: .14em; }
  .menu-grid, .formules, .bev-grid, .dol-grid { padding: 0 16px; }
  .dish { grid-template-columns: 112px 1fr; min-height: 150px; }
  .dish-img { width: 112px; min-height: 150px; }
  .dish-body { padding: .9rem .9rem .8rem; }
  .dish-body h3 { font-size: 1.2rem; }
  .dish-ing { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dish-foot { margin-top: .3rem; }
  .price { font-size: 1.25rem; }
  .add { padding: 0 .8rem; font-size: .82rem; letter-spacing: .12em; }
  .bev-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dol-grid { gap: 10px; }
  .dolce img { width: 96px; height: 96px; }
  .dolce b { font-size: .98rem; }
  .maison { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .maison-photo::before { top: -14px; right: -10px; }
  .collage { min-height: 420px; }
  .appli { padding-bottom: 3.5rem; }
  .how li { grid-template-columns: 2.4rem 1fr; }
  .widget { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; }
  .sheet-panel { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92vh; animation: up .35s var(--ease); }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-photo img { min-height: 0; aspect-ratio: 16/10; }
  .sheet-form { padding: 1.2rem 16px calc(1.2rem + env(safe-area-inset-bottom)); }
  .sheet-foot { position: sticky; bottom: 0; background: var(--blanc); padding-bottom: .6rem; }
  .cart-panel { width: 100%; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .cookie-banner { bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .banner-img { animation: none; } }

/* Logo texte (démonstration) */
.brand-text { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; letter-spacing: 0.12em; text-transform: uppercase; color: inherit; white-space: nowrap; }
