/* ==========================================================================
   SAFEVOICE - APPLE-INSPIRED DESIGN SYSTEM
   Conformidade Lei n.º 93/2021 & Diretiva UE 2019/1937
   Estética Apple Pro: Deep Obsidian, Frosted Glass, Dynamic Light & Motion
   ========================================================================== */

:root {
  /* Cores Fixas de Acento Apple */
  --apple-cyan: #0071e3;
  --apple-emerald: #30d158;
  --apple-emerald-dark: #248a3d;
  --apple-indigo: #5e5ce6;
  --apple-teal: #0077ed;
  
  /* Raios e Formas Apple */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  
  /* Transições Fluidas Apple */
  --spring-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-apple: all 0.35s var(--spring-easing);
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
}

/* --------------------------------------------------------------------------
   TEMA LIGHT (Padrão - Apple Clean Pure White)
   -------------------------------------------------------------------------- */
:root, [data-theme="light"] {
  --apple-bg: #ffffff;
  --apple-bg-base: #ffffff;
  --apple-surface: #ffffff;
  --apple-surface-hover: #fbfbfd;
  --apple-surface-card: #ffffff;
  --apple-surface-inner: #f8f9fa;
  --apple-border: rgba(0, 0, 0, 0.08);
  --apple-border-strong: rgba(0, 0, 0, 0.14);
  --apple-text: #1d1d1f;
  --apple-subtext: #48484a;
  --apple-subtle: #6e6e73;
  --apple-nav-bg: rgba(255, 255, 255, 0.85);
  --apple-nav-scrolled: rgba(255, 255, 255, 0.96);
  --grad-apple-text: linear-gradient(180deg, #1d1d1f 0%, #3a3a3c 100%);
  --grad-hero-glow: radial-gradient(circle at 50% 0%, rgba(0, 113, 227, 0.06) 0%, rgba(48, 209, 88, 0.03) 35%, rgba(255, 255, 255, 0) 70%);
  --shadow-apple-ambient: 0 10px 30px rgba(0, 0, 0, 0.04);
  --code-box-bg: #f2f2f7;
}

/* --------------------------------------------------------------------------
   TEMA DARK (Deep Obsidian)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --apple-bg: #050508;
  --apple-bg-base: #000000;
  --apple-surface: rgba(22, 22, 26, 0.65);
  --apple-surface-hover: rgba(32, 32, 38, 0.85);
  --apple-surface-card: rgba(18, 18, 24, 0.75);
  --apple-surface-inner: rgba(255, 255, 255, 0.03);
  --apple-border: rgba(255, 255, 255, 0.08);
  --apple-border-strong: rgba(255, 255, 255, 0.16);
  --apple-text: #f5f5f7;
  --apple-subtext: #a1a1a6;
  --apple-subtle: #86868b;
  --apple-nav-bg: rgba(0, 0, 0, 0.75);
  --apple-nav-scrolled: rgba(5, 5, 8, 0.92);
  --grad-apple-text: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  --grad-hero-glow: radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.18) 0%, rgba(48, 209, 88, 0.08) 35%, rgba(0, 0, 0, 0) 70%);
  --shadow-apple-ambient: 0 30px 60px rgba(0, 0, 0, 0.6);
  --code-box-bg: rgba(0, 0, 0, 0.5);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--apple-bg-base);
}

body {
  font-family: var(--font-apple);
  background-color: var(--apple-bg);
  color: var(--apple-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.015em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efeito de Luz Ambiente Tridimensional de Fundo */
.ambient-lighting {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: var(--grad-hero-glow);
  opacity: 0.85;
  transition: opacity 1s ease;
}

.aurora-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: floatAurora 18s infinite alternate ease-in-out;
}

[data-theme="light"] .aurora-sphere {
  opacity: 0.18;
  filter: blur(100px);
}

.aurora-1 {
  top: -10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.4) 0%, transparent 70%);
}

.aurora-2 {
  top: 35%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(48, 209, 88, 0.25) 0%, transparent 70%);
  animation-delay: -6s;
}

.aurora-3 {
  bottom: 5%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.3) 0%, transparent 70%);
  animation-delay: -12s;
}

