/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

:root {
  --radius: 0.25rem;
  --radius-md: 0.35rem;
  --background: oklch(96.5% .005 90);
  --foreground: oklch(22% .04 250);
  --sand: oklch(89.5% .015 80);
  --ink: oklch(22% .04 250);
  --brand: oklch(34% 0.08 247);
  --brand-soft: oklch(46% .1 245);
  --cta: oklch(62% .15 45);
  --cta-foreground: oklch(98% .005 90);
  --gold: oklch(72% .12 80);
  --success: oklch(56.1% 0.111 153.2);
  --card: oklch(98.5% .003 90);
  --border: oklch(86% .012 80);
  --input: oklch(88% .012 80);
  --muted-foreground: oklch(42% .03 250);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-sans: "Switzer", "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  font: inherit;
  color: inherit;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid color-mix(in oklab, var(--cta) 85%, transparent);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 500;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding-inline: 3rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  border-radius: var(--radius);
  background-color: var(--ink);
  color: var(--background);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding-top: 0px; 
}

.logo-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.001rem;
  color: var(--ink);
	line-height: 120%
}

nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  nav { display: flex; }
}

nav a {
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  transition: color 0.15s;
}

nav a:hover { color: var(--foreground); }

.btn-header {
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  border: 1px solid var(--brand);
  padding-inline: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  border-radius: var(--radius);
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-header:hover {
  background-color: var(--brand);
  color: var(--background);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  padding-block: 2.8rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
    padding-block: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .hero-content { grid-column: span 6; padding-top: 2.5rem; }
  .hero-image-col { grid-column: span 6; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brand);
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: '';
  display: block;
  height: 1px;
  width: 2.5rem;
  background-color: var(--brand);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.02;
}

.hero h1 .soft { font-weight: 400; color: var(--brand-soft); }

.hero-desc {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

@media (max-width: 420px) {
  .hero-desc {
   font-size: 0.95rem;
   line-height: 1.6;
  }
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.btn-cta {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--cta);
  padding-inline: 1.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cta-foreground);
  border-radius: var(--radius);
  width: 100%;
  transition: 
    background-color 0.5s ease, 
    box-shadow 0.5s ease, 
    opacity 0.35s ease, 
    transform 0.35s ease;
}

@media (min-width: 640px) { .btn-cta { width: auto; } }
@media (max-width: 415px) { .btn-cta { gap: 0.3rem; padding-inline: 0.1rem; } }

.btn-cta:hover {
  box-shadow: 0 12px 8px -12px color-mix(in oklab, var(--brand-soft) 55%, transparent);
  background-color: color-mix(in oklab, var(--cta) 95%, black);
}

.btn-ghost {
  display: none;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--foreground) 60%, transparent);
  text-underline-offset: 4px;
  transition: color 0.15s;
}

@media (min-width: 640px) { .btn-ghost { display: inline-block; } }
.btn-ghost:hover { color: var(--foreground); text-decoration: underline; }

.hero-image-col {
  position: relative;
}

.hero-bg-shape {
  display: none;
  position: absolute;
  left: -1.5rem;
  top: 5.7rem;
  height: 90%;
  width: 88%;
  max-height: 890px;
  border-radius: var(--radius);
  background-color: var(--sand);
}

@media (min-width: 1024px) { .hero-bg-shape { display: block; } }

.hero-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px oklch(22% .04 250 / 35%);
}

.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
}

.hero-badge-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in oklab, var(--foreground) 50%, transparent); }
.hero-badge-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; color: var(--ink); margin-top: 2px; }

.hero-pill {
  background-color: color-mix(in oklab, var(--cta) 15%, transparent);
  color: var(--cta);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-block: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background-color: color-mix(in oklab, var(--sand) 60%, transparent);
}

.trust-bar-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: 2.5rem;
}

@media (min-width: 768px) {
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-check {
  flex-shrink: 0;
  margin-top: 0.5rem;
  color: var(--brand);
}

.trust-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-label {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--foreground) 60%, transparent);
}

