/* ==========================================================================
   RESOLVE — ESTILOS & DESIGN SYSTEM PREMIUM
   Identidade: Escura, Sofisticada, Humana e Moderna
   Paleta: Preto Absoluto, Grafite, Branco e Amarelo-Mostarda
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS & RESET CSS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Base */
  --bg-deep: #08080a;
  --bg-surface: #101014;
  --bg-surface-elevated: #16161d;
  --bg-surface-hover: #1f1f28;

  /* Tipografia & Cores de Texto */
  --text-pure: #ffffff;
  --text-main: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #09090b;

  /* Amarelo-Mostarda Refinado */
  --accent-mustard: #E5A910;
  --accent-mustard-hover: #f5b922;
  --accent-mustard-subtle: rgba(229, 169, 16, 0.12);
  --accent-mustard-border: rgba(229, 169, 16, 0.35);
  --accent-mustard-glow: rgba(229, 169, 16, 0.22);

  /* Bordas e Linhas Sutis */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.16);

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

  /* Dimensões Globais */
  --header-height: 72px;
  --container-max: 1240px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-heading);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.55;
  background-color: transparent;
}

/* --------------------------------------------------------------------------
   2. CAMADA DE FUNDO FIXO (VÍDEO CONTÍNUO & OVERLAY)
   -------------------------------------------------------------------------- */
.bg-fixed-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Vídeo Fixo cobrindo 100% da viewport com aceleração de hardware */
.bg-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  display: block;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Overlay escuro semitransparente para contraste tipográfico editorial */
.bg-vignette-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.85) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.4) 0%, rgba(8, 8, 10, 0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Textura sutil de micro-grade */
.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. CABEÇALHO FIXO MINIMALISTA
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all 0.3s var(--ease-smooth);
  background: rgba(8, 8, 10, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.site-header.scrolled {
  background: rgba(8, 8, 10, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.25vw, 1.5rem);
}

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

.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0d0d12;
  border: 1.5px solid rgba(229, 169, 16, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 10px rgba(229, 169, 16, 0.1);
}

.symbol-bar {
  width: 14px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
}

.symbol-dot {
  width: 4.5px;
  height: 4.5px;
  background-color: var(--accent-mustard);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
  box-shadow: 0 0 6px rgba(229, 169, 16, 0.8);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #ffffff;
  line-height: 1.1;
}

.accent-dot {
  color: var(--accent-mustard);
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #888894;
  line-height: 1.15;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Navegação Principal */
.nav-menu {
  display: flex;
  align-items: center;
  min-width: 0;
}

.mobile-nav-actions {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.15vw, 1.75rem);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9494a0;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}

.nav-num {
  display: none;
}

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

.nav-link:hover .nav-num {
  color: var(--accent-mustard);
}

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

.nav-link.active .nav-num {
  color: var(--accent-mustard);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-mustard);
  border-radius: 2px;
}

/* Ações no Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1vw, 1.5rem);
  flex-shrink: 0;
}

.btn-provider-link,
.btn-client-link {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: #d4d4d8;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-provider-link:hover,
.btn-client-link:hover {
  color: #ffffff;
}

.btn-header-cta {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 24px;
  border-radius: 999px;
  line-height: 1.25;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-header-cta:hover {
  border-color: rgba(229, 169, 16, 0.5);
  background: #1a1a24;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-pure);
  transition: all 0.25s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   4. INDICADOR LATERAL DE PROGRESSO (DESKTOP)
   -------------------------------------------------------------------------- */
.scroll-tracker {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
}

.tracker-line {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.tracker-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent-mustard);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.tracker-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.tracker-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-decoration: none;
  group: true;
}

.tracker-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s var(--ease-smooth);
  pointer-events: none;
}

.tracker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--bg-deep);
  transition: all 0.25s var(--ease-smooth);
}

.tracker-item:hover .tracker-label,
.tracker-item.active .tracker-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-pure);
}

.tracker-item.active .tracker-dot {
  background: var(--accent-mustard);
  box-shadow: 0 0 14px var(--accent-mustard-glow);
  transform: scale(1.35);
}

/* --------------------------------------------------------------------------
   5. SEÇÕES PRINCIPAIS (100VH COM ALTERNÂNCIA DE ALINHAMENTO)
   -------------------------------------------------------------------------- */
.landing-flow {
  width: 100%;
  position: relative;
}