@keyframes floatAurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--apple-text);
}

.apple-headline {
  background: var(--grad-apple-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-subheadline {
  color: var(--apple-subtext);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-cyan);
  margin-bottom: 0.75rem;
}

.eyebrow-emerald {
  color: var(--apple-emerald);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR (APPLE TRANSLUCENT)
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--apple-nav-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--apple-border);
  transition: var(--transition-apple);
}

.site-nav.scrolled {
  background: var(--apple-nav-scrolled);
  border-bottom: 1px solid var(--apple-border-strong);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 3px 10px rgba(0, 113, 227, 0.25));
  transition: var(--transition-apple);
  display: block;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 16px rgba(48, 209, 88, 0.4));
}

/* Botão de Alternância de Tema Apple */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
  cursor: pointer;
  transition: var(--transition-apple);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: var(--apple-surface-hover);
  border-color: var(--apple-border-strong);
  transform: scale(1.08);
}

.theme-toggle-btn svg {
  transition: transform 0.4s var(--spring-easing), opacity 0.3s ease;
  position: absolute;
  pointer-events: none;
}

/* Visibilidade dos ícones de acordo com o tema */
[data-theme="dark"] .theme-toggle-btn .moon-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #ffbd2e;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #5e5ce6;
}

.brand-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0071e3 0%, #30d158 100%);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 14px rgba(48, 209, 88, 0.3);
  transition: var(--transition-apple);
}

.brand-link:hover .brand-logo-mark {
  transform: scale(1.05) rotate(2deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.85rem;
  color: #a1a1a6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item a:hover {
  color: #f5f5f7;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-app-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  gap: 0.4rem !important;
  height: 38px;
  padding: 0 1.1rem;
}

.nav-btn-text-short {
  display: none;
}

.nav-item-mobile-only {
  display: none;
}

/* Botões Apple (Pill shape e Glass specular) */
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-apple);
  border: 1px solid transparent;
  outline: none;
}

.btn-apple-primary {
  background: var(--apple-cyan);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.btn-apple-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.55);
  filter: brightness(1.08);
}

.btn-apple-emerald {
  background: var(--apple-emerald);
  color: #041a0d;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(48, 209, 88, 0.35);
}

.btn-apple-emerald:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(48, 209, 88, 0.55);
}

.btn-apple-glass {
  background: var(--apple-surface-inner);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--apple-border-strong);
  color: var(--apple-text);
}

.btn-apple-glass:hover {
  background: var(--apple-surface-hover);
  border-color: var(--apple-cyan);
  transform: scale(1.03);
}

.btn-apple-large {
  font-size: 1rem;
  padding: 0.85rem 2rem;
}

/* ==========================================================================
   HERO SECTION COM ONDAS DE VOZ DINÂMICAS & GLASSPHONE
   ========================================================================== */
.hero {
  padding: 4.5rem 0 2rem;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  color: var(--apple-subtext);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apple-emerald);
  box-shadow: 0 0 10px var(--apple-emerald);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
  font-size: clamp(1.9rem, 5.8vw, 4.6rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--apple-subtext);
  font-weight: 400;
  max-width: 740px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Visualizador de Voz Dinâmica e Dispositivo Apple Style */
.hero-experience-viewport {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.voice-canvas-container {
  width: 100%;
  height: 100px;
  margin-bottom: 1rem;
  position: relative;
}

#voiceWaveCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Card Mockup Vidro Apple Pro */
.apple-device-frame {
  background: var(--apple-surface-card);
  border: 1px solid var(--apple-border-strong);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-apple-ambient);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-apple);
}

.apple-device-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.device-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--apple-border);
}

.device-lights {
  display: flex;
  gap: 8px;
}

