:root { --cream: #fbf4e8; --paper: #fffaf2; --tomato: #c7361e; --tomato-dark: #a42a15; --basil: #2d5a36; --ink: #2a1c15; --muted: #6f5b4d; --line: #e8dcc7; }
body { background: var(--cream); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; border: 2px solid transparent; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--tomato); color: #fff; }
.btn-red:hover { background: var(--tomato-dark); }
.btn-line { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.wide { width: 100%; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px 5vw; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -1px; color: var(--tomato); display: flex; align-items: baseline; gap: 10px; }
.logo span { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
.nav a:hover { color: var(--tomato); }
.status { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #e3eee0; color: var(--basil); white-space: nowrap; }
.status.is-closed { background: #f3e1dc; color: var(--tomato-dark); }
.burger { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 56px 5vw 72px; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; color: var(--basil); margin: 0 0 16px; }
h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: .98; letter-spacing: -.04em; font-weight: 750; }
h1 em { font-style: normal; color: var(--tomato); }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 22px 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.facts strong { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; color: var(--ink); }
.hero-img { margin: 0; position: relative; }
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px #5a2a1433; }
.hero-img figcaption { position: absolute; left: 20px; bottom: 20px; background: var(--paper); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

.menu { padding: 72px 5vw; background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2, .book h2, .infos h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.section-head p { color: var(--muted); margin: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button { border: 1.5px solid var(--line); background: var(--cream); padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.dish { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.dish h3 { font-size: 20px; font-weight: 700; }
.dish .veg { font-size: 11px; font-weight: 700; color: var(--basil); background: #e3eee0; border-radius: 6px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; font-family: "DM Sans", sans-serif; }
.dish p { grid-column: 1; margin: 0; color: var(--muted); font-size: 14px; }
.dish .price { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; font-size: 18px; }
.dish .add { grid-row: 1 / span 2; grid-column: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tomato); color: #fff; font-size: 24px; line-height: 1; transition: transform .15s; }
.dish .add:hover { transform: scale(1.08); }
.dish .add.is-added { background: var(--basil); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }

.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 72px 5vw; }
.book p { color: var(--muted); font-size: 17px; }
.book-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: var(--paper); padding: 26px; border-radius: 24px; border: 1px solid var(--line); }
.book-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.book-form .wide { grid-column: 1 / -1; }
.book-form input, .book-form select, .pickup select { min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; color: var(--ink); font-weight: 500; }

.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 72px 5vw; background: var(--ink); color: var(--cream); }
.address { font-size: 18px; line-height: 1.6; margin: 18px 0 24px; }
.infos .btn-line { border-color: var(--cream); }
.hours { width: 100%; border-collapse: collapse; font-size: 16px; align-self: center; }
.hours td { padding: 12px 0; border-bottom: 1px solid #ffffff22; }
.hours td:last-child { text-align: right; }
.hours tr.today td { color: #ffcf8a; font-weight: 700; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 5vw 100px; font-size: 13px; color: var(--muted); }

.cart-bar { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; gap: 16px; border: 0; background: var(--ink); color: var(--cream); padding: 14px 22px; border-radius: 999px; box-shadow: 0 16px 40px #2a1c1555; font-size: 15px; }
.cart-bar strong { color: #ffcf8a; }
.cart { border: 0; border-radius: 24px; padding: 26px; width: min(440px, calc(100% - 24px)); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px #0005; }
.cart::backdrop { background: #2a1c1566; backdrop-filter: blur(4px); }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 28px; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 22px; }
.cart-lines { list-style: none; padding: 0; margin: 18px 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.mode { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode label { position: relative; }
.mode input { position: absolute; opacity: 0; inset: 0; }
.mode span { display: block; text-align: center; padding: 11px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
.mode input:checked + span { border-color: var(--tomato); background: #fbe9e4; color: var(--tomato-dark); }
.mode input:focus-visible + span { outline: 3px solid var(--tomato); }
.pickup { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 5vw 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: none; margin-left: 4px; }
  .burger span { height: 2px; background: var(--ink); border-radius: 2px; }
  .top { gap: 12px; }
  .top .btn-sm { margin-left: auto; }
  .hero, .book, .infos { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 32px; }
  .hero-img { order: -1; }
  .dishes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo span, .status { display: none; }
  .lead { font-size: 17px; }
  .actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:last-child { display: none; }
  .book-form { grid-template-columns: 1fr 1fr; padding: 18px; }
  .book-form label:first-child { grid-column: 1 / -1; }
  .cart-bar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .menu, .book, .infos { padding-block: 52px; }
}

/* Nonna : affiche italienne, rouge tomate, vert basilic et papier crème. */
:root { --cream:#fff3d9; --paper:#fffaee; --tomato:#b82c23; --tomato-dark:#932119; --basil:#244b35; --ink:#31442f; --muted:#62604b; --line:#d8d1ae; }
.top { background:var(--cream); border-bottom:2px solid var(--basil); }
.logo { font-size:40px; letter-spacing:-2px; }.logo span { letter-spacing:1px; }
.hero { position:relative; padding:60px 5vw 70px; gap:5vw; grid-template-columns:1.1fr 1fr; background:radial-gradient(#53643116 .8px,transparent .8px); background-size:8px 8px; }
.hero h1 { font-size:clamp(48px,6.8vw,102px); font-weight:800; letter-spacing:-.06em; line-height:.95; }
.hero h1 em { display:inline-block; margin-top:12px; }
.hero-img { transform:rotate(4deg); padding:14px 14px 54px; background:#fffdf4; box-shadow:9px 12px 0 #b82c23; border:1px solid #31442f; }
.hero-img img { aspect-ratio:1; height:auto; border-radius:0; box-shadow:none; }
.hero-img figcaption { bottom:10px; left:0; width:100%; text-align:center; background:none; color:var(--basil); font-size:13px; letter-spacing:.5px; }
.hero .lead { font-size:17px; max-width:440px; }.btn { border-radius:5px; }.btn-red { box-shadow:3px 3px 0 #6e2117; }.facts { border-top:1px solid var(--line); padding-top:22px; }.facts strong { color:var(--tomato); }
.nonna-ribbon { display:flex; justify-content:space-around; align-items:center; gap:24px; padding:19px 12px; background:var(--basil); color:var(--cream); font-size:13px; font-weight:700; letter-spacing:1.5px; overflow:hidden; white-space:nowrap; }.nonna-ribbon span { font-size:24px; }
.menu { margin:42px auto; width:90%; border:2px solid var(--basil); padding:38px; box-shadow:8px 8px 0 #d5dcb7; }
.section-head h2 { font-size:clamp(44px,6vw,76px); color:var(--tomato); }.tabs { border-bottom:1px solid var(--line); padding-bottom:20px; }.tabs button { border-radius:4px; }.dish { padding:24px 0; }.dish h3 { font-size:24px; }.dish .add { background:var(--basil); border-radius:4px; }
.gallery { padding:35px 5vw; gap:24px; }.gallery img { border-radius:0; border:8px solid #fffdf4; box-shadow:0 4px 14px #26321a22; }.gallery img:nth-child(2) { transform:rotate(-3deg); }
.book { background:repeating-linear-gradient(90deg,#dfe5c9 0 30px,#eaf0d9 30px 60px); border-block:1px solid var(--basil); }.book-form { border-radius:4px; border:1px solid var(--basil); box-shadow:6px 6px 0 #31442f; }.book-form input,.book-form select { border-radius:3px; }.infos { background:var(--basil); }
@media(max-width:900px) { .hero { grid-template-columns:1fr; gap:40px; }.hero-text { max-width:650px; }.hero-img { order:0; width:85%; max-width:500px; margin:0 auto; }.hero h1 { font-size:clamp(52px,10vw,90px); }.logo { font-size:30px; }.nonna-ribbon { justify-content:flex-start; }.menu { padding:24px; }.hero .actions .btn { width:auto; } }
@media(max-width:560px) { .hero { padding-top:38px; }.hero h1 { font-size:55px; }.hero-img { width:92%; }.menu { padding:20px; }.section-head h2 { font-size:43px; }.facts { gap:20px; }.facts strong { font-size:24px; }.hero .actions .btn { width:100%; } }
