*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --obsidian: #0D0D0D;
  --espresso: #3A3530;
  --champagne: #B8A98A;
  --sand: #D4C8B0;
  --ivory: #F5F0E8;
  --white: #FFFFFF;
  --text-on-dark: #F5F0E8;
  --text-muted-dark: #8A8178;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--obsidian);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--ivory);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--champagne); }
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-tagline {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.9);
}
.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--champagne);
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--sand); }

/* ── HERO (scroll-driven video) ── */
.hero-pin-wrap {
  position: relative;
  height: 400vh; /* scroll distance that "feeds" the video */
  background: var(--obsidian);
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  text-align: center;
  background: var(--obsidian);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  z-index: 1;
  pointer-events: none;
}
.hero-content-box {
  background: transparent;
  backdrop-filter: none;
  border-radius: 8px;
  padding: 2.5rem 3rem;
  border: none;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero > *:not(.hero-video):not(.hero-video-overlay) { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 2rem;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.08;
  color: #000;
  letter-spacing: 0.02em;
  max-width: 820px;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  color: #000;
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: #000;
  opacity: 0.95;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-scroll-hint {
  display: inline-block;
  margin: 1.5rem auto 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #000;
  opacity: 0.8;
  animation: hero-bob 1.8s ease-in-out infinite;
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.btn-primary {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--champagne);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--sand); }
.btn-ghost {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 0.5px solid rgba(245,240,232,0.3);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--champagne); color: var(--champagne); }

/* ── SECTIONS ── */
section { padding: 6rem 3rem; }
.container { max-width: 1040px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--obsidian);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.section-title.on-dark { color: var(--ivory); }
.section-body {
  font-size: 16px;
  font-weight: 300;
  color: #5A5248;
  max-width: 580px;
  line-height: 1.8;
}
.section-body.on-dark { color: var(--text-muted-dark); }

/* ── PROBLEMA ── */
.problema { background: var(--ivory); }
.before-after-rows {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
}
.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.before-after-figure {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(8px);
  transition: transform 0.75s ease, opacity 0.75s ease, filter 0.75s ease;
  will-change: transform, opacity, filter;
}
.before-after-figure.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.before-after-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.before-after-figure figcaption {
  padding: 1rem 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3F3A33;
}
.before-after-pair:nth-child(1) .before-after-figure:nth-child(1) { transition-delay: 0.05s; }
.before-after-pair:nth-child(1) .before-after-figure:nth-child(2) { transition-delay: 0.12s; }
.before-after-pair:nth-child(2) .before-after-figure:nth-child(1) { transition-delay: 0.18s; }
.before-after-pair:nth-child(2) .before-after-figure:nth-child(2) { transition-delay: 0.24s; }
.before-after-pair:nth-child(3) .before-after-figure:nth-child(1) { transition-delay: 0.30s; }
.before-after-pair:nth-child(3) .before-after-figure:nth-child(2) { transition-delay: 0.36s; }
.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
}
.problema-card {
  background: var(--white);
  padding: 2.5rem 2rem;
}
.problema-card:first-child { border-radius: 4px 0 0 4px; }
.problema-card:last-child { border-radius: 0 4px 4px 0; }
.problema-icon {
  font-size: 28px;
  margin-bottom: 1.25rem;
  display: block;
}
.problema-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--obsidian);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.problema-card p {
  font-size: 14px;
  font-weight: 300;
  color: #6A6460;
  line-height: 1.75;
}

/* ── SOLUÇÃO ── */
.solucao { background: var(--obsidian); }
.solucao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.solucao-card {
  border: 0.5px solid rgba(184,169,138,0.2);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.solucao-card:hover { border-color: rgba(184,169,138,0.5); }
.solucao-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 300;
  color: var(--champagne);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: block;
}
.solucao-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.solucao-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted-dark);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.solucao-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.solucao-list li {
  font-size: 13px;
  font-weight: 300;
  color: #7A7068;
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.solucao-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--champagne);
  font-size: 11px;
}

/* ── DEMONSTRAÇÃO (scroll-driven video) ── */
.demo-pin-wrap {
  position: relative;
  height: 400vh;
  background: var(--ivory);
}
.demo-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  text-align: center;
  background: var(--ivory);
}
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  z-index: 0;
}
.demo-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245,240,232,0.25) 0%, rgba(245,240,232,0.1) 30%, rgba(245,240,232,0.35) 75%, rgba(245,240,232,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.demo-hero > *:not(.demo-video):not(.demo-video-overlay) { position: relative; z-index: 2; }
.demo-content-box {
  background: transparent;
  backdrop-filter: none;
  border-radius: 8px;
  padding: 2.5rem 3rem;
  border: none;
  transition: opacity 0.25s ease;
}
.demo-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--obsidian);
  letter-spacing: 0.02em;
}
.demo-secondary-wrap {
  display: grid;
  gap: 2rem;
  justify-items: center;
  padding: 2rem 1.5rem 4rem;
  background: var(--ivory);
}
.demo-origin-photos {
  width: min(100%, 1040px);
  text-align: center;
}
.demo-origin-copy {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}
.demo-origin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.demo-origin-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
.demo-secondary-video {
  width: min(100%, 840px);
  max-height: 420px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.16);
  object-fit: cover;
}
@media (max-width: 900px) {
  .demo-origin-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .demo-secondary-wrap {
    padding: 1.25rem 1rem 3rem;
  }
  .demo-secondary-video {
    max-height: 320px;
  }
}

