/* ==============================================================================
   PIEMONTE ALBERI - LUXURY REAL ESTATE STYLESHEET
   Empreendimento: Piemonte Alberi (Construtora e Incorporadora Piemonte)
   Localização: Rua Bom Jesus, 212 - Cabral, Curitiba - PR
   Corretor: Igor Braga (CRECI/PR 40.512 F)
   Design System: Refined Architecture, Mobile-First, Clean Typography & Luxury Carousel
   ============================================================================== */

:root {
  /* Color Palette - Sophisticated Forest Slate & Warm Champagne Gold */
  --color-primary: #12211c;
  --color-primary-dark: #0a1411;
  --color-primary-light: #1b3028;
  --color-accent: #c5a059;
  --color-accent-hover: #d8b46e;
  --color-accent-dark: #785a1a;
  --color-accent-text: #785a1a;
  --color-accent-subtle: rgba(197, 160, 89, 0.12);
  --color-accent-glow: rgba(197, 160, 89, 0.28);

  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-dark: #12211c;
  --color-bg-darker: #0a1411;
  --color-bg-stone: #f1f5f9;

  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-inverse: #f8fafc;

  --color-border: #e2e8f0;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-gold: rgba(197, 160, 89, 0.35);

  --color-whatsapp: #15803d;
  --color-whatsapp-hover: #166534;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Typography - Modern Clean Sans-Serif Stack (Prevenindo quebras/vazamentos) */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing & Sizes */
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* CSS Reset & Global Guardrails */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 15px; /* Fonte base calibrada para harmonia em todas as telas */
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}

input, select, textarea {
  font: inherit;
  font-size: 16px; /* Evita zoom automático incômodo no Safari iOS */
}

/* Containers com padding responsivo e proteção contra overflow */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ==============================================================================
   TYPOGRAPHY & UTILITIES (Refined & Balanced Sizing - Zero Overflow)
   ============================================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }
.text-white { color: #ffffff; }
.text-muted { color: var(--color-text-muted); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-text);
  background-color: var(--color-accent-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-gold);
  margin-bottom: 0.75rem;
  white-space: normal;
  overflow-wrap: break-word;
}

.section-tag.dark {
  background-color: rgba(10, 20, 17, 0.85);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-accent-hover);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: normal;
}

.section-title.light {
  color: #ffffff;
}

.section-desc {
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  color: var(--color-text-muted);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.6;
}

.section-desc.light {
  color: #cbd5e1;
}

.section-header {
  margin-bottom: 2.25rem;
}

/* ==============================================================================
   BUTTONS & TOUCH TARGETS (Min 44-48px height)
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent-text);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.btn-lancamentos {
  background: linear-gradient(135deg, #c5a059 0%, #dfba72 100%);
  color: #0c1318 !important;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.btn-lancamentos:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.5);
}

.btn-full {
  width: 100%;
}

/* ==============================================================================
   HEADER & NAVIGATION
   ============================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(18, 33, 28, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: background-color var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  width: 100%;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  max-width: 145px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1040px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    margin-inline: auto;
    padding-inline: 0.5rem;
  }
}

.nav-link {
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.nav-actions .btn-whatsapp {
  min-height: 40px;
  padding: 0.35rem 0.95rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-actions .btn-lancamentos,
  .nav-actions .btn-whatsapp {
    display: none !important;
  }
}


.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  color: #ffffff;
}

@media (min-width: 1040px) {
  .nav-toggle-btn {
    display: none;
  }
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-primary);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-link {
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ==============================================================================
   HERO SECTION - CINEMATIC FACADE & SENIOR UX FORM
   ============================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 3.5rem;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.85;
  filter: brightness(0.97) contrast(1.05);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 20, 17, 0.65) 0%, 
    rgba(10, 20, 17, 0.35) 45%, 
    rgba(10, 20, 17, 0.88) 100%);
}

@media (min-width: 992px) {
  .hero-gradient-overlay {
    background: linear-gradient(90deg, 
      rgba(10, 20, 17, 0.88) 0%, 
      rgba(10, 20, 17, 0.55) 50%, 
      rgba(10, 20, 17, 0.75) 100%),
      linear-gradient(180deg, 
      rgba(10, 20, 17, 0.45) 0%, 
      transparent 40%, 
      rgba(10, 20, 17, 0.90) 100%);
  }
}

.hero-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-content-grid {
    grid-template-columns: 1.22fr 0.98fr;
    gap: 3rem;
  }
}

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

/* H1 com fonte refinada, equilibrada e sem vazamentos em telas pequenas */
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.7vw, 2.05rem);
  font-weight: 700;
  line-height: 1.24;
  color: #ffffff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: normal;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.hero-lead {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Highlights Badges Row */