.device-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.device-light.red { background: #ff5f56; }
.device-light.yellow { background: #ffbd2e; }
.device-light.green { background: #27c93f; }

.device-url-pill {
  background: var(--code-box-bg);
  border: 1px solid var(--apple-border);
  padding: 0 1.6rem;
  height: 42px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  color: var(--apple-cyan);
  margin-left: 1.5rem;
  margin-right: 2rem;
  flex: 1;
  max-width: 580px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.device-secure-lock {
  color: var(--apple-emerald);
}

.demo-trigger-pill {
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.28);
  color: var(--apple-cyan);
  padding: 0 1.35rem;
  height: 42px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-apple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.demo-trigger-pill:hover {
  background: var(--apple-cyan);
  border-color: var(--apple-cyan);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

[data-theme="light"] .demo-trigger-pill {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.22);
}

[data-theme="light"] .demo-trigger-pill:hover {
  background: var(--apple-cyan);
  color: #ffffff;
}

.device-inner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.interactive-reporter-box {
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.reporter-box-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-emerald);
  margin-bottom: 0.5rem;
}

.code-display-group {
  margin: 1.25rem 0;
}

.code-number {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--apple-text);
  background: var(--code-box-bg);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--apple-border-strong);
  display: inline-block;
}

.interactive-compliance-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--apple-surface-inner);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--apple-cyan);
}

.flow-step-item.green {
  border-left-color: var(--apple-emerald);
}

.flow-step-item h5 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--apple-text);
}

.flow-step-item p {
  font-size: 0.8rem;
  color: var(--apple-subtext);
  line-height: 1.4;
}

/* ==========================================================================
   BENTO GRID APPLE-STYLE (FUNCIONALIDADES & LEI 93/2021)
   ========================================================================== */
.section-apple {
  padding: 4.25rem 0;
  position: relative;
}

.section-head-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.section-head-center h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-head-center p {
  font-size: 1.15rem;
  color: var(--apple-subtext);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-apple);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sombra e acabamento premium no tema claro */
[data-theme="light"] .bento-card,
[data-theme="light"] .apple-device-frame,
[data-theme="light"] .simulator-box,
[data-theme="light"] .apple-faq-card,
[data-theme="light"] .contact-card-apple {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* Efeito de iluminação dinâmica no mouse (Spotlight) */
.bento-card::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .bento-card::after {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--apple-border-strong);
  box-shadow: var(--shadow-apple-ambient);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
  color: var(--apple-text);
}

.bento-content p {
  font-size: 1rem;
  color: var(--apple-subtext);
  line-height: 1.6;
}

.bento-illustration {
  margin-top: 2rem;
  position: relative;
}

/* Indicador de 7 Dias / 3 Meses Apple Minimal */
.timer-pill-group {
  display: flex;
  gap: 1.25rem;
}

.timer-pill-box {
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex: 1;
  text-align: center;
}

.timer-number {
  font-size: 2.75rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.04em;
}

.timer-number.cyan { color: var(--apple-cyan); }
.timer-number.emerald { color: var(--apple-emerald); }

.timer-tag {
  font-size: 0.8rem;
  color: var(--apple-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   CARTÕES DE COMPARAÇÃO DE RISCO VS SOLUÇÃO (APPLE ADAPTIVE)
   ========================================================================== */
.bento-card-risk {
  border-color: rgba(255, 69, 58, 0.25) !important;
  background: rgba(255, 69, 58, 0.05) !important;
}

[data-theme="light"] .bento-card-risk {
  background: rgba(255, 59, 48, 0.035) !important;
  border-color: rgba(255, 59, 48, 0.22) !important;
}

.eyebrow-risk {
  color: #ff453a !important;
}

[data-theme="light"] .eyebrow-risk {
  color: #d70015 !important;
}

.risk-card-title {
  color: #ff453a !important;
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}

[data-theme="light"] .risk-card-title {
  color: #c91919 !important;
}

.risk-stat-value {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ff453a;
  margin: 0.85rem 0 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

[data-theme="light"] .risk-stat-value {
  color: #d70015;
}

.risk-card-desc {
  color: var(--apple-subtext);
  line-height: 1.65;
  font-size: 1rem;
}

.risk-card-desc strong {
  color: var(--apple-text);
  font-weight: 700;
}

.bento-card-safe {
  border-color: rgba(48, 209, 88, 0.25) !important;
  background: rgba(48, 209, 88, 0.05) !important;
}

[data-theme="light"] .bento-card-safe {
  background: rgba(48, 209, 88, 0.035) !important;
  border-color: rgba(48, 209, 88, 0.22) !important;
}

.safe-card-title {
  color: var(--apple-text) !important;
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
}

.safe-stat-value {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--apple-emerald);
  margin: 0.85rem 0 1.25rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

[data-theme="light"] .safe-stat-value {
  color: #248a3d;
}

.safe-card-desc {
  color: var(--apple-subtext);
  line-height: 1.65;
  font-size: 1rem;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (CALCULADORA DE OBRIGATORIEDADE)
   ========================================================================== */
.simulator-box {
  background: var(--apple-surface-card);
  border: 1px solid var(--apple-border-strong);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-apple-ambient);
  backdrop-filter: blur(30px);
}

.slider-container {
  margin: 2rem 0;
  text-align: center;
}

.slider-display-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.slider-val-num {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--apple-text);
}

.slider-val-unit {
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apple-text);
  opacity: 0.85;
}

.slider-label {
  font-size: 1rem;
  color: var(--apple-subtle);
  margin-bottom: 2rem;
  display: block;
}

.apple-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 650px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--apple-border-strong);
  outline: none;
  transition: var(--transition-apple);
}

