/* ============================================================
   NPA Mármores e Granitos — style.css
   Luxury Stone · Cinzel + Montserrat · Gold + Dark + White
   ============================================================ */

:root {
  --brand:      #C49A3C;
  --brand-lt:   #E2C06A;
  --brand-dk:   #9B7A2E;
  --brand-pale: rgba(196, 154, 60, 0.08);
  --brand-glow: rgba(196, 154, 60, 0.2);

  --bg:         #FAFAF8;
  --surface:    #F4F0E8;
  --card:       #FFFFFF;

  --dark:       #0F0E0C;
  --dark-2:     #1A1815;
  --dark-3:     #252220;

  --tx-1:       #1A1815;
  --tx-2:       #3D3A35;
  --tx-3:       #7A7570;
  --tx-inv:     rgba(255, 255, 255, 0.92);
  --tx-inv-2:   rgba(255, 255, 255, 0.55);
  --tx-inv-3:   rgba(255, 255, 255, 0.30);

  --line:       rgba(0, 0, 0, 0.08);
  --line-dark:  rgba(255, 255, 255, 0.08);

  --ff-display: 'Cinzel', serif;
  --ff-body:    'Montserrat', sans-serif;

  --header-h:   166px;
  --max-w:      1200px;
  --radius:     4px;
  --radius-lg:  8px;

  --shadow-sm:  0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow:     0 4px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 12px 56px rgba(0, 0, 0, 0.16);
  --shadow-gold:0 4px 28px rgba(196, 154, 60, 0.28);

  --ease:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:  0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--tx-2);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; font-family: var(--ff-body); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p {
  color: var(--tx-3);
  max-width: 540px;
  margin: 12px auto 0;
  font-size: 0.9rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--tx-1);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.15rem); letter-spacing: 0.05em; }

em { font-style: normal; color: var(--brand); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-gold:hover {
  background: var(--brand-dk);
  border-color: var(--brand-dk);
  box-shadow: var(--shadow-gold);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--tx-1);
  border-color: var(--tx-1);
}
.btn-outline:hover {
  background: var(--tx-1);
  color: #fff;
}

.btn-sm   { padding: 10px 24px; font-size: 0.68rem; }
.btn-full { width: 100%; }

/* Ícone do WhatsApp ao final dos CTAs (botões "Orçamento pelo WhatsApp" etc.) */
.btn-wa-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: transparent;
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease), height var(--ease);
}

#header.stuck {
  height: 116px;
  background: rgba(15, 14, 12, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Páginas sem hero escuro no topo (ex: privacidade) — header precisa de fundo sólido desde o início */
#header.header-on-light {
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#header.stuck .logo img {
  height: 100px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 150px;
  width: auto;
  display: block;
  transition: height var(--ease);
}
.footer-col-brand .logo img {
  height: 72px;
}

#main-nav { margin-left: auto; margin-top: -20px; }
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
#main-nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv);
  position: relative;
  padding-bottom: 3px;
}
#main-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width var(--ease);
}
#main-nav a:hover { color: var(--brand); }
#main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; margin-top: -20px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px;
}
.mobile-overlay[hidden] { display: none; }

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--tx-inv-2);
  font-size: 2rem;
  line-height: 1;
  padding: 4px;
  transition: color var(--ease);
}
.mobile-close:hover { color: #fff; }

.mobile-overlay nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-overlay nav a {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  color: var(--tx-inv);
  letter-spacing: 0.06em;
  transition: color var(--ease);
}
.mobile-overlay nav a:hover { color: var(--brand); }

/* ============================================================
   HERO — split screen
   ============================================================ */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-left {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 80px) 80px 80px max(32px, calc((100vw - var(--max-w)) / 2 + 32px));
  position: relative;
}

/* Subtle marble vein on dark half */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(196,154,60,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 90%, rgba(196,154,60,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--brand);
}

