/* ============================================================
   Casa Piatto Osteria — Osteria Editorial
   HTML5 + CSS3 (Flexbox, Grid, variáveis) — mobile-first
   ============================================================ */

:root {
  /* Paleta — extraída da logo real */
  --verde-piatto: #283810;
  --vinho-casa: #A82820;
  --vinho-profundo: #7A2118;
  --creme-piatto: #EADED2;
  --creme-claro: #F5EFE6;
  --oliva-folha: #B8C0A8;
  --tinta: #1A1712;
  --verde-profundo: #1B2609;
  --dourado-piatto: #C9A24B;

  /* Tipografia */
  --font-display: "Bodoni Moda", Didot, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-acento: "Italiana", "Bodoni Moda", serif;

  /* Espaçamentos (escala clamp) */
  --sp-section: clamp(4.5rem, 10vw, 9rem);
  --sp-gap: clamp(1.25rem, 3vw, 2.5rem);
  --container: 1280px;

  /* Easings do projeto */
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-quart: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video, iframe { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

body {
  font-family: var(--font-body);
  color: var(--tinta);
  background: var(--creme-piatto);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Textura de papel — grão sutil sobre todo o creme */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--vinho-casa); color: var(--creme-claro); }

.container {
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--sp-section); position: relative; z-index: 2; }

section[id], footer[id] { scroll-margin-top: 76px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(.8rem, 1.4vw, .95rem);
  color: var(--vinho-casa);
  margin-bottom: .9rem;
}
.eyebrow-oliva { color: var(--oliva-folha); }
.eyebrow-dourado { color: var(--dourado-piatto); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.08;
  color: var(--verde-piatto);
  max-width: 18ch;
}
.section-sub {
  margin-top: 1.1rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: color-mix(in srgb, var(--tinta) 82%, transparent);
}
.section-title-lg { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.section-title-lg em { font-style: italic; color: var(--vinho-casa); }
.section-sub a { color: var(--vinho-casa); font-weight: 700; border-bottom: 1px solid var(--vinho-casa); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: color .38s var(--ease-in-out), border-color .38s var(--ease-in-out);
  white-space: nowrap;
}
/* preenchimento que sobe no hover (scaleY bottom) */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .38s var(--ease-in-out);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleY(1); }

.btn-primary { background: var(--vinho-casa); color: var(--creme-claro); }
.btn-primary::after { background: var(--vinho-profundo); }
.btn-primary:hover, .btn-primary:focus-visible { color: #fff; }

.btn-outline { border: 1px solid var(--creme-piatto); color: var(--creme-claro); }
.btn-outline::after { background: rgba(234, 222, 210, .16); }

.btn-outline-escuro { border: 1px solid var(--verde-piatto); color: var(--verde-piatto); }
.btn-outline-escuro::after { background: var(--verde-piatto); }
.btn-outline-escuro:hover, .btn-outline-escuro:focus-visible { color: var(--creme-claro); }

.btn-lg { padding: 1.15rem 2.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Estrelas ---------- */
.stars-svg { width: 96px; height: 19px; }
.stars-lg { width: 128px; height: 26px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .38s ease-out, height .38s ease-out, box-shadow .38s ease-out, transform .45s cubic-bezier(.65, 0, .35, 1);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 38, 9, .55) 0%, rgba(27, 38, 9, 0) 100%);
  opacity: 1;
  transition: opacity .38s ease-out;
  pointer-events: none;
  z-index: -1;
}
.nav.scrolled::before { opacity: 0; }
.nav.scrolled {
  height: 68px;
  background: rgba(234, 222, 210, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(40, 56, 16, .12), 0 12px 32px -18px rgba(26, 23, 18, .35);
}
.nav.nav-hidden { transform: translateY(-100%); }
/* barra fina de progresso de leitura */
.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--vinho-casa), var(--verde-piatto));
  transition: width .12s linear;
  z-index: 2;
}
.nav-inner {
  width: min(100% - clamp(2rem, 6vw, 5rem), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo { line-height: 1; display: flex; align-items: center; position: relative; overflow: hidden; border-radius: 50%; }
.nav-logo-img {
  width: 88px; height: 88px;
  object-fit: contain;
  transition: width .38s ease-out, height .38s ease-out;
}
.nav.scrolled .nav-logo-img { width: 64px; height: 64px; }
/* brilho passando pela logo no hover */
.nav-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out-quart);
  pointer-events: none;
}
.nav-logo:hover::after { transform: translateX(120%); }

.nav-links { display: none; gap: 2rem; }
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(245, 239, 230, .82);
  position: relative;
  padding-block: .35rem;
  letter-spacing: .01em;
  transition: color .3s;
}
.nav.scrolled .nav-links a { color: color-mix(in srgb, var(--verde-piatto) 78%, transparent); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--creme-claro); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a:focus-visible { color: var(--verde-piatto); }
/* sublinhado scaleX, com estado "ativo" persistente */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--vinho-casa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease-in-out);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--creme-claro); font-weight: 700; }
.nav.scrolled .nav-links a.active { color: var(--vinho-casa); }
.nav-cta {
  display: none;
  padding: .7rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.nav-cta span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; }
