/* ============================================================
   MegaDog — Design System (rebranding 2026)
   Bege CASA · Verde ABRAÇO · Amarelo MEMÓRIA · Laranja CELEBRAÇÃO
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Space+Mono:wght@400;700&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  /* Paleta oficial */
  --bege:    #F6F4DD;
  --bege-2:  #EFEBCF;
  --bege-3:  #E4DEBC;
  --verde:   #2E924F;
  --verde-d: #246E3C;
  --amarelo: #E1DC53;
  --laranja: #F06939;
  --laranja-d: #D6531F;
  --preto:   #1A1208;
  --tinta:   #2B2415;
  --cinza:   #6F6857;
  --branco:  #FFFDF6;

  /* Tipografia */
  --display: 'Baloo 2', cursive;
  --mono: 'Space Mono', monospace;
  --body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Escala */
  --h1: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  --h2: clamp(1.9rem, 1rem + 3.2vw, 3.4rem);
  --h3: clamp(1.3rem, 1rem + 1.4vw, 1.9rem);
  --lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);

  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 10px 30px rgba(26,18,8,0.10);
  --shadow-lg: 0 24px 60px rgba(26,18,8,0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bege);
  color: var(--tinta);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display { font-family: var(--display); line-height: 1.02; letter-spacing: -0.5px; color: var(--preto); font-weight: 800; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--laranja);
  display: inline-block; margin-bottom: 14px;
}
.lead { font-size: var(--lead); color: var(--cinza); font-weight: 600; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: var(--space-section) 0; position: relative; }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--laranja); color: #fff; box-shadow: 0 8px 22px rgba(240,105,57,0.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(240,105,57,0.45); background: var(--laranja-d); }
.btn-dark { background: var(--preto); color: var(--bege); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--preto); box-shadow: inset 0 0 0 2.5px var(--preto); }
.btn-ghost:hover { background: var(--preto); color: var(--bege); transform: translateY(-3px); }
.btn-lg { font-size: 1.2rem; padding: 18px 38px; }

/* ── Navbar ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,244,221,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bege-3);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(26,18,8,0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--tinta); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--laranja); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  font-family: var(--mono); font-size: 12px; font-weight: 700; cursor: pointer;
  background: var(--bege-2); border: 1.5px solid var(--bege-3); border-radius: 50px;
  padding: 6px 12px; display: flex; gap: 6px; color: var(--cinza);
}
.lang-toggle b { color: var(--preto); }
.lang-toggle span { cursor: pointer; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 26px; height: 3px; background: var(--preto); border-radius: 3px; transition: .3s; }
.only-mobile { display: none; }
.lang-toggle .on b { color: var(--laranja); }

/* ── Hero ── */
.hero { padding: clamp(3rem,2rem+5vw,6rem) 0 var(--space-section); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-wordmark { width: clamp(230px, 32vw, 400px); height: auto; display: block; margin: 0 0 clamp(28px, 5vh, 56px); }
.hero h1 .accent { color: var(--laranja); }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; background: var(--branco); border: 1.5px solid var(--bege-3); border-radius: 50px; padding: 8px 16px; box-shadow: var(--shadow); font-weight: 800; font-size: 14px; }
.hero-rating .stars { color: var(--amarelo); letter-spacing: 2px; -webkit-text-stroke: 0.6px var(--laranja-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-visual img.hero-smile { position: absolute; width: clamp(150px, 24vw, 320px); height: auto; aspect-ratio: auto; object-fit: contain; bottom: -38px; left: -52px; transform: rotate(-8deg); filter: drop-shadow(0 12px 22px rgba(0,0,0,.18)); animation: smile-pop 1s var(--ease) both; }
@keyframes smile-pop { 0% { opacity:0; transform: rotate(-8deg) scale(.6); } 100% { opacity:1; transform: rotate(-8deg) scale(1); } }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.blob-1 { width: 380px; height: 380px; background: var(--amarelo); top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: var(--verde); bottom: -140px; left: -120px; opacity: .35; }

/* ── Faixa de marca (marquee) ── */
.marquee { background: var(--preto); color: var(--bege); overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee-track { display: inline-block; animation: scroll-x 26s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin: 0 26px; }
.marquee span .dot { color: var(--laranja); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Cards / grid ── */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--branco); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--bege-2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ico { font-size: 36px; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--cinza); font-weight: 600; font-size: .98rem; }

/* ── Menu (cardápio) ── */
.menu-cat { margin-top: 50px; }
.menu-cat-title { font-family: var(--display); font-size: var(--h3); display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--bege-3); margin-bottom: 22px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 18px; }
.menu-item { display: flex; gap: 14px; background: var(--branco); border: 1px solid var(--bege-2); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.menu-item:hover { transform: translateY(-4px); }
.menu-item img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--bege-2); }
.menu-item .mi-body { flex: 1; min-width: 0; }
.menu-item .mi-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.menu-item .mi-desc { font-size: .82rem; color: var(--cinza); font-weight: 600; margin-top: 2px; line-height: 1.4; }
.menu-item .mi-price { font-family: var(--display); font-weight: 800; color: var(--laranja); margin-top: 6px; }