#hero h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  gap: 0px;
  line-height: 1.08;
}
.hero-line-main {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.hero-line-accent {
  color: var(--brand);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.08em;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--tx-inv-2);
  margin-bottom: 48px;
  font-style: italic;
  letter-spacing: 0.04em;
  font-family: var(--ff-display);
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right image half */
.hero-right {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(75deg, transparent 38%, rgba(255,255,255,0.02) 38.5%, transparent 39%),
    linear-gradient(120deg, transparent 55%, rgba(255,255,255,0.015) 55.5%, transparent 56%),
    linear-gradient(160deg, #3A3028, #2A2018, #1C1510);
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero-right-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(15,14,12,0.2) 35%, transparent 60%);
}

/* Gold seam between halves */
.hero-seam {
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(196,154,60,0.6) 20%,
    var(--brand) 50%,
    rgba(196,154,60,0.6) 80%,
    transparent 100%
  );
  z-index: 5;
  transform: translateX(-0.5px);
}


/* ============================================================
   NÚMEROS
   ============================================================ */
#numeros {
  background: var(--dark-2);
  padding: 0;
  border-top: 1px solid rgba(196,154,60,0.15);
  border-bottom: 1px solid rgba(196,154,60,0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 52px 24px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(196,154,60,0.2);
}

.stat-num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-num sup {
  font-size: 0.45em;
  font-weight: 400;
  opacity: 0.8;
  vertical-align: super;
}

.stat-label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tx-inv-2);
  margin-top: 10px;
  font-weight: 500;
}

/* ============================================================
   SERVIÇOS — cards com image reveal no hover
   ============================================================ */
#servicos { background: var(--bg); padding-top: 64px; padding-bottom: 100px; }
#servicos .section-header { padding-top: 0; }
#servicos .section-header h2 { color: var(--tx-1); }
#servicos .section-header p  { color: var(--tx-3); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

/* Card base */
.servico-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  cursor: pointer;
}

/* Gold top line */
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-slow);
  z-index: 2;
}
.servico-card:hover { transform: translateY(-3px); border-color: rgba(196,154,60,0.3); }
.servico-card:hover::before { transform: scaleX(1); }

/* Background image layer */
.servico-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  z-index: 0;
}
/* Dark gradient overlay on the image */
.servico-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.88) 100%);
}

/* Show image on hover */
.servico-card:hover .servico-bg { opacity: 1; }

/* Foto de fundo de cada card — revelada no hover (e sempre visível no mobile,
   ver @media (hover:none) abaixo). A ordem segue a ordem dos cards no HTML (01→09);
   se reordenar os serviços, ajuste os nth-child. */