@media (max-width: 382px) {.trust-label {
  font-size: 0.76rem;
  letter-spacing: 0.1em; } 
}


/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding-block: 4.5rem; }
@media (min-width: 1024px) { .pillars { padding-block: 8rem; } }

.section-header {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .section-header { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .section-header-main { grid-column: span 7; }
  .section-header-sub { grid-column: span 5; }
}

@media (max-width: 442px) {
  .section-header { margin-bottom: 2rem; }
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
}

.section-title .soft { color: var(--brand-soft); }

.section-sub {
  font-size: 0.875rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 65%, transparent);
}

.pillars-grid {
  display: grid;
  gap: 0px;
  border: 0px solid #d4d0c9;
  border-radius: 0;
  overflow: visible;
  background: none;
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #f4f3f0;
  border: none;
  outline: none;
  border-radius: 0;
  position: relative;
  margin-left: -1px;
  z-index: 1;
  /* box-shadow simula borda animável sem afetar layout */
  box-shadow: inset 0 0 0 1px #d4d0c9;
  transition:
    box-shadow 0.8s ease,
    background-color 0.5s ease;
}

.pillar-icon {
  transition: color 0.4s ease;
  color: var(--brand-soft); 
	
}

/* Mobile: empilhado, sem efeito */
@media (max-width: 1023px) {
  .pillars-grid {
    border: 0px;
  }
	
  .pillar-card {
    background-color: var(--background);
    outline: none;
    margin-top: -1px;
	padding-left: 24px;
	padding-right: 24px;

  }

  .pillar-card:last-child {
    border-bottom: none;
  }
  
  .pillar-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--brand-soft);
    opacity: 0.6; /* Deixa o texto com 60% de opacidade */
}

	.pillar-card:active {
    box-shadow: inset 0 0 0 3px color-mix(in oklab, var(--cta) 60%, transparent); /* Borda interna muda de cor e espessura */
    background-color: #ffffff;
	position: relative;
	z-index: 10;
	user-select: none;
	}
	
}

/* Desktop — hover: outline muda cor e espessura, sem tilt, sem mover layout */
@media (min-width: 1024px) {
  .pillar-card.is-active {
    box-shadow: inset 0 0 0 3px color-mix(in oklab, var(--cta) 60%, transparent); /* Borda interna muda de cor e espessura */
    background-color: #ffffff;
	position: relative;
    z-index: 10;
  }
	
  .pillar-card.is-active .pillar-icon {
    color: var(--cta);
  }
	
  .pillar-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: color-mix(in oklab, var(--foreground) 40%, transparent);
}

}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.pillar-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.pillar-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

/* ============================================================
   GOLDEN AXIS
   ============================================================ */
.golden-axis {
  background-color: color-mix(in oklab, var(--sand) 70%, transparent);
  padding-block: 4.5rem;
}

@media (min-width: 1024px) { .golden-axis { padding-block: 8rem; } }

.city-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

/* pílula deslizante — fica atrás dos botões */
.city-tabs-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--brand);
  border-radius: var(--radius);
  border: 1px solid var(--brand);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
              width 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}

.city-tab {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: transparent;
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  transition: color 0.2s, border-color 0.2s;
}

.city-tab:hover { border-color: var(--brand); color: var(--brand); }

.city-tab.active {
  border-color: transparent;
  color: var(--background);
}

.city-panel {
  display: none;
  margin-top: 3rem;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .city-panel { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
}

.city-panel.active { display: grid; }

.city-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.city-img-wrap img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.city-badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brand);
  backdrop-filter: blur(8px);
}

