/* ==========================================================================
   TAIANE SILVA — CORRETORA DE IMÓVEIS (CRECI-TO 5028)
   Design System de Elite: Azul com Branco Material & Tipografia Monumental
   Version: 1.1.0
   ========================================================================== */

/* 1. FONTES LOCAIS (Zero CDN, font-display: swap, subset woff2) */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/syne-700.woff2?v=1.1.0') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/syne-800.woff2?v=1.1.0') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pjs-400.woff2?v=1.1.0') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/pjs-600.woff2?v=1.1.0') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pjs-700.woff2?v=1.1.0') format('woff2');
}

/* 2. DESIGN TOKENS (Azul Matéria & Branco Puro — Zero Tons Cinzentos) */
:root {
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Paleta Oficial da Marca */
  --c-navy-deep: #00072b;
  --c-navy: #010947;
  --c-royal: #001f7a;
  --c-vibrant: #003db8;
  --c-white: #ffffff;
  --c-surface-tint: #f5f8ff;
  --c-surface-soft: #edf3fc;
  --c-text-main: #010947;
  --c-text-muted: #1e2e5c;
  --c-text-light: #ffffff;
  --c-text-ice: #dce7f7;
  --c-border-light: rgba(1, 9, 71, 0.12);
  --c-border-dark: rgba(255, 255, 255, 0.2);

  /* Sombras reais e transições */
  --shadow-subtle: 0 10px 30px rgba(1, 9, 71, 0.06);
  --shadow-elevated: 0 20px 48px rgba(1, 9, 71, 0.12);
  --shadow-btn: 0 12px 30px rgba(1, 9, 71, 0.25);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-text);
  background-color: var(--c-white);
  color: var(--c-text-main);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden !important;
  background: var(--c-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* 4. CABEÇALHO RESPONSIVO DE ALTA PRECISÃO (Sem Backdrop-filter, Sem Quebra em 320px) */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-light);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px 0;
  gap: 12px;
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-monogram {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--c-navy);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.header-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header-person-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-navy);
  line-height: 1.15;
  white-space: nowrap;
}

.header-person-role {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.header-center-info {
  display: none;
}

@media (min-width: 900px) {
  .header-center-info {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

.header-creci-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-royal);
  letter-spacing: 0.03em;
}

.header-hours-info {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s var(--ease-spring);
}

.header-cta-btn:hover {
  background: var(--c-royal);
  transform: translateY(-2px);
}

/* Ajustes Cirúrgicos Mobile no Cabeçalho (320px a 600px) */
@media (max-width: 600px) {
  .header-row {
    min-height: 64px;
    gap: 8px;
  }

  .header-monogram {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .header-person-name {
    font-size: 0.95rem;
  }

  .header-person-role {
    font-size: 0.8125rem;
  }

  .header-cta-btn {
    padding: 8px 14px;
    font-size: 0.875rem;
  }

  .header-cta-btn span {
    display: inline;
  }
}

/* 5. PRIMEIRA DOBRA MONUMENTAL (HERO EDITORIAL COM AZUL MATÉRIA) */
.hero-editorial {
  position: relative;
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-surface-tint) 100%);
  border-bottom: 1px solid var(--c-border-light);
}

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

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

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

/* Identificador CRECI no Topo da Primeira Dobra */
.hero-registry-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--c-royal);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.hero-registry-bar svg {
  flex-shrink: 0;
}

/* H1 Monumental — Nome com Protagonismo Supremo */
.hero-h1-statement {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6.2vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-navy);
  margin-bottom: 8px;
}

.hero-creci-subheading {
  font-family: var(--font-heading);
  /* Nome varia de ~44px a 76px. CRECI varia de ~18px a 24px (≥ 30% da fonte do nome) */
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--c-royal);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-lead-text {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--c-text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 36px;
}

/* Botão Principal com Shiny Sweep Glow (Somente Transform) */
.hero-action-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 540px) {
  .hero-action-group {
    width: auto;
  }
}

.btn-shiny-sweep {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  overflow: hidden;
  min-height: 56px;
  width: 100%;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s var(--ease-spring);
}

@media (min-width: 540px) {
  .btn-shiny-sweep {
    width: auto;
  }
}

.btn-shiny-sweep:hover {
  background: var(--c-royal);
  transform: translateY(-3px);
}

/* Varredura de luz exclusiva com transform */
.btn-shiny-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  animation: shinyGlow 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shinyGlow {
  0%, 40% {
    transform: translateX(-150%) skewX(-25deg);
  }
  80%, 100% {
    transform: translateX(150%) skewX(-25deg);
  }
}

.hero-contact-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-phone-text {
  font-size: 0.9375rem;
  color: var(--c-text-main);
  font-weight: 700;
}