.stage-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3.5rem) 2rem 5.5rem;
  background: transparent; /* Permite visualizar o fundo contínuo */
  position: relative;
}

.section-container,
.section-wrapper {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Alternância de Posicionamento */

/* CENTRO: Seções 1 e 6 */
.stage-section.pos-center .section-container {
  justify-content: center;
}

.stage-section.pos-center .section-content {
  text-align: center;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

/* ESQUERDA: Seções 2 e 4 */
.stage-section.pos-left .section-container,
.stage-section.pos-left .section-wrapper {
  justify-content: flex-start;
}

.stage-section.pos-left .section-content {
  text-align: left;
  align-items: flex-start;
  max-width: 680px;
  margin-right: auto;
  margin-left: 0;
}

/* DIREITA: Seções 3 e 5 */
.stage-section.pos-right .section-container {
  justify-content: flex-end;
}

.stage-section.pos-right .section-content {
  text-align: left;
  align-items: flex-start;
  max-width: 680px;
  margin-left: auto;
  margin-right: 0;
}

/* --------------------------------------------------------------------------
   6. TIPOGRAFIA & ELEMENTOS VISUAIS
   -------------------------------------------------------------------------- */

/* Badges e Tags de Apoio */
.badge-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.badge-cluster.center {
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  width: fit-content;
}

.badge-primary {
  background: var(--accent-mustard-subtle);
  border: 1px solid var(--accent-mustard-border);
  color: var(--text-pure);
}

.badge-index {
  color: var(--accent-mustard);
}

.badge-divider {
  color: rgba(255, 255, 255, 0.25);
}

.badge-name {
  color: var(--text-pure);
}

.badge-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.72rem;
}

/* Títulos & Headlines */
.hero-title {
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-pure);
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-pure);
  text-wrap: balance;
}

/* Descrições */
.hero-description,
.section-description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 640px;
  text-wrap: pretty;
}

/* Pilares de Confiança / Badges de Apoio */
.trust-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.25rem;
}

.trust-features.center {
  justify-content: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-mustard);
}

/* Listas Editoriais de Apoio Técnico e Humano */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
}

.spec-list.compact {
  gap: 0.85rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(18, 18, 20, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.spec-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-bullet {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-mustard);
  background: var(--accent-mustard-subtle);
  border: 1px solid var(--accent-mustard-border);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

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

/* Chips Tipográficos de Serviços */
.service-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.25rem;
}

.service-tag {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.service-tag:hover {
  border-color: var(--accent-mustard-border);
  color: var(--text-pure);
}

/* Micro-Badges de Rodapé de Seção */
.section-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0.5rem;
}

.accent-bar {
  width: 28px;
  height: 2px;
  background-color: var(--accent-mustard);
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. BOTÕES & CHAMADAS PARA AÇÃO (CTAS)
   -------------------------------------------------------------------------- */
.action-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.action-wrap.center {
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 1.15rem 2.5rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-smooth);
  cursor: pointer;
}

/* CTA Primário (Abertura): Amarelo-Mostarda */
.cta-primary {
  background-color: var(--accent-mustard);
  color: #09090b;
  border: 1px solid var(--accent-mustard);
  box-shadow: 0 4px 25px rgba(229, 169, 16, 0.3);
}

.cta-primary:hover {
  background-color: var(--accent-mustard-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(229, 169, 16, 0.45);
}

.cta-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease-smooth);
}

.cta-primary:hover .cta-icon-box {
  transform: translateX(4px);
}

/* CTA WhatsApp (Finalização) */
.cta-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 28px rgba(37, 211, 102, 0.32);
}

.cta-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 38px rgba(37, 211, 102, 0.5);
}

.wa-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Indicador de Rolagem */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  opacity: 0.6;
}

.cue-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cue-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--accent-mustard), transparent);
}

/* Faixa Informativa de Atendimento (Seção 6) */
.contact-info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-top: 0.5rem;
  width: 100%;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
}

.info-separator {
  width: 1px;
  height: 32px;
  background: var(--border-glass);
}