.city-headline {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.city-body {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.metric-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.metric-icon-wrap {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: var(--sand);
  color: var(--brand-soft);
}

.metric-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 1024px) { .metric-title { font-size: 1.25rem; } }

.metric-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.btn-cta-full {
  margin-top: 2.5rem;
  display: inline-flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background-color: var(--cta);
  padding-inline: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cta-foreground);
  
  transition: 
    background-color 0.5s ease, 
    box-shadow 0.5s ease, 
    opacity 0.35s ease, 
    transform 0.35s ease;
}

.btn-cta-full:hover {
  box-shadow: 0 12px 8px -12px color-mix(in oklab, var(--brand-soft) 55%, transparent);
  background-color: color-mix(in oklab, var(--cta) 95%, black);
    
}

@media (max-width: 382px) { .btn-cta-full { letter-spacing: 0.11em;
	} }


/* ============================================================
   ESTADO DE CARREGAMENTO & ANIMAÇÃO DO BOTÃO (SUBMIT)
   ============================================================ */

/* Previne múltiplos cliques e remove efeitos de hover durante o envio */
.btn-cta:disabled,
.btn-cta-full:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Animação dos 3 pontos (...) via CSS puro */
.btn-loading::after {
  content: '';
  display: inline-block;
  vertical-align: bottom;
  width: 1.2em;
  text-align: left;
  animation: dots 1.5s infinite steps(4, jump-none);
}

@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}



/* ============================================================
   CONSULTANT
   ============================================================ */
.consultant { padding-block: 4rem; }
@media (min-width: 1024px) { .consultant { padding-block: 8rem; } }

.consultant-inner {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 1024px) {
  .consultant-inner { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .consultant-img-col { grid-column: span 5; }
  .consultant-content { grid-column: span 7; padding-left: 2rem; }
}

.consultant-img-wrap {
  position: relative;
}

.consultant-bg-shape {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  height: 75%;
  width: 75%;
  border-radius: var(--radius);
  background-color: var(--sand);
}

@media (min-width: 1024px) { .consultant-bg-shape { display: block; } }

.consultant-img-wrap img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}

.consultant-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
  margin-top: 1.25rem;
}

.consultant-content p {
	margin-top: 0.65rem;
	font-size: 0.95rem;
	line-height: 1.75;
	color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.consultant-meta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content:flex-start;
  gap: 4.2rem;
  max-width: 28rem;
}

@media (max-width: 400px) {.consultant-meta {
  display: grid;
  gap: 2rem; } 
}


.consultant-creci {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.consultant-creci-label {
  margin-top: 0.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--foreground) 55%, transparent);
  line-height: 1.2;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  transition: gap 0.15s;
}

.btn-text-link:hover { gap: 0.75rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background-color: #003358;
  padding-block: 4.5rem;
  color: var(--background);
  overflow-x: hidden; 
}

@media (min-width: 1024px) { .testimonials { padding-block: 8rem; } }

.testimonials .section-eyebrow {
  color: color-mix(in oklab, var(--background) 55%, transparent);
}

.testimonials h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--background);
  max-width: 42rem;
}

.testimonials h2 .soft { color: color-mix(in oklab, var(--background) 55%, transparent); }

.testimonials-carousel {
  margin-top: 3.5rem;
  position: relative;
  padding: 2.5rem 0 2.5rem;
}

/* Track é o palco — ocupa toda a largura, altura definida pelo card central */
.testimonials-track {
  position: relative;
  width: 100%;
  /* altura mínima para acomodar o card central */
  height: 310px;
}

/* ── Dots ── */
.testimonials-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.t-dot.active {
  background: white;
  width: 22px;
}

/* ── Cards ── */
.testimonial-card {
  /* Posição absoluta dentro do track, centralizado horizontalmente */
  position: absolute;
  top: 0;
  left: 50%;
  width: 444px;
  max-width: 85vw;
  /* translateX(-50%) centraliza, o restante é aplicado via JS/classe */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--background) 16%, transparent);
  background-color: color-mix(in oklab, var(--background) 8%, transparent);
  padding: 1.5rem;
  cursor: pointer;
  transition:
    transform 0.65s cubic-bezier(0.45, 0, 0.15, 1),
    opacity 0.45s cubic-bezier(0.45, 0, 0.15, 1);
  will-change: transform, opacity;
  user-select: none;
  /* começa invisível até JS aplicar posição */
  opacity: 0;
}