.apple-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: 2px solid var(--apple-cyan);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apple-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
}

.simulator-result-banner,
.simulator-result-card {
  margin-top: 2rem;
  padding: 1.75rem 2.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  transition: var(--transition-apple);
}

.simulator-result-banner.mandatory {
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.08);
}

.simulator-status-heading,
.result-status-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.simulator-status-heading.emerald { color: var(--apple-emerald-dark); }
[data-theme="dark"] .simulator-status-heading.emerald { color: var(--apple-emerald); }
.simulator-status-heading.cyan { color: var(--apple-cyan); }

.simulator-status-desc,
.result-status-desc {
  font-size: 0.95rem;
  color: var(--apple-subtext);
  line-height: 1.5;
  max-width: 600px;
}

/* ==========================================================================
   CONVERSÃO & FORMULÁRIO B2B (FROSTED GLASS PREMIUM)
   ========================================================================== */
.contact-section-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  background: var(--apple-surface-card);
  border: 1px solid var(--apple-border-strong);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-apple-ambient);
  backdrop-filter: blur(30px);
}

.contact-left h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--apple-text);
}

.contact-left p {
  font-size: 1.05rem;
  color: var(--apple-subtext);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.apple-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.apple-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--apple-text);
}

.apple-icon-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  color: var(--apple-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--apple-surface-inner);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.input-field-group {
  margin-bottom: 1.5rem;
}

.apple-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-subtle);
  margin-bottom: 0.5rem;
}

.apple-input {
  width: 100%;
  background: var(--apple-bg-base);
  border: 1px solid var(--apple-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--apple-text);
  transition: var(--transition-apple);
  outline: none;
}

.apple-input:focus {
  border-color: var(--apple-cyan);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-success-banner {
  display: none;
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid var(--apple-emerald);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--apple-text);
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease;
}

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

/* ==========================================================================
   FAQ ACCORDION (MINIMAL APPLE)
   ========================================================================== */
.apple-faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apple-faq-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-apple);
}

.apple-faq-card.active {
  border-color: var(--apple-border-strong);
  background: var(--apple-surface-hover);
}

.apple-faq-btn {
  width: 100%;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--apple-text);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.apple-faq-btn:hover {
  color: var(--apple-cyan);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--apple-subtle);
  flex-shrink: 0;
}

.apple-faq-card.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--apple-text);
}

