/* ==========================================================================
   CRISTIANO AMARAL • GESTOR IMOBILIÁRIO • UBERLÂNDIA / MG
   DNA DE DESIGN PATRIMONIAL & ARQUITETÔNICO
   Paleta extraída da identidade oficial (madeira ripada + obsidian)
   ========================================================================== */

:root {
  /* Tons extraídos diretamente do arquivo oficial da marca */
  --c-orange-vibrant: #E1781E; /* RGB 225, 120, 30: iluminação do ripado */
  --c-orange-deep: #D2690F;    /* RGB 210, 105, 15: acento estrutural */
  --c-orange-glow: rgba(225, 120, 30, 0.28);
  --c-orange-shadow: #B45A0F;  /* RGB 180, 90, 15: tom sombreado */
  --c-orange-subtle: rgba(225, 120, 30, 0.08);

  /* Pretos e superfícies arquitetônicas sóbrias (sem azul frio genérico) */
  --c-dark-base: #0B0C0E;      /* Fundo principal obsidian */
  --c-dark-surface: #141519;   /* Superfície contínua de prestígio */
  --c-dark-elevated: #1C1E24;  /* Superfície iluminada de cima */
  
  /* Linhas e bordas sutis */
  --c-border-subtle: rgba(255, 255, 255, 0.07);
  --c-border-light: rgba(255, 255, 255, 0.14);
  --c-border-orange: rgba(225, 120, 30, 0.35);

  /* Tipografia & Contraste (WCAG AAA / AA cumpridos) */
  --c-text-primary: #F5F6F8;   /* Contraste > 14:1 */
  --c-text-secondary: #C4C7D0; /* Contraste > 8:1 */
  --c-text-muted: #8F94A2;     /* Contraste >= 4.5:1 */
  --c-text-accent: #E1781E;

  /* Fontes do Sistema de Alta Performance (Zero CDN externo) */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Geometria e ritmo */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Header height */
  --header-height: 72px;
}

/* Reset rigoroso e base sem estouro lateral */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--c-dark-base);
  color: var(--c-text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--c-dark-base);
  color: var(--c-text-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Canvas 3D de Fundação Arquitetônica (Zero bloqueio, aria-hidden, pointer-events none) */
#bg-canvas-3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity 0.8s ease;
}

/* Atmosfera sutil de iluminação de fundo (gradientes puros da marca) */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 85% 15%, rgba(225, 120, 30, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 15% 65%, rgba(225, 120, 30, 0.04) 0%, transparent 60%);
}

/* Conteúdo principal empilhado acima da atmosfera */
.site-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Utilitário de container com respiro seguro */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   HEADER / NAVBAR INSTITUCIONAL
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-dark-elevated) 0%, var(--c-dark-surface) 100%);
  border: 1px solid var(--c-border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange-vibrant);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

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

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text-primary);
  line-height: 1.2;
}

.brand-creci-top {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-orange-vibrant);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-location {
  font-size: 14px;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--c-orange-vibrant);
  box-shadow: 0 0 8px var(--c-orange-vibrant);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background-color: var(--c-dark-elevated);
  border: 1px solid var(--c-border-orange);
  color: var(--c-text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-2px);
  border-color: var(--c-orange-vibrant);
  background-color: rgba(225, 120, 30, 0.12);
}

/* ==========================================================================
   BOTÕES COM SHINY SWEEP GLOW (Somente transform e opacity)
   ========================================================================== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--c-orange-vibrant) 0%, var(--c-orange-deep) 100%);
  color: #0B0C0E;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px rgba(225, 120, 30, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 120, 30, 0.38), 0 4px 10px rgba(0, 0, 0, 0.5);
}

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

/* Efeito Shiny Sweep via pseudo-elemento */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shinySweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { transform: translateX(-100%); }
  25%, 100% { transform: translateX(150%); }
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background-color: var(--c-dark-surface);
  border: 1px solid var(--c-border-light);
  color: var(--c-text-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--c-orange-vibrant);
  background-color: var(--c-dark-elevated);
}

