@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ================================================================
   PRIVACY GROWTH — Design System v2 (Dark Premium)
   Dois temas: [data-theme="green"] e [data-theme="purple"]
   Scroll Snap estilo reels — 100dvh por seção
   ================================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; transition: background 0.5s ease, color 0.5s ease; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }

/* ── Scroll Container Principal ── */
#snap-root {
  width: 100vw;
  height: 100dvh;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(197,162,75,0.3) transparent;
}
#snap-root::-webkit-scrollbar { width: 4px; }
#snap-root::-webkit-scrollbar-track { background: transparent; }
#snap-root::-webkit-scrollbar-thumb { background: rgba(197,162,75,0.3); border-radius: 2px; }

/* Snap responsivo em telas menores e preview do Builder */
@media (max-width: 1024px), (max-height: 800px) {
  #snap-root {
    scroll-snap-type: y proximity;
  }
}
.builder-preview-mode #snap-root {
  scroll-snap-type: y proximity;
}

/* Páginas sem snap (blog, privacidade) */
#snap-root.no-snap { scroll-snap-type: none; overflow-y: auto; height: auto; }
#snap-root.no-snap .snap-section { height: auto; min-height: auto; scroll-snap-align: none; }

/* ── Snap Section ── */
.snap-section {
  min-height: 100dvh;
  min-height: 100vh;
  height: auto;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
  overflow-y: visible;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 30px;
}
.snap-section.align-start { justify-content: flex-start; }

/* ================================================================
   TEMA VERDE — Jurídico, institucional, corporativo (padrão)
   ================================================================ */