.apple-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-faq-body-inner {
  padding: 0 2rem 1.75rem;
  font-size: 0.95rem;
  color: var(--apple-subtext);
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER (APPLE STYLE)
   ========================================================================== */
.apple-footer {
  background: var(--apple-bg-base);
  border-top: 1px solid var(--apple-border);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.8rem;
  color: var(--apple-subtle);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-info p {
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
  color: var(--apple-subtext);
}

.footer-col-title {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-text);
  margin-bottom: 1.25rem;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-list a {
  color: var(--apple-subtext);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--apple-cyan);
}

.footer-subline {
  padding-top: 2rem;
  border-top: 1px solid var(--apple-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-tag {
  color: var(--apple-subtle);
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL: PARCEIROS INLINE (MONITOR DE SURPRESAS & PCTI)
   ========================================================================== */
.footer-subline-partners {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.footer-subline-partners .powered-by-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}

.footer-subline-partners .powered-by-brand:hover {
  transform: scale(1.08);
}

.footer-subline-partners .powered-by-logo {
  height: 20px !important;
  max-height: 20px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.5 !important;
  filter: grayscale(100%) !important;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block !important;
}

.footer-subline-partners .powered-by-brand:hover .powered-by-logo {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL: POWERED BY MONITOR DE SURPRESAS (RÉPLICA SAFEVOICE)
   ========================================================================== */
.footer-powered-by {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
}

[data-theme="dark"] .footer-powered-by {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.powered-by-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: #a1a1aa;
  margin-left: 0.4em; /* Compensar o tracking para centralização perfeita */
  line-height: 1;
}

[data-theme="dark"] .powered-by-label {
  color: #71717a;
}

.powered-by-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}

.powered-by-brand:hover {
  transform: scale(1.03);
}

.powered-by-logo {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.5 !important;
  filter: grayscale(100%) !important;
  transition: opacity 0.3s ease, filter 0.3s ease;
  display: block !important;
  margin: 0 auto !important;
}

.powered-by-brand:hover .powered-by-logo {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
}

.powered-by-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 8.5px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  color: #a1a1aa !important;
  opacity: 0.7 !important;
  text-decoration: none !important;
  transition: color 0.3s ease, opacity 0.3s ease;
  margin-left: 0.25em !important;
  line-height: 1.2 !important;
}

.powered-by-brand:hover .powered-by-name {
  opacity: 1 !important;
  color: #18181b !important;
}

[data-theme="dark"] .powered-by-name {
  color: #71717a !important;
}

[data-theme="dark"] .powered-by-brand:hover .powered-by-name {
  color: #ffffff !important;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f5f5f7;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

[data-theme="light"] .mobile-menu-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1d1d1f !important;
}

[data-theme="light"] .mobile-menu-btn svg {
  stroke: #1d1d1f !important;
}

[data-theme="light"] .mobile-menu-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--apple-blue, #0071e3) !important;
}

[data-theme="light"] .mobile-menu-btn:hover svg {
  stroke: var(--apple-blue, #0071e3) !important;
}

/* Responsividade Multi-Dispositivo (Apple Pro Responsive System) */
@media (max-width: 992px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  
  .contact-section-wrap {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  
  .device-inner-content {
    grid-template-columns: 1fr;
  }
  
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0.45rem;
    flex-shrink: 0;
  }

  .nav-container {
    height: 60px;
    gap: 0.5rem;
  }

  .nav-cta-wrap {
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
  }

  #navBtnApp {
    height: 36px !important;
    padding: 0 0.85rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 0.35rem !important;
  }

  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-item-mobile-only {
    display: block;
    width: 100%;
  }

  .simulator-box {
    padding: 1.75rem 1.25rem !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .slider-container {
    margin: 1.25rem 0;
  }

  .slider-display-value {
    gap: 0.35rem;
  }

  .slider-label {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  
  .mobile-nav-active .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    gap: 1.25rem;
  }

  [data-theme=light] .mobile-nav-active .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  }

  [data-theme=light] .mobile-nav-active .nav-item a {
    color: #1d1d1f !important;
    font-weight: 500;
  }

  [data-theme=light] .mobile-nav-active .nav-item a:hover {
    color: var(--apple-blue, #0071e3) !important;
  }

  /* Ajuste Responsivo da Moldura do Dispositivo */
  .apple-device-frame {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .device-top-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .device-url-pill {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: 0.82rem;
    padding: 0 1rem;
    height: 38px;
    min-height: 38px;
    justify-content: center;
  }

  .demo-trigger-pill {
    font-size: 0.8rem;
    padding: 0 1.1rem;
    height: 38px;
    min-height: 38px;
  }
  
  .input-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .simulator-result-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-subline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-subline-partners {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn-apple {
    width: 100%;
    justify-content: center;
  }

  .voice-canvas-container {
    height: 70px;
  }

  .bento-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .bento-content h3 {
    font-size: 1.35rem;
  }

  .timer-pill-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .timer-pill-box {
    padding: 1rem;
  }

  .timer-number {
    font-size: 2.25rem;
  }

  .contact-section-wrap {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .contact-form {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .apple-faq-btn {
    padding: 1.25rem 1.25rem;
    font-size: 0.98rem;
  }

  .apple-faq-body-inner {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 540px) {
  .nav-btn-text-full {
    display: none;
  }
  .nav-btn-text-short {
    display: inline;
  }
  #navBtnApp {
    padding: 0 0.65rem !important;
    font-size: 0.76rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .nav-container {
    height: 56px;
    gap: 0.35rem;
  }

  .brand-link {
    font-size: 1.05rem;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .brand-logo-img {
    height: 28px;
  }

  .nav-cta-wrap {
    gap: 0.35rem;
  }

  #navBtnApp {
    height: 32px !important;
    padding: 0 0.55rem !important;
    font-size: 0.74rem !important;
  }

  .theme-toggle-btn {
    width: 32px;
    height: 32px;
  }

  .mobile-menu-btn {
    width: 32px;
    height: 32px;
    padding: 0.35rem;
  }

  .simulator-box {
    padding: 1.25rem 0.85rem !important;
  }

  .slider-val-num {
    font-size: 2.2rem;
  }

  .slider-val-unit {
    font-size: 1.1rem;
  }

  .apple-device-frame {
    padding: 1rem;
  }

  .device-inner-content {
    gap: 1.25rem;
  }

  .interactive-reporter-box {
    padding: 1rem;
  }

  .code-display-group {
    padding: 0.5rem;
  }

  .code-number {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   PÁGINAS JURÍDICAS & CONFORMIDADE (PRIVACIDADE E TERMOS)
   ========================================================================== */
.legal-wrapper {
  padding-top: 6.5rem;
  padding-bottom: 5rem;
  min-height: 80vh;
}

.legal-header {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  text-align: left;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--apple-subtle);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-back-link:hover {
  color: var(--apple-blue);
  transform: translateX(-3px);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(10, 132, 255, 0.1);
  color: var(--apple-blue);
  border: 1px solid rgba(10, 132, 255, 0.25);
  margin-bottom: 1.25rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--apple-text);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--apple-subtle);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1.5rem;
}

[data-theme="dark"] .legal-meta {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content-card {
  background: var(--apple-card-bg);
  border: 1px solid var(--apple-card-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--apple-card-shadow);
}

@media (max-width: 640px) {
  .legal-content-card {
    padding: 2rem 1.5rem;
  }
}

.legal-toc {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

[data-theme="dark"] .legal-toc {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.legal-toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-subtle);
  margin-bottom: 0.85rem;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.legal-toc-list a {
  color: var(--apple-text);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-toc-list a:hover {
  color: var(--apple-blue);
}

.legal-section {
  margin-bottom: 2.75rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--apple-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.legal-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--apple-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: var(--apple-subtle);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
  color: var(--apple-subtle);
  line-height: 1.75;
  font-size: 0.98rem;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section strong {
  color: var(--apple-text);
  font-weight: 600;
}

.legal-highlight-box {
  background: rgba(10, 132, 255, 0.05);
  border-left: 4px solid var(--apple-blue);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--apple-text);
}

.legal-highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-highlight-box.emerald {
  background: rgba(48, 209, 88, 0.06);
  border-left-color: var(--apple-emerald);
}

/* ==========================================================================
   BLINDAGEM ANTI-SCRAPING & ANTI-HARVESTER PARA DADOS DE CONTACTO
   Impede seleção e cópia automatizada por web crawlers / bots de spam
   ========================================================================== */
.protected-contacts-box,
.no-select {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

.contact-secure-link {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.contact-secure-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