.reassurance-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   8. RODAPÉ MINIMALISTA
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--border-glass);
  background: rgba(8, 8, 10, 0.75);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-title {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: var(--text-pure);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVIDADE (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .scroll-tracker {
    display: none;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

  .header-container {
    padding: 0 1.25rem;
  }

  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.875rem 1.25rem max(0.875rem, env(safe-area-inset-bottom));
    display: none;
    flex-direction: column;
    z-index: 99;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-link {
    font-size: 0.92rem;
    width: 100%;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    color: var(--accent-mustard);
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-glass);
  }

  .mobile-theme-toggle,
  .mobile-client-link,
  .mobile-provider-link,
  .mobile-budget-cta {
    min-height: 42px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .mobile-theme-toggle {
    width: 100%;
    height: 42px;
    gap: 8px;
  }

  .mobile-action-label {
    display: inline;
  }

  .mobile-provider-link,
  .mobile-client-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-pure);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    text-decoration: none;
  }

  .mobile-budget-cta {
    grid-column: 1 / -1;
    color: #09090b;
    background: var(--accent-mustard);
    border: 1px solid var(--accent-mustard);
    cursor: pointer;
  }

  .stage-section {
    padding: calc(var(--header-height) + 2rem) 1.25rem 4.5rem;
    min-height: 90vh;
  }

  .stage-section.pos-left .section-content,
  .stage-section.pos-right .section-content {
    max-width: 100%;
  }

  .contact-info-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }

  .info-separator {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Acessibilidade: navegação por teclado sem alterar a identidade visual */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #09090c;
  background: var(--accent, #e8ad16);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent, #e8ad16);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

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

  .hero-description,
  .section-description {
    font-size: 1.05rem;
  }

  .cta-button {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .action-wrap {
    width: 100%;
  }

  .trust-features {
    flex-direction: column;
    width: 100%;
  }

  .trust-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   10. MODAL CALCULADORA INTERATIVA DE ORÇAMENTO (HUB / OPÇÃO B)
   ========================================================================== */
.calc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.calc-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.calc-modal-dialog {
  width: 100%;
  max-width: 1080px;
  max-height: 92vh;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(229, 169, 16, 0.25);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 2.25rem;
}

.calc-modal-dialog::-webkit-scrollbar {
  width: 6px;
}

.calc-modal-dialog::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.calc-modal-backdrop.is-active .calc-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Cabeçalho Moderno */
.calc-header-modern {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-badge-golden {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-mustard);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-block;
}

.calc-title-huge {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 6px 0 6px;
}

.calc-subtitle-modern {
  font-size: 0.95rem;
  color: #a1a1aa;
}

.calc-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-ai-pill {
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
  font-size: 0.85rem;
}

.pill-bar {
  color: rgba(255, 255, 255, 0.25);
}

.pill-icon {
  font-size: 1rem;
}

.pill-dots {
  letter-spacing: 2px;
  color: var(--accent-mustard);
  font-size: 0.8rem;
}

.calc-close-circle {
  background: #181820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.calc-close-circle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* Layout em 2 Colunas */
.calc-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-top: 1.75rem;
  align-items: start;
}

/* Grade de Cards de Serviços */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card-box {
  background: #131318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.service-card-box:hover {
  background: #181822;
  border-color: rgba(229, 169, 16, 0.35);
}

.service-card-box.is-selected {
  background: #16161f;
  border-color: rgba(229, 169, 16, 0.7);
  box-shadow: 0 0 16px rgba(229, 169, 16, 0.15);
}

.card-check-wrap {
  display: flex;
  align-items: center;
}

.service-card-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-mustard);
  cursor: pointer;
}

.card-info-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.card-meta {
  font-size: 0.78rem;
  color: #a1a1aa;
}

.service-card-box.is-selected .card-meta {
  color: var(--accent-mustard);
}

.card-qty-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.qty-label {
  font-size: 0.68rem;
  color: #71717a;
  text-transform: uppercase;
}

.card-qty-input {
  width: 44px;
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  text-align: center;
  padding: 4px 6px;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
}

.card-qty-input:focus {
  border-color: var(--accent-mustard);
}

/* Botão de Ver Mais Serviços */
.more-services-toggle-wrap {
  margin-top: 12px;
}

.btn-toggle-more-services {
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--accent-mustard);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-toggle-more-services:hover {
  background: rgba(229, 169, 16, 0.08);
  border-color: var(--accent-mustard);
}

.extra-services-grid {
  margin-top: 12px;
}

/* Sidebar de Estimativa Instantânea */
.calc-sidebar-column {
  position: sticky;
  top: 1rem;
}

.estimate-sidebar-card {
  background: #111117;
  border: 1px solid rgba(229, 169, 16, 0.35);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.estimate-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-mustard);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-display-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estimate-main-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.estimate-time-val {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0;
}

.sidebar-options-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-field label {
  font-size: 0.75rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

.sidebar-select {
  width: 100%;
  background: #09090d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
}

.sidebar-select:focus {
  border-color: var(--accent-mustard);
}

.sidebar-urgent-wrap {
  padding-top: 2px;
}

.sidebar-urgent-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f4f4f5;
  cursor: pointer;
}

.sidebar-check {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-mustard);
  cursor: pointer;
}

