/* ==========================================================================
   Diamante Agência — Design System & High-Conversion Stylesheet
   Paleta estrita:
   - Principal (Fundos e estrutura): #41424C (Grafite profundo)
   - Secundária (Detalhes, bordas e ícones): #B7A9B7 (Lavanda acinzentado)
   - Destaque / CTAs: #FF5C00 (Laranja vibrante)
   - Terciária (Textos e áreas de respiro): #FFFFFF e off-whites sutis
   - Tipografia exclusiva: Poppins (300, 400, 600, 700)
   - Regra crítica: ZERO cor verde em todo o projeto.
   ========================================================================== */

:root {
  /* Core Brand Palette */
  --bg-primary: #41424C;
  --bg-deep: #32333B;
  --bg-darker: #2A2B32;
  --bg-elevated: #4C4D59;
  --bg-card-dark: #383943;

  --accent-lavender: #B7A9B7;
  --accent-lavender-soft: rgba(183, 169, 183, 0.22);
  --accent-lavender-subtle: rgba(183, 169, 183, 0.12);

  --cta-orange: #FF5C00;
  --cta-orange-hover: #E55200;
  --cta-orange-light: #FF7A2F;
  --cta-orange-glow: rgba(255, 92, 0, 0.28);
  --cta-orange-soft: rgba(255, 92, 0, 0.12);

  --white: #FFFFFF;
  --off-white: #F7F5F8;
  --surface-light: #EFECEF;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #E3DDE4;
  --text-on-light: #41424C;
  --text-on-light-muted: #5C5D6B;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 20px rgba(24, 24, 30, 0.16);
  --shadow-md: 0 16px 40px rgba(20, 20, 26, 0.26);
  --shadow-lg: 0 28px 64px rgba(16, 16, 22, 0.36);
  --shadow-cta: 0 12px 28px rgba(255, 92, 0, 0.34);

  /* Layout */
  --container-max: 1200px;
  --header-height: 82px;
  --transition-fast: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-on-dark);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

button, input {
  font-family: var(--font-family);
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--cta-orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 9999;
  background: var(--cta-orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--dark {
  background-color: var(--bg-primary);
  color: var(--white);
}

.section--deep {
  background-color: var(--bg-deep);
  color: var(--white);
}

.section--light {
  background-color: var(--off-white);
  color: var(--text-on-light);
}

/* ==========================================================================
   Typography & Micro-Animated Text Highlights
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-lavender);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-lavender-soft);
  background: rgba(183, 169, 183, 0.08);
  margin-bottom: 20px;
}

.section--light .eyebrow {
  color: var(--bg-primary);
  border-color: rgba(65, 66, 76, 0.22);
  background: rgba(183, 169, 183, 0.22);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cta-orange);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.22);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.22);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 92, 0, 0.06);
  }
}

.eyebrow--static .eyebrow__dot {
  animation: none;
  box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.22);
}

h1, h2, h3 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.h1-hero {
  font-size: clamp(1.95rem, 3.25vw, 2.75rem);
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 16px;
}

.hero-accent {
  color: var(--cta-orange);
}

.h2-section {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 18px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-lead {
  font-size: 1.075rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text-on-dark-muted);
}

.section--light .section-lead {
  color: var(--text-on-light-muted);
}

/* Dynamic SVG/CSS Animated Underline (#FF5C00) */
.text-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.text-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--cta-orange), var(--cta-orange-light));
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.is-visible .text-underline::after,
.hero .text-underline::after {
  transform: scaleX(1);
}

/* Luminous Marker Sweep Highlight */
.text-glow-mark {
  position: relative;
  display: inline;
  padding: 0 6px;
  border-radius: 6px;
  background: linear-gradient(
    110deg,
    rgba(255, 92, 0, 0.18) 0%,
    rgba(255, 92, 0, 0.32) 45%,
    rgba(183, 169, 183, 0.16) 100%
  );
  background-size: 220% 100%;
  animation: shimmerMark 5s ease-in-out infinite;
}

.section--light .text-glow-mark {
  color: var(--bg-primary);
  background: linear-gradient(
    110deg,
    rgba(255, 92, 0, 0.14) 0%,
    rgba(255, 92, 0, 0.24) 50%,
    rgba(183, 169, 183, 0.26) 100%
  );
  background-size: 220% 100%;
}