.hero-schedule-text {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* Imagem Editorial de Taiane Silva (Luz e Escala Reais, Sem IA) */
.hero-photo-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-editorial-canvas {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--c-navy-deep);
  box-shadow: var(--shadow-elevated);
  border: 4px solid var(--c-white);
}

.photo-editorial-canvas img {
  width: 100%;
  height: auto;
  aspect-ratio: 846 / 1058;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 6. SEÇÃO 1: ATUAÇÃO & ESPECIALIDADES (EDITORIAL ASSIMÉTRICO) */
.section-specialties {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-light);
}

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

.editorial-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.editorial-intro {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

.specialties-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 840px) {
  .specialties-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.specialty-pillar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--c-navy);
  padding-top: 28px;
}

.specialty-pillar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.specialty-pillar-desc {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.specialty-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.specialty-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  color: var(--c-text-main);
  font-weight: 600;
  line-height: 1.5;
}

.specialty-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-royal);
}

.specialty-action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-navy);
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-navy);
  align-self: flex-start;
  min-height: 48px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.specialty-action-link:hover {
  color: var(--c-vibrant);
  border-color: var(--c-vibrant);
  transform: translateX(4px);
}

/* 7. SEÇÃO 2: PROCESSO DE CONSULTORIA (FLUXO TIPOGRÁFICO CONTÍNUO) */
.section-process {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--c-surface-tint);
  border-bottom: 1px solid var(--c-border-light);
}

.process-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .process-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-flow-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }
}

.process-step-item {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--c-border-light);
  padding-top: 24px;
}

.process-step-order {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-royal);
  margin-bottom: 12px;
}

.process-step-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-step-text {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* 8. SEÇÃO 3: O AZUL É MATÉRIA — BLOCO DE IMPACTO FULL-BLEED */
.section-direct-consultancy {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--c-navy);
  color: var(--c-white);
}

.solid-blue-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 880px) {
  .solid-blue-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.blue-panel-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.blue-panel-left p {
  font-size: 1.125rem;
  color: var(--c-text-ice);
  line-height: 1.65;
  margin-bottom: 32px;
}

.blue-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blue-pillar-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blue-pillar-point strong {
  font-size: 1.0625rem;
  color: var(--c-white);
}

.blue-pillar-point span {
  font-size: 0.9375rem;
  color: var(--c-text-ice);
  line-height: 1.5;
}

.blue-panel-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-border-dark);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 44px);
}

.blue-cta-box-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.25;
}

.blue-cta-box-desc {
  font-size: 1rem;
  color: var(--c-text-ice);
  line-height: 1.6;
}

.btn-white-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-white);
  color: var(--c-navy);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 800;
  min-height: 52px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-spring), background-color 0.3s var(--ease-spring);
}

.btn-white-solid:hover {
  background: var(--c-surface-soft);
  transform: translateY(-2px);
}

/* 9. SEÇÃO 4: CANAIS OFICIAIS DE ATENDIMENTO */
.section-official-channels {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--c-white);
}

.channels-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 720px) {
  .channels-layout-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.channel-entry {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--c-border-light);
  border-radius: 20px;
  background: var(--c-surface-tint);
  transition: border-color 0.25s ease, transform 0.25s ease;
  min-height: 48px;
}

.channel-entry:hover {
  border-color: var(--c-navy);
  transform: translateY(-3px);
}

.channel-type-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-royal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.channel-val-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
  word-break: break-word;
}

.channel-timing-note {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

/* 10. RODAPÉ INSTITUCIONAL (CRECI ≥ 25% DA FONTE DO NOME) */
.site-master-footer {
  background: var(--c-navy-deep);
  color: var(--c-white);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-cluster {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 44px;
}

@media (min-width: 768px) {
  .footer-top-cluster {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-brand-huge {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-white);
}

.footer-creci-verified {
  font-family: var(--font-heading);
  /* Nome do rodapé: 32px a 48px. CRECI em 1.125rem (18px) = 37.5% a 56.2% (≥ 25% exigido) */
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-text-ice);
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.footer-social-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 48px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer-pill-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.footer-bottom-cluster {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--c-text-ice);
}

@media (min-width: 640px) {
  .footer-bottom-cluster {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* 11. PREFERS-REDUCED-MOTION (Desenho Fixo Feito à Mão, Zero Duração Global Mínima) */
@media (prefers-reduced-motion: reduce) {
  .btn-shiny-sweep::after {
    animation: none;
    display: none;
  }

  .btn-shiny-sweep,
  .btn-white-solid,
  .header-cta-btn,
  .specialty-action-link,
  .channel-entry,
  .footer-pill-link {
    transition: none;
  }
}