.nav-cta span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
  animation: navCtaPulse 1.8s ease-in-out infinite;
}
@keyframes navCtaPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.4); opacity: 1; }
}

.nav-toggle {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  z-index: 110;
  position: relative;
}
.nav-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(26, 23, 18, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity .3s;
}
.nav.scrolled .nav-toggle::before { opacity: 0; }
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--creme-claro);
  transition: transform .35s var(--ease-std), background .3s;
  position: relative;
}
.nav.scrolled .nav-toggle span { background: var(--verde-piatto); }
.nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-toggle.open span { background: var(--creme-claro); }

/* Overlay do drawer mobile */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(26, 23, 18, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-in-out), visibility 0s .4s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease-in-out);
}

/* Drawer mobile — desliza da direita */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 9999;
  width: min(86vw, 380px);
  height: 100%;
  background: var(--verde-profundo);
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 6vw, 2.5rem);
  transform: translateX(100%);
  transition: transform .5s var(--ease-out-expo);
  box-shadow: -8px 0 32px rgba(0, 0, 0, .28);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 8vw, 4rem);
}
.mobile-menu-logo { line-height: 1; display: flex; align-items: center; }
.mobile-menu-logo-img { width: 60px; height: 60px; object-fit: contain; }
.mobile-menu-close {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 0;
  flex-shrink: 0;
}
.mobile-menu-close span {
  position: absolute;
  display: block;
  width: 22px; height: 2px;
  background: var(--creme-claro);
}
.mobile-menu-close span:first-child { transform: rotate(45deg); }
.mobile-menu-close span:last-child { transform: rotate(-45deg); }
.mobile-menu-links { display: grid; gap: .3rem; }
.mobile-menu-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 2.1rem);
  color: var(--creme-piatto);
  line-height: 1.3;
  opacity: .88;
  transition: color .3s, opacity .3s, padding-left .35s var(--ease-out-expo);
}
.mobile-menu-links a:hover { color: var(--vinho-casa); opacity: 1; padding-left: .5rem; }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(.58rem, 2.6vw, .68rem);
  line-height: 1.9;
  color: var(--oliva-folha);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--verde-profundo); }
.hero-bg-blur {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(60px) brightness(.42) saturate(1.15);
  transform: scale(1.2);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,38,9,.7) 0%, rgba(27,38,9,.5) 45%, rgba(27,38,9,.88) 100%);
}
.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-block: clamp(7.5rem, 14vh, 10rem) clamp(3rem, 6vh, 4.5rem);
  align-items: center;
}
.hero-content { max-width: 56ch; }
.hero-eyebrow { color: var(--oliva-folha); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.08;
  color: var(--creme-claro);
  letter-spacing: -.01em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.hero-title .grad {
  background: linear-gradient(100deg, var(--creme-piatto) 10%, var(--oliva-folha) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 1.2rem;
  max-width: 46ch;
  color: rgba(245, 239, 230, .88);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  opacity: 0; transform: translateY(24px);
}
.hero-ctas {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  opacity: 0; transform: translateY(24px);
}
/* selo Google */
.hero-badge {
  margin-top: 2.2rem;
  display: inline-flex;
  flex-direction: column;
  gap: .3rem;
  background: rgba(245, 239, 230, .92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--oliva-folha);
  border-radius: 4px;
  padding: .9rem 1.2rem;
  opacity: 0; transform: translateY(24px);
}
.badge-nota {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--verde-piatto);
  line-height: 1;
}
.badge-count { font-size: .72rem; color: var(--verde-piatto); letter-spacing: .04em; }
.hero-badge-destaque { max-width: none; white-space: nowrap; }
.badge-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--vinho-casa);
  margin-bottom: .35rem;
}
.badge-destaque-texto {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--tinta);
}

/* ---------- Foto em destaque (lado direito) ---------- */
.hero-figure {
  position: relative;
  display: none;
  justify-self: center;
  width: min(100%, 400px);
  opacity: 0; transform: translateY(28px) scale(.97);
}
.hero-figure-glow {
  position: absolute;
  inset: -14% -18%;
  background:
    radial-gradient(closest-side at 30% 20%, rgba(168, 40, 32, .55), transparent 65%),
    radial-gradient(closest-side at 75% 85%, rgba(184, 192, 168, .3), transparent 60%);
  filter: blur(38px);
  z-index: -1;
  animation: figureGlowPulse 5s ease-in-out infinite;
}
@keyframes figureGlowPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}
.hero-figure-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 40px 90px -22px rgba(0, 0, 0, .72), 0 0 0 1px rgba(234, 222, 210, .14), 0 0 60px -12px rgba(168, 40, 32, .4);
  transition: transform .6s var(--ease-out-quart);
}
.hero-figure:hover .hero-figure-img { transform: scale(1.015); }
.hero-figure-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(234, 222, 210, .5);
  border-radius: 3px;
  pointer-events: none;
}
/* seta de scroll */
.hero-scroll {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: 1.6rem;
  z-index: 4;
  width: 42px; height: 42px;
  display: none;
  place-content: center;
  color: var(--oliva-folha);
  border: 1px solid rgba(184, 192, 168, .4);
  border-radius: 50%;
  animation: setaScroll 1200ms ease-in-out infinite alternate;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes setaScroll { to { transform: translateY(10px); } }

/* estado pós-load (classe adicionada via JS) */
.hero.is-in .hero-eyebrow { animation: fadeUp .6s var(--ease-out-quart) .2s forwards; }
.hero.is-in .hero-title .line:nth-child(1) > span { animation: lineUp .9s var(--ease-out-expo) .35s forwards; }
.hero.is-in .hero-title .line:nth-child(2) > span { animation: lineUp .9s var(--ease-out-expo) .48s forwards; }
.hero.is-in .hero-sub { animation: fadeUp24 .7s var(--ease-out-quart) .9s forwards; }
.hero.is-in .hero-ctas { animation: fadeUp24 .7s var(--ease-out-quart) .99s forwards; }
.hero.is-in .hero-badge { animation: fadeUp24 .7s var(--ease-out-quart) 1.08s forwards; }
.hero.is-in .hero-figure { animation: figureIn 1s var(--ease-out-expo) .5s forwards; }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp24 { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes figureIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================
   DOR / SOLUÇÃO — "Nossa Promessa" (edição premium)
   ============================================================ */
.dor-premium {
  background: var(--verde-profundo);
  position: relative;
}
.dor-grid { display: grid; gap: var(--sp-gap); position: relative; z-index: 1; }
.dor-texto-col { display: flex; flex-direction: column; }
.dor-foto {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
}
.dor-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.dor-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(27, 38, 9, .5) 100%);
  pointer-events: none;
}
.dor-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.16;
  color: var(--creme-claro);
  max-width: 22ch;
}
.dor-title em { font-style: italic; color: var(--vinho-casa); }
.dor-lista { display: grid; margin-bottom: 2rem; }
.dor-lista li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(184, 192, 168, .22);
  font-weight: 500;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: rgba(245, 239, 230, .92);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s var(--ease-out-quart), transform .6s var(--ease-out-quart), border-color .3s;
}
.dor-pontos.in .dor-lista li {
  opacity: 1;
  transform: translateX(0);
}
.dor-lista li:nth-child(1) { transition-delay: .05s; }
.dor-lista li:nth-child(2) { transition-delay: .15s; }
.dor-lista li:nth-child(3) { transition-delay: .25s; }
.dor-lista li:nth-child(4) { transition-delay: .35s; }
.dor-lista li:nth-child(5) { transition-delay: .45s; }
.dor-lista li:hover { border-color: var(--vinho-casa); }
.dor-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--vinho-casa);
  color: var(--vinho-casa);
  transition: background .3s, color .3s;
}
.dor-icon svg { width: 20px; height: 20px; }
.dor-lista li:hover .dor-icon { background: var(--vinho-casa); color: var(--creme-claro); }

@keyframes marqueeX { to { transform: translateX(-50%); } }

/* ============================================================
   FILTROS DE CATEGORIA — CARDÁPIO
   ============================================================ */
.cardapio-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.filtro-btn {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--oliva-folha);
  color: var(--verde-piatto);
  background: transparent;
  transition: background .3s, color .3s, border-color .3s;
}
.filtro-btn:hover { border-color: var(--vinho-casa); color: var(--vinho-casa); }
.filtro-btn.is-active { background: var(--verde-piatto); border-color: var(--verde-piatto); color: var(--creme-claro); }

/* ============================================================
   BENTO GRID — CARDÁPIO
   ============================================================ */
.bento-carrossel {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.bento {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.bento::-webkit-scrollbar { display: none; }
.bento-card {
  position: relative;
  flex: 0 0 74vw;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--oliva-folha);
  background: var(--verde-profundo);
  transition: opacity .4s ease, transform .4s ease;
}
/* setas de navegação — só fazem sentido no carrossel desktop */
.bento-nav {
  display: none;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--oliva-folha);
  background: var(--creme-claro);
  color: var(--verde-piatto);
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s, border-color .3s;
  z-index: 2;
}
.bento-nav:hover { background: var(--vinho-casa); border-color: var(--vinho-casa); color: var(--creme-claro); }
.bento-nav svg { width: 20px; height: 20px; }
.bento-nav[disabled] { opacity: .35; pointer-events: none; }
.bento-card.is-hidden {
  display: none;
}
.bento-fg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05);
  transition: transform .52s var(--ease-out-quart);
  will-change: transform;
}
/* enquadramento ajustado por card, pra manter o prato visível em vez de cortar */
.b-massa .bento-fg { object-position: center 30%; }
.b-vinhos .bento-fg { object-position: center 78%; }
.b-nhoque .bento-fg { object-position: center 62%; }
.b-fondue .bento-fg { object-position: center 15%; }
.b-burrata .bento-fg { object-position: 32% center; }
.b-sobremesas .bento-fg { object-position: center 68%; }
.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,38,9,0) 30%, rgba(27,38,9,.65) 100%);
  opacity: .85;
  transition: opacity .52s var(--ease-out-quart);
}
/* brilho quente cruzando a imagem no hover — tom âmbar/vinho, como reflexo de vela sobre a mesa */
.bento-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 42%, rgba(230, 178, 90, .22) 50%, transparent 58%);
  transform: translateX(-140%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.bento-card:hover .bento-shine { transition: transform 1.05s var(--ease-out-quart); transform: translateX(140%); }
/* selo "mais pedido" */
.bento-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  z-index: 3;
  background: var(--vinho-casa);
  color: var(--creme-claro);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.bento-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.4rem;
  z-index: 3;
}
.bento-cat {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oliva-folha);
}
.bento-name {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--creme-claro);
  margin-top: .25rem;
}
.bento-desc {
  font-size: .9rem;
  color: rgba(245, 239, 230, .9);
  max-width: 42ch;
  margin-top: .35rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .52s var(--ease-out-quart), transform .52s var(--ease-out-quart);
}
.bento-card:hover .bento-fg { transform: scale(1.055); transition: transform .9s var(--ease-out-quart); }
.bento-card:hover .bento-overlay { opacity: 1; background: linear-gradient(180deg, rgba(27,38,9,.08) 0%, rgba(58,20,20,.72) 100%); }
.bento-card:hover .bento-desc { opacity: 1; transform: translateY(0); }
.bento-card:hover { border-color: var(--vinho-casa); }
.cardapio-cta { margin-top: clamp(2.2rem, 5vw, 3.5rem); text-align: center; }

/* ============================================================
   GALERIA — PARALLAX (clima noturno / osteria premium)
   ============================================================ */
.galeria {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(168,40,32,.14) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(201,162,75,.10) 0%, transparent 50%),
    var(--tinta);
  color: var(--creme-claro);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.galeria .section-head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.galeria::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.galeria .section-title { color: var(--creme-claro); }

/* mosaico simétrico 2x2 — fotos compactas, sem texto, proporção original preservada */
.clima-mosaico {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.clima-item {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,.32);
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}
.clima-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) brightness(.94);
  transition: transform 1.05s var(--ease-out-quart), filter .6s ease;
}
.clima-item:hover img { transform: scale(1.05); filter: saturate(1.14) brightness(1); }
.clima-item::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  border: 1px solid rgba(201,162,75,0);
  transition: border-color .5s ease;
  pointer-events: none;
}
.clima-item:hover::before { border-color: rgba(201,162,75,.55); }

/* ============================================================
   HISTÓRIA — TIMELINE TRAVADA (compacta) + VÍDEO
   ============================================================ */
.historia {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201,162,75,.08) 0%, transparent 45%),
    var(--verde-profundo);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.historia::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.historia-scroll { position: relative; }
.historia-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(1.5rem, 4vh, 2.5rem);
}
.historia-head { margin-bottom: clamp(1.6rem, 4vw, 2.2rem); }
.historia-head .section-title { color: var(--creme-piatto); }
.tl-viewport { position: relative; z-index: 1; overflow: hidden; }
.tl-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding-inline: clamp(1.5rem, 6vw, 6rem);
  will-change: transform;
}
.tl-marco {
  position: relative;
  width: min(230px, 74vw);
  flex-shrink: 0;
  padding: 1.1rem 1.2rem 1.3rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 6px;
}
.tl-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dourado-piatto);
  line-height: 1;
  margin-bottom: .6rem;
}
.tl-title {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 400;
  font-size: .92rem;
  color: var(--creme-claro);
  margin-bottom: .5rem;
}
.tl-marco p { color: rgba(234, 222, 210, .8); font-size: .85rem; line-height: 1.5; }

.historia-video {
  position: relative;
  z-index: 1;
  /* mesma largura ocupada pelos 5 cards da timeline: 5 × 230px + 4 gaps de 1.5rem */
  max-width: calc(5 * 230px + 4 * 1.5rem);
  width: 100%;
  margin: clamp(1.2rem, 3vh, 2rem) auto 0;
}
.historia-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(201,162,75,.35);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
}

/* ============================================================
   REELS
   ============================================================ */
.reels {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(168,40,32,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(201,162,75,.08) 0%, transparent 45%),
    var(--verde-profundo);
  position: relative;
  z-index: 2;
}
.reels .section-title { color: var(--creme-piatto); }
.reels .section-sub { color: rgba(234, 222, 210, .78); }
.reels .section-sub a { color: var(--dourado-piatto); border-color: var(--dourado-piatto); }
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.reel {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,.3);
  background: var(--verde-profundo);
  cursor: pointer;
  box-shadow: 0 20px 45px -25px rgba(0,0,0,.65);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.reel:hover { border-color: rgba(201,162,75,.6); box-shadow: 0 28px 55px -25px rgba(0,0,0,.75); }