/* Estado central — destaque, escala 1, totalmente visível */
.testimonial-card.pos-center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  cursor: default;
  /* fundo sólido para o card central não deixar ver os laterais por baixo */
  background-color: color-mix(in oklab, var(--brand) 90%, white);
  box-shadow: 0px 10px 18px 0px rgba(4,0,41,0.45);
  -webkit-box-shadow: 0px 10px 18px 0px rgba(4,0,41,0.45);
  -moz-box-shadow: 0px 10px 18px 0px rgba(4,0,41,0.45);
}

/* Estado direita — 75% do tamanho, afastado com gap */
.testimonial-card.pos-right {
  transform: translateX(calc(-50% + 408px)) scale(0.75);
  opacity: 0.45;
  z-index: 2;
}

/* Estado esquerda — 75% do tamanho, afastado com gap */
.testimonial-card.pos-left {
  transform: translateX(calc(-50% - 408px)) scale(0.75);
  opacity: 0.45;
  z-index: 2;
}

/* Mobile: track mais alto, cards laterais vazam para fora */
@media (max-width: 767px) {
  .testimonials-track {
    height: 380px;
  }
	
  .testimonial-card.pos-center {
  transform: translateX(-50%) scale(1);
  background-color: color-mix(in oklab, var(--brand) 88%, white);
  box-shadow: 0px 1px 13px 0px rgba(4,0,41,0.55);
  -webkit-box-shadow: 0px 1px 13px 0px rgba(4,0,41,0.55);
  -moz-box-shadow: 0px 1px 13px 0px rgba(4,0,41,0.55);
}

  .testimonial-card.pos-right {
    transform: translateX(calc(-50% + 70vw)) scale(0.75);
  }

  .testimonial-card.pos-left {
    transform: translateX(calc(-50% - 70vw)) scale(0.75);
  }

.testimonial-card {
  max-width: 75vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklab, var(--background) 16%, transparent);
  background-color: color-mix(in oklab, var(--background) 8%, transparent);
  padding: 1.7rem;
}

}


@media (min-width: 1024px) { .testimonial-card { padding: 2rem; } }

.quote-icon { color: color-mix(in oklab, var(--background) 35%, transparent); }

.testimonial-card blockquote {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
  font-kerning: normal;
  letter-spacing: 0.01rem;
  color: color-mix(in oklab, var(--background) 90%, transparent);
}

.testimonial-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  background-color: color-mix(in oklab, var(--background) 10%, transparent);
  background-repeat: no-repeat; background-size: cover; background-position: center;
  flex-shrink: 0;
}

.testimonial-name {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 500;
	font-kerning: normal;
	letter-spacing: 0.03rem;
	color: var(--background);
}

.testimonial-role {
	font-size: 0.8rem;
	font-kerning: normal;
	color: color-mix(in oklab, var(--background) 55%, transparent);
	letter-spacing: 0.03rem;
}

/* ============================================================
   LEAD FORM
   ============================================================ */
.lead-form {
  background-color: var(--sand);
  padding-block: 3rem;
}

@media (min-width: 1024px) { .lead-form { padding-block: 8rem; } }

.lead-form-inner {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .lead-form-inner { grid-template-columns: 4.5fr 7fr; }
}

.lead-form-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
  margin-top: 1.25rem;
}

.lead-form-info p {
  margin-top: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

@media (max-width: 470px) {
  .lead-form-info h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); }
  
   .lead-form-info p { font-size: 0.9rem; }
}

