/* ==========================================================================
   KEVIN VIEIRA MEDRADO — CONSULTOR IMOBILIÁRIO (CRECI/SP 333215-F)
   Design System & Master Stylesheet
   Identity: Dourado Ouro Premium + Azul Royal + Background Contínuo
   Typography: Montserrat
   ========================================================================== */

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Dourado Ouro Premium */
  --gold-primary: #D4AF37;
  --gold-light: #F5D77F;
  --gold-bright: #FFE8A3;
  --gold-deep: #997A15;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-subtle: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-gradient: linear-gradient(135deg, #FFE8A3 0%, #D4AF37 50%, #997A15 100%);
  --gold-gradient-text: linear-gradient(135deg, #FFF0B8 0%, #E6C25B 45%, #B88E20 100%);

  /* Azul Royal Claro e Profundo */
  --royal-primary: #1E4ED8;
  --royal-light: #60A5FA;
  --royal-deep: #0D235C;
  --royal-ambient: rgba(30, 78, 216, 0.18);
  --royal-glow: rgba(96, 165, 250, 0.25);
  --royal-border: rgba(96, 165, 250, 0.2);

  /* Superfície Contínua (Sem caixas cinzas de sistema) */
  --bg-deep: #03050B;
  --bg-base: #060A17;
  --bg-surface: rgba(10, 16, 36, 0.65);
  --bg-surface-hover: rgba(14, 23, 50, 0.8);

  /* Texto e Tipografia */
  --text-pure: #FFFFFF;
  --text-lead: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Espaçamento */
  --container-max: 1240px;
  --nav-height-desktop: 76px;
  --nav-height-mobile: 56px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transições suaves */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-lead);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(30, 78, 216, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(30, 78, 216, 0.1) 0%, transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden !important;
}

/* Canvas de Fundo (Three.js Partículas Nobres) */
#ambient-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

/* Container Global */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Tipografia de Destaque */
.text-gold-gradient {
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* --- 3. BOTÕES & SWEEP GLOW --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gold-gradient);
  color: #050811;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 163, 0.5);
  box-shadow: 0 8px 24px var(--gold-glow);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
}

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

/* Shiny Sweep Glow Efeito */
.btn-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: sweepGlow 4.5s ease-in-out infinite;
}

@keyframes sweepGlow {
  0%, 65% {
    left: -70%;
  }
  100% {
    left: 170%;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(14, 23, 50, 0.5);
  color: var(--text-pure);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid var(--royal-border);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(30, 78, 216, 0.25);
  border-color: var(--royal-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.08rem;
}

/* --- 4. HEADER & NAVBAR --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height-desktop);
  z-index: 100;
  background: rgba(4, 7, 17, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: background-color var(--transition-normal);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-monogram {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
}

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

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-pure);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-creci {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Navegação Desktop */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
  padding: 6px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

.nav-item:hover {
  color: var(--text-pure);
}

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

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #060A17;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: transform var(--transition-fast);
  min-height: 40px;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--text-pure);
}

.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

/* --- 5. MOBILE DRAWER --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(4, 7, 17, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 16px;
}

.drawer-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto 0;
}

.mobile-nav-item {
  color: var(--text-pure);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer-cta {
  width: 100%;
}

.drawer-insta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--royal-light);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
}

/* --- 6. HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height-desktop) + 40px);
  padding-bottom: 80px;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-pure);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Barra de Credenciais Integradas */
.hero-proof-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

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

.proof-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.proof-value {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 700;
}

.proof-separator {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Visual Hero (Retrato de Kevin com Iluminação Nobre) */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-aura {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 440px;
  max-height: 540px;
  background: radial-gradient(circle, rgba(30, 78, 216, 0.3) 0%, rgba(212, 175, 55, 0.18) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 1;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 232, 163, 0.25);
  background: linear-gradient(180deg, rgba(14, 23, 50, 0.4) 0%, rgba(6, 10, 23, 0.9) 100%);
}

.portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 1919;
  object-fit: cover;
  display: block;
  filter: contrast(1.03) brightness(0.98);
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(4, 7, 17, 0.95) 0%, rgba(4, 7, 17, 0.6) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.caption-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure);
}

.caption-sub {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* --- 7. SEÇÕES GLOBAIS --- */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 8. PILARES & DIFERENCIAIS --- */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pilar-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pilar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--bg-surface-hover);
}

.card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity var(--transition-normal);
}

.pilar-card:hover .card-glow {
  opacity: 0.8;
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(30, 78, 216, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- 9. PROCESSO & ATENDIMENTO COM LUZ PROGRESSIVA --- */
.processo-flow {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 20px 0;
}

.processo-track {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 28px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.processo-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px var(--gold-primary);
  transition: height 0.4s var(--ease-out);
}

.processo-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.processo-step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-left: 12px;
}

.step-marker {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #060A17;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--gold-glow);
  flex-shrink: 0;
}

.step-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-light);
}

.step-content {
  background: var(--bg-surface);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  flex: 1;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast);
}

.step-content:hover {
  border-color: var(--gold-border);
}

.step-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.processo-cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 78, 216, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.cta-box-desc {
  font-size: 0.9rem;
  color: var(--gold-light);
}

/* --- 10. FAQ ACCORDION --- */
.faq-accordion-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--gold-border);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-main);
  color: var(--text-pure);
  gap: 16px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon-arrow {
  flex-shrink: 0;
  color: var(--gold-light);
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-content {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* --- 11. CTA FINAL --- */
.cta-final-section {
  padding-bottom: 120px;
}

.cta-final-box {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 0%, rgba(30, 78, 216, 0.28) 0%, rgba(6, 10, 23, 0.85) 75%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 70px 36px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cta-final-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-final-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-final-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

.cta-final-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* --- 12. RODAPÉ --- */
.site-footer {
  position: relative;
  z-index: 1;
  background: #020409;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-creci {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 700;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-contact-item:hover {
  color: var(--gold-light);
}

.footer-detail-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- 13. RESPONSIVIDADE (MOBILE SOBERANO) --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-actions-group {
    justify-content: center;
  }

  .hero-proof-bar {
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height-desktop: 56px;
  }

  .site-header {
    height: var(--nav-height-mobile);
  }

  .desktop-nav {
    display: none;
  }

  /* Oculta botão de desktop no mobile rigorosamente conforme lição 1.2 & 6 */
  .btn-nav-cta {
    display: none !important;
  }

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

  .hero-section {
    padding-top: calc(var(--nav-height-mobile) + 24px);
    padding-bottom: 50px;
  }

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

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-proof-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    padding-top: 24px;
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .hero-proof-bar .proof-block:nth-of-type(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 14px;
  }

  .proof-separator {
    display: none;
  }

  .proof-value {
    font-size: clamp(0.82rem, 3.4vw, 0.95rem);
    white-space: nowrap;
  }

  .processo-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

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

@media (max-width: 430px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .brand-creci {
    font-size: 0.7rem;
  }

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

  .pilar-card {
    padding: 28px 20px;
  }

  .cta-final-box {
    padding: 48px 20px;
  }
}

/* Suporte a Acessibilidade (Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  #ambient-canvas-container {
    display: none !important;
  }
}