@keyframes shimmerMark {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ==========================================================================
   Buttons (ALL CTAs STRICTLY #FF5C00 with smooth hover)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  background-color: var(--cta-orange);
  color: var(--white);
  box-shadow: var(--shadow-cta);
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.26) 50%,
    transparent 100%
  );
  transition: left 0.65s ease;
}

.btn:hover {
  background-color: var(--cta-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 92, 0, 0.44);
}

.btn:hover::before {
  left: 140%;
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 18px 34px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.875rem;
}

.btn--outline-orange {
  background-color: var(--cta-orange);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.btn--full {
  width: 100%;
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background-color: rgba(65, 66, 76, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--accent-lavender-soft);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.site-header.is-scrolled {
  background-color: rgba(50, 51, 59, 0.98);
  box-shadow: 0 12px 32px rgba(15, 16, 22, 0.32);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--cta-orange);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--accent-lavender-soft);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--accent-lavender-soft);
  padding: 24px;
  z-index: 890;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.is-open {
  display: block;
  animation: fadeSlideDown 0.25s ease forwards;
}

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

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mobile-nav__link {
  display: block;
  padding: 10px 0;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
  border-bottom: 1px solid var(--accent-lavender-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 58px 0 68px;
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 92, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 14% 80%, rgba(183, 169, 183, 0.14) 0%, transparent 48%),
    linear-gradient(165deg, #41424C 0%, #373842 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 169, 183, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 44px;
  align-items: center;
}

.hero .eyebrow {
  margin-bottom: 16px;
  font-size: 0.76rem;
  padding: 6px 14px;
}

.hero-subtitle {
  font-size: 1.01rem;
  font-weight: 300;
  line-height: 1.66;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
  max-width: 540px;
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 600;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-bottom: 26px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.885rem;
  font-weight: 400;
  color: var(--white);
}

.hero-bullet__icon {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--cta-orange-soft);
  border: 1px solid rgba(255, 92, 0, 0.45);
  color: var(--cta-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-btn {
  padding: 14px 22px;
  font-size: 0.92rem;
  border-radius: 11px;
}

.hero-reassurance {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

.hero-reassurance strong {
  color: var(--white);
  font-weight: 600;
}

/* Hero Visual Composition (Clean Video Window) */
.hero-visual {
  position: relative;
}

.hero-video-window {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--accent-lavender-soft);
  box-shadow: var(--shadow-lg);
  background: var(--bg-darker);
  aspect-ratio: 16 / 9;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: var(--bg-darker);
}

/* Metrics Authority Strip */
.metrics-strip {
  background: var(--bg-deep);
  border-top: 1px solid var(--accent-lavender-subtle);
  border-bottom: 1px solid var(--accent-lavender-subtle);
  padding: 28px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 2px solid var(--accent-lavender-soft);
}

.metric-item:first-child {
  border-left-color: var(--cta-orange);
}

.metric-value {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.metric-value span {
  color: var(--cta-orange);
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

/* ==========================================================================
   Section 2 — Interactive Comparative Video ("Antes e Depois do SEO")
   ========================================================================== */
.comparison-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(183, 169, 183, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(255, 92, 0, 0.11) 0%, transparent 45%),
    var(--bg-primary);
}

.comparison-stage-wrap {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 42px;
}

/* Video Theater Frame */
.video-player {
  background: var(--bg-darker);
  border: 1px solid var(--accent-lavender-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.video-player__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(42, 43, 50, 0.96);
  border-bottom: 1px solid var(--accent-lavender-subtle);
}

.video-player__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-lavender-subtle);
  color: var(--accent-lavender);
  border: 1px solid var(--accent-lavender-soft);
}

.status-badge.is-after {
  background: var(--cta-orange);
  color: var(--white);
  border-color: var(--cta-orange);
}

.video-complete-tag {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cta-orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 92, 0, 0.35);
}

/* Viewport Stage */
.video-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: var(--bg-darker);
  overflow: hidden;
  user-select: none;
}

.scene-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.scene-layer.is-active {
  opacity: 1;
  pointer-events: auto;
}

.scene-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 8s linear;
}

.scene-layer.is-active .scene-bg-photo {
  transform: scale(1.09);
}

.scene-scrim {
  position: absolute;
  inset: 0;
}

.scene-scrim--before {
  background: linear-gradient(
    115deg,
    rgba(32, 33, 40, 0.88) 0%,
    rgba(42, 43, 50, 0.68) 52%,
    rgba(42, 43, 50, 0.42) 100%
  );
}

.scene-scrim--after {
  background: linear-gradient(
    115deg,
    rgba(40, 41, 49, 0.84) 0%,
    rgba(65, 66, 76, 0.56) 54%,
    rgba(65, 66, 76, 0.25) 100%
  );
}

/* Scene Overlays (Realistic Live Dashboard Mockups) */
.scene-hud {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
}

.scene-hud__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.scene-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.scene-pill--before {
  background: rgba(42, 43, 50, 0.86);
  border: 1px solid var(--accent-lavender-soft);
  color: var(--accent-lavender);
}

.scene-pill--after {
  background: var(--cta-orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 92, 0, 0.38);
}

/* Simulated Google SERP & Telemetry Cards inside Video */
.hud-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: end;
}

.hud-card {
  background: rgba(42, 43, 50, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--accent-lavender-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(14, 15, 20, 0.35);
}

.hud-card--after {
  border-color: rgba(255, 92, 0, 0.55);
  background: rgba(48, 49, 58, 0.9);
}

.hud-card__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lavender);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.serp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--accent-lavender-subtle);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--white);
  margin-bottom: 10px;
}

.serp-result {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent-lavender);
}

.serp-result--top {
  border-left-color: var(--cta-orange);
  background: rgba(255, 92, 0, 0.14);
}

.serp-rank-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.serp-rank-tag--bad {
  background: rgba(183, 169, 183, 0.2);
  color: var(--accent-lavender);
}

.serp-rank-tag--top {
  background: var(--cta-orange);
  color: var(--white);
}

.serp-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white);
}

.serp-meta {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--accent-lavender);
  margin-top: 2px;
}

/* Loading Speed Meter */
.speed-meter {
  margin-top: 10px;
}

.speed-meter__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-bottom: 5px;
  color: var(--text-on-dark-muted);
}

.speed-meter__track {
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.speed-meter__fill {
  height: 100%;
  border-radius: var(--radius-pill);
}

.speed-meter__fill--slow {
  width: 24%;
  background: var(--accent-lavender);
  animation: stallPulse 1.8s ease-in-out infinite;
}

.speed-meter__fill--fast {
  width: 99%;
  background: linear-gradient(90deg, var(--cta-orange), var(--cta-orange-light));
}

@keyframes stallPulse {
  0%, 100% { opacity: 0.55; width: 22%; }
  50% { opacity: 0.9; width: 28%; }
}

/* Animated SVG Growth Graph (Strict #FF5C00 & #B7A9B7) */
.hud-chart-svg {
  width: 100%;
  height: 74px;
  overflow: visible;
}

.chart-line-growth {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.scene-layer.is-active .chart-line-growth {
  stroke-dashoffset: 0;
}

/* Live Lead Notifications Stack (ZERO green) */
.lead-toast-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
}

.lead-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--bg-primary);
  padding: 9px 13px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 16, 22, 0.32);
  border-left: 4px solid var(--cta-orange);
  font-size: 0.76rem;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.scene-layer.is-active .lead-toast:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.scene-layer.is-active .lead-toast:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.05s;
}

.lead-toast__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cta-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lead-toast strong {
  display: block;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.2;
}

.lead-toast span {
  font-size: 0.7rem;
  color: var(--text-on-light-muted);
}

/* Diamond Transition Wipe Overlay */
.scene-transition-wipe {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: linear-gradient(135deg, rgba(65, 66, 76, 0.96), rgba(42, 43, 50, 0.98));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.scene-transition-wipe.is-active {
  opacity: 1;
}

.wipe-diamond {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cta-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 36px rgba(255, 92, 0, 0.55);
  animation: pulseWipe 1.1s ease-in-out infinite;
}

@keyframes pulseWipe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}

.wipe-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.wipe-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