.servicos-grid .servico-card:nth-child(1) .servico-bg { background-image: url('assets/img/servicos/cozinhas/acabamento-cozinha-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(2) .servico-bg { background-image: url('assets/img/servicos/banheiros/projeto-banheiro-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(3) .servico-bg { background-image: url('assets/img/servicos/escadas/escada-em-pedra-marmore-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(4) .servico-bg { background-image: url('assets/img/servicos/nichos/nicho-embutido-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(5) .servico-bg { background-image: url('assets/img/servicos/projetos-personalizados/design-personalizado-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(6) .servico-bg { background-image: url('assets/img/servicos/bordas-piscina/acabamento-externo-para-piscina-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(7) .servico-bg { background-image: url('assets/img/servicos/pias-esculpidas/pia-esculpida-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(8) .servico-bg { background-image: url('assets/img/servicos/sob-medida/peca-personalizada-em-pedra-paulinia-sp.webp'); }
.servicos-grid .servico-card:nth-child(9) .servico-bg { background-image: url('assets/img/servicos/materiais/materiais-para-marmoraria-paulinia-sp.webp'); }

/* All content sits above the image */
.servico-icon-wrap,
.servico-num,
.servico-card h3,
.servico-card p,
.servico-cta { position: relative; z-index: 1; }

/* Icon */
.servico-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-pale);
  border: 1px solid rgba(196,154,60,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background var(--ease), border-color var(--ease);
}
.servico-icon-wrap svg { width: 20px; height: 20px; color: var(--brand); }

/* On hover: icon adapts to dark bg */
.servico-card:hover .servico-icon-wrap {
  background: rgba(196,154,60,0.18);
  border-color: rgba(196,154,60,0.35);
}

/* Number */
.servico-num {
  font-family: var(--ff-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
  transition: color var(--ease);
}

/* Title */
.servico-card h3 {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  color: var(--tx-1);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  transition: color var(--ease);
}

/* Description */
.servico-card p {
  font-size: 0.84rem;
  color: var(--tx-3);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
  transition: color var(--ease);
}

/* On hover: text turns white */
.servico-card:hover h3 { color: rgba(255,255,255,0.95); }
.servico-card:hover p  { color: rgba(255,255,255,0.70); }

/* CTA */
.servico-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--ease);
}
.servico-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--ease);
  flex-shrink: 0;
}
.servico-card:hover .servico-cta { gap: 12px; }
.servico-cta:hover svg { transform: translateX(4px); }

/* Mobile: image always visible, no hover lift */
@media (hover: none) {
  .servico-bg { opacity: 1; }
  .servico-card {
    border-color: rgba(196,154,60,0.2);
    transform: none !important;
  }
  .servico-card::before { transform: scaleX(1); }
  .servico-card h3 { color: rgba(255,255,255,0.95); }
  .servico-card p  { color: rgba(255,255,255,0.70); }
  .servico-icon-wrap {
    background: rgba(196,154,60,0.18);
    border-color: rgba(196,154,60,0.35);
  }
}

/* ============================================================
   QUOTE SEPARATOR
   ============================================================ */
#separador {
  background: var(--dark-2);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.separador-rule {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(196,154,60,0.35) 30%,
    rgba(196,154,60,0.5) 50%,
    rgba(196,154,60,0.35) 70%,
    transparent 100%
  );
  margin: 0 auto;
  max-width: 600px;
}

.separador-content {
  padding: 56px 0;
  position: relative;
}

.separador-mark {
  display: block;
  font-family: var(--ff-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--brand);
  opacity: 0.18;
  margin-bottom: -16px;
  user-select: none;
}

#separador blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 24px;
}

#separador cite {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-style: normal;
}

/* ============================================================
   SOBRE
   ============================================================ */
#sobre { background: var(--bg); }

.sobre-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: center;
}

.sobre-img-wrap { position: relative; }

.sobre-img-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #2A2520, #1C1815);
  position: relative;
}
.sobre-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre-video-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}
.sobre-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--ease-slow), filter var(--ease);
}
.sobre-video-trigger:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}
.sobre-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 14px rgba(255,255,255,0.12);
  transition: transform var(--ease), background var(--ease);
}
.sobre-video-play svg { width: 26px; height: 26px; margin-left: 2px; }
.sobre-video-trigger:hover .sobre-video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--brand-dk);
}

.sobre-img-frame iframe,
.sobre-img-frame video,
#sobre-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
  background: var(--dark);
}

.sobre-video-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.sobre-video-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15,14,12,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.sobre-video-btn:hover { background: var(--brand); transform: scale(1.06); }
.sobre-video-btn svg { width: 17px; height: 17px; }
.sobre-video-btn .icon-play,
.sobre-video-btn .icon-vol-off { display: none; }
.sobre-video-btn.is-paused .icon-pause { display: none; }
.sobre-video-btn.is-paused .icon-play { display: block; }
.sobre-video-btn.is-muted .icon-vol-on { display: none; }
.sobre-video-btn.is-muted .icon-vol-off { display: block; }

/* Gold corner bracket */
.sobre-corner-deco {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  pointer-events: none;
}

.sobre-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--brand);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.sobre-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.sobre-badge strong sup { font-size: 0.5em; vertical-align: super; }
.sobre-badge span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
  line-height: 1.4;
}

.sobre-text h2 { margin-bottom: 16px; }

.sobre-text p {
  font-size: 0.9rem;
  color: var(--tx-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sobre-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0 36px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sobre-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-pale);
  border: 1px solid rgba(196,154,60,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 16px; height: 16px; color: var(--brand); }

.sobre-feature strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tx-1);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.sobre-feature span {
  font-size: 0.8rem;
  color: var(--tx-3);
}

/* ============================================================
   PROJETOS EM DETALHE — pranchas comparativas
   Cada prancha é uma composição larga (1200x800) com várias fotos
   internas. Por isso ocupa a largura toda do container em vez de
   entrar no masonry da galeria, onde os detalhes sumiriam.
   ============================================================ */
#projetos { background: var(--bg); }

.projetos-lista {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.projeto-board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}
.projeto-board:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.projeto-board-img {
  position: relative;
  display: block;
  background: var(--surface);
  line-height: 0;
  cursor: zoom-in;
}
.projeto-board-img img {
  display: block;
  width: 100%;
  height: auto;
}
.projeto-board-img:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

/* Dica de ampliar — só faz sentido onde a prancha fica pequena */
.projeto-zoom { display: none; }

/* Barra de legenda: número | texto | materiais */
.projeto-board-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
  border-top: 1px solid var(--line);
}

.projeto-num {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  letter-spacing: 0.04em;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.projeto-board-txt h3 {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}
.projeto-board-txt p {
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--tx-3);
}

.projeto-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.projeto-tags li {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
  background: var(--brand-pale);
  border: 1px solid rgba(196, 154, 60, 0.25);
  border-radius: 100px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ============================================================
   GALERIA — masonry
   ============================================================ */
#galeria { background: var(--surface); }

.galeria-masonry {
  column-count: 3;
  column-gap: 10px;
  margin-bottom: 48px;
}

.galeria-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: linear-gradient(135deg, #1C1815, #2A2320);
}
/* Create intrinsic height for placeholders */
.galeria-item::before {
  content: '';
  display: block;
  padding-top: 72%; /* ~4:3 */
}
.galeria-item--tall::before {
  padding-top: 130%; /* portrait */
}

.galeria-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow), opacity var(--ease);
  opacity: 0.88;
}
.galeria-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--ease);
}
.galeria-item:hover .galeria-overlay { opacity: 1; }

.galeria-footer { text-align: center; }

/* ============================================================
   CATÁLOGO DE PEDRAS ESPECIAIS
   ============================================================ */
#pedras { background: var(--surface); }

.pedras-showcase {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 40px;
}

/* --- Imagem em destaque --- */
.pedra-featured-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1C1815, #2A2320);
  box-shadow: var(--shadow-lg);
}
.pedra-featured-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--ease-slow);
}
.pedra-featured-img img.is-ready { opacity: 1; }

/* Placeholder visível enquanto não há imagem */
.pedra-featured-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Moldura dourada decorativa */
.pedra-featured {
  position: relative;
  padding: 12px;
}
.pedra-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 64px;
  border-top: 2px solid var(--brand);
  border-left: 2px solid var(--brand);
  z-index: 2;
}
.pedra-featured::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 64px; height: 64px;
  border-bottom: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  z-index: 2;
}

/* --- Detalhes --- */
.pedra-tipo {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.pedra-nome {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--tx-1);
  line-height: 1.15;
  margin-bottom: 22px;
}

.pedra-cores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.pedra-cor {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.25), var(--shadow-sm);
}

.pedra-desc {
  font-size: 0.92rem;
  color: var(--tx-2);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 30px;
}