[data-theme="green"], :root {
  --bg-950: #060e09;
  --bg-900: #0c1a10;
  --bg-800: #152a1c;
  --bg-700: #1e3e2a;
  --bg-600: #265238;
  --accent: #C5A24B;
  --accent-2: #D4B060;
  --accent-3: #9D7A2A;
  --surface-light: #F5F8F5;
  --surface-card: #ffffff;
  --text-primary: #101a12;
  --text-muted: #4a5e4e;
  --text-on-dark: #f0fdf4;
  --text-on-dark-muted: rgba(240,253,244,0.65);
  --border-dark: rgba(197,162,75,0.28);
  --border-light: rgba(30,62,42,0.15);
  --border-card: rgba(197,162,75,0.45);
  --shadow: 0 24px 70px rgba(6,20,10,0.20);
  --shadow-card: 0 8px 32px rgba(10,30,16,0.10);
  --hero-bg: linear-gradient(135deg, #060e09 0%, #0c1a10 52%, #0a1c12 100%);
  --hero-r1: radial-gradient(circle at 72% 22%, rgba(38,82,56,0.55), transparent 30%);
  --hero-r2: radial-gradient(circle at 14% 74%, rgba(21,42,28,0.40), transparent 26%);
  --section-dark-bg: linear-gradient(135deg, #060e09, #0c1a10 55%, #091409);
  --section-dark-r1: radial-gradient(circle at 80% 18%, rgba(38,82,56,0.42), transparent 28%);
  --section-dark-r2: radial-gradient(circle at 20% 82%, rgba(21,42,28,0.34), transparent 26%);
  --section-light-bg: linear-gradient(180deg, #FAFCFA, #F5F8F5);
  --nav-scrolled-bg: rgba(6,14,9,0.93);
  --mobile-nav-bg: rgba(6,14,9,0.97);
  --icon-bg: linear-gradient(135deg, #0c1a10, #1e3e2a);
  --icon-color: #D4B060;
  --diag-card-bg: linear-gradient(180deg, rgba(21,42,28,0.98), rgba(6,14,9,0.99));
  --diag-card-border: rgba(212,176,96,0.55);
  --cta-bg: linear-gradient(135deg, #0c1a10, #0a1c12);
  --btn-gold-bg: linear-gradient(135deg, #E7CF88, #C5A24B);
  --btn-gold-text: #0a1108;
  --btn-gold-shadow: rgba(197,162,75,0.28);
  --btn-outline-border: rgba(212,176,96,0.44);
  --risk-card-bg: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  --chip-bg: rgba(8,18,11,0.92);
  --footer-bg: #040b06;
  --eyebrow-color: #C5A24B;
  --heading-accent: #D4B060;
  background: var(--bg-950);
  color: var(--text-on-dark);
}

/* ================================================================
   TEMA ROXO — Tecnológico, inovador
   ================================================================ */
[data-theme="purple"] {
  --bg-950: #0d081e;
  --bg-900: #1a1035;
  --bg-800: #261650;
  --bg-700: #36226b;
  --bg-600: #4a2f8a;
  --accent: #C5A24B;
  --accent-2: #E1C578;
  --accent-3: #9D7A2A;
  --surface-light: #F7F3EA;
  --surface-card: #ffffff;
  --text-primary: #1a1530;
  --text-muted: #6b5f80;
  --text-on-dark: #f8f4ff;
  --text-on-dark-muted: rgba(248,244,255,0.65);
  --border-dark: rgba(197,162,75,0.28);
  --border-light: rgba(54,34,107,0.14);
  --border-card: rgba(225,197,120,0.46);
  --shadow: 0 24px 70px rgba(13,8,30,0.22);
  --shadow-card: 0 8px 32px rgba(26,16,53,0.12);
  --hero-bg: linear-gradient(135deg, #0d081e 0%, #1a1035 52%, #1e1040 100%);
  --hero-r1: radial-gradient(circle at 70% 24%, rgba(74,47,138,0.55), transparent 28%);
  --hero-r2: radial-gradient(circle at 15% 70%, rgba(54,34,107,0.40), transparent 24%);
  --section-dark-bg: linear-gradient(135deg, #0d081e, #1a1035 55%, #180f2e);
  --section-dark-r1: radial-gradient(circle at 78% 18%, rgba(74,47,138,0.42), transparent 28%);
  --section-dark-r2: radial-gradient(circle at 22% 82%, rgba(54,34,107,0.34), transparent 26%);
  --section-light-bg: linear-gradient(180deg, #FAF7F2, #F7F3EA);
  --nav-scrolled-bg: rgba(13,8,30,0.93);
  --mobile-nav-bg: rgba(13,8,30,0.97);
  --icon-bg: linear-gradient(135deg, #1a1035, #36226b);
  --icon-color: #E1C578;
  --diag-card-bg: linear-gradient(180deg, rgba(38,22,80,0.98), rgba(13,8,30,0.99));
  --diag-card-border: rgba(225,197,120,0.55);
  --cta-bg: linear-gradient(135deg, #1a1035, #1e1040);
  --btn-gold-bg: linear-gradient(135deg, #E7CF88, #C5A24B);
  --btn-gold-text: #180e00;
  --btn-gold-shadow: rgba(197,162,75,0.28);
  --btn-outline-border: rgba(225,197,120,0.44);
  --risk-card-bg: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  --chip-bg: rgba(10,6,22,0.92);
  --footer-bg: #080517;
  --eyebrow-color: #C5A24B;
  --heading-accent: #E1C578;
  background: var(--bg-950);
  color: var(--text-on-dark);
}

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.container--tall { height: 100%; display: flex; flex-direction: column; justify-content: center; }

/* Section backgrounds */
.section-dark {
  color: var(--text-on-dark);
  background: var(--section-dark-r1), var(--section-dark-r2), var(--section-dark-bg);
}
.section-light {
  background: var(--section-light-bg);
  color: var(--text-primary);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 90%);
  pointer-events: none;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--eyebrow-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 3.2vw, 44px); }
h2 { font-size: clamp(22px, 2.4vw, 34px); }
h3 { font-size: clamp(15px, 1.5vw, 20px); }
h4 { font-size: clamp(13px, 1.1vw, 16px); font-family: "Inter", sans-serif; }

.accent { color: var(--heading-accent); }
.lead {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--text-on-dark-muted);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.65;
}
.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.section-light .lead { color: var(--text-muted); }

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 12px 36px rgba(0,0,0,0.24);
}
.nav-inner {
  width: min(calc(100% - 40px), 1240px);
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand:hover { transform: scale(1.03); }
.brand-dot { color: var(--accent-2); }

/* Fallback de recuo superior para páginas criadas anteriormente sem <section class="snap-section"> */
#snap-root > .container, #snap-root > main.container, #snap-root > main, #snap-root > div:first-child {
  padding-top: 100px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 600;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--accent-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Alternador de Tema */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 36px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.toggle-track {
  width: 32px; height: 18px;
  border-radius: 100px;
  position: relative;
  background: rgba(197,162,75,0.3);
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.toggle-thumb {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  top: 3px; left: 3px;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
[data-theme="purple"] .toggle-thumb { transform: translateX(14px); }

/* Indicadores de seção (pontos laterais) */
.scroll-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.scroll-dot.active { background: var(--accent-2); transform: scale(1.5); }

/* Menu Mobile */
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 99;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; color: rgba(255,255,255,0.85); font-family: "Cinzel", serif; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.28), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(120%); }

.btn-gold {
  color: var(--btn-gold-text);
  background: var(--btn-gold-bg);
  box-shadow: 0 12px 28px var(--btn-gold-shadow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px var(--btn-gold-shadow); }

.btn-outline {
  color: #fff;
  border-color: var(--btn-outline-border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; border-radius: 12px; }

/* ================================================================
   CARDS GENÉRICOS
   ================================================================ */
.card-light {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.card-light:hover { transform: translateY(-5px); border-color: var(--border-card); }

.card-dark {
  border: 1px solid var(--border-dark);
  background: var(--risk-card-bg);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card-dark:hover { transform: translateY(-4px); border-color: rgba(225,197,120,0.54); }

.icon-wrap {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--icon-color);
  background: var(--icon-bg);
  margin-bottom: 14px;
  box-shadow: 0 0 0 8px rgba(197,162,75,0.08);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 28px;
  color: var(--text-on-dark-muted);
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .brand { font-size: 20px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--accent-2); font-family: "Cinzel", serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* ================================================================
   BADGE
   ================================================================ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-dark);
  background: rgba(197,162,75,0.08);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

/* ================================================================
   FORMULÁRIO PÚBLICO
   ================================================================ */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-weight: 600; font-size: 12px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text-on-dark);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(197,162,75,0.7);
  box-shadow: 0 0 0 4px rgba(197,162,75,0.08);
}
.form-group select option { background: #0c1a10; color: #fff; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .scroll-dots { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   UTILITÁRIOS DE BLOCOS E SEÇÕES DO BUILDER
   ================================================================ */
.grid-2-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-2-col, .grid-3-col, .grid-4-col { grid-template-columns: 1fr; }
}

/* Bloco Hero Split (Texto + Imagem/Card) */
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; width: 100%; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 24px; } }

/* Bloco de Imagem com Borda e Brilho */
.media-image-box {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  background: var(--bg-900);
}
.media-image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Bloco Carrossel / Slider de Logotipos e Depoimentos */
.carousel-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Bloco FAQ Acordeão */
.faq-list { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-dark);
  background: var(--risk-card-bg);
  border-radius: 12px;
  padding: 16px 20px;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: var(--accent-2); }
.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-on-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "＋";
  font-size: 18px;
  color: var(--accent-2);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "－"; transform: rotate(180deg); }
.faq-item p { margin: 12px 0 0; color: var(--text-on-dark-muted); font-size: 14px; line-height: 1.6; }

/* Bloco CTA Dourado Premium */
.cta-gold-banner {
  width: 100%;
  background: linear-gradient(135deg, rgba(197,162,75,0.18), rgba(212,176,96,0.06));
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