.sidebar-cta {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-mustard);
  color: #000000;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-cta:hover {
  background: var(--accent-mustard-hover);
  box-shadow: 0 6px 20px rgba(229, 169, 16, 0.35);
}

.estimate-disclaimer {
  font-size: 0.72rem;
  color: #71717a;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .calc-content-layout {
    grid-template-columns: 1fr;
  }
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .calc-title-huge {
    font-size: 1.65rem;
  }
}

.calc-lead-section {
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.lead-section-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-mustard);
}

.lead-section-title h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full-width {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-pure);
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-mustard);
  box-shadow: 0 0 0 2px rgba(229, 169, 16, 0.2);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.label-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: normal;
  text-transform: none;
}

/* Grupo de Busca de CEP */
.cep-input-group {
  display: flex;
  gap: 8px;
}

.cep-input-group input {
  flex: 1;
}

.btn-cep-action {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-pure);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-cep-action:hover {
  background: var(--accent-mustard);
  color: #09090b;
}

.cep-status-msg {
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}

.cep-status-msg.success {
  color: #4ade80;
}

.cep-status-msg.error {
  color: #f87171;
}

.date-picker-input {
  color-scheme: dark;
}

.date-picker-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.8) sepia(100%) saturate(300%) hue-rotate(5deg);
  opacity: 0.85;
}

.date-picker-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Container de Upload de Fotos */
.photo-upload-container {
  position: relative;
  width: 100%;
}

.photo-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.photo-upload-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #0e0e14;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-upload-label:hover {
  background: #14141d;
  border-color: var(--accent-mustard);
}

.upload-icon {
  font-size: 1.4rem;
  background: rgba(229, 169, 16, 0.1);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(229, 169, 16, 0.25);
}

.upload-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upload-main-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure);
}

.upload-sub-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Grade de Prévia de Fotos */
.photo-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.photo-preview-item {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0d0d12;
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.photo-remove-btn:hover {
  background: #ef4444;
}

/* Rodapé Fixo do Modal */
.calc-footer {
  background: #13131a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.calc-summary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.summary-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.metric-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.summary-metric.highlight .metric-val.price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent-mustard);
}

/* Botão Enviar WhatsApp */
.btn-send-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

.btn-send-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.5);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  .calc-modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }

  .calc-modal-dialog {
    max-height: calc(100dvh - 20px);
    padding: 1.25rem;
    border-radius: 18px;
  }

  .calc-header-modern {
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .calc-header-right {
    flex-shrink: 0;
  }

  .calc-ai-pill {
    display: none;
  }

  .calc-content-layout {
    gap: 16px;
    margin-top: 1.25rem;
  }

  .calc-sidebar-column {
    position: static;
  }

  .calc-header {
    padding: 1.25rem;
  }

  .calc-body {
    padding: 1.25rem;
    max-height: calc(94vh - 210px);
  }

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

  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full-width {
    grid-column: span 1;
  }

  .calc-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .calc-summary {
    justify-content: space-between;
    gap: 0.5rem;
  }

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

@media (max-width: 480px) {
  .mobile-nav-actions {
    grid-template-columns: 1fr;
  }

  .mobile-budget-cta {
    grid-column: auto;
  }

  .calc-modal-backdrop {
    padding: 0;
  }

  .calc-modal-dialog {
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 1rem;
  }

  .calc-title-huge {
    font-size: 1.4rem;
  }

  .service-card-box {
    padding: 12px;
    gap: 10px;
  }

  .card-title {
    font-size: 0.84rem;
  }

  .card-meta {
    font-size: 0.72rem;
  }

  .estimate-sidebar-card {
    padding: 18px 16px;
  }
}

/* Aviso de Estimativa de Mercado / Contraproposta */
.market-estimate-notice {
  background: rgba(229, 169, 16, 0.08);
  border: 1px solid rgba(229, 169, 16, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.5;
}

.market-estimate-notice strong {
  color: var(--accent-mustard);
}

.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Link para Área do Prestador no Header */
.btn-provider-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-mustard);
  background: var(--accent-mustard-subtle);
  border: 1px solid var(--accent-mustard-border);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

.btn-provider-link:hover {
  background: var(--accent-mustard);
  color: #09090b;
  box-shadow: 0 0 16px rgba(229, 169, 16, 0.3);
}

/* Link para Prestadores no Rodapé */
.footer-links {
  margin: 0.5rem 0;
}

.footer-provider-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-provider-link strong {
  color: var(--accent-mustard);
}

.footer-provider-link:hover {
  color: var(--text-pure);
}

@media (max-width: 880px) {
  .btn-provider-link,
  .btn-client-link {
    display: none;
  }
}

/* Confirmação e acesso ao acompanhamento do cliente */
.tracking-success-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 7, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tracking-success-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.tracking-success-dialog {
  position: relative;
  width: min(100%, 520px);
  padding: 32px;
  border: 1px solid rgba(229, 169, 16, 0.35);
  border-radius: 22px;
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.tracking-success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  color: var(--text-pure);
  cursor: pointer;
}

.tracking-success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  font-size: 1.4rem;
  font-weight: 800;
}