.checklist {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.checklist-icon { color: var(--cta); flex-shrink: 0; }

form {
  background-color: var(--background);
  border-radius: var(--radius);
  outline: 3px solid color-mix(in srgb, var(--sand), #000000 3%);
  padding: 2rem;
}

@media (min-width: 1024px) { form { padding: 2.5rem; } }
@media (max-width: 432px) { form { padding: 1rem; } }

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--foreground) 60%, transparent);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: border-color 0.25s ease;
  outline: none;
}

.field select { appearance: none; padding-right: 2.5rem; }

.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: color-mix(in oklab, var(--foreground) 50%, transparent);
}

.field input::placeholder,
.field textarea::placeholder { color: color-mix(in oklab, var(--foreground) 35%, transparent); }

.field input:focus { border-color: var(--cta); }
.field select:focus { border-color: var(--cta); }
.field textarea:focus { border-color: var(--cta); }

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.form-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--foreground) 55%, transparent);
}

.form-feedback-error {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid #b42318;
  border-radius: var(--radius);
  background: #fff1f0;
  color: #7a1b16;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: 3.5rem; }
@media (min-width: 1024px) { .faq { padding-block: 8rem; } }

.faq-inner {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .faq-inner { grid-template-columns: repeat(12, 1fr); }
  .faq-info { grid-column: span 4; }
  .faq-list { grid-column: span 8; }
}

.faq-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
  margin-top: 1.25rem;
}

.faq-info p {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--foreground) 65%, transparent);
}

.faq-items {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-toggle {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  color: var(--foreground);
}

.faq-item.open .faq-toggle {
  border-color: var(--brand);
  background-color: var(--brand);
  color: var(--background);
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
  font-size: 0.875rem;
  line-height: 1.75;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  min-height: 0;
  padding-bottom: 0;
  transition: padding-bottom 0.3s ease;
}

.faq-item.open .faq-answer-inner { padding-bottom: 1.5rem; }

.faq-answer p { max-width: 48rem; padding-right: 3rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background-color: #003358;
  color: var(--background);
  border-top: 1px solid var(--border);
}

.footer-inner { padding-block: 4rem; }

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
  .footer-brand { grid-column: span 5; }
  .footer-links { grid-column: span 7; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding-top: 1px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 1px
}

.footer-desc {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 0.865rem;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: color-mix(in oklab, var(--background) 60%, transparent);
}

.footer-links {
  display: inline-flex;
  gap: 2rem 4rem;
  grid-auto-flow: row;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (min-width: 640px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--background) 45%, transparent);
}

.footer-col ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--background) 75%, transparent);
  transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--background); }

.footer-social {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--background) 15%, transparent);
  color: color-mix(in oklab, var(--background) 70%, transparent);
  transition: border-color 0.15s, color 0.15s;
}

.social-link:hover {
  border-color: var(--background);
  color: var(--background);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 12px;
  font-kerning: normal;
  letter-spacing: 0.5px;
  color: color-mix(in oklab, var(--background) 45%, transparent);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	font-kerning: normal;
  }
}

@media (360px <= width <= 460px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
	font-kerning: normal;
	text-align: center;
	padding-inline: 0.35rem; 
  }
}



/* ============================================================
   SVG ICONS (inline)
   ============================================================ */
svg { display: inline-block; vertical-align: middle; }

/* ============================================================
   SCROLL ANIMATIONS — STAGGER
   ============================================================ */

.anim-stagger {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   COOKIE BANNER (LGPD)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 999;
  width: calc(100% - 3rem);
  max-width: 52rem;
  background-color: #f6f2f3;
  border: 1px solid #ddd7d9;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px -8px oklch(22% .04 250 / 18%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(1.5rem);
  pointer-events: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cookie-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.cookie-text {
  font-size: 0.8rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--foreground) 75%, transparent);
  flex: 1;
}


.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  height: 2.25rem;
  padding-inline: 1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.cookie-btn-secondary {
  background: transparent;
  border: 1px solid #ddd7d9;
  color: color-mix(in oklab, var(--foreground) 60%, transparent);
}

