/* =========================================================================
   Padaria Santa Marta | Abolição — Folha de estilos
   ========================================================================= */

:root {
  --cream: #faf5ec;
  --cream-2: #f3eadb;
  --sand: #e8dcc6;
  --white-warm: #fffdf8;
  --coffee: #3b2618;
  --coffee-2: #5a3d29;
  --wood: #8a5f3e;
  --terracotta: #b8572f;
  --terracotta-dark: #9a4423;
  --gold: #c9a15a;
  --text: #2e2018;
  --muted: #6e5b4d;
  --line: rgba(59, 38, 24, .12);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(59, 38, 24, .06);
  --shadow: 0 18px 40px -18px rgba(59, 38, 24, .28);
  --shadow-lg: 0 30px 60px -25px rgba(59, 38, 24, .4);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--coffee); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; margin-top: 48px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--coffee); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia auxiliar ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; }
.link-underline { font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--ff-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 22px -10px rgba(184, 87, 47, .7); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-dark { background: var(--coffee); color: var(--cream); }
.btn-dark:hover { background: var(--coffee-2); }
.btn-ghost { background: transparent; color: var(--coffee); border-color: rgba(59, 38, 24, .3); }
.btn-ghost:hover { border-color: var(--coffee); background: rgba(59, 38, 24, .04); }
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(250, 245, 236, .45); }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(250, 245, 236, .08); }
.btn-whatsapp { background: #1f8f4e; color: #fff; }
.btn-whatsapp:hover { background: #18773f; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250, 245, 236, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coffee); color: var(--gold);
  font: 500 1rem/1 var(--ff-display); letter-spacing: .04em;
  box-shadow: inset 0 0 0 2px var(--coffee), inset 0 0 0 3px var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 500 1.35rem/1.05 var(--ff-display); color: var(--coffee); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--coffee-2); position: relative; padding: 6px 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav ul a.is-active { color: var(--coffee); }

.menu-toggle, .header-ifood-mobile { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.menu-toggle span { width: 22px; height: 1.8px; background: var(--coffee); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(201, 161, 90, .16), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(184, 87, 47, .08), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--coffee-2); background: var(--white-warm); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.eyebrow .ic { color: var(--terracotta); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 30px 0 0; margin: 38px 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--coffee-2); }
.hero-facts .ic { color: var(--wood); width: 1.3em; height: 1.3em; }

.hero-visual { position: relative; padding: 0 0 40px 40px; }
.hero-img { margin: 0; overflow: hidden; background: var(--sand); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img--main { aspect-ratio: 4 / 4.7; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.hero-img--float {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1;
  border-radius: 50%; border: 8px solid var(--cream); box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.hero-badge {
  position: absolute; top: 18%; right: -14px;
  background: var(--coffee); color: var(--cream);
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-align: center; transform: rotate(4deg);
}
.hero-badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero-badge strong { font: italic 500 1.7rem/1.1 var(--ff-display); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Sobre ---------- */
.about { background: var(--white-warm); }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 4.8; object-fit: cover; width: 100%; box-shadow: var(--shadow); background: var(--sand); }
.about-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: .6; }
.about-media { z-index: 0; }
.about-copy p:not(.kicker) { font-size: 1.1rem; color: var(--muted); }
.about-copy h2 { margin-bottom: 24px; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }

/* ---------- Produtos ---------- */
.products { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white-warm); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-num { position: absolute; top: 14px; left: 14px; background: rgba(250, 245, 236, .92); color: var(--coffee); font: 500 .85rem/1 var(--ff-display); padding: 7px 11px; border-radius: 999px; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 8px; }
.product-body > p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.product-items { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); }
.product-items li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .93rem; }
.product-items li span:last-child { font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.product-items li small { display: block; color: var(--muted); font-size: .82rem; }

/* Aviso visível apenas no modo revisão */
.review-note {
  margin-top: auto; padding: 10px 12px; border: 1.5px dashed var(--gold);
  border-radius: 10px; background: rgba(201, 161, 90, .08);
  font-size: .8rem; line-height: 1.45; color: var(--coffee-2);
}
.review-note strong { color: var(--terracotta-dark); }

/* ---------- Pizzas ---------- */
.pizza { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--coffee); color: var(--cream); min-height: 640px; }
.pizza-media { position: relative; overflow: hidden; background: #2a1a10; }
.pizza-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pizza-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(59, 38, 24, .55)); }
.pizza-copy { padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.pizza-copy h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.2rem); }
.pizza-copy > p { color: rgba(250, 245, 236, .78); font-size: 1.08rem; }
.pizza-claim { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(250, 245, 236, .06); border: 1px solid rgba(201, 161, 90, .35); margin: 8px 0 28px; font-size: .98rem; color: rgba(250, 245, 236, .9); }
.pizza-claim .ic { color: var(--gold); width: 1.6em; height: 1.6em; margin-top: 2px; }
.pizza .review-note { background: rgba(201, 161, 90, .1); color: var(--cream); margin: 8px 0 28px; }
.pizza .review-note strong { color: var(--gold); }
.pizza-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Experiência ---------- */
.experience { background: var(--white-warm); }
.exp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.exp-card { background: var(--white-warm); padding: 36px 32px; transition: background-color .3s; }
.exp-card:hover { background: var(--cream); }
.exp-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--terracotta); margin-bottom: 20px; transition: background-color .3s, color .3s; }
.exp-card:hover .exp-ic { background: var(--terracotta); color: #fff; }
.exp-ic .ic { width: 26px; height: 26px; }
.exp-card h3 { margin-bottom: 6px; }
.exp-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Galeria ---------- */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); border: 0; padding: 0; cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
.g-item.is-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(30, 18, 10, .7)); color: #fff; font-size: .9rem; font-weight: 500; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.g-tag { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.g-placeholder { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; border: 1.5px dashed var(--gold); background: repeating-linear-gradient(-45deg, var(--cream-2), var(--cream-2) 12px, var(--cream) 12px, var(--cream) 24px); color: var(--coffee-2); }
.g-placeholder .ic { width: 34px; height: 34px; color: var(--wood); }
.g-placeholder strong { font-family: var(--ff-display); font-weight: 500; font-size: 1.15rem; color: var(--coffee); }
.g-placeholder span { font-size: .8rem; max-width: 240px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 12, 7, .94); display: grid; place-items: center; padding: 24px; animation: fade .25s ease; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 14px; font-size: .92rem; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Delivery ---------- */
.delivery {
  position: relative; color: var(--cream); padding: clamp(64px, 8vw, 100px) 0;
  background:
    linear-gradient(100deg, rgba(43, 26, 15, .96) 30%, rgba(43, 26, 15, .75)),
    url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=1600&q=60&auto=format&fit=crop") center / cover;
}
.delivery-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.delivery-copy { max-width: 620px; }
.delivery h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.delivery p:not(.kicker) { color: rgba(250, 245, 236, .78); font-size: 1.06rem; margin: 0; }
.delivery-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ---------- Avaliações ---------- */
.reviews { background: var(--white-warm); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-grid:empty { display: none; }
.review-card { background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.review-stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }
.review-stars .ic { fill: currentColor; stroke: none; }
.review-card blockquote { margin: 0 0 18px; font: italic 400 1.1rem/1.55 var(--ff-display); color: var(--coffee); }
.review-meta { font-size: .85rem; color: var(--muted); }
.review-meta strong { color: var(--coffee); }
.review-grid .review-note { grid-column: 1 / -1; text-align: center; font-size: .88rem; }

/* ---------- Contato ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact-list { display: grid; gap: 26px; margin: 32px 0 34px; }
.contact-item { display: flex; gap: 18px; }
.contact-item strong { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1.12rem; color: var(--coffee); margin-bottom: 2px; }
.contact-item a { color: var(--coffee-2); font-weight: 500; text-decoration: none; }
.contact-item a:hover { color: var(--terracotta); }
.contact-item > div { color: var(--muted); }
.contact-ic { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--white-warm); border: 1px solid var(--line); color: var(--terracotta); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-map { min-height: 420px; }
.map-frame { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; color: var(--coffee); }
.map-fallback .ic { width: 40px; height: 40px; color: var(--terracotta); }

/* Redes sociais */
.social { display: flex; gap: 10px; margin-top: 30px; }
.social:empty { display: none; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--coffee); background: var(--white-warm); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--coffee); color: var(--cream); transform: translateY(-2px); }
.social .review-note { margin: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: #2b1a0f; color: rgba(250, 245, 236, .72); padding: 80px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(250, 245, 236, .12); }
.footer-brand .brand-name { color: var(--cream); font-size: 1.8rem; display: block; }
.footer-brand .brand-sub { color: var(--gold); display: block; margin: 6px 0 18px; }
.footer-brand p { max-width: 300px; }
.site-footer h3 { font-family: var(--ff-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer a { color: rgba(250, 245, 236, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-primary { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .hours li { max-width: none; }
.site-footer .review-note { color: var(--cream); background: rgba(201, 161, 90, .1); }
.social--footer { margin-top: 22px; }
.social--footer a { background: transparent; border-color: rgba(250, 245, 236, .2); color: var(--cream); }
.social--footer a:hover { background: var(--cream); color: var(--coffee); }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-note { color: rgba(250, 245, 236, .5); }

/* ---------- Barra fixa mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Animações de entrada ---------- */
.rise { animation: rise .9s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .08s; }
.hero-copy .rise:nth-child(3) { animation-delay: .16s; }
.hero-copy .rise:nth-child(4) { animation-delay: .24s; }
.hero-copy .rise:nth-child(5) { animation-delay: .32s; }
.hero-visual.rise { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Responsivo
   ========================================================================= */
.main-nav ul a { white-space: nowrap; }
@media (max-width: 1280px) {
  .main-nav { gap: 20px; }
  .main-nav ul { gap: 16px; }
  .main-nav ul a { font-size: .84rem; }
}

@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .menu-toggle, .header-ifood-mobile { display: inline-flex; }
  .header-inner { gap: 8px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--cream); padding: 20px 16px 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { min-height: 50px; }
}

@media (max-width: 980px) {

  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; padding: 0 0 30px 30px; }
  .hero-img--main { aspect-ratio: 4 / 3.6; border-radius: 160px 160px var(--radius) var(--radius); }
  .about-media { max-width: 520px; }
  .about-media::before { inset: 18px -18px -18px 18px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pizza { grid-template-columns: 1fr; min-height: 0; }
  .pizza-media { aspect-ratio: 16 / 10; }
  .pizza-media::after { background: linear-gradient(transparent 60%, rgba(59, 38, 24, .6)); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .delivery-inner { flex-direction: column; align-items: flex-start; }
  .delivery-actions { flex-direction: row; flex-wrap: wrap; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .brand-mark { width: 38px; height: 38px; font-size: .9rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .6rem; }
  .hero { padding-top: 28px; }
  .eyebrow { font-size: .78rem; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 10px 18px; margin-top: 30px; padding-top: 22px; }
  .hero-badge { right: 4px; padding: 12px 14px; }
  .hero-badge strong { font-size: 1.3rem; }
  .hero-img--float { border-width: 6px; }

  /* Produtos em carrossel horizontal com rolagem por toque */
  .product-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card { scroll-snap-align: center; }
  .product-card:hover { transform: none; }

  .exp-grid { grid-template-columns: 1fr; }
  .exp-card { padding: 26px 22px; display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; align-items: start; }
  .exp-ic { margin: 0; grid-row: span 2; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-placeholder { padding: 12px; gap: 6px; }
  .g-placeholder .ic { display: none; }
  .g-placeholder strong { font-size: 1rem; }
  .g-placeholder span { font-size: .72rem; }
  .g-cap { padding: 30px 10px 10px; font-size: .8rem; flex-direction: column; align-items: flex-start; gap: 4px; }
  .delivery-actions, .delivery-actions .btn { width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-actions .btn { flex: 1 1 auto; }
  .contact-map, .map-frame { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }

  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(255, 253, 248, .97); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(59, 38, 24, .25);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
  }
  .mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; text-decoration: none; font-size: .72rem; font-weight: 600; color: var(--coffee); }
  .mobile-bar .ic { width: 22px; height: 22px; }
  .mobile-bar .mobile-bar-primary { flex: 1.4; background: var(--terracotta); color: #fff; }
}