.tracking-success-eyebrow {
  color: var(--accent-mustard);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tracking-success-dialog h2 {
  margin: 8px 0 10px;
  color: var(--text-pure);
  font-size: 1.65rem;
}

.tracking-success-dialog p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.tracking-code-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 22px 0;
  padding: 16px;
  border: 1px dashed var(--accent-mustard-border);
  border-radius: 14px;
  background: var(--accent-mustard-subtle);
}

.tracking-code-box span {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.tracking-code-box strong {
  color: var(--text-pure);
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 6vw, 2rem);
  letter-spacing: 0.08em;
}

.tracking-success-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
}

.tracking-copy-button,
.tracking-follow-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.tracking-copy-button {
  border: 1px solid var(--border-glass);
  background: var(--bg-surface-elevated);
  color: var(--text-pure);
}

.tracking-follow-button {
  border: 1px solid var(--accent-mustard);
  background: var(--accent-mustard);
  color: #09090b;
}

@media (max-width: 520px) {
  .tracking-success-dialog {
    padding: 28px 18px 20px;
    border-radius: 18px;
  }

  .tracking-success-actions {
    grid-template-columns: 1fr;
  }
}

/* Toast Flutuante de Sucesso */
.resolve-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111118;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(34, 197, 94, 0.2);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .resolve-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    justify-content: center;
  }
}

/* ==========================================================================
   SISTEMA DE TEMAS: BOTÃO TOGGLE & SUPORTE A TEMA CLARO
   ========================================================================== */
.btn-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease-smooth);
  outline: none;
}

.btn-theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--accent-mustard);
  background: rgba(229, 169, 16, 0.12);
}

.theme-icon-sun { display: none; }
.theme-icon-moon { display: inline-block; }

.btn-theme-toggle.mobile-header-theme {
  display: none;
}

@media (max-width: 880px) {
  .btn-theme-toggle.mobile-header-theme {
    display: inline-flex;
    margin-left: auto;
    margin-right: 4px;
    flex-shrink: 0;
  }
}