/* ==========================================================================
   HERO SECTION MONUMENTAL (PRIMEIRA DOBRA 100% VISÍVEL NO PRIMEIRO PAINT)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(24px, 5vw, 60px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background: transparent;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badges e Identidade Oficial */
.official-creci-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(225, 120, 30, 0.1);
  border: 1px solid rgba(225, 120, 30, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--c-orange-vibrant);
  box-shadow: 0 0 10px var(--c-orange-vibrant);
  animation: pulseDot 2s ease-in-out infinite;
}

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

.creci-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-orange-vibrant);
}

/* H1 Único e Monumental */
.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--c-text-primary);
  margin-bottom: 12px;
}

.hero-title .title-accent {
  color: var(--c-orange-vibrant);
}

.hero-subtitle-role {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--c-text-secondary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-slogan-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  color: var(--c-orange-vibrant);
  margin-bottom: 22px;
  line-height: 1.4;
  padding-left: 14px;
  border-left: 2px solid var(--c-orange-vibrant);
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-wpp-note {
  font-size: 14px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-clock-inline {
  color: var(--c-orange-vibrant);
  flex-shrink: 0;
}

/* Visual do Hero: Foto oficial de Cristiano Amaral com acabamento arquitetônico */
.hero-visual-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--c-dark-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 
    0 24px 48px -12px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(225, 120, 30, 0.12);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Selo flutuante de autoridade sobre a foto */
.floating-authority-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.floating-authority-content {
  display: flex;
  flex-direction: column;
}

.floating-auth-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-primary);
}

.floating-auth-role {
  font-size: 14px;
  color: var(--c-text-muted);
}

.floating-auth-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-orange-vibrant);
  background-color: rgba(225, 120, 30, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(225, 120, 30, 0.3);
  white-space: nowrap;
}

/* ==========================================================================
   FAIXA DE CONTINUIDADE PATRIMONIAL (MARQUEE SÓBRIO SEM VÍCIOS DE APOSTA)
   ========================================================================== */
.ticker-continuity {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #101115 0%, #171920 50%, #101115 100%);
  border-top: 1px solid var(--c-border-subtle);
  border-bottom: 1px solid var(--c-border-subtle);
  padding: 14px 0;
}

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

.ticker-phrase {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-text-secondary);
  white-space: nowrap;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background-color: var(--c-orange-vibrant);
}

@keyframes tickerFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SEÇÕES DA PÁGINA (SUPERFÍCIE CONTÍNUA SEM CAIXAS CINZAS)
   ========================================================================== */
.section-pad {
  padding-top: clamp(64px, 10vw, 112px);
  padding-bottom: clamp(64px, 10vw, 112px);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-creci-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-orange-vibrant);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* Grid de Intenções (Comprar, Vender, Investimento Imobiliário) */
.intent-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.intent-column {
  position: relative;
  background-color: var(--c-dark-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.intent-column:hover {
  transform: translateY(-4px);
  border-top-color: var(--c-orange-vibrant);
}

.intent-header {
  margin-bottom: 20px;
}

.intent-icon-svg {
  width: 32px;
  height: 32px;
  stroke: var(--c-orange-vibrant);
  margin-bottom: 18px;
  display: block;
}

.intent-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.intent-body {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.intent-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-orange-vibrant);
  text-decoration: none;
  min-height: 48px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.intent-action-link:hover {
  gap: 12px;
  color: #F28C28;
}

/* ==========================================================================
   OS CINCO SERVIÇOS OFICIAIS PUBLICADOS
   (Compra · Venda · Consultoria · Despachante Imobiliário · Perito Avaliador)
   ========================================================================== */
.services-editorial-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.service-card {
  position: relative;
  background: var(--c-dark-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-top-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--c-orange-vibrant);
}

.service-card.card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--c-dark-surface) 0%, #181A20 100%);
  border-top: 1px solid rgba(225, 120, 30, 0.4);
}

.service-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-icon-svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-orange-vibrant);
}