/* --- Trilho de miniaturas --- */
.pedras-rail-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pedras-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 18px;
  flex: 1;
}
/* Scrollbar estilizada (igual à referência: trilho cinza, polegar dourado) */
.pedras-rail::-webkit-scrollbar { height: 8px; }
.pedras-rail::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.08);
  border-radius: 99px;
}
.pedras-rail::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 99px;
}
.pedras-rail { scrollbar-color: var(--brand) rgba(0,0,0,0.08); scrollbar-width: thin; }

.pedra-thumb {
  flex: 0 0 158px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.pedra-thumb-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(135deg, #1C1815, #2A2320);
}
.pedra-thumb-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-slow);
}
.pedra-thumb-nome {
  font-family: var(--ff-display);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: var(--tx-2);
  transition: color var(--ease);
}

.pedra-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(196,154,60,0.4);
  box-shadow: var(--shadow);
}
.pedra-thumb:hover .pedra-thumb-img img { transform: scale(1.06); }

.pedra-thumb.is-active {
  border-color: var(--brand);
  box-shadow: var(--shadow-gold);
}
.pedra-thumb.is-active .pedra-thumb-nome { color: var(--brand); }

/* Setas de navegação do trilho (desktop) */
.pedras-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-1);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.pedras-arrow[hidden] { display: none; }
.pedras-arrow svg { width: 18px; height: 18px; }
.pedras-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
#cta-strip {
  background: var(--dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(196,154,60,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(196,154,60,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  color: var(--tx-inv);
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
}
.cta-strip-text p {
  color: var(--tx-inv-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   CONTATO
   ============================================================ */
#contato { background: var(--bg); }

.contato-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info h2 { margin-bottom: 12px; }
.contato-info > p {
  color: var(--tx-3);
  margin-bottom: 44px;
  font-size: 0.9rem;
  line-height: 1.75;
}

.contato-lista {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contato-lista li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contato-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-pale);
  border: 1px solid rgba(196,154,60,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato-icon svg { width: 17px; height: 17px; color: var(--brand); }

.contato-lista li > div strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-1);
  margin-bottom: 3px;
}
.contato-lista li > div span,
.contato-lista li > div a {
  font-size: 0.85rem;
  color: var(--tx-3);
  line-height: 1.6;
}
.contato-lista a:hover { color: var(--brand); }

/* Form card */
.contato-form-wrap {
  background: var(--card);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 22px; position: relative; }

.form-group label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-2);
  margin-bottom: 8px;
}
.required { color: var(--brand); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--tx-1);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--tx-3);
  font-size: 0.84rem;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.1);
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #dc2626; }
.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  display: block;
  font-size: 0.73rem;
  color: #dc2626;
  margin-top: 5px;
  min-height: 16px;
  font-weight: 500;
}

.form-check-group { margin-bottom: 28px; }
.form-check-group .check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.55;
  color: var(--tx-3);
  cursor: pointer;
  margin-bottom: 0;
}
.check-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease);
}
.check-label input[type="checkbox"]:checked {
  background-color: var(--brand);
  border-color: var(--brand);
  background-size: 11px 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
}
.check-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.check-label input[aria-invalid="true"] { border-color: #dc2626; }
.check-label a { color: var(--brand); text-decoration: underline; }
.check-label a:hover { color: var(--brand-dk); }

.btn-loading { font-size: 0.8rem; letter-spacing: 0.1em; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--dark); padding-left: 10px; }

.footer-top-rule {
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(196,154,60,0.5) 30%,
    rgba(196,154,60,0.7) 50%,
    rgba(196,154,60,0.5) 70%,
    transparent
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1fr 1.1fr;
  gap: 48px;
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-col h3 {
  font-family: var(--ff-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}

.footer-col p,
.footer-col li,
.footer-col address p {
  font-size: 0.88rem;
  color: var(--tx-inv-2);
  margin-bottom: 8px;
  line-height: 1.75;
}
.footer-col a  { color: var(--tx-inv-2); }
.footer-col a:hover { color: var(--brand); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

/* Navigation list with chevron (same style as services list) */
.footer-nav-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
}
.footer-nav-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--brand);
  border-top: 1.5px solid var(--brand);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.75;
}

