/* Trattoria Nonna Lina — mise en page : photo plein cadre, titres en Didone chaleureuse, rouge tomate et vert basilic sur lin, liseré vichy. */
@font-face { font-family: 'Gloock'; src: url(fonts/display.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Karla'; src: url(fonts/body.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --rosso: #b3261e; --rosso-d: #8c1b15; --basilico: #2d5a3d; --lino: #fbf6ee; --lino-2: #f2e9da; --ink: #2a1c16; --muted: #6e5d52; --oro: #e2a83e; --paper: #fffdf9;
  --ff-d: 'Gloock', 'Didot', Georgia, serif; --ff-b: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif; color-scheme: light;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
body { margin: 0; font: 18px/1.65 var(--ff-b); color: var(--ink); background: var(--lino); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.db-long { } @media (max-width: 600px) { .db-long { display: none; } }
a { color: var(--rosso); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-family: var(--ff-d); font-weight: 400; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); }
.kicker.red { color: var(--rosso); }
.small { font-size: 14px; color: var(--muted); }
.link { color: var(--rosso); font-weight: 800; text-decoration: none; border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; padding: 0; }
.link:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 4px; background: var(--rosso); color: #fff; font: 800 16px var(--ff-b); letter-spacing: .02em; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--rosso-d); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--lino-2); }

.demo-bar { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 8px 16px; font: 13px/1.4 var(--ff-b); background: #1d130f; color: #e7d9c8; text-align: center; }
.demo-bar a { color: var(--oro); font-weight: 800; text-decoration: none; }

.top { position: sticky; top: 0; z-index: 30; background: var(--paper); box-shadow: 0 1px 0 var(--lino-2); }
.top::after { content: ""; display: block; height: 6px; background: repeating-conic-gradient(var(--rosso) 0 25%, #fff 0 50%) 0 0 / 12px 12px; opacity: .9; }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: grid; line-height: 1; text-decoration: none; color: var(--ink); margin: 0; }
.logo .l1 { font: 800 11px var(--ff-b); letter-spacing: .32em; text-transform: uppercase; color: var(--rosso); }
.logo .l2 { font: 400 30px var(--ff-d); letter-spacing: -.01em; }
#nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
#nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 12px; border-radius: 4px; }
#nav a:hover { background: var(--lino); }
#nav a[aria-current] { color: var(--rosso); box-shadow: inset 0 -3px 0 var(--rosso); border-radius: 0; }
#nav .call { background: var(--basilico); color: #fff; margin-left: 10px; border-radius: 4px; }
#nav .call:hover { background: #224730; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--lino); border-radius: 4px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 12px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle span:first-child { top: 22px; } .nav-toggle span:first-child::before { left: 0; top: -7px; } .nav-toggle span:first-child::after { left: 0; top: 7px; }
.nav-open .nav-toggle span:first-child { background: transparent; } .nav-open .nav-toggle span:first-child::before { transform: translateY(7px) rotate(45deg); } .nav-open .nav-toggle span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  #nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px max(20px, env(safe-area-inset-left)) 20px; box-shadow: 0 20px 30px #2a1c1622; display: none; }
  .nav-open #nav { display: flex; }
  #nav a { padding: 14px 4px; border-bottom: 1px solid var(--lino-2); font-size: 18px; }
  #nav a[aria-current] { box-shadow: none; }
  #nav .call { margin: 14px 0 0; text-align: center; }
}

.hero { position: relative; color: #fff; isolation: isolate; min-height: min(78vh, 760px); display: grid; align-items: end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1a0e0acc 0%, #1a0e0a88 45%, #1a0e0a11 75%), linear-gradient(0deg, #1a0e0a99, transparent 50%); }
.hero-in { padding-block: 120px 56px; }
.hero h1 { font-size: clamp(52px, 8.5vw, 112px); line-height: .95; max-width: 9em; }
.hero .lead { font-size: clamp(18px, 2vw, 22px); max-width: 30em; color: #f6e9dc; margin: 24px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0; font-weight: 700; font-size: 15px; color: #f6e9dc; }
.status:empty { display: none; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #aaa; }
.status.is-open::before { background: #4cd07d; box-shadow: 0 0 0 4px #4cd07d33; } .status.is-closed::before { background: var(--oro); }
.status.inline { color: var(--ink); margin: 0 0 12px; }

section { padding-block: clamp(56px, 8vw, 110px); }
.sec-title { max-width: 720px; margin-bottom: 40px; }
.sec-title h2, .intro-txt h2, .visit h2 { font-size: clamp(36px, 5vw, 60px); }
.intro-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-pic { margin: 0; position: relative; }
.intro-pic img { width: 100%; aspect-ratio: 4/5; max-height: 640px; object-fit: cover; object-position: 50% 85%; }
.intro-pic::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--rosso); z-index: -1; }
.intro-txt p { max-width: 34em; }
@media (max-width: 860px) { .intro-in { grid-template-columns: 1fr; } .intro-pic::after { inset: 12px -10px -12px 12px; } }

.trio { background: var(--paper); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s; }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #1a0e0ad9, transparent 55%); }
.card-t { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 4px; }
.card-t b { font: 400 34px/1 var(--ff-d); }
.card-t small { font-size: 16px; color: #f2e3d3; }
@media (max-width: 860px) { .trio-grid { grid-template-columns: 1fr; } .card img { aspect-ratio: 16/11; } }

.al-band { background: var(--basilico); color: #fff; padding-block: 44px; }
.al-band-in { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.al-ico { width: 64px; height: 64px; border-radius: 50%; background: #ffffff1a; display: grid; place-items: center; }
.al-ico svg { width: 32px; fill: #fff; }
.al-band h2 { font-size: 34px; } .al-band p { margin: 6px 0 0; color: #d7e7dc; max-width: 40em; }
.al-band .btn { background: #fff; color: var(--basilico); }
@media (max-width: 860px) { .al-band-in { grid-template-columns: 1fr; } }

.strip { padding-block: 0; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: none; padding: 0; }
.strip figure { margin: 0; } .strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 700px) { .strip-in { grid-template-columns: repeat(2, 1fr); } }

.visit-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.addr { font: 400 26px/1.25 var(--ff-d); margin: 18px 0 8px; }
.visit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; background: var(--paper); }
.hours th, .hours td { padding: 14px 18px; border-bottom: 1px solid var(--lino-2); }
.hours th { text-align: left; font-weight: 700; } .hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: var(--muted); }
.hours tr.today { background: #fff3e0; } .hours tr.today th { color: var(--rosso); }
.hours tr.today th::after { content: " · aujourd’hui"; font-size: 13px; font-weight: 600; color: var(--muted); }

.page-head { background: var(--paper); padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--lino-2); }
.page-head h1 { font-size: clamp(42px, 6.5vw, 84px); max-width: 14em; }
.lead-d { font-size: 20px; max-width: 40em; margin: 22px 0 0; color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { padding: 9px 16px; border: 1.5px solid var(--lino-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; background: #fff; }
.toc a:hover { border-color: var(--rosso); color: var(--rosso); }

.story-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-txt p { max-width: 34em; }
.drop::first-letter { font: 400 5.2em/.8 var(--ff-d); float: left; margin: 6px 12px 0 0; color: var(--rosso); }
blockquote { margin: 34px 0 0; padding: 24px 0 0; border-top: 2px solid var(--rosso); font: 400 28px/1.25 var(--ff-d); max-width: 22em; }
.story-pic { margin: 0; } .story-pic img { width: 100%; aspect-ratio: 9/11; object-fit: cover; }
@media (max-width: 860px) { .story-in { grid-template-columns: 1fr; } }
.produits { background: var(--paper); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.prod-grid figure { margin: 0 0 18px; } .prod-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prod-grid h3 { font-size: 26px; margin-bottom: 8px; } .prod-grid p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }

.menu-wrap { padding-top: 40px; }
.mgroup { padding-block: 36px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; scroll-margin-top: 110px; }
.mgroup header h2 { font-size: clamp(34px, 4vw, 48px); } .mgroup header p { color: var(--muted); margin: 8px 0 0; max-width: 16em; }
.mgroup header figure { margin: 22px 0 0; max-width: 340px; } .mgroup header img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .mgroup header figure { display: none; } }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dish { padding: 18px 0; border-bottom: 1px solid var(--lino-2); }
.dish:first-child { padding-top: 6px; }
.dish-row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.dish h3 { font-size: 26px; } .price { font: 800 19px var(--ff-b); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--rosso); }
.desc { margin: 4px 0 0; color: var(--muted); }
.al { margin: 8px 0 0; font-size: 14px; color: var(--basilico); font-weight: 600; }
.al span { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: #e3efe6; color: var(--basilico); padding: 2px 8px; border-radius: 3px; margin-right: 6px; }
.menu-note { margin-top: 32px; font-size: 15px; color: var(--muted); border-top: 2px solid var(--ink); padding-top: 22px; }
@media (max-width: 860px) { .mgroup { grid-template-columns: 1fr; gap: 12px; } }

.al-page-in { display: grid; grid-template-columns: 1.45fr .85fr; gap: 40px; align-items: start; }
.al-widget { background: var(--paper); padding: 14px; box-shadow: 0 1px 0 var(--lino-2), 0 24px 60px #2a1c1612; min-width: 0; }
.al-aside h2 { font-size: 34px; margin-bottom: 18px; }
.steps { list-style: none; counter-reset: s; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--rosso); color: #fff; display: grid; place-items: center; font: 400 22px var(--ff-d); }
.steps span { color: var(--muted); font-size: 16px; }
.note { background: #e3efe6; padding: 22px; } .note h3 { font-size: 24px; margin-bottom: 6px; color: var(--basilico); } .note p { margin: 8px 0 0; font-size: 16px; }
@media (max-width: 900px) { .al-page-in { grid-template-columns: 1fr; } }

.infos-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.infos h2 { font-size: 36px; margin: 0 0 16px; } .info-col h2 ~ h2 { margin-top: 40px; }
.access { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: 16px; }
.map-link { display: block; position: relative; overflow: hidden; border: 1px solid var(--lino-2); text-decoration: none; }
.map-link span { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: #fff; padding: 8px 14px; font-weight: 800; font-size: 14px; }
.map { display: block; width: 100%; height: auto; }
.m-bg { fill: #f1e8da; } .m-water { fill: #b9d0d6; } .m-park rect { fill: #d9e4c6; }
.m-road path { stroke: #fff; stroke-width: 12; fill: none; stroke-linecap: round; } .m-street path { stroke: #fffaf2; stroke-width: 5; fill: none; }
.m-pin path { fill: var(--rosso); } .m-halo { fill: #b3261e33; } .m-dot { fill: #fff; } .m-label { font: 400 17px var(--ff-d); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.form-col { background: var(--paper); padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 60px #2a1c1612; }
.form p { margin: 0 0 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; } label small { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; font: 17px var(--ff-b); color: var(--ink); background: #fff; border: 1.5px solid #dccdb8; border-radius: 4px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--rosso); box-shadow: 0 0 0 3px #b3261e22; }
.ok { padding: 28px; background: #e3efe6; } .ok h3 { font-size: 32px; color: var(--basilico); }
@media (max-width: 860px) { .infos-in { grid-template-columns: 1fr; } .f2 { grid-template-columns: 1fr; } }

.foot { background: #1d130f; color: #d9c8b6; font-size: 16px; padding: 0 0 30px; }
.gingham { height: 14px; background: repeating-conic-gradient(var(--rosso) 0 25%, #f6efe4 0 50%) 0 0 / 14px 14px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 30px; }
.foot .logo { color: #fff; margin-bottom: 14px; } .foot .logo .l1 { color: var(--oro); }
.foot h2 { font: 800 13px var(--ff-b); letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin-bottom: 12px; }
.foot a { color: #f2e3d3; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot p { margin: 0; }
.credit { font-size: 13px; color: #9e8b7a; border-top: 1px solid #ffffff18; padding-top: 22px; }
.credit a { color: var(--oro); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }
