/* ============================================================
   TRIBO DA PEDRA — design tokens
   Ink:      #1C1712  (pedra escura / basalto)
   Cream:    #F6F1E6  (calcário claro)
   Stone:    #EAE2D2  (fundo neutro secundário)
   Wine:     #7E1220  (vermelho da marca)
   Ember:    #D9520F  (laranja da marca)
   Gold:     #E9A93B  (amarelo da marca, ajustado p/ contraste)
   Yellow:   #FFCD2E  (amarelo vivo, extraído da logo)
   ============================================================ */
:root {
  --ink: #1c1712;
  --ink-soft: #2a231b;
  --cream: #f6f1e6;
  --cream-soft: #fbf8f1;
  --stone: #eae2d2;
  --wine: #7e1220;
  --wine-light: #a5192b;
  --ember: #d9520f;
  --gold: #e9a93b;
  --gold-soft: #f3cf85;
  --logo-yellow: #ffcd2e;
  --text-muted: #6b6255;
  --line: rgba(28, 23, 18, 0.12);
  --line-light: rgba(246, 241, 230, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container-narrow { max-width: 760px; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ============ EYEBROW / TITLES ============ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-yellow { color: var(--logo-yellow); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.section-title-light { color: var(--cream); }
.section-title-center { margin-left: auto; margin-right: auto; }

.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0 0 40px;
}
.section-lead-light { color: rgba(246, 241, 230, 0.72); }

.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--cream); }

.link-arrow {
  display: inline-block;
  font-weight: 700;
  color: var(--wine);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.25s var(--ease);
}
.link-arrow:hover { opacity: 0.65; }
.link-arrow-light { color: var(--gold-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ember), var(--wine));
  color: var(--cream-soft);
  box-shadow: 0 10px 30px -10px rgba(126, 18, 32, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(217, 82, 15, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 230, 0.45);
}
.btn-ghost:hover { background: rgba(246, 241, 230, 0.12); transform: translateY(-2px); }

/* ============ PULSE EFFECT (efeito do botão do WhatsApp — em todos os elementos clicáveis) ============ */
.pulse-btn { position: relative; isolation: isolate; }
.pulse-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--gold);
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
  z-index: 2;
}
.pulse-round::after { border-radius: 50%; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-btn::after { animation: none; opacity: 0; }
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(28, 23, 18, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 120px;
  width: auto;
  transition: height 0.35s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.site-header.scrolled .brand-logo { height: 96px; }

/* ============ HEADER ACTIONS (orçamento + hambúrguer lado a lado) ============ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember), var(--wine));
  color: var(--cream-soft);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(126, 18, 32, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(217, 82, 15, 0.55); }

/* Hamburger — abre o menu (fecha pelo X dentro do próprio menu) */
.hamburger {
  position: relative;
  z-index: 210;
  width: 48px;
  height: 48px;
  background: rgba(246, 241, 230, 0.08);
  border: 1px solid rgba(246, 241, 230, 0.22);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.3s var(--ease);
}
.hamburger:hover { background: rgba(246, 241, 230, 0.16); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
}

/* ============ MENU (fora do header — ver comentário no HTML) ============ */
.main-nav {
  position: fixed;
  inset: 0;
  background: linear-gradient(155deg, var(--ink) 0%, #241a13 60%, var(--wine) 160%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  z-index: 400;
  overflow-y: auto;
  padding: 90px 20px 40px;
}
.main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-close {
  position: absolute;
  top: 22px; right: clamp(20px, 5vw, 48px);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(246,241,230,0.08);
  border: 1px solid rgba(246,241,230,0.22);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-close:hover { background: rgba(246,241,230,0.18); transform: rotate(90deg); }
.main-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin: auto;
}
.main-nav .nav-link,
.main-nav .nav-link-toggle {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--cream);
  position: relative;
}
.main-nav .nav-link-toggle {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-chevron { transition: transform 0.3s var(--ease); flex-shrink: 0; }
.nav-link-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav .nav-link:hover::after { transform: scaleX(1); }
.main-nav .nav-cta {
  margin-top: 12px;
  display: inline-flex;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember), var(--wine));
  color: var(--cream-soft);
  font-weight: 700;
  font-size: 1rem;
}

/* ============ SUBMENU DE PRODUTOS (mega menu expansível) ============ */
.nav-item-has-sub { display: flex; flex-direction: column; align-items: center; width: 100%; }
.nav-submenu {
  max-height: 0;
  width: min(680px, 90vw);
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin 0.45s var(--ease);
}
.nav-submenu.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 22px;
}
.nav-submenu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 28px;
  padding: 22px 26px;
  background: rgba(246,241,230,0.05);
  border: 1px solid rgba(233,169,59,0.28);
  border-radius: 10px;
}
.nav-sub-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(246,241,230,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(246,241,230,0.08);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav-submenu-grid .nav-sub-link:hover { color: var(--gold-soft); padding-left: 4px; }
.nav-submenu-all {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 0.92rem;
  border-bottom: none;
  padding: 0;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(15,11,8,1) 0%, rgba(15,11,8,0.72) 42%, rgba(20,14,10,0.52) 100%),
    linear-gradient(100deg, rgba(126,18,32,0.4), rgba(0,0,0,0) 55%),
    rgba(0,0,0,0.2);
}
.hero-img-static { animation: none; transform: scale(1); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) clamp(64px, 9vw, 110px);
  width: 100%;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  display: block;
}
.hero-sub { max-width: 52ch; font-size: 1.12rem; color: rgba(246,241,230,0.85); margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.reveal { opacity: 0; transform: translateY(24px); animation: revealUp 0.9s var(--ease) forwards; }
.reveal-5 { animation-delay: 0.85s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* ============ TEXTO COM MÁSCARA (GSAP SplitText, vanilla JS) ============ */
.hero-title-line { display: block; overflow: hidden; }
.split-line-mask { display: inline-block; overflow: hidden; vertical-align: top; line-height: inherit; }
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%);
  filter: blur(14px);
  animation: wordReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity, filter;
}
@keyframes wordReveal {
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .split-word { animation: none; opacity: 1; transform: none; filter: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 2px solid rgba(246,241,230,0.55);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; top: 8px; } }

/* ============ QUEM SOMOS + QUALIDADE (cinematográfico, unificado) ============ */
.cinematic-section {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  padding: clamp(90px, 14vw, 160px) 0 clamp(70px, 10vw, 120px);
}
.cinematic-media { position: absolute; inset: 0; z-index: 0; }
.cinematic-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  animation: cinematicZoom 26s ease-in-out infinite alternate;
}
.cinematic-img-faint { opacity: 0.3; filter: saturate(0.7); }
@keyframes cinematicZoom {
  0% { transform: scale(1.1) translateY(0); }
  100% { transform: scale(1.22) translateY(-1.5%); }
}
.cinematic-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,15,10,0.94) 0%, rgba(20,15,10,0.86) 35%, rgba(20,15,10,0.6) 70%, rgba(20,15,10,0.72) 100%);
}
.cinematic-content { position: relative; z-index: 1; }

.quem-somos-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.quem-somos-text { max-width: 640px; }
.cinematic-title {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 26px;
}
.quem-somos-text p {
  color: rgba(246,241,230,0.82);
  font-size: 1.08rem;
  max-width: 56ch;
}
.quem-somos-placa {
  position: relative;
  transform: rotate(1.4deg);
}
.quem-somos-placa img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 30%;
  max-height: 620px;
  border-radius: 6px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7), 0 0 0 8px rgba(246,241,230,0.06);
  border: 3px solid rgba(233,169,59,0.25);
}

/* --- Quality panel: bloco "quem somos + qualidade" com cara tecnológica --- */
.quality-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(246,241,230,0.06), rgba(246,241,230,0.015));
  border: 1px solid rgba(233,169,59,0.28);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 52px);
  overflow: hidden;
}
.quality-panel::before,
.quality-panel::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid rgba(233,169,59,0.55);
  pointer-events: none;
}
.quality-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.quality-panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.quality-panel-head { margin-bottom: 18px; }
.quality-panel-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(233,169,59,0.1);
  border: 1px solid rgba(233,169,59,0.3);
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 16px;
}
.quality-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--cream);
  margin: 0;
}
.quality-panel p {
  color: rgba(246,241,230,0.78);
  font-size: 1.02rem;
  margin: 0 0 24px;
}
.quality-panel-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.quality-panel-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: rgba(246,241,230,0.85);
  border: 1px solid rgba(246,241,230,0.18);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
}
.quality-panel-stats i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px rgba(233,169,59,0.7);
}

/* ============ PRODUTOS (carrossel contido, com setas) ============ */
.section-produtos {
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.section-produtos .hero-media { position: absolute; }
.produtos-header { position: relative; z-index: 1; }

.produtos-contained {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.produtos-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.produtos-viewport::-webkit-scrollbar { display: none; }
.produtos-track {
  display: flex;
  gap: 16px;
}
.produto-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-soft);
  border: none;
  padding: 0;
  scroll-snap-align: start;
  text-decoration: none;
}
.produto-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.produto-card:hover img { transform: scale(1.08); }
.produto-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,11,8,0.88) 0%, rgba(15,11,8,0.05) 55%);
  z-index: 1;
}
.produto-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
}
.produto-card .zoom-icon {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(246,241,230,0.16);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.produto-card:hover .zoom-icon { opacity: 1; transform: translateY(0); }

/* Setas genéricas (usadas por produtos e pelo coverflow de obras) */
.carousel-arrow, .coverflow-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(233,169,59,0.5);
  background: rgba(10,8,6,0.6);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.6);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.carousel-arrow:hover, .coverflow-arrow:hover { background: rgba(10,8,6,0.85); border-color: var(--gold); }

/* ============ QUALIDADE / OBRAS CAROUSEL ============ */
.section-quality {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.quality-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.22; }
.quality-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) blur(1px); }
.section-quality::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(28,23,18,0.65) 40%, var(--ink) 100%);
  z-index: 0;
}
.section-quality .container { position: relative; z-index: 1; }

.coverflow-wrap {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  height: clamp(320px, 46vw, 460px);
}
.coverflow-stage {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  isolation: isolate;
}
.coverflow-card {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.65);
  transition: width 0.55s var(--ease), height 0.55s var(--ease), transform 0.55s var(--ease), opacity 0.55s var(--ease), z-index 0s;
}
.coverflow-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.coverflow-card.is-active { cursor: zoom-in; }
.coverflow-card.is-active::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 2px rgba(233,169,59,0.55);
  pointer-events: none;
}
.coverflow-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; }
.coverflow-prev { left: clamp(0px, 2vw, 24px); }
.coverflow-next { right: clamp(0px, 2vw, 24px); }
.obras-hint { text-align: center; margin-top: 26px; font-size: 0.85rem; color: rgba(246,241,230,0.5); letter-spacing: 0.04em; }

/* ============ DEPOIMENTOS ============ */
.section-testimonials { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.stardust-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.55; pointer-events: none; }
.section-testimonials .container { position: relative; z-index: 1; }
.testimonials-centered { text-align: center; }
.testimonials-centered .eyebrow,
.testimonials-centered .section-title { margin-left: auto; margin-right: auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 36px;
  text-align: left;
}
.testimonial-card {
  background: linear-gradient(165deg, rgba(246,241,230,0.06), rgba(246,241,230,0.02));
  border: 1px solid rgba(246,241,230,0.14);
  border-radius: 8px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: -40%; left: -20%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(233,169,59,0.14), transparent 70%);
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(233,169,59,0.4); }
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  flex-shrink: 0;
}
.testimonial-name { margin: 0; font-weight: 700; font-size: 0.98rem; }
.testimonial-meta { margin: 2px 0 0; font-size: 0.8rem; color: rgba(246,241,230,0.55); }
.google-g { margin-left: auto; flex-shrink: 0; }
.testimonial-stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 6px; }
.testimonial-date { font-size: 0.78rem; color: rgba(246,241,230,0.45); margin: 0 0 14px; }
.testimonial-text { margin: 0; color: rgba(246,241,230,0.88); font-size: 1rem; }
.testimonials-cta { margin-top: 8px; }

/* ============ FAQ ============ */
.section-faq { position: relative; overflow: hidden; }
.faq-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 620px; height: 340px;
  background: radial-gradient(ellipse at center, rgba(126,18,32,0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.section-faq .container { position: relative; z-index: 1; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  border-radius: 6px;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--wine);
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-answer p { margin: 0 0 20px; color: var(--text-muted); max-width: 65ch; }

/* ============ FOOTER ============ */
.site-footer { position: relative; overflow: hidden; background: #120d09; color: rgba(246,241,230,0.82); padding-top: clamp(56px, 8vw, 88px); }
.site-footer .stardust-canvas { opacity: 0.4; }
.site-footer .footer-grid,
.site-footer .footer-bottom { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246,241,230,0.1);
}
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; color: rgba(246,241,230,0.6); max-width: 34ch; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--gold-soft);
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(243, 207, 133, 0.4);
  transition: transform 0.6s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social:hover .footer-social-icon {
  transform: rotate(360deg);
  background: rgba(243, 207, 133, 0.12);
  border-color: var(--gold-soft);
}
.footer-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 18px; color: var(--cream); }
.footer-col ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold-soft); }
.footer-col p { font-size: 0.92rem; color: rgba(246,241,230,0.72); margin: 0 0 12px; }
.footer-hours li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 16px;
  color: rgba(246,241,230,0.72);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(246,241,230,0.1);
}
.footer-hours li:last-child { border-bottom: none; }
.footer-hours .fh-label { color: rgba(246,241,230,0.55); font-size: 0.86rem; }
.footer-hours .fh-value { text-align: right; font-weight: 700; color: var(--cream); line-height: 1.4; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(246,241,230,0.5);
}
.footer-bottom-inner a { font-weight: 700; color: var(--gold-soft); }