/* Services list with chevron icon */
.footer-services-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
}
.footer-services-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--brand);
  border-top: 1.5px solid var(--brand);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.75;
  margin-bottom: 0;
}

/* Contact items with icons */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--tx-inv-2);
}
.footer-contact-item a:hover { color: var(--brand); }

/* Hours grid */
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-hour-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.footer-days {
  font-size: 0.82rem;
  color: var(--tx-inv-2);
  min-width: 72px;
}
.footer-time {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-col-brand .logo { margin-bottom: 20px; }
.footer-col-brand .logo-npa { color: var(--brand); }
.footer-col-brand .logo-tagline { color: var(--tx-inv-2); }
.footer-col-brand > p {
  font-size: 0.79rem;
  color: var(--tx-inv-2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-inv-2);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(196,154,60,0.08);
}

.footer-bottom { padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--tx-inv); }
.footer-bottom a { color: var(--tx-inv); }
.footer-bottom a:hover { color: var(--brand); }

.indexa-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.indexa-credit a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.indexa-credit img {
  height: 17px;
  width: auto;
  vertical-align: middle;
}
.indexa-credit:hover { opacity: 0.8; }

/* ============================================================
   WHATSAPP FAB + POPUP
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: background var(--ease), transform var(--ease);
  animation: pulse-wa 2.5s ease infinite;
}
.wa-fab svg { width: 26px; height: 26px; pointer-events: none; }
.wa-fab:hover {
  background: #1da851;
  transform: scale(1.08);
  animation: none;
}

.wa-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,0.65); }
}

/* Overlay que escurece a tela e dá foco ao popup */
.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,14,12,0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.wa-overlay.show { opacity: 1; visibility: visible; }

.wa-popup {
  position: fixed;
  bottom: 104px;
  left: 28px;
  width: 320px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 16px 56px rgba(15,14,12,0.18), 0 0 0 1px rgba(196,154,60,0.16);
  z-index: 1300;
  overflow: hidden;
  animation: popup-in 0.3s ease;
}
.wa-popup[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .wa-overlay { transition: none; }
  .wa-popup { animation: none; }
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--tx-3);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: color var(--ease);
}
.wa-popup-close:hover { color: var(--brand); }

.wa-popup-header {
  background: linear-gradient(135deg, var(--surface) 0%, var(--card) 100%);
  padding: 14px 36px 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  position: relative;
  border: 1.5px solid var(--brand-glow);
  flex-shrink: 0;
  overflow: hidden;
}
.wa-avatar img {
  position: absolute;
  top: 4%;
  left: 50%;
  width: auto;
  height: 80%;
  max-width: none;
  transform: translateX(-50%);
}
.wa-popup-info {
  min-width: 0;
}
.wa-popup-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tx-1);
  margin-bottom: 3px;
  font-family: var(--ff-display);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-popup-info span {
  font-size: 0.65rem;
  color: var(--tx-3);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(37,211,102,0.6);
}

.wa-popup-body {
  padding: 18px 16px 14px;
  background: var(--card);
}
.wa-bubble {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}
.wa-bubble p {
  background: var(--surface);
  padding: 10px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--tx-2);
  border: 1px solid var(--line);
  margin: 0;
}
.wa-bubble p:first-child {
  border-radius: 0 12px 12px 12px;
}
.wa-bubble p:last-child {
  border-radius: 12px 12px 12px 0;
}

.wa-popup-footer {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border-top: 1px solid var(--line);
}
.wa-popup-footer input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 0.87rem;
  color: var(--tx-1);
  background: var(--bg);
  transition: border-color var(--ease);
}
.wa-popup-footer input:focus {
  outline: none;
  border-color: var(--brand);
}
.wa-popup-footer input::placeholder { color: var(--tx-3); }