.reel video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.06) brightness(.96);
  transition: transform 1s var(--ease-out-quart), filter .6s ease;
}
.reel:hover video { transform: scale(1.05); filter: saturate(1.12) brightness(1); }
.reel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,18,.05) 45%, rgba(26,23,18,.82) 100%);
  pointer-events: none;
}
/* brilho quente cruzando o card no hover, coerente com o cardápio */
.reel::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 42%, rgba(201,162,75,.22) 50%, transparent 58%);
  transform: translateX(-140%);
  pointer-events: none;
}
.reel:hover::before { transition: transform 1s var(--ease-out-quart); transform: translateX(140%); }
.reel-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--creme-claro);
}
.reel-tag::before {
  content: "";
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--dourado-piatto);
  margin-right: .5rem;
  vertical-align: middle;
}
/* botão play/pause — anel dourado fino, estilo osteria */
.reel-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  z-index: 2;
  cursor: pointer;
}
.reel-play-ring {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201,162,75,.7);
  background: rgba(26,23,18,.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
  transition: transform .3s var(--ease-back), border-color .3s ease, background .3s ease;
}
.reel:hover .reel-play-ring { transform: scale(1.06); border-color: var(--dourado-piatto); background: rgba(26,23,18,.6); }
.reel-play svg { width: 20px; height: 20px; }
.icon-play { fill: var(--dourado-piatto); stroke: none; }
.icon-pause { display: none; stroke: var(--dourado-piatto); stroke-width: 2; fill: none; }
.reel.playing .icon-play { display: none; }
.reel.playing .icon-pause { display: block; }
.reel.playing .reel-play-ring { opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.reel:hover.playing .reel-play-ring,
.reel.playing:hover .reel-play-ring { opacity: 1; pointer-events: auto; }

/* botões de som e expandir — só aparecem com o vídeo em reprodução */
.reel-btn {
  position: absolute;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26,23,18,.55);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(201,162,75,.4);
  color: var(--creme-claro);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: background .25s ease, border-color .25s ease, opacity .25s ease;
}
.reel.playing .reel-btn { opacity: 1; pointer-events: auto; }
.reel-btn:hover { background: rgba(26,23,18,.8); border-color: var(--dourado-piatto); }
.reel-btn svg { width: 16px; height: 16px; }
.reel-btn-sound { top: .7rem; right: .7rem; }
.reel-btn-expand { top: .7rem; right: 3.1rem; }
.reel-btn-sound .icon-unmuted { display: none; }
.reel-btn-sound[aria-pressed="true"] .icon-muted { display: none; }
.reel-btn-sound[aria-pressed="true"] .icon-unmuted { display: block; }

/* modal / lightbox do vídeo — vitrine premium */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.reel-modal.is-open { display: flex; }
.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(58,20,20,.5) 0%, transparent 60%),
    rgba(10,9,6,.92);
  backdrop-filter: blur(6px);
  animation: reelBackdropIn .4s ease both;
}
@keyframes reelBackdropIn { from { opacity: 0; } to { opacity: 1; } }
.reel-modal-content {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  max-height: 90vh;
  animation: reelModalIn .45s var(--ease-out-quart) both;
}
@keyframes reelModalIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.reel-modal-content video {
  display: block;
  width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  background: var(--tinta);
  border: 1px solid rgba(201,162,75,.55);
  box-shadow:
    0 0 0 1px rgba(201,162,75,.12),
    0 0 40px -4px rgba(201,162,75,.25),
    0 30px 80px -20px rgba(0,0,0,.85);
}
.reel-modal-close {
  position: absolute;
  top: -1.1rem; right: -1.1rem;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tinta);
  border: 1px solid var(--dourado-piatto);
  color: var(--dourado-piatto);
  cursor: pointer;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.7);
  transition: transform .25s var(--ease-back), background .25s ease, color .25s ease;
}
.reel-modal-close:hover { background: var(--dourado-piatto); color: var(--tinta); transform: scale(1.08) rotate(90deg); }
.reel-modal-close svg { width: 18px; height: 18px; }
.reel-modal-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .82rem;
  color: var(--dourado-piatto);
}
.reel-modal-caption:empty { display: none; }

/* ============================================================
   AVALIAÇÕES — MARQUEE
   ============================================================ */