/* ── COMO FUNCIONA ── */
.processo { background: var(--white); }
.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.processo-note {
  max-width: 760px;
  margin: 1.5rem auto 0;
  font-size: 15px;
  font-weight: 400;
  color: #544B42;
  line-height: 1.8;
  text-align: center;
}
.processo-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 0.5px;
  background: var(--sand);
}
.processo-step {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.step-dot span {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  color: var(--champagne);
}
.processo-step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--obsidian);
  margin-bottom: 0.75rem;
}
.processo-step p {
  font-size: 13px;
  font-weight: 300;
  color: #7A7068;
  line-height: 1.7;
}

/* ── DIFERENCIAIS ── */
.diferenciais { background: var(--ivory); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 4rem;
  background: var(--sand);
  border-radius: 4px;
  overflow: hidden;
}
.diferencial-item {
  background: var(--ivory);
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.diferencial-mark {
  width: 2px;
  height: 40px;
  background: var(--champagne);
  flex-shrink: 0;
  margin-top: 4px;
}
.diferencial-item h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--obsidian);
  margin-bottom: 0.5rem;
}
.diferencial-item p {
  font-size: 13px;
  font-weight: 300;
  color: #7A7068;
  line-height: 1.75;
}

/* ── PLANOS ── */
.planos { background: var(--obsidian); }
.planos-setup {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  border: 0.5px solid rgba(184,169,138,0.2);
  border-radius: 4px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.planos-setup-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}
.planos-setup h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.planos-setup p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted-dark);
  line-height: 1.7;
}
.planos-setup-price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--champagne);
  margin-top: 1rem;
}
.planos-setup-price span {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted-dark);
  font-family: var(--sans);
}
.planos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.plano-card {
  border: 0.5px solid rgba(184,169,138,0.15);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.plano-card:hover { border-color: rgba(184,169,138,0.4); }
.plano-card.destaque {
  border-color: var(--champagne);
  position: relative;
}
.plano-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--champagne);
  color: var(--obsidian);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
  white-space: nowrap;
}
.plano-nome {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 0.75rem;
}
.plano-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.plano-desc {
  font-size: 12px;
  font-weight: 300;
  color: #6A6460;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.plano-price {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.plano-price-label {
  font-size: 12px;
  font-weight: 300;
  color: #6A6460;
  margin-bottom: 2rem;
}
.plano-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}
.plano-features li {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted-dark);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}
.plano-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--champagne);
  font-size: 10px;
  top: 3px;
}
.plano-cta {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  border: 0.5px solid rgba(184,169,138,0.3);
  color: var(--champagne);
}
.plano-cta:hover { background: rgba(184,169,138,0.1); }
.plano-card.destaque .plano-cta {
  background: var(--champagne);
  color: var(--obsidian);
  border-color: var(--champagne);
}
.plano-card.destaque .plano-cta:hover { background: var(--sand); }

/* ── CASES ── */
.cases { background: var(--ivory); }
.cases-placeholder {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  border: 0.5px dashed var(--sand);
}
.case-icon {
  width: 48px;
  height: 48px;
  border: 0.5px solid var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.case-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--sand);
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ── FAQ ── */
.faq { background: var(--white); }
.faq-list {
  margin-top: 3rem;
  max-width: 680px;
}
.faq-item {
  border-bottom: 0.5px solid var(--sand);
  padding: 1.5rem 0;
}
.faq-q {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--obsidian);
  margin-bottom: 0.75rem;
}
.faq-a {
  font-size: 14px;
  font-weight: 300;
  color: #7A7068;
  line-height: 1.75;
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--obsidian);
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(184,169,138,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.5rem;
}
.cta-final h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--ivory);
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  letter-spacing: 0.02em;
}
.cta-final h2 em {
  font-style: italic;
  color: var(--champagne);
}
.cta-final p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted-dark);
  max-width: 460px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* ── FOOTER ── */
footer {
  background: #080808;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: #3A3530;
  text-transform: uppercase;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: #3A3530;
}

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-cta { padding: 0.55rem 1.1rem; font-size: 11px; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; height: 70vh; }
  .hero-video { object-position: center 35%; }
  .hero-content-box { padding: 2rem 1.5rem; }
  .hero-headline { font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { font-size: 15px; max-width: 420px; }
  .demo-secondary-wrap { padding: 1.5rem 1rem 3rem; }
  .demo-origin-grid { grid-template-columns: 1fr; }
  .demo-origin-grid img { height: 180px; }
  .demo-secondary-video { max-height: 280px; }
  .demo-grid, .cases-placeholder { grid-template-columns: 1fr; }
  .hero-pin-wrap, .demo-pin-wrap { height: 350vh; }
  .problema-grid, .solucao-grid, .planos-grid { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr 1fr; }
  .processo-steps::before { display: none; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }

  /* Make hero video smaller on mobile to avoid taking full viewport height */
  .hero-video {
    max-height: 70vh;
    object-position: center top;
  }
}