/* Estado de erro do campo de nome (nome obrigatório) */
.wa-popup-footer input.wa-input-erro {
  border-color: #e53935;
  background: rgba(229,57,53,0.05);
}

.wa-popup-aviso {
  margin: -2px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e53935;
  line-height: 1.3;
}

.wa-send-btn {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  background: #25D366;
  border: none;
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.wa-send-btn svg { width: 18px; height: 18px; pointer-events: none; }
.wa-send-btn:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-2);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  z-index: 9000;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s ease;
  max-width: calc(100vw - 48px);
  text-align: center;
  white-space: normal;
}
.toast[hidden] { display: none; }
.toast.success { background: #14532d; }
.toast.error   { background: #7f1d1d; }

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(196,154,60,0.3);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}
.back-top svg { width: 18px; height: 18px; }
.back-top[hidden] { display: none; }
.back-top:hover {
  transform: translateY(-3px);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============================================================
   COOKIES BANNER
   ============================================================ */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,14,12,0.97);
  color: rgba(255,255,255,0.8);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 950;
  font-size: 0.8rem;
  border-top: 1px solid rgba(196,154,60,0.2);
}
.cookies-banner p { flex: 1; min-width: 240px; }
.cookies-banner a { color: var(--brand); text-decoration: underline; }
.cookies-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cookies-link { font-size: 0.76rem; color: rgba(255,255,255,0.4); text-decoration: underline; }
.cookies-link:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   PÁGINA: TEXTO LEGAL (Política de Privacidade)
   ============================================================ */