.cookie-btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cookie-btn-primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #f6f2f3;
}

.cookie-btn-primary:hover {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
}

/* ============================================================
   HERO VIDEO
   ============================================================ */

.hero-video {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

/* Controles — invisíveis por padrão, surgem no hover */
.hero-video-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-video-wrap:hover .hero-video-controls,
.hero-video-wrap:focus-within .hero-video-controls {
  opacity: 1;
}

.hero-video-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background-color: color-mix(in oklab, var(--ink) 70%, transparent);
  color: white;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color 0.15s;
  flex-shrink: 0;
}

.hero-video-btn:hover {
  background-color: var(--ink);
}

.hero-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-volume-slider {
  width: 0;
  opacity: 0;
  transition: width 0.25s ease, opacity 0.25s ease;
  accent-color: white;
  cursor: pointer;
}

.hero-video-wrap:hover .hero-volume-slider,
.hero-video-wrap:focus-within .hero-volume-slider {
  width: 5rem;
  opacity: 1;
}

/* ============================================================
   HERO VIDEO — MOBILE REORDER
   ============================================================ */

/* Mobile: esconde o vídeo na coluna direita, mostra no slot inline */
@media (max-width: 1023px) {
  /* Um único vídeo é reordenado entre a descrição e os CTAs. */
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-content { display: contents; }

  .hero-image-col {
    display: block;
    order: 1;
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px -30px oklch(22% .04 250 / 35%);
  }

  .hero-ctas { order: 2; }

  .hero-video-controls {
    top: auto;
    bottom: 1rem;
    opacity: 1;
  }

  .hero-volume-slider { display: none; }
}

/* ============================================================
   HERO VIDEO — CONTROLES MOBILE (estilo Instagram)
   ============================================================ */

/* Wrapper relativo para posicionar controles sobre o vídeo */
/* Logo — subtítulo header e footer */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--foreground) 72%, transparent);
  line-height: 1;
}

.footer-brand-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--background) 50%, transparent);
  margin-top: -1.8px;
}

/* Botão header — texto responsivo */
.btn-header-short { display: none; }
.btn-header-full  { display: inline; }

@media (max-width: 416px) {
  .btn-header-short { display: inline; }
  .btn-header-full  { display: none; }
}

/* City tabs — padding reduzido em telas muito pequenas */
@media (max-width: 410px) {
  .city-tab {
    padding-inline: 0.9rem;
  }
}

/* ============================================================
   CARROSSEL — CIDADES
   ============================================================ */

.city-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/11;
}

/* Slides — empilhados, só o ativo visível */
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

/* Controles — barra inferior */
.carousel-controls {
  position: absolute;
  bottom: 0.875rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 2;
}

/* Botões prev/next */
.carousel-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn:active {
  transform: scale(0.92);
}

/* Dots */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.carousel-dot.active {
  background: white;
  width: 18px;
}

/* ============================================================
   CARROSSEL — CONSULTOR
   ============================================================ */

/* O consultant-img-wrap já tem position: relative via .consultant-img-wrap img */
.consultant-img-wrap {
  position: relative;
}

.consultant-img-wrap .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
}

.consultant-img-wrap .carousel-slide.active {
  position: relative;
}

/* Controles posicionados sobre a imagem */
.consultant-img-wrap .carousel-controls {
  bottom: 1.25rem;
}

/* ============================================================
   MODAL — ÁGUIA CONSULTORIA IMOBILIÁRIA (Seu código original)
   ============================================================ */

.aguia-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  cursor: pointer;
  font-weight: bold; /* Trazido do inline do HTML para cá */
}

.aguia-link:hover { color: var(--brand-soft); }


/* ============================================================
   POPOVER DO LINK (Novas regras para o balãozinho)
   ============================================================ */

/* Container que envolve o link e o popover */
.link-container {
  position: relative;
  display: inline; 
}