.avaliacoes { overflow: hidden; position: relative; }
.citacao { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); position: relative; }
.citacao-aspas {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: .6;
  color: var(--dourado-piatto);
  opacity: .45;
  margin-bottom: .3rem;
}
.citacao blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.3;
  color: var(--verde-piatto);
  max-width: 18ch;
  margin-inline: auto;
}
.citacao blockquote span { color: var(--vinho-casa); }
.citacao figcaption {
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  color: var(--tinta);
  opacity: .85;
}
.citacao figcaption::before {
  content: "";
  display: block;
  width: 36px; height: 1px;
  background: var(--dourado-piatto);
  margin: 0 auto .8rem;
  opacity: .8;
}
.marquee { display: grid; gap: 20px; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.track-1 { animation: marqueeX 55s linear infinite; }
.track-2 { animation: marqueeX 68s linear infinite reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.rev-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--creme-claro);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  box-shadow: 0 20px 40px -28px rgba(26,23,18,.35);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.rev-card:hover {
  border-color: rgba(201,162,75,.6);
  box-shadow: 0 24px 48px -24px rgba(26,23,18,.45);
  transform: translateY(-3px);
}
.rev-card p { font-size: 15px; line-height: 1.65; flex: 1; }
.rev-card footer { display: flex; flex-direction: column; gap: .15rem; }
.rev-card footer strong {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 400;
  font-size: .88rem;
  color: var(--verde-piatto);
}
.rev-card footer span { font-size: 12px; color: var(--oliva-folha); }
.rev-stars .stars-svg { width: 84px; height: 17px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(168,40,32,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 100%, rgba(201,162,75,.1) 0%, transparent 45%),
    var(--verde-profundo);
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.faq-grid { display: grid; gap: clamp(2.2rem, 5vw, 3.2rem); position: relative; z-index: 1; }
.faq-head { text-align: center; max-width: 640px; margin-inline: auto; }
.faq .section-title { color: var(--creme-piatto); }
.faq .section-sub { color: rgba(234, 222, 210, .8); }

.faq-lista { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; width: 100%; }
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 6px;
  background: rgba(255,255,255,.02);
  transition: border-color .35s ease, background .35s ease;
}
.faq-item[open] {
  border-color: rgba(201,162,75,.6);
  background: linear-gradient(115deg, rgba(201,162,75,.1), rgba(168,40,32,.06));
}
.faq-num {
  position: absolute;
  top: -.4rem; right: .8rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--dourado-piatto);
  opacity: .1;
  z-index: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.faq-item[open] .faq-num { opacity: .18; }
.faq-item summary {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.9rem 2rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-pergunta {
  flex: 1;
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--creme-claro);
  transition: color .3s;
}
.faq-item summary:hover .faq-pergunta { color: var(--dourado-piatto); }
.faq-icon {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--dourado-piatto);
  transition: transform .35s var(--ease-back), background .3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--dourado-piatto);
  inset: 0;
  margin: auto;
  transition: background .3s ease;
}
.faq-icon::before { width: 9px; height: 1px; }
.faq-icon::after { width: 1px; height: 9px; }
.faq-item[open] .faq-icon { background: var(--vinho-casa); border-color: var(--vinho-casa); transform: rotate(90deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--creme-claro); }
.faq-body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .42s var(--ease-std), opacity .42s var(--ease-std);
}
.faq-body p { padding: 0 2rem 2rem; max-width: 68ch; font-size: 1rem; line-height: 1.7; color: rgba(234, 222, 210, .78); }
.faq-body a { color: var(--dourado-piatto); font-weight: 700; }

/* ============================================================
   LOCALIZAÇÃO
   ============================================================ */
.localizacao {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(168,40,32,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(201,162,75,.1) 0%, transparent 45%),
    var(--verde-profundo);
  position: relative;
  overflow: hidden;
}
.localizacao::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.localizacao .section-title { color: var(--creme-piatto); }
.loc-grid { display: grid; gap: var(--sp-gap); position: relative; z-index: 1; }
.loc-info address {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--creme-claro);
  margin-bottom: 1.3rem;
}
.loc-info address strong { color: var(--dourado-piatto); }
.loc-horario { margin-bottom: 1.8rem; font-weight: 500; color: rgba(234, 222, 210, .85); }
.loc-horario span { color: var(--dourado-piatto); }
.loc-contatos { margin-top: 2.2rem; display: grid; gap: 2px; }
.loc-contatos a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,162,75,.25);
  width: 100%;
  transition: border-color .3s ease, padding-left .3s var(--ease-out-expo);
}
.loc-contatos a:hover { border-color: var(--dourado-piatto); padding-left: .4rem; }
.loc-contato-label {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--dourado-piatto);
  flex-shrink: 0;
}
.loc-contato-valor { color: rgba(234, 222, 210, .85); font-weight: 500; text-align: right; }
.loc-contatos a:hover .loc-contato-valor { color: var(--creme-claro); }

.loc-mapas { display: grid; gap: 20px; position: relative; z-index: 1; }
.mapa-frame {
  border: 1px solid rgba(201,162,75,.35);
  border-radius: 4px;
  overflow: hidden;
  background: var(--tinta);
  box-shadow: 0 25px 50px -25px rgba(0,0,0,.6);
  filter: grayscale(.15) contrast(1.05);
  transition: filter .4s ease, border-color .4s ease;
}
.mapa-frame:hover { filter: grayscale(0) contrast(1); border-color: var(--dourado-piatto); }
.mapa-frame iframe { width: 100%; height: 320px; display: block; }
.mapa-frame-unico iframe { height: 420px; }

/* ============================================================
   RESERVA / CTA
   ============================================================ */