.legal-hero {
  padding: calc(var(--header-h) + 64px) 0 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.legal-hero p {
  color: var(--tx-3);
  margin-top: 12px;
  font-size: 0.85rem;
}
.legal-content { padding: 80px 0 100px; }
.legal-content .container { max-width: 760px; }
.legal-content h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin: 48px 0 16px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  color: var(--tx-2);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.legal-content a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   RESPONSIVO — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .sobre-layout { gap: 56px; }
  .contato-layout { gap: 56px; }
  .hero-left { padding: calc(var(--header-h) + 60px) 56px 60px; }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pedras-showcase { gap: 40px; }

  /* Projetos: as tags de material espremiam o texto — descem uma linha */
  .projeto-board-info {
    grid-template-columns: auto 1fr;
    gap: 18px 24px;
  }
  .projeto-tags {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}


/* ============================================================
   RESPONSIVO — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Header */
  #main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  /* Logo precisa caber nos 68px do header mobile — sem isso ela
     mantém os 150px do desktop e estoura por cima/baixo do header. */
  .logo img { height: 42px; }
  #header.stuck { height: var(--header-h); }
  #header.stuck .logo img { height: 42px; }

  /* Hero: imagem full-screen com texto sobreposto na base.
     Antes a imagem ficava numa faixa de 50vw no topo e o texto
     com min-height 80vh deixava um vazio enorme abaixo. Agora a
     imagem cobre toda a seção e o conteúdo é ancorado embaixo,
     sobre um gradiente escuro que garante a leitura. */
  #hero {
    display: block;
    min-height: 88vh;
    position: relative;
  }
  .hero-right {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
  }
  .hero-right img { object-position: center; }
  /* Overlay escuro que garante a leitura do texto sobre a imagem.
     O último número de cada rgba() é a opacidade (0 a 1): aumente
     para escurecer mais, diminua para revelar mais a imagem. */
  .hero-right-gradient {
    background: linear-gradient(180deg,
      rgba(15,14,12,0.72) 0%,
      rgba(15,14,12,0.55) 28%,
      rgba(15,14,12,0.82) 62%,
      rgba(15,14,12,0.97) 100%);
  }
  .hero-left {
    position: relative;
    z-index: 1;
    background: transparent;
    min-height: 88vh;
    align-items: flex-end;
    padding: calc(var(--header-h) + 48px) 24px 52px;
  }
  .hero-left::before { display: none; }
  .hero-seam { display: none; }
  .hero-scroll { left: 50%; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(196,154,60,0.2);
  }
  .stat { position: relative; }

  /* Catálogo de pedras — empilha imagem sobre detalhes; trilho rola horizontal */
  .pedras-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .pedra-featured { max-width: 420px; margin: 0 auto; width: 100%; }
  .pedra-desc { max-width: none; }
  /* No mobile o usuário arrasta o trilho — as setas atrapalham */
  .pedras-arrow { display: none; }
  .pedra-thumb { flex-basis: 140px; }

  /* Quote separator — precisa do padding próprio aqui porque ".container"
     também tem padding e, com a mesma especificidade, a regra que vier
     depois no arquivo vence; sem isso o padding vertical fica 0. */
  .separador-content { padding: 40px 0; }

  /* Services */
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* About — vídeo/capa é vertical (407x720 ≈ 9:16). Forçar 16/9
     aqui cortava a imagem ao meio e o badge ficava por cima do
     texto. Mantendo a proporção vertical, exibe sem recorte. */
  .sobre-layout { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img-frame { aspect-ratio: 9/16; max-width: 320px; margin: 0 auto; }
  .sobre-badge { left: 16px; bottom: -20px; }
  .sobre-corner-deco { right: 0; bottom: -8px; }

  /* Gallery */
  .galeria-masonry { column-count: 2; }

  /* Projetos: a prancha fica pequena demais pra ler os detalhes,
     então avisamos que dá pra ampliar (abre o lightbox). */
  .projetos-lista { gap: 44px; }
  .projeto-board:hover { transform: none; }
  .projeto-board-info { padding: 22px 20px; gap: 14px 18px; }
  .projeto-num {
    font-size: 1.35rem;
    padding-right: 18px;
  }
  .projeto-board-txt h3 { font-size: 1.02rem; }
  .projeto-zoom {
    display: inline-block;
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 14, 12, 0.74);
    color: var(--tx-inv);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    padding: 8px 13px;
    border-radius: 100px;
  }

  /* Botões: no mobile, textos longos (ex.: "Falar com Especialista
     no WhatsApp") estouravam a borda porque .btn tem white-space:
     nowrap. Aqui deixamos quebrar linha e nunca exceder o container. */
  .btn { white-space: normal; max-width: 100%; }

  /* CTA */
  .cta-strip-inner { flex-direction: column; text-align: center; align-items: stretch; }

  /* Contact */
  .contato-layout { grid-template-columns: 1fr; gap: 40px; }
  .contato-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  /* O padding-top/bottom precisa ser repetido aqui: ".container" também
     define padding e, com a mesma especificidade, vence por vir depois
     no arquivo — sem isso a logo fica colada no topo do rodapé. */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }

  /* Hero ctas */
  .hero-ctas { flex-direction: column; }

  /* Cookies */
  .cookies-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .galeria-masonry { column-count: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .projetos-lista { gap: 32px; }
  .projeto-board-info { padding: 18px 16px; }
  .projeto-num { font-size: 1.2rem; padding-right: 14px; }
  .projeto-tags li { font-size: 0.6rem; padding: 6px 11px; letter-spacing: 0.1em; }
}

/* ============================================================
   LIGHTBOX (galeria das páginas de serviço + pranchas da home)
   Overlay criado por JS — ver script.js. Vive aqui no CSS global
   porque a home e as páginas internas usam o mesmo componente.
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 7, 6, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lb-fade 0.25s ease;
}
.lightbox.is-open { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-stage {
  margin: 0;
  max-width: min(1100px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  text-align: center;
  max-width: 60ch;
  line-height: 1.5;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav:hover { background: rgba(196, 154, 60, 0.9); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 12px; }
}