/* Video Control Bar */
.video-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(42, 43, 50, 0.98);
  border-top: 1px solid var(--accent-lavender-subtle);
}

.ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cta-orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.ctrl-btn:hover {
  background: var(--cta-orange-hover);
  transform: scale(1.06);
}

.ctrl-btn--subtle {
  background: rgba(183, 169, 183, 0.14);
  color: var(--white);
}

.ctrl-btn--subtle:hover {
  background: rgba(183, 169, 183, 0.28);
}

.video-timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-track {
  position: relative;
  height: 7px;
  background: rgba(183, 169, 183, 0.22);
  border-radius: var(--radius-pill);
  cursor: pointer;
  overflow: hidden;
}

.timeline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-lavender) 0%, var(--cta-orange) 45%, var(--cta-orange-light) 100%);
  border-radius: var(--radius-pill);
  transition: width 0.12s linear;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--accent-lavender);
}

/* Side Impact Callouts (Micro-animated around the video) */
.impact-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.impact-card {
  flex: 1;
  background: var(--bg-card-dark);
  border: 1px solid var(--accent-lavender-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-lavender);
  transition: background-color var(--transition-fast);
}

.impact-card.is-highlighted,
.impact-card:hover {
  border-color: rgba(255, 92, 0, 0.6);
  transform: translateY(-3px);
}

.impact-card.is-highlighted::before,
.impact-card:hover::before {
  background: var(--cta-orange);
}

.impact-card__num {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cta-orange);
  line-height: 1.1;
}

.impact-card__title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
}

.impact-card__desc {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

.comparison-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(50, 51, 59, 0.96), rgba(76, 77, 89, 0.82));
  border: 1px solid var(--accent-lavender-soft);
}

.comparison-cta-copy h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.comparison-cta-copy p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Section 3 — Autoridade: "O diamante que falta em seu site"
   ========================================================================== */
.diamond-section {
  background: var(--off-white);
  color: var(--text-on-light);
}

.diamond-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 56px;
}

/* Dedicated Proportional Feature Showcase harmonized in #41424C & #B7A9B7 */
.diamond-showcase {
  position: relative;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 92, 0, 0.16) 0%, transparent 56%),
    radial-gradient(circle at 50% 50%, rgba(183, 169, 183, 0.16) 0%, transparent 72%),
    linear-gradient(155deg, #41424C 0%, #30313A 100%);
  border-radius: var(--radius-lg);
  padding: 46px 36px;
  border: 1px solid var(--accent-lavender);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 440px;
  overflow: hidden;
}

.diamond-showcase::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(183, 169, 183, 0.28);
  pointer-events: none;
}

.diamond-orbit {
  position: relative;
  width: 100%;
  max-width: 310px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.diamond-orbit__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(183, 169, 183, 0.36);
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.diamond-featured-img {
  position: relative;
  z-index: 2;
  max-width: 82%;
  max-height: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(15, 16, 24, 0.55));
  animation: floatGentle 5s ease-in-out infinite;
}

