/* ==========================================================================
   TAX GESTÃO CONTÁBIL — DESIGN SYSTEM & STYLESHEET (V6 LUXURY ARCH EDITION)
   Estética: Premium, Minimalista, Editorial de Alto Padrão
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIÁVEIS --- */
:root {
  /* Cores de Fundo & Superfícies */
  --bg-main: #08090c;
  --bg-surface-1: #0e1015;
  --bg-surface-2: #141720;
  --bg-surface-3: #1c202c;
  --bg-card: rgba(20, 23, 32, 0.85);
  --bg-card-hover: rgba(28, 32, 44, 0.98);
  
  /* Cores de Texto */
  --text-primary: #f5f6f8;
  --text-secondary: #a4adbc;
  --text-muted: #6b7484;
  --text-inverse: #08090c;

  /* Acentos de Marca Dourados & Luxo */
  --accent-gold: #c5974c;
  --accent-gold-bright: #d4af37;
  --accent-gold-light: #f1dfa2;
  --accent-gold-glow: rgba(197, 151, 76, 0.2);
  --accent-gold-border: rgba(197, 151, 76, 0.35);
  
  /* Acentos Funcionais */
  --accent-green: #10b981;
  --accent-whatsapp: #15803d;
  --accent-whatsapp-bright: #22c55e;
  --accent-danger: #ef4444;

  /* Bordas e Divisórias */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(197, 151, 76, 0.5);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(197, 151, 76, 0.45);

  /* Sombras & Efeitos */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 8px 30px rgba(197, 151, 76, 0.3);

  /* Tipografia */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout & Espaçamentos Fluidos */
  --container-max: 1260px;
  --container-narrow: 960px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: var(--bg-main);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* Blindagem contra scroll horizontal em seções e contêineres */
.site-header,
.hero,
.section,
.ticker-wrap,
.site-footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Atmosfera de iluminação suave */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  height: 600px;
  background: radial-gradient(circle, rgba(197, 151, 76, 0.05) 0%, rgba(8, 9, 12, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- 3. CONTAINERS & UTILITÁRIOS --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
  position: relative;
}

.section-darker {
  background-color: var(--bg-surface-1);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-title em {
  font-style: normal;
  color: var(--accent-gold-bright);
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 660px;
  line-height: 1.65;
}

.section-header-center {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-center .section-desc {
  margin-inline: auto;
}

/* --- 4. TOP BAR & ANNOUNCEMENT --- */
.top-bar {
  background: #050608;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 50;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.top-bar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.top-bar-right a:hover {
  color: var(--accent-gold-light);
}

/* --- 5. HEADER & NAVBAR LUXURY --- */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(8, 9, 12, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

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

/* Brand Logo Component */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #181b22, #0d0e12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.brand-icon-t {
  position: relative;
  width: 22px;
  height: 20px;
}

.brand-icon-t-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.brand-icon-t-stem {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 6px;
  height: 16px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
}

.brand-texts {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #ffffff;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 3px;
}

/* Nav Links Desktop Minimalista com Underline Dourado Elegante */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1.2;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-header-wa {
  background: var(--accent-whatsapp);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.35);
}

.btn-header-wa:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  padding: 11px;
  cursor: pointer;
  color: var(--text-primary);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 9, 12, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(197, 151, 76, 0.1);
  border-color: rgba(197, 151, 76, 0.3);
  color: var(--accent-gold-light);
}

.mobile-drawer-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- 6. BUTTONS LUXO & ESTILOS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #08090c;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: #eaecef;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25);
}

.btn-gold-luxury {
  background: linear-gradient(135deg, #c5974c 0%, #a87932 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 28px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 24px rgba(197, 151, 76, 0.3);
}

.btn-gold-luxury:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b88628 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.btn-dark-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #c5974c 0%, #a87932 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(197, 151, 76, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b88628 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(197, 151, 76, 0.4);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.35);
}

.btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.02rem;
  border-radius: var(--radius-lg);
}

/* --- 7. HERO SECTION & LUXURY ARCH SHOWCASE --- */
.hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(197, 151, 76, 0.08) 0%, transparent 60%),
    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: 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge Superior Esquerdo */