.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 1.75rem;
}

@media (max-width: 480px) {
  .hero-badges-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(18, 33, 28, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #f1f5f9;
}

.hero-badge-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Action CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

@media (max-width: 540px) {
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* Hero Lead Capture Form Card */
.hero-form-card {
  background: rgba(18, 33, 28, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.hero-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.hero-form-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.form-select option {
  background-color: var(--color-primary);
  color: #ffffff;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #94a3b8;
  font-size: 0.85rem;
}

.hp-field {
  display: none !important;
}

.form-alert {
  font-size: 0.8125rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-alert.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--color-success);
  color: #34d399;
}

.form-alert.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--color-error);
  color: #f87171;
}

/* ==============================================================================
   METRICS & HIGHLIGHTS STRIP
   ============================================================================== */
.metrics-section {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-sm);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 860px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.metric-label {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ==============================================================================
   CONCEPT & ARCHITECTURAL NARRATIVE
   ============================================================================== */
.concept-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-light);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .concept-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.concept-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.concept-text p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.concept-features-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.concept-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.45;
}

.concept-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--color-whatsapp);
  flex-shrink: 0;
  margin-top: 3px;
}

.concept-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.concept-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.concept-image-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 20, 17, 0.92) 100%);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 600;
}

/* ==============================================================================
   PARTNERS & MASTER SIGNATURES
   ============================================================================== */
.signatures-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.signatures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.signature-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.signature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.signature-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-text);
  margin-bottom: 0.4rem;
}

.signature-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.signature-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==============================================================================
   DIFFERENTIALS & CONSTRUCTIVE QUALITY
   ============================================================================== */
.diff-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-light);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.diff-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-gold);
}

.diff-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.diff-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.diff-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ==============================================================================
   VIDEO TOUR (PERFORMANCE FACADE - LAZY LOADED YOUTUBE)
   ============================================================================== */
.video-section {
  padding: 4.5rem 0;
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.video-wrapper {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  background-color: #000000;
  position: relative;
}

.video-facade {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.video-facade:hover .video-cover-img {
  transform: scale(1.02);
}

.video-play-btn {
  position: absolute;
  width: 72px;
  height: 72px;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.video-facade:hover .video-play-btn {
  transform: scale(1.1);
  background-color: var(--color-accent-hover);
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==============================================================================
   PLANTAS & TIPOLOGIAS (INTERACTIVE TABBED SWITCHER)
   ============================================================================== */
.plantas-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-white);
}

.tabs-nav-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-stone);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.planta-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

@media (min-width: 920px) {
  .planta-card-grid {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.25rem;
    gap: 3rem;
  }
}

.planta-preview-wrapper {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
}

.planta-preview-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin-inline: auto;
  transition: transform var(--transition-normal);
}

.planta-preview-wrapper:hover .planta-preview-img {
  transform: scale(1.02);
}

.planta-zoom-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(18, 33, 28, 0.85);
  color: #ffffff;
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.planta-details h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.planta-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-text);
  margin-bottom: 1.25rem;
}

.planta-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.planta-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
}

.planta-spec-item svg {
  color: var(--color-whatsapp);
  flex-shrink: 0;
}

/* ==============================================================================
   GALLERY CAROUSEL / SLIDER (MULTI-ITEM RESPONSIVE & MOBILE-FIRST)
   ============================================================================== */
.gallery-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-light);
}

.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.carousel-counter {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent-text);
  letter-spacing: 0.08em;
  background: var(--color-accent-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-gold);
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  touch-action: manipulation;
}