.diamond-showcase__caption {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.diamond-showcase__caption strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.diamond-showcase__caption span {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

/* Authority Narrative & Actionable Tips */
.diamond-narrative h3 {
  font-size: 1.5rem;
  color: var(--bg-primary);
  margin-bottom: 14px;
}

.diamond-narrative p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-light-muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.diamond-narrative p strong {
  color: var(--bg-primary);
  font-weight: 600;
}

.loss-callout {
  background: var(--white);
  border: 1px solid rgba(183, 169, 183, 0.55);
  border-left: 4px solid var(--cta-orange);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 22px;
  box-shadow: 0 10px 26px rgba(65, 66, 76, 0.08);
}

.loss-callout__title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loss-callout p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* 4 Actionable SEO Pillars Grid */
.seo-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.seo-tip-card {
  background: var(--white);
  border: 1px solid rgba(183, 169, 183, 0.48);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 10px 28px rgba(65, 66, 76, 0.06);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.seo-tip-card:hover {
  transform: translateY(-4px);
  border-color: var(--cta-orange);
  box-shadow: 0 18px 38px rgba(65, 66, 76, 0.12);
}

.seo-tip-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-primary);
  color: var(--cta-orange);
  border: 1px solid var(--accent-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.seo-tip-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 17px;
  border: 1px solid rgba(255, 92, 0, 0.25);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.seo-tip-card:hover .seo-tip-icon::after {
  opacity: 1;
  transform: scale(1);
}

.seo-tip-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 8px;
}

.seo-tip-body p {
  font-size: 0.915rem;
  font-weight: 400;
  color: var(--text-on-light-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.tip-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--surface-light);
  border: 1px solid rgba(183, 169, 183, 0.6);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.tip-metric-chip__bar {
  width: 22px;
  height: 5px;
  border-radius: 4px;
  background: var(--cta-orange);
  display: inline-block;
}

/* Authority Closing CTA Banner */
.authority-cta-box {
  background: linear-gradient(135deg, #41424C 0%, #31323A 100%);
  border: 1px solid var(--accent-lavender);
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.authority-cta-box__text {
  max-width: 640px;
}

.authority-cta-box__text h3 {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 8px;
}

.authority-cta-box__text p {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Section 4 — Prova Social (6 Depoimentos Reais)
   ========================================================================== */
.testimonials-section {
  background:
    radial-gradient(circle at 86% 18%, rgba(183, 169, 183, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(255, 92, 0, 0.1) 0%, transparent 42%),
    var(--bg-primary);
}

.testimonials-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card-dark);
  border: 1px solid var(--accent-lavender-soft);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cta-orange);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--accent-lavender-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 92, 0, 0.55);
  box-shadow: var(--shadow-md);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testimonial-niche {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-lavender);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(183, 169, 183, 0.12);
  border: 1px solid var(--accent-lavender-subtle);
}

.testimonial-quote {
  font-size: 0.935rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--white);
  flex: 1;
}

.testimonial-quote strong {
  font-weight: 600;
  color: var(--white);
}

.testimonial-result-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cta-orange-light);
  padding-top: 12px;
  border-top: 1px solid var(--accent-lavender-subtle);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-lavender);
  flex-shrink: 0;
}

.testimonial-author__name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.testimonial-author__role {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

.testimonials-footer-cta {
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   Section 5 — Formulário Simples de Atendimento Rápido
   ========================================================================== */
.callback-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--accent-lavender-subtle);
}

.callback-wrapper {
  background: var(--white);
  color: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-lavender);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.callback-info {
  background: linear-gradient(155deg, #41424C 0%, #32333B 100%);
  color: var(--white);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.callback-info h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  color: var(--white);
  margin-bottom: 14px;
}

.callback-info p {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  line-height: 1.72;
}

.callback-promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.callback-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--white);
}

.callback-promise__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 92, 0, 0.18);
  color: var(--cta-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callback-direct {
  padding-top: 22px;
  border-top: 1px solid var(--accent-lavender-subtle);
  font-size: 0.88rem;
  color: var(--accent-lavender);
}

.callback-direct a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--white);
}

.callback-direct a:hover {
  color: var(--cta-orange-light);
}

/* Right Form Column */
.callback-form-pane {
  padding: 52px 44px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.callback-form-pane h3 {
  font-size: 1.35rem;
  color: var(--bg-primary);
  margin-bottom: 8px;
}

.callback-form-pane .form-intro {
  font-size: 0.92rem;
  color: var(--text-on-light-muted);
  margin-bottom: 26px;
}

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

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bg-primary);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(183, 169, 183, 0.78);
  background: var(--off-white);
  color: var(--bg-primary);
  font-size: 0.98rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-input::placeholder {
  color: #828391;
}

.form-input:focus {
  outline: none;
  border-color: var(--cta-orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.14);
}

.form-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cta-orange-hover);
  margin-top: 6px;
  min-height: 18px;
}

.form-lgpd-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-on-light-muted);
  line-height: 1.55;
}

.form-lgpd-note a {
  color: var(--bg-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-lavender);
}

.form-lgpd-note a:hover {
  color: var(--cta-orange);
}

.form-success-box {
  display: none;
  background: var(--off-white);
  border: 1.5px solid var(--cta-orange);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}

.form-success-box.is-visible {
  display: block;
  animation: fadeSlideDown 0.35s ease;
}