.hero-luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 151, 76, 0.06);
  border: 1px solid rgba(197, 151, 76, 0.4);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-luxury-badge svg {
  color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title .gold-accent {
  color: var(--accent-gold);
  font-style: normal;
}

.hero-lead {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Hero Stats Row com Ícones Dourados de Linha */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 151, 76, 0.1);
  border: 1px solid rgba(197, 151, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-stat-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hero Right: Organic Arch Frame & Floating Glass Badges */
.hero-arch-wrapper {
  position: relative;
  width: 100%;
}

.hero-arch-frame {
  position: relative;
  width: 100%;
  height: clamp(460px, 55vh, 580px);
  border-top-left-radius: clamp(140px, 16vw, 260px);
  border-bottom-left-radius: clamp(140px, 16vw, 260px);
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  border-left: 2px solid rgba(197, 151, 76, 0.55);
  border-top: 1px solid rgba(197, 151, 76, 0.2);
  border-bottom: 1px solid rgba(197, 151, 76, 0.2);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85), 0 10px 40px rgba(0, 0, 0, 0.9);
  background: #0d0f14;
}

.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: brightness(0.92) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-arch-frame:hover img {
  transform: scale(1.02);
}

/* Badge Flutuante Superior no Arco */
.hero-arch-top-badge {
  position: absolute;
  top: 24px;
  left: 28px;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 151, 76, 0.4);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.hero-arch-top-badge svg {
  color: var(--accent-gold);
}

.hero-arch-top-badge span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Card Flutuante Inferior no Arco */
.hero-arch-bottom-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  z-index: 5;
}

.hero-arch-bottom-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arch-bottom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 151, 76, 0.15);
  border: 1px solid rgba(197, 151, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.hero-arch-bottom-text h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-arch-bottom-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.hero-arch-bottom-btn {
  background: var(--accent-whatsapp);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.35);
}

.hero-arch-bottom-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.5);
}

/* --- 8. TICKER MARQUEE --- */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--bg-surface-1);
  border-block: 1px solid var(--border-subtle);
  padding: 16px 0;
  user-select: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ticker-item strong {
  color: #ffffff;
}