/* ============ WHATSAPP FLOAT (desktop + mobile) ============ */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 150;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--wine));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(126,18,32,0.65);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08) rotate(-4deg); }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(10, 8, 6, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(90vw, 900px); text-align: center; }
.lightbox-figure img { max-height: 78vh; margin: 0 auto; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7); }
.lightbox-figure figcaption { color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; margin-top: 18px; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(246,241,230,0.08);
  border: 1px solid rgba(246,241,230,0.2);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(246,241,230,0.2); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.1rem; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quem-somos-grid { grid-template-columns: 1fr; }
  .quem-somos-placa { max-width: 420px; margin: 0 auto; }
  .cinematic-title { max-width: 100%; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 100%; }
  .brand-logo { height: 76px; }
  .site-header.scrolled .brand-logo { height: 62px; }
  .coverflow-wrap { height: clamp(260px, 68vw, 360px); }
  .coverflow-arrow, .carousel-arrow { width: 40px; height: 40px; }
  .quality-panel-stats { gap: 8px; }
  .quality-panel { padding: 22px 18px; }
  .quality-panel h3 { font-size: 1.3rem; }
  .nav-submenu-grid { grid-template-columns: repeat(2, 1fr); gap: 2px 20px; padding: 18px 16px; }
  .nav-sub-link { font-size: 0.82rem; padding: 7px 0; }
  .main-nav .nav-link, .main-nav .nav-link-toggle { font-size: 1.5rem; }

  /* Produtos no mobile: uma imagem por vez, setas sobrepostas nas bordas */
  .produtos-contained { position: relative; gap: 0; }
  .produtos-contained .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  .carousel-arrow-prev { left: 4px; }
  .carousel-arrow-next { right: 4px; }
  .produtos-viewport { width: 100%; scroll-snap-type: x mandatory; }
  .produto-card {
    width: calc(100vw - (2 * clamp(20px, 5vw, 48px)));
    scroll-snap-align: center;
  }

  /* No mobile: hambúrguer sempre visível (agora essencial p/ navegar entre
     as páginas de produto); o botão de orçamento vira ícone circular
     pra caber ao lado, e o WhatsApp flutuante é o mesmo do desktop */
  .header-cta { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .header-cta span { display: none; }
}

/* ============ PÁGINA DE PRODUTO (sub-página individual) ============ */
.product-hero {
  position: relative;
  padding: clamp(120px, 16vw, 170px) 0 clamp(40px, 6vw, 64px);
  background: var(--ink);
  overflow: hidden;
}
.product-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(126,18,32,0.35), transparent 60%);
  pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(246,241,230,0.55);
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: rgba(246,241,230,0.75); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.breadcrumb span { color: var(--gold-soft); }
.product-hero-title { color: var(--cream); margin: 0; max-width: none; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.product-detail-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(28,23,18,0.35);
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.product-detail-info .eyebrow { margin-bottom: 12px; }
.product-detail-info .section-title { margin-bottom: 18px; }
.product-detail-info p.product-desc { color: var(--text-muted); font-size: 1.06rem; margin: 0 0 26px; }
.product-detail-info .quality-panel-stats { margin-bottom: 32px; }
.product-detail-info .quality-panel-stats span {
  border-color: var(--line);
  color: var(--ink);
}
.product-detail-info .quality-panel-stats i { background: var(--wine); box-shadow: 0 0 8px 1px rgba(126,18,32,0.5); }
.product-back-link { display: inline-block; margin-top: 28px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.related-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
}
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.related-card:hover img { transform: scale(1.08); }
.related-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,11,8,0.88) 0%, rgba(15,11,8,0.05) 55%);
}
.related-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 12px 14px;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}