/* Estilo Base do Popover (Atualizado com novos paddings e gaps) */
.link-container .meu-popover {
  display: flex; 
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 50%;
  z-index: 990;
  width: max-content;
  
  /* Seus novos espaçamentos solicitados */
  padding: 0.5rem;
  gap: 0.5rem;
  
  border-radius: 8px; 
  border: 1px solid #ddd7d9;
  box-shadow: 0 8px 32px -8px oklch(22% .04 250 / 18%);
  background-color: #ffffff;

  /* Estágio Inicial da Animação */
  bottom: 110%; 
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px); 
  
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.25s;
}

/* Limpa heranças de texto do parágrafo pai */
.meu-popover .popover-texto {
  font-size: 0.9rem;
  font-weight: normal; 
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
}

/* Novo tamanho da imagem: 160px por 94px */
.meu-popover .popover-img {
  width: 160px;
  height: 94px;
  object-fit: contain; /* Mantém a logo da Águia sem distorcer dentro do novo espaço */
  border-radius: 4px; 
  display: block;
}

/* Setinha inferior do balãozinho */
.meu-popover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: #ffffff; 
  border-right: 1px solid #ddd7d9;
  border-bottom: 1px solid #ddd7d9;
}

/* ==========================================
   DESKTOP APENAS (A partir de 1024px)
   ========================================== */
@media (min-width: 1024px) {
  /* Estágio Final da Animação ao fazer o Hover */
  .link-container:hover .meu-popover {
    bottom: 140%; 
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); 
  }
}


/* Overlay */
.aguia-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 27, 44, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.aguia-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Caixa do modal */
.aguia-modal-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 42rem;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  box-shadow: inset 0 0 0 4px #0c2d47, 
              0 32px 80px -16px rgba(14, 27, 44, 0.35);
}

/* Cria uma camada de borda por cima de todo o conteúdo do modal */
.aguia-modal-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* Herda os cantos arredondados do modal para não vazar nas pontas */
  border-radius: inherit; 
  
  /* Desenha a borda interna branca de 3px */
  box-shadow: inset 0 0 0 3px #ffffff;
  
  /* Garante que fique no topo de qualquer elemento interno */
  z-index: 999; 
  
  /* Faz com que cliques do mouse passem direto por ela, mantendo botões e links clicáveis */
  pointer-events: none; 
}


.aguia-modal-overlay.open .aguia-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}


/* Botão fechar */
.aguia-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(14, 27, 44, 0.08);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}

.aguia-modal-close:hover { background: #254165; }

/* Logo — fundo azul da marca */
.aguia-modal-logo-wrap {
  background-color: #0c2d47;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aguia-modal-logo {
  height: 12rem;
  width: auto;
  object-fit: contain;
}

/* Conteúdo */
.aguia-modal-content {
  padding: 2rem;
}

.aguia-modal-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cta);
  margin-bottom: 0.6rem;
}

.aguia-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.aguia-modal-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  margin-bottom: 1.5rem;
}

.aguia-modal-creci {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}


/* ============================================================
   NOVO FORM / AJUSTES Integração
   ============================================================ */

/* Oculta o estado de sucesso por padrão */
.hidden {
  display: none !important;
}

/* Oculta o formulário via JS quando for enviado */
#lead-form.hidden {
  display: none !important;
}

/* Estilo do bloco de sucesso reutilizando os tons e glassmorphism do seu site */
.form-feedback-success {
  padding: 2rem 3rem;
  align-content: center;
  text-align: center;
  background: var(--background);
  border: 2px solid var(--sand);
  border-radius: var(--radius-md);
  animation: fadeIn 0.4s ease-out forwards;
}

.form-feedback-success .feedback-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: color-mix(in oklab, var(--success) 15%, transparent);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.form-feedback-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand-soft);
}