.ticker-item span {
  color: var(--accent-gold);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- 9. SECTION: QUEM SOMOS (SOFIA & DIEGO) --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 68px);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.85);
  background: #111317;
  height: clamp(520px, 65vh, 680px);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: brightness(0.96) contrast(1.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover img {
  transform: scale(1.025);
}

.about-image-badge-compact {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 151, 76, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.about-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.about-badge-text-compact {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-badge-text-compact span {
  color: var(--accent-gold-light);
  font-weight: 500;
  font-size: 0.78rem;
}

.about-quote-box {
  background: rgba(197, 151, 76, 0.04);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.about-quote-box p {
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  font-weight: 500;
  font-style: italic;
  color: var(--accent-gold-light);
  line-height: 1.6;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-pillar-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all var(--transition-fast);
}

.about-pillar-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.about-pillar-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-pillar-card h5 span {
  color: var(--accent-gold);
}

.about-pillar-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- 10. SECTION: SETORES / NICHOS (PREMIUM, SEM EMOJIS) --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.sector-card {
  background: linear-gradient(160deg, #181b24, #12141a);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.sector-card:hover {
  border-color: rgba(197, 151, 76, 0.4);
  background: linear-gradient(160deg, #1d212c, #141720);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 151, 76, 0.08);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-monogram-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sector-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(197, 151, 76, 0.12);
  border: 1px solid rgba(197, 151, 76, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
}

.sector-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background var(--transition-fast);
}

.sector-card:hover .sector-indicator-dot {
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.sector-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sector-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  background: rgba(197, 151, 76, 0.08);
  border: 1px solid rgba(197, 151, 76, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* --- 11. SECTION: COMPARATIVO TAX VS TRADICIONAL --- */
.comparison-section {
  background: var(--bg-surface-1);
  border-block: 1px solid var(--border-subtle);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
}

.comparison-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
}

.comparison-card.traditional {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-card.tax-style {
  background: linear-gradient(145deg, #181c24, #12141a);
  border: 1px solid rgba(197, 151, 76, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.comparison-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-header h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.comparison-card.tax-style .comparison-header h4 {
  color: var(--accent-gold-light);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.comparison-card.traditional .comparison-item {
  color: var(--text-muted);
}

.comparison-card.traditional .comp-icon {
  color: var(--accent-danger);
  font-weight: 800;
}

.comparison-card.tax-style .comparison-item {
  color: var(--text-primary);
}

.comparison-card.tax-style .comp-icon {
  color: var(--accent-green);
  font-weight: 800;
}

/* --- 12. SECTION: SERVIÇOS (COM FOTOGRAFIA EDITORIAL) --- */
.services-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.services-tab-btn {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.services-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.services-tab-btn.active {
  background: #ffffff;
  color: #08090c;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(20px, 3.5vw, 32px);
}

.service-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image-box {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #111317;
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image-box img {
  transform: scale(1.06);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.2) 0%, rgba(22, 24, 31, 0.95) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
}

.service-number-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(10, 11, 13, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 151, 76, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.service-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-gold-light);
}

.service-action-link:hover {
  color: #ffffff;
  gap: 9px;
}

/* --- 13. SECTION: REFORMA TRIBUTÁRIA --- */
.reform-section {
  background: radial-gradient(circle at 100% 50%, rgba(197, 151, 76, 0.06) 0%, transparent 60%),
              var(--bg-surface-1);
  border-block: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.reform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.reform-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.reform-step-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.reform-step-item:hover {
  border-color: var(--border-card-hover);
  background: rgba(30, 33, 43, 0.75);
}

.reform-step-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(197, 151, 76, 0.12);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reform-step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.reform-step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Reform Interactive Infographic */
.reform-card-visual {
  background: linear-gradient(145deg, #181b22, #101217);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.reform-visual-header {
  text-align: center;
  margin-bottom: 24px;
}

.reform-visual-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.reform-visual-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tax-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.tax-comparison-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
}

.tax-comparison-box.new-era {
  border-color: rgba(197, 151, 76, 0.35);
  background: rgba(197, 151, 76, 0.04);
}

.tax-comparison-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tax-comparison-box.new-era .tax-comparison-label {
  color: var(--accent-gold);
}

.tax-tags-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.tax-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.tax-tag-pill.gold {
  background: rgba(197, 151, 76, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid rgba(197, 151, 76, 0.25);
}

/* --- 14. SECTION: MÉTODO TAX (4 PASSOS) --- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  position: relative;
}

.method-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px) 20px;
  position: relative;
  transition: all var(--transition-smooth);
}

.method-card:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-surface-3);
  transform: translateY(-4px);
}

.method-step-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: rgba(197, 151, 76, 0.35);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition-fast);
}

.method-card:hover .method-step-num {
  color: var(--accent-gold);
}

.method-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- 15. SECTION: DIAGNÓSTICO INTERATIVO / SIMULADOR --- */
.diagnosis-container {
  background: linear-gradient(145deg, #16181f, #101116);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.diagnosis-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 151, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.diagnosis-steps-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
  margin-bottom: 32px;
}

.diagnosis-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.diagnosis-step-pill.active {
  color: #ffffff;
}

.diagnosis-step-pill.completed {
  color: var(--accent-gold);
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.diagnosis-step-pill.active .step-circle {
  background: #ffffff;
  color: #08090c;
  border-color: #ffffff;
}

.diagnosis-step-pill.completed .step-circle {
  background: var(--accent-gold);
  color: #08090c;
  border-color: var(--accent-gold);
}

.diagnosis-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.diagnosis-step-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.diagnosis-question-title {
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.diagnosis-question-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

.diagnosis-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.diagnosis-option-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.diagnosis-option-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-surface-3);
  transform: translateY(-3px);
}

.diagnosis-option-card.selected {
  border-color: var(--accent-gold);
  background: rgba(197, 151, 76, 0.08);
  box-shadow: 0 0 20px rgba(197, 151, 76, 0.2);
}

.diagnosis-card-img-wrap {
  width: 100%;
  height: 115px;
  overflow: hidden;
  position: relative;
  background: #151821;
}

.diagnosis-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.05);
  transition: transform 0.4s ease;
}

.diagnosis-option-card:hover .diagnosis-card-img-wrap img,
.diagnosis-option-card.selected .diagnosis-card-img-wrap img {
  transform: scale(1.08);
}

.diagnosis-card-content {
  padding: 14px 16px 16px;
  text-align: left;
}

.option-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.option-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.diagnosis-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.diagnosis-result-box {
  background: var(--bg-surface-2);
  border: 1px solid rgba(197, 151, 76, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 151, 76, 0.15);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.result-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.result-summary-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.6;
  margin-bottom: 28px;
}

.result-recommendations-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
  margin-bottom: 32px;
}

.result-rec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.result-rec-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.result-rec-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- 16. SECTION: FAQ --- */
.faq-grid {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.open {
  border-color: var(--border-card-hover);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
  transition: transform var(--transition-smooth);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: #08090c;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 22px 22px 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 17. SECTION: CONTATO & LOCALIZAÇÃO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.contact-channel-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-surface-3);
  transform: translateX(4px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.channel-icon.wa {
  background: rgba(21, 128, 61, 0.2);
  color: var(--accent-whatsapp-bright);
}

.channel-texts h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.channel-texts p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Pix Quick Copy Box */
.pix-box {
  background: linear-gradient(145deg, #171920, #111318);
  border: 1px solid rgba(197, 151, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.pix-box-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pix-key-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  margin-top: 4px;
}

/* Form Styling */
.contact-form-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(8, 9, 12, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(8, 9, 12, 0.95);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Location Map Box */
.location-box {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.location-details {
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.location-details p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.location-map-frame {
  height: 100%;
  min-height: 280px;
  background: #111317;
  border-left: 1px solid var(--border-subtle);
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(85%);
}

/* --- 18. FOOTER --- */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 44px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.back-to-top-btn {
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- 19. FLOATING WHATSAPP BUTTON & TOAST --- */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-whatsapp);
  color: #ffffff;
  padding: 12px 18px 12px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 28px rgba(21, 128, 61, 0.45);
  text-decoration: none;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 34px rgba(21, 128, 61, 0.6);
  background: #16a34a;
}

.floating-wa-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-wa-text {
  display: flex;
  flex-direction: column;
}

.floating-wa-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  line-height: 1;
}

.floating-wa-sub {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Toast Feedback */
.toast-msg {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #111318;
  border: 1px solid var(--accent-gold);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- 20. RESPONSIVIDADE PRECISA & BREAKPOINTS --- */
@media (max-width: 1080px) {
  .hero-content,
  .about-grid,
  .reform-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-arch-frame {
    height: clamp(360px, 46vh, 480px);
    border-radius: var(--radius-xl);
    border-left: 1px solid rgba(197, 151, 76, 0.4);
  }

  .about-image-frame {
    height: clamp(400px, 52vh, 540px);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-inner {
    grid-template-columns: 1fr;
  }

  .location-map-frame {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  /* Oculta totalmente a barra superior no celular para um visual ultra-clean */
  .top-bar {
    display: none;
  }

  .site-header {
    height: 64px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .brand-icon-t {
    width: 18px;
    height: 17px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .btn-header-wa {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-arch-wrapper {
    margin-top: 10px;
  }

  .hero-arch-frame {
    height: clamp(320px, 44vh, 400px);
  }

  .hero-arch-top-badge {
    top: 12px;
    left: 12px;
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  .hero-arch-bottom-card {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-image-frame {
    height: clamp(320px, 45vh, 420px);
  }

  .tax-comparison-grid {
    grid-template-columns: 1fr;
  }

  .result-recommendations-list {
    grid-template-columns: 1fr;
  }

  /* Seção 07 / VAMOS CONVERSAR — Versão Compacta & Elegante no Mobile */
  .section#contato {
    padding: 44px 0 85px 0;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-info-col {
    gap: 16px;
  }

  .contact-info-col .section-kicker {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .contact-info-col .section-title {
    font-size: clamp(1.6rem, 6.2vw, 2rem);
    margin-bottom: 8px;
    line-height: 1.15;
  }

  .contact-info-col .section-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .contact-card-list {
    gap: 10px;
  }

  .contact-channel-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .channel-left {
    gap: 10px;
  }

  .channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .channel-icon svg {
    width: 18px;
    height: 18px;
  }

  .channel-texts h5 {
    font-size: 0.88rem;
    margin-bottom: 1px;
  }

  .channel-texts p {
    font-size: 0.78rem;
  }

  .pix-box {
    padding: 12px 14px;
    border-radius: 12px;
    gap: 10px;
  }

  .pix-box-info h5 {
    font-size: 0.82rem;
  }

  .pix-key-val {
    font-size: 0.78rem;
  }

  .pix-box .btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  /* Formulário de Proposta — Compacto e com Margem Lateral Perfeita */
  .contact-form-card {
    padding: 22px 18px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    margin-bottom: 16px;
  }

  .form-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .form-desc {
    font-size: 0.78rem;
    margin-bottom: 16px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-label {
    font-size: 0.72rem;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .form-textarea {
    min-height: 75px;
  }

  .contact-form-card .btn-lg {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 10px;
    margin-top: 4px;
  }

  .location-box {
    margin-top: 24px;
  }

  .location-details {
    padding: 20px 16px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Botão WhatsApp Flutuante no Mobile: Compacto e Elegante */
  .floating-wa-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    bottom: 18px;
    right: 16px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 14px rgba(34, 197, 94, 0.45);
  }

  .floating-wa-text {
    display: none;
  }

  .floating-wa-icon {
    width: 24px;
    height: 24px;
  }

  .diagnosis-container {
    padding: 20px 16px;
  }

  .diagnosis-steps-indicator {
    gap: 12px;
  }

  .diagnosis-step-pill span:not(.step-circle) {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .hero-arch-bottom-text h5 {
    font-size: 0.88rem;
  }

  .hero-arch-bottom-text p {
    font-size: 0.74rem;
  }

  .contact-form-card {
    padding: 20px 16px;
  }
}