/* ── Reviews ── */
.reviews-head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.big-rating { font-family: var(--display); font-size: clamp(3rem,2rem+5vw,5rem); color: var(--laranja); line-height: 1; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review {
  background: var(--branco); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid var(--bege-2); position: relative;
}
.review .stars { color: var(--amarelo); -webkit-text-stroke: 0.6px var(--laranja-d); letter-spacing: 2px; font-size: 15px; }
.review p { margin: 12px 0 16px; font-weight: 600; font-style: italic; color: var(--tinta); }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--verde); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.review .who b { font-size: .95rem; } .review .who small { color: var(--cinza); display: block; font-size: .78rem; }

/* ── Split / sobre ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }

/* ── Faixa CTA ── */
.cta-band { background: var(--laranja); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,2rem+3vw,4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.9); }
.cta-band .btn-dark { background: var(--preto); color: var(--bege); }

/* ── Contato ── */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.info-card { background: var(--branco); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--bege-2); }
.info-card .ico { font-size: 30px; margin-bottom: 10px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--cinza); font-weight: 700; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--bege-2); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── Social ── */
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.social-btn {
  width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--preto); color: var(--bege); font-size: 22px; transition: transform .2s var(--ease), background .2s;
}
.social-btn:hover { transform: translateY(-4px) rotate(-4deg); background: var(--laranja); }

/* ── Footer ── */
.footer { background: var(--preto); color: var(--bege); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img.flogo { height: 38px; margin-bottom: 16px; }
.footer h4 { font-family: var(--display); font-size: 1.05rem; margin-bottom: 14px; color: #fff; }
.footer a, .footer p { color: rgba(246,244,221,.7); font-weight: 600; font-size: .92rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--amarelo); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; color: rgba(246,244,221,.5); font-family: var(--mono); font-size: 12px; }

/* ── WhatsApp flutuante ── */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Acessibilidade: foco por teclado ── */
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }

/* ── Skip link (pular para o conteúdo) ── */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 8px; top: 8px; z-index: 9999; background: var(--branco); color: var(--preto); padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--mono); font-weight: 700; }

/* ── Movimento reduzido ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .hero-smile { animation: none !important; }
  .reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ── i18n: mostra só o idioma ativo ── */
[data-en] { display: none; }
html[lang="en"] [data-pt] { display: none; }
html[lang="en"] [data-en] { display: revert; }

/* ── Responsivo ── */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; }
  .cards-3, .review-grid, .info-grid { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; background: var(--bege); flex-direction: column; gap: 0; padding: 10px 22px 24px; border-bottom: 1px solid var(--bege-3); transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--bege-2); width: 100%; font-size: 15px; }
  .nav-burger { display: flex; }
  .only-mobile { display: block; }
}
