/* Vitta Clean Estética
   Identidade: dourado (logo real) + creme + carvão, mesma linguagem do carrossel
   (Inter, títulos apertados, eyebrows espaçados, seções claras/escuras alternadas). */

:root {
  --bg: #141414;
  --bg-elevated: #1f1c17;
  --ink: #F2ECE6;
  --ink-soft: rgba(242,236,230,0.66);
  --line: rgba(242,236,230,0.14);
  --line-soft: rgba(20,16,10,0.1);
  --gold: #D2A03C;
  --gold-light: #F0C86E;
  --gold-dark: #8C5A16;
  --gold-soft: rgba(210,160,60,0.14);
  --paper: #FAF7F2;
  --paper-ink: #201A10;
  --paper-ink-soft: #6b6154;

  --display: "Inter", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.section-dark .eyebrow { color: var(--gold-light); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 900; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  color: var(--paper-ink-soft);
  max-width: 48ch;
  font-weight: 400;
}
.section-dark p.lead { color: rgba(242,236,230,0.7); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: #1a1408; }
.btn-primary:hover { background: var(--gold-light); }

.btn-ghost-dark { border-color: rgba(32,26,16,0.25); color: var(--paper-ink); }
.btn-ghost-dark:hover { border-color: var(--paper-ink); background: rgba(32,26,16,0.06); }

.btn-ghost-light { border-color: rgba(242,236,230,0.35); color: var(--ink); }
.btn-ghost-light:hover { border-color: var(--ink); background: rgba(242,236,230,0.08); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 1rem 0;
  background: rgba(250,247,242,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled { border-color: var(--line-soft); padding: 0.7rem 0; box-shadow: 0 1px 0 rgba(32,26,16,0.02); }
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.logo-mark { height: 52px; width: auto; object-fit: contain; }
.logo span { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--paper-ink); }
@media (max-width: 480px) { .logo span { font-size: 1.1rem; } }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.96rem; font-weight: 500; color: var(--paper-ink-soft); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--paper-ink); }
.nav-divider { width: 1px; height: 22px; background: var(--line-soft); }
.nav-toggle { display: none; width: 36px; height: 36px; border: none; background: none; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--paper-ink);
}
.nav-toggle span { top: 17px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-scrim { position: fixed; inset: 0; background: rgba(20,16,10,0.6); z-index: 70; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: rgba(20,16,10,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  z-index: 80;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.nav-mobile-panel.is-open { transform: translateX(0); }
.nav-mobile-panel a { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }

@media (max-width: 860px) {
  .nav-links, .nav-divider, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(8rem, 15vw, 11rem) 0 clamp(6rem, 9vw, 7.5rem); background: var(--bg); color: var(--ink); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(210,160,60,0.18) 0%, rgba(210,160,60,0) 70%);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 45vw; height: 45vw;
  max-width: 520px; max-height: 520px;
  background: radial-gradient(circle, rgba(240,200,110,0.1) 0%, rgba(240,200,110,0) 70%);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 4%) scale(1.08); }
}

.wave { position: absolute; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.wave svg { width: 100%; height: clamp(40px, 6vw, 80px); display: block; }
.wave-bottom { bottom: -1px; }

.hero-top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; position: relative; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero-text h1 { margin-bottom: 1.1rem; color: var(--ink); }
@media (max-width: 900px) { .hero-text h1 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); } }
.hero-text .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge {
  position: relative;
  margin: 0 auto;
  width: min(100%, 440px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}
.hero-badge img { width: 100%; height: auto; display: block; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero::before, .hero::after { animation: none; }
}

/* ---------- Sections ---------- */

.section-pad { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-dark { background: var(--bg); color: var(--ink); position: relative; overflow: hidden; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; max-width: 52ch; }
.section-head h2 { margin-bottom: 0.9rem; }

/* ---------- Procedimentos / price list ---------- */

.procedimentos-grid { display: flex; flex-direction: column; gap: clamp(1.75rem, 4vw, 3.5rem); }

.cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0 0 1.1rem;
}
.cat-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
}
.cat-toggle-right { display: flex; align-items: center; gap: 0.6rem; color: var(--paper-ink-soft); }
.cat-count {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--gold-soft);
  color: var(--gold-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}
.chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.cat-block.is-open .chevron { transform: rotate(180deg); }

.cat-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}
.cat-block.is-open .cat-content { max-height: 4000px; }