.form-feedback-success p {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 150%;
  margin: 4px auto;
  max-width: 444px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   ZOOM DE IMAGEM — CARROSSEL CIDADES (desktop only)
   ============================================================ */

/* Ícone de lupa — oculto por padrão, visível no hover do wrap */
.zoom-hint {
  display: none;
}

@media (min-width: 1024px) {
  .zoom-hint {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Aparece ao passar o mouse no wrap — mas não quando hover nos botões */
  .city-img-wrap:hover .zoom-hint {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Esconde a lupa quando mouse está sobre os controles */
  .city-img-wrap:has(.carousel-controls:hover) .zoom-hint {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }

  /* Cursor pointer nas imagens zoomáveis */
  .zoom-trigger {
    cursor: zoom-in;
  }
}

/* ── Modal de zoom ── */
.zoom-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.zoom-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.zoom-modal-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  cursor: zoom-out;
}

.zoom-modal-overlay.open .zoom-modal-img {
  transform: scale(1);
  opacity: 1;
}

.zoom-modal-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
  z-index: 2;
}

.zoom-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background-color: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

/* Ondas de pulso */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-color: #25d366;
  opacity: 0.5;
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

.whatsapp-pulse--delay {
  animation-delay: 1.1s;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-icon {
  position: relative;
  z-index: 1;
  display: block;
}

/* Afasta do cookie banner quando ele está visível */
.cookie-banner:not(.hidden) ~ * .whatsapp-btn,
body:has(.cookie-banner:not(.hidden)) .whatsapp-btn {
  bottom: 6rem;
  transition: bottom 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   MODAL — POLÍTICA DE PRIVACIDADE
   ============================================================ */

/* Overlay */
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(14, 27, 44, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.privacy-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Sheet — desktop: modal centralizado */
.privacy-sheet {
  background: var(--background);
  width: 100%;
  max-width: 46vw;
  max-height: 85vh;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px -16px rgba(14, 27, 44, 0.4);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.35s ease;
}

.privacy-overlay.open .privacy-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Mobile — bottom sheet */
@media (max-width: 767px) {
  .privacy-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .privacy-sheet {
    max-width: 100%;
    max-height: calc(100vh - 4rem); /* encosta no header */
    width: 100%;
    border-radius: 1.25rem 1.25rem 0 0;
    transform: translateY(100%);
  }

  .privacy-overlay.open .privacy-sheet {
    transform: translateY(0);
  }
}

/* Header fixo */
.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  border-bottom: 2px solid color-mix(in oklab, var(--cta) 75%, transparent);
  flex-shrink: 0;
  position: relative;
}

/* Drag handle — mobile only */
.privacy-drag-handle {
  display: none;
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
}

@media (max-width: 767px) {
  .privacy-drag-handle { display: block; }
  .privacy-header { padding-top: 1.75rem; }
}

.privacy-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.privacy-close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--foreground) 8%, transparent);
  color: var(--ink);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.privacy-close:hover {
  background: color-mix(in oklab, var(--foreground) 15%, transparent);
}

/* Body com scroll */
.privacy-body {
  overflow-y: auto;
  padding: 1.75rem 1.5rem 2.5rem;
  flex: 1;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar discreta */
.privacy-body::-webkit-scrollbar { width: 4px; }
.privacy-body::-webkit-scrollbar-track { background: transparent; }
.privacy-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.privacy-updated {
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--foreground) 72%, transparent);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dotted var(--border);
}

.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.privacy-section p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: color-mix(in oklab, var(--foreground) 75%, transparent);
  margin-bottom: 0.75rem;
}

.privacy-section p:last-child { margin-bottom: 0; }

.privacy-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-left: 0;
  border-left: 1px dashed color-mix(in oklab, var(--cta) 70%, transparent);
}

.privacy-section ul li {
  font-size: 0.875rem;
  line-height: 1.65;
  color: color-mix(in oklab, var(--foreground) 75%, transparent);
  padding-left: 1rem;
  
}

/* Link da política no footer */
.privacy-trigger {
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.privacy-trigger:hover {
  color: var(--brand-soft);
  text-decoration: underline;
}