.carousel-nav-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.carousel-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: #f1f5f9;
  border-color: var(--color-border);
  color: #94a3b8;
}

.gallery-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  position: relative;
  user-select: none;
  cursor: grab;
}

.gallery-carousel-viewport:active {
  cursor: grabbing;
}

.gallery-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .gallery-slide {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}

@media (min-width: 1024px) {
  .gallery-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
  }
}

.gallery-slide.is-hidden {
  display: none !important;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: var(--color-bg-stone);
  aspect-ratio: 16 / 10;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 20, 17, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem;
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.gallery-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-card-sub {
  font-size: 0.775rem;
  color: var(--color-accent-hover);
  margin-top: 0.2rem;
}

.carousel-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

/* ==============================================================================
   LOCATION SECTION (SEO LOCAL & MASTER LIFESTYLE SHOWCASE)
   ============================================================================== */
.location-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-white);
}

.location-unified-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.location-card-topbar {
  background: var(--color-primary);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.location-address-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.location-pin-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-address-line1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.location-address-line2 {
  font-size: 0.825rem;
  color: #cbd5e1;
}

.location-topbar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-walkscore, .badge-terreno {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.badge-walkscore {
  border-color: var(--color-whatsapp);
  color: #4ade80;
}

.badge-terreno {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}

.location-card-body {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.5rem;
  gap: 2rem;
}

@media (min-width: 960px) {
  .location-card-body {
    grid-template-columns: 1fr 1fr;
    padding: 2.25rem;
    gap: 2.5rem;
  }
}

.location-group {
  margin-bottom: 1.5rem;
}

.location-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 0.4rem;
}

.location-group-title svg {
  color: var(--color-accent-text);
}

.location-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.location-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.location-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.15rem;
}

.location-item-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.location-dist-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-whatsapp);
  background-color: rgba(21, 128, 61, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.location-dist-pill.drive {
  color: #0284c7;
  background-color: rgba(2, 132, 199, 0.1);
}

.location-guide-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

@media (max-width: 480px) {
  .location-guide-ctas .btn {
    width: 100%;
  }
}

/* Location Media Column (Switcher & Frames) */
.location-view-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.view-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.view-pane {
  display: none;
}

.view-pane.active {
  display: block;
}

.location-map-frame, .location-photo-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #e2e8f0;
}

.location-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-view-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 20, 17, 0.9) 100%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
}

.caption-pulse {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.caption-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.caption-sub {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* ==============================================================================
   FAQ SECTION (ACCORDION)
   ============================================================================== */
.faq-section {
  padding: 4.5rem 0;
  background-color: var(--color-bg-light);
}

.faq-container {
  max-width: 820px;
}

.faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  gap: 1rem;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-text);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer-box {
  padding: 0 1.35rem 1.25rem 1.35rem;
  display: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer-box {
  display: block;
}

/* ==============================================================================
   FINAL CONVERSION SECTION (CONTACT & FORM)
   ============================================================================== */
.contact-section {
  padding: 4.5rem 0;
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .contact-card-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.contact-info-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info-col p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-direct-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.contact-direct-label {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-direct-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-form-box {
  background: rgba(18, 33, 28, 0.92);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

/* ==============================================================================
   ABOUT BROKER (Igor Braga)
   ============================================================================== */
.broker-section {
  padding: 3.5rem 0;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.broker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .broker-card {
    flex-direction: row;
    text-align: left;
    padding: 2.25rem;
    gap: 2rem;
  }
}

.broker-avatar {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.broker-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.broker-creci {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-text);
  margin-bottom: 0.75rem;
}

.broker-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
  background-color: var(--color-bg-darker);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  font-size: 0.875rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  }
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links-list a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-accent-hover);
}

.social-links-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==============================================================================
   FLOATING WHATSAPP BUTTON (PULSING)
   ============================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background-color: var(--color-whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  box-shadow: 0 4px 18px rgba(21, 128, 61, 0.45);
  transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background-color: var(--color-whatsapp-hover);
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-whatsapp);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ==============================================================================
   LIGHTBOX MODAL
   ============================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--color-accent);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0.85rem;
  text-align: center;
}