.form-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cta-orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.form-success-box h4 {
  font-size: 1.2rem;
  color: var(--bg-primary);
  margin-bottom: 8px;
}

.form-success-box p {
  font-size: 0.92rem;
  color: var(--text-on-light-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--accent-lavender-soft);
  padding: 64px 0 32px;
  color: var(--text-on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 0.95fr;
  gap: 38px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--accent-lavender-subtle);
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
  max-width: 340px;
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

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

.footer-links a,
.footer-links button {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--cta-orange-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 300;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  color: var(--accent-lavender);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Floating WhatsApp Button (STRICTLY #FF5C00 — NEVER GREEN) */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 840;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--cta-orange);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(255, 92, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.floating-wa:hover {
  background: var(--cta-orange-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   LGPD Cookie Banner & Preferences Modal
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 1120px;
  margin: 0 auto;
  z-index: 980;
  background: rgba(50, 51, 59, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-lavender);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner.is-visible {
  display: flex;
  animation: fadeSlideUp 0.35s ease forwards;
}

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

.cookie-banner__text h4 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.cookie-banner__text p {
  font-size: 0.835rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cta-orange);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-secondary {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-lavender);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(183, 169, 183, 0.1);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.cookie-btn-secondary:hover {
  background: rgba(183, 169, 183, 0.24);
  border-color: var(--white);
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 995;
  background: rgba(20, 21, 28, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop.is-open {
  display: flex;
}

.cookie-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-primary);
  border: 1px solid var(--accent-lavender);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie-modal__head h3 {
  font-size: 1.25rem;
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--accent-lavender);
  background: rgba(183, 169, 183, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal__close:hover {
  color: var(--white);
  background: rgba(183, 169, 183, 0.28);
}

.cookie-modal__desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid var(--accent-lavender-subtle);
  margin-bottom: 12px;
}

.cookie-pref-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.cookie-pref-row span {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

/* Toggle Switch (#FF5C00 active, #B7A9B7 inactive — ZERO green) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: rgba(183, 169, 183, 0.32);
  border-radius: var(--radius-pill);
  transition: background-color 0.25s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--cta-orange);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.72;
  cursor: not-allowed;
}

.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

/* ==========================================================================
   Scroll Reveal Engine
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ==========================================================================
   Standalone Legal Pages (LGPD & Terms of Use)
   ========================================================================== */
.legal-hero {
  background: linear-gradient(155deg, #41424C 0%, #31323A 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--accent-lavender-soft);
}

.legal-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--white);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--accent-lavender);
}

.legal-body {
  background: var(--off-white);
  color: var(--bg-primary);
  padding: 64px 0 88px;
}

.legal-article {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(183, 169, 183, 0.55);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: 0 14px 36px rgba(65, 66, 76, 0.08);
}

.legal-article h2 {
  font-size: 1.32rem;
  color: var(--bg-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(183, 169, 183, 0.42);
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  font-size: 0.96rem;
  color: var(--text-on-light-muted);
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-article ul {
  margin: 10px 0 18px 20px;
  list-style: disc;
  color: var(--text-on-light-muted);
}

.legal-article li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.72;
}

.legal-article strong {
  color: var(--bg-primary);
}

.legal-back-bar {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(183, 169, 183, 0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

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

  .impact-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .diamond-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

@media (max-width: 860px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .seo-tips-grid {
    grid-template-columns: 1fr;
  }

  .callback-wrapper {
    grid-template-columns: 1fr;
  }

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

  .video-viewport {
    aspect-ratio: auto;
    min-height: 480px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 48px 0 68px;
  }

  .hero-bullets {
    grid-template-columns: 1fr;
  }

  .hero-float-card--top {
    top: 10px;
    right: 10px;
    padding: 10px 14px;
  }

  .hero-float-card--bottom {
    bottom: 10px;
    left: 10px;
    padding: 10px 14px;
  }

  .impact-rail {
    grid-template-columns: 1fr;
  }

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

  .callback-info,
  .callback-form-pane {
    padding: 34px 24px;
  }

  .authority-cta-box,
  .comparison-cta-bar {
    padding: 28px 22px;
  }

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

  .legal-article {
    padding: 30px 22px;
  }

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