.reserva {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(201,162,75,.14) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(168,40,32,.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(27,38,9,.88) 0%, rgba(27,38,9,.94) 55%, var(--verde-profundo) 100%),
    url("Assets/casa-piatto-fachada-noturna-flor-cliente.webp");
  background-size: cover;
  background-position: center 35%;
  position: relative;
  overflow: hidden;
}
.reserva::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.reserva-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); position: relative; z-index: 1; }
.reserva-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  color: var(--creme-piatto);
  margin-bottom: 1.2rem;
  max-width: 16ch;
}
.reserva-title em { font-style: italic; color: var(--dourado-piatto); }
.reserva-texto > p { color: rgba(234, 222, 210, .85); max-width: 44ch; }
.reserva-direta { margin-top: 1.4rem; }
.reserva-direta a { color: var(--dourado-piatto); font-weight: 700; border-bottom: 1px solid var(--dourado-piatto); }

.reserva-form {
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(201,162,75,.4);
  border-radius: 8px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  gap: 1.3rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
}
.campo { position: relative; }
.campo input, .campo textarea {
  width: 100%;
  font: inherit;
  color: var(--creme-claro);
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 4px;
  padding: 1.05rem 1rem .8rem;
  transition: border-color .26s ease-out, background .26s ease-out;
  resize: vertical;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--dourado-piatto); background: rgba(0,0,0,.25); }
.campo label {
  position: absolute;
  left: 1rem; top: .95rem;
  font-size: 14px;
  color: rgba(234, 222, 210, .55);
  pointer-events: none;
  transition: transform .26s ease-out, font-size .26s ease-out, color .26s;
  transform-origin: left top;
}
.campo input:focus + label,
.campo input:not(:placeholder-shown) + label,
.campo textarea:focus + label,
.campo textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 11px;
  color: var(--dourado-piatto);
  background: var(--verde-profundo);
  padding-inline: .3rem;
}
.label-fixa {
  transform: translateY(-22px);
  font-size: 11px !important;
  background: var(--verde-profundo);
  padding-inline: .3rem;
}
.campo input[type="datetime-local"] { padding-top: 1.05rem; color: var(--creme-claro); color-scheme: dark; }
.campo-duplo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo-erro {
  display: none;
  font-size: 12px;
  color: var(--vinho-casa);
  margin-top: .35rem;
}
.campo.invalid input { border-color: var(--vinho-casa); }
.campo.invalid .campo-erro { display: block; }
.form-status { font-size: .92rem; font-weight: 500; min-height: 1.4em; text-align: center; color: var(--dourado-piatto); }
.form-status.ok { color: var(--verde-piatto); }
.form-status.erro { color: var(--vinho-casa); }

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background: var(--verde-profundo);
  border-top: 1px solid rgba(184, 192, 168, .25);
  padding-top: clamp(3rem, 7vw, 5rem);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
.footer-logo-img { width: 140px; height: 140px; object-fit: contain; }
.footer-tag { color: rgba(234, 222, 210, .75); font-size: .95rem; max-width: 34ch; margin-top: .8rem; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin-top: 1.2rem;
  border-radius: 50%;
  border: 1px solid rgba(201,162,75,.4);
  color: var(--dourado-piatto);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social:hover { background: var(--dourado-piatto); color: var(--verde-profundo); border-color: var(--dourado-piatto); }
.footer-col h3 {
  font-family: var(--font-acento);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 400;
  font-size: .85rem;
  color: var(--oliva-folha);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: 1rem; }
.footer-col li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-col svg { width: 18px; height: 18px; fill: var(--oliva-folha); flex-shrink: 0; margin-top: .2rem; }
.footer-col a, .footer-col li span { color: rgba(234, 222, 210, .85); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--vinho-casa); }
.footer-col-simple { gap: .8rem; }
.creditos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(234, 222, 210, .1);
  font-size: .85rem;
  color: rgba(234, 222, 210, .65);
}
.creditos .ag5 { color: #A82820; font-weight: 700; }
.creditos .ag5:hover { color: var(--creme-piatto); text-decoration: underline; }

.footer-credits-left { display: grid; gap: 4px; }
.creditos-copy { font-size: .75rem; color: rgba(234, 222, 210, .5); }

.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; font-size: 11px; color: rgba(234, 222, 210, .4); }
.footer-legal-links a { color: inherit; transition: color .3s; display: inline-flex; align-items: center; gap: 6px; }
.footer-legal-links a:hover { color: var(--vinho-casa); }
.footer-legal-links .legal-sep { margin: 0 10px; opacity: .3; }

.footer-credits-right { font-size: .75rem; color: rgba(234, 222, 210, .5); white-space: nowrap; }