@media (min-width: 701px) {
  .cat-toggle { cursor: default; pointer-events: none; }
  .cat-toggle-right, .chevron { display: none; }
  .cat-content { max-height: none !important; }
}

@media (max-width: 700px) {
  .procedimentos-grid { gap: 0; border-top: 1px solid var(--line-soft); }
  .cat-toggle { padding: 1.15rem 0; border-bottom: 1px solid var(--line-soft); }
  .cat-block.is-open .cat-toggle { border-bottom-color: transparent; }
  .cat-content .price-list { border-top: 1px solid var(--line-soft); padding-bottom: 0.5rem; }
  .cat-block:last-child .cat-content { border-bottom: 1px solid var(--line-soft); }
  .cat-block.is-open:last-child .cat-toggle { border-bottom: none; }
}
.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
@media (max-width: 700px) { .price-list { grid-template-columns: 1fr; } }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.price-row:nth-child(odd) { padding-right: 1.4rem; }
.price-row:nth-child(even) { padding-left: 1.4rem; border-left: 1px solid var(--line-soft); }
@media (max-width: 700px) {
  .price-row:nth-child(even) { padding-left: 0.4rem; border-left: none; }
}
.price-row:hover { color: var(--gold-dark); padding-left: 0.5rem; }
.price-row-name { font-size: 0.98rem; font-weight: 600; }
.price-row-value { font-size: 0.9rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.price-row-value em { font-style: normal; font-weight: 500; color: var(--paper-ink-soft); }

.procedimentos-nota {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 0.92rem;
  color: var(--paper-ink-soft);
  max-width: 62ch;
}

/* ---------- Diferenciais ---------- */

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.24, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.process-step:hover { transform: translateY(-8px); background: rgba(255,255,255,0.06); border-color: rgba(242,236,230,0.22); box-shadow: 0 24px 40px -18px rgba(0,0,0,0.55); }
.process-step .num { display: block; font-family: var(--display); font-size: 1rem; font-weight: 800; color: var(--gold-light); margin-bottom: 0.8rem; transition: transform 0.35s ease; }
.process-step:hover .num { transform: scale(1.15); }
.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 72ch; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item[open] { background: rgba(210,160,60,0.05); border-color: var(--gold); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; color: var(--paper-ink-soft); font-size: 0.98rem; max-width: 62ch; }

/* ---------- Manifesto ---------- */

.manifesto blockquote {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.manifesto blockquote span { color: var(--gold-dark); }
.manifesto-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .manifesto-grid { grid-template-columns: 1fr; } }
.manifesto-side {
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, #fff, var(--paper));
  padding: clamp(2rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.manifesto-fact strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: var(--gold-dark); }
.manifesto-fact strong span { font-size: inherit; font-weight: inherit; color: inherit; }
.manifesto-fact > span { font-size: 0.92rem; color: var(--paper-ink-soft); }
.manifesto-fact:not(:last-child) { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }

/* ---------- Localização ---------- */

.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: stretch; }
@media (max-width: 860px) { .local-grid { grid-template-columns: 1fr; } }
.local-info { display: flex; flex-direction: column; gap: 1.4rem; }
.local-item strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-dark); margin-bottom: 0.35rem; }
.local-item p { font-size: 1.05rem; }
.local-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); min-height: 320px; }
.local-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- CTA final ---------- */

.cta-final { padding: clamp(5rem, 10vw, 8rem) 0; }
.cta-panel { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-panel h2 { margin-bottom: 1.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.cta-stats { display: flex; justify-content: center; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.cta-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.cta-stat strong { font-family: var(--display); font-weight: 800; }
.cta-stat span { color: rgba(242,236,230,0.6); font-size: 0.95rem; }
.cta-stat-line { width: 1px; height: 32px; background: var(--line); }
@media (max-width: 640px) { .cta-stat-line { display: none; } }

/* ---------- Footer ---------- */

footer { background: #0d0a06; color: var(--ink); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-top { display: flex; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-logo-mark { height: 72px; width: auto; object-fit: contain; }
.footer-tag { max-width: 40ch; color: rgba(242,236,230,0.6); font-size: 1rem; }
.footer-links { display: flex; gap: clamp(2.5rem, 6vw, 4.5rem); }
.footer-col h4 { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242,236,230,0.55); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 1rem; color: var(--ink); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col li { font-size: 1rem; color: rgba(242,236,230,0.6); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; font-size: 0.9rem; color: rgba(242,236,230,0.6); }

.footer-wordmark {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 8.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  color: rgba(242,236,230,0.07);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