.service-badge-official {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PAINEL DE RIGOR E REGISTRO PROFISSIONAL (O FATOR DE CONFIANÇA)
   ========================================================================== */
.trust-register-panel {
  position: relative;
  background: linear-gradient(180deg, var(--c-dark-surface) 0%, #0E0F12 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: clamp(64px, 8vw, 96px);
}

.trust-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
}

.trust-panel-info {
  display: flex;
  flex-direction: column;
}

.trust-badge-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-orange-vibrant);
  margin-bottom: 12px;
}

.trust-panel-title {
  font-size: clamp(1.75rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text-primary);
  margin-bottom: 16px;
}

.trust-panel-text {
  font-size: 16px;
  color: var(--c-text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.trust-verifiable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.verifiable-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--c-text-primary);
}

.verifiable-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--c-orange-vibrant);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-panel-credentials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cred-box {
  background: rgba(11, 12, 14, 0.85);
  border: 1px solid var(--c-border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cred-header {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}

.cred-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-orange-vibrant);
  letter-spacing: 0.02em;
}

.cred-desc {
  font-size: 14px;
  color: var(--c-text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   CONVITE FINAL & CANAL DE ATENDIMENTO
   ========================================================================== */
.final-contact-section {
  position: relative;
  text-align: center;
  padding-bottom: clamp(64px, 10vw, 120px);
}

.final-contact-card {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(135deg, #141519 0%, #1A1C22 100%);
  border-top: 1px solid rgba(225, 120, 30, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(225, 120, 30, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-creci-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-orange-vibrant);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.final-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--c-text-primary);
  margin-bottom: 16px;
}

.final-slogan-wrap {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--c-text-secondary);
  margin-bottom: 24px;
}

.final-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--c-text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 36px;
}

.final-buttons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.final-direct-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  font-size: 14px;
  color: var(--c-text-muted);
  margin-top: 12px;
}

.final-direct-link {
  color: var(--c-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  transition: color 0.2s ease;
}

.final-direct-link:hover {
  color: var(--c-orange-vibrant);
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL (CRECI >= 25% DA FONTE DO NOME)
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  background-color: #070809;
  border-top: 1px solid var(--c-border-subtle);
  padding-top: 48px;
  padding-bottom: clamp(32px, 5vw, 48px);
  padding-bottom: calc(clamp(32px, 5vw, 48px) + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 40px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: 4px;
}

/* Fonte do CRECI no rodapé: 16px / 22px = 72.7% (>= 25%) */
.footer-creci {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-orange-vibrant);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.footer-desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  max-width: 360px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

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

.footer-links-list li,
.footer-links-list a {
  font-size: 14px;
  color: var(--c-text-muted);
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--c-orange-vibrant);
}

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

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA PÁGINA 404
   ========================================================================== */
.page-404 {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.error-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.error-card {
  background: var(--c-dark-surface);
  border-top: 1px solid rgba(225, 120, 30, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.creci-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-orange-vibrant);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.error-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.error-text {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVIDADE & MOBILE-FIRST RIGOROSO
   Testado em 320, 360, 390, 414, 430, 600, 768, 1024, 1440, 1920 e Paisagem
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slogan-quote {
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid var(--c-orange-vibrant);
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .trust-panel-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .service-card.card-featured {
    grid-column: span 1;
  }

  .intent-triad-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

@media (max-width: 768px) {
  .header-location {
    display: none;
  }

  #bg-canvas-3d {
    display: none !important; /* Desliga Three.js no mobile para máxima performance */
  }

  .floating-authority-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
    width: 100%;
  }

  .portrait-wrapper {
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 15px;
  }
  
  .brand-creci-top {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .portrait-wrapper {
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* Telas ultra estreitas (320px) */
@media (max-width: 340px) {
  .brand-meta {
    gap: 2px;
  }

  .hero-title {
    font-size: 1.85rem;
  }
}

/* Modo de Redução de Movimento Acessível */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  
  #bg-canvas-3d {
    display: none !important;
  }

  .ticker-track {
    animation: none !important;
    transform: none !important;
  }

  .btn-primary::after {
    display: none !important;
  }
}