/* Toggle visual de cookies — padrão AG5 */
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  width: 28px; height: 14px;
  background: rgba(234, 222, 210, .1);
  border-radius: 10px;
  padding: 2px;
  border: 1px solid rgba(234, 222, 210, .2);
  position: relative;
  font-size: 8px;
  font-weight: bold;
  transition: border-color .2s ease;
}
.cookie-toggle-check { color: #86EFAC; margin-left: 2px; }
.cookie-toggle-x { color: #FCA5A5; margin-left: auto; margin-right: 2px; }
.cookie-toggle-dot {
  position: absolute;
  left: 2px;
  width: 10px; height: 10px;
  background: #888;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  transition: left .2s ease, background .2s ease;
}
.cookie-toggle.active .cookie-toggle-dot { left: 15px; background: var(--vinho-casa); }
.cookie-toggle.inactive .cookie-toggle-dot { left: 2px; background: #888; }
#ck-prefs-link:hover .cookie-toggle { border-color: rgba(234, 222, 210, .4); }
#ck-prefs-link:hover .cookie-toggle-dot { box-shadow: 0 0 8px rgba(168, 40, 32, .5); }

@media (max-width: 767px) {
  .creditos { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================================
   ANIMAÇÕES DE SCROLL (estados)
   ============================================================ */
.reveal, .reveal-left {
  opacity: 0;
  will-change: transform, opacity;
}
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-40px); }
.reveal.in, .reveal-left.in {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-left.in { transition-duration: .8s; }
/* stagger dos cards do bento/reels via delay inline (JS) */

/* ============================================================
   RESPONSIVO — breakpoints 480 / 768 / 1024 / 1280
   ============================================================ */
@media (min-width: 480px) {
  .reels-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero-scroll { display: grid; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-figure { display: block; }
  .dor-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
  .loc-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .reserva-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento-nav { display: flex; }
  .bento-card { flex: 0 0 calc((100% - 32px) / 2); }
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .reels-grid { grid-template-columns: repeat(5, 1fr); }
  .mapa-frame-unico iframe { height: 520px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-card { flex: 0 0 calc((100% - 40px) / 3); }
}

@media (max-width: 767px) {
  /* Hero mobile — foto com degradê forte + textos aproveitando o limite da seção */
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(27,38,9,.55) 0%, rgba(27,38,9,.4) 30%, rgba(27,38,9,.88) 78%, rgba(27,38,9,.97) 100%);
  }
  .hero-grid { padding-top: 6.5rem; padding-bottom: 2.6rem; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.6rem); }
  .hero-sub { max-width: 34ch; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-scroll { display: none; }

  .rev-card { width: 82vw; }
  .campo-duplo { grid-template-columns: 1fr; }

  .clima-mosaico { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOVIMENTO REDUZIDO — fallback editorial estático
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; }
  .hero-title .line > span, .hero-sub, .hero-ctas, .hero-badge, .hero-figure { opacity: 1; transform: none; }
  .reveal, .reveal-left { opacity: 1; transform: none; }
  .historia-sticky { position: static; min-height: 0; }
  .tl-viewport { overflow: visible; }
  .tl-track { flex-direction: column; width: 100%; padding-inline: 1.5rem; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP PREMIUM — Balão + botão flutuante (AG5 V4)
═══════════════════════════════════════════════════════ */
.wa-premium-container {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 2000;
  font-family: var(--font-body);
}

/* Balão Glassmorphism */
.wa-bubble {
  width: 280px;
  position: absolute;
  bottom: 68px;
  right: 0;
  background: rgba(255, 252, 246, .98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 40, 32, .25);
  border-radius: 1rem;
  box-shadow: 0 12px 32px -12px rgba(28, 24, 12, .18);
  padding: 1rem 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Cauda triangular conectando o balão ao botão */
.wa-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 1px solid rgba(168, 40, 32, .35);
  border-bottom: 1px solid rgba(168, 40, 32, .35);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
  z-index: -1;
}

.wa-bubble.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Cabeçalho */
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-avatar-wrapper { position: relative; flex-shrink: 0; }

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid #25d366;
  display: block;
}

.wa-name {
  display: block;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
  letter-spacing: .01em;
}

/* Digitação */
.wa-typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.wa-typing span {
  width: 5px;
  height: 5px;
  background: #25d366;
  border-radius: 50%;
  animation: wa-typing-ani 1.4s infinite;
  opacity: 0.4;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing-ani {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(-4px); opacity: 1; }
}

/* Mensagem */
.wa-message-text p {
  margin: 0;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.wa-message-text p strong {
  color: var(--vinho-casa);
  font-weight: 700;
}

/* Botão flutuante redondo (estado inicial hidden, JS controla via .visible) */
.wa-float-btn {
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.6s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  position: relative;
}

.wa-float-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float-btn:hover { transform: scale(1.1) translateY(-3px); }
.wa-float-btn svg { display: block; }

/* Badge de notificação (compacto — não invasivo) */
.wa-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: #ff3b30;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid #fff;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s ease;
}

.wa-badge.show { opacity: 1; transform: scale(1); }

/* Botão fechar */
.wa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-close:hover { color: #666; }

/* Classes utilitárias (PageSpeed fix — substituem inline style do JS, evita forced reflow) */
.wa-typing.is-hidden { display: none !important; }
.wa-message-text.is-visible { display: block !important; opacity: 0; transition: opacity 500ms ease; }
.wa-message-text.is-visible.is-in { opacity: 1; }

@media (max-width: 480px) {
  .wa-premium-container { bottom: 16px; right: 16px; }
  .wa-bubble { width: 260px; bottom: 72px; }
}