/* --------------------------------------------------------------------------
   REGRAS ESPECÍFICAS DO TEMA CLARO (LIGHT MODE)
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-deep: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-hover: #e2e8f0;

  --text-pure: #0f172a;
  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dark: #0f172a;

  --accent-mustard: #c98500;
  --accent-mustard-hover: #b87500;
  --accent-mustard-subtle: rgba(201, 133, 0, 0.12);
  --accent-mustard-border: rgba(201, 133, 0, 0.4);
  --accent-mustard-glow: rgba(201, 133, 0, 0.2);

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .theme-icon-sun { display: inline-block; }
[data-theme="light"] .theme-icon-moon { display: none; }

[data-theme="light"] .btn-theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .bg-fixed-layer {
  background-color: #e2e8f0;
}

[data-theme="light"] .bg-video-element {
  opacity: 0.75;
  filter: brightness(1.02) contrast(1.08) saturate(1.1);
}

[data-theme="light"] .bg-vignette-overlay {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 75%, rgba(241, 245, 249, 0.88) 100%);
}

[data-theme="light"] .bg-grid-overlay {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  opacity: 0.5;
}

[data-theme="light"] .section-title {
  color: #09090f;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .section-description {
  color: #1e293b;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .site-header {
  background: rgba(232, 237, 243, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.28);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.13);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(226, 232, 240, 0.98);
  border-bottom-color: rgba(51, 65, 85, 0.34);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .brand-symbol {
  background: #ffffff;
  border-color: rgba(201, 133, 0, 0.45);
}

[data-theme="light"] .symbol-bar {
  background-color: #0f172a;
}

[data-theme="light"] .brand-name {
  color: #0f172a;
}

[data-theme="light"] .brand-tagline {
  color: #64748b;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-num {
  color: #94a3b8;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0f172a;
}

[data-theme="light"] .btn-provider-link {
  color: #475569;
}

[data-theme="light"] .btn-client-link {
  color: #1e293b;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(51, 65, 85, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
}

[data-theme="light"] .btn-provider-link:hover,
[data-theme="light"] .btn-client-link:hover {
  color: #0f172a;
}

[data-theme="light"] .btn-header-cta {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .badge-primary {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .badge-secondary {
  background: rgba(201, 133, 0, 0.1);
  border-color: rgba(201, 133, 0, 0.35);
  color: #c98500;
}

[data-theme="light"] .service-tag {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-tag:hover {
  border-color: var(--accent-mustard);
  color: #0f172a;
}

[data-theme="light"] .spec-item {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .cta-trust-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .scroll-tracker .tracker-line {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .tracker-label {
  color: #64748b;
}

[data-theme="light"] .tracker-item:hover .tracker-label,
[data-theme="light"] .tracker-item.active .tracker-label {
  color: #0f172a;
}

/* Modal no Tema Claro */
[data-theme="light"] .calc-modal-dialog {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .calc-header-modern {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .calc-title-huge {
  color: #0f172a;
}

[data-theme="light"] .calc-subtitle-modern {
  color: #475569;
}

[data-theme="light"] .calc-ai-pill,
[data-theme="light"] .calc-close-circle {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: #334155;
}

[data-theme="light"] .service-card-box {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-card-box:hover {
  background: #f1f5f9;
  border-color: rgba(201, 133, 0, 0.4);
}

[data-theme="light"] .service-card-box.is-selected {
  background: #fffbeb;
  border-color: rgba(201, 133, 0, 0.7);
  box-shadow: 0 0 16px rgba(201, 133, 0, 0.12);
}

[data-theme="light"] .card-title {
  color: #0f172a;
}

[data-theme="light"] .card-meta {
  color: #64748b;
}

[data-theme="light"] .card-qty-input,
[data-theme="light"] .sidebar-select,
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

[data-theme="light"] .estimate-sidebar-card {
  background: #f8fafc;
  border-color: rgba(201, 133, 0, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .estimate-main-val {
  color: #0f172a;
}

[data-theme="light"] .estimate-time-val,
[data-theme="light"] .sidebar-field label,
[data-theme="light"] .form-field label {
  color: #475569;
}

[data-theme="light"] .sidebar-urgent-label {
  color: #1e293b;
}

[data-theme="light"] .calc-lead-section {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

/* Cabeçalho compacto em notebooks, sem cortar ações nas laterais */
@media (min-width: 881px) and (max-width: 1500px) {
  .header-container {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

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

  .brand-tagline {
    font-size: 0.56rem;
  }

  .nav-list {
    gap: 0.75rem;
  }

  .nav-link {
    gap: 4px;
    font-size: 0.78rem;
  }

  .nav-num {
    font-size: 0.65rem;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .btn-provider-link,
  .btn-client-link {
    font-size: 0.75rem;
  }

  .btn-provider-link {
    padding: 7px 12px;
  }

  .btn-header-cta {
    padding: 7px 16px;
    font-size: 0.75rem;
  }
}

/* Mantém o alternador do menu móvel com o mesmo tamanho dos demais botões */
@media (max-width: 880px) {
  .mobile-nav-actions .mobile-theme-toggle {
    display: inline-flex;
    width: 100%;
    height: 42px;
    min-height: 42px;
    border-radius: 12px;
    gap: 8px;
  }

  .mobile-nav-actions .mobile-theme-toggle:hover {
    transform: none;
  }

  [data-theme="light"] .mobile-nav-actions .mobile-theme-toggle {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e1;
  }
}
