/* ==========================================================================
   GRAND PALLAZO III - LANDING PAGE STYLES
   Design System: Modern Real Estate Luxury & High Conversion (Cristo Rei, Curitiba)
   Empreendimento: Sobrados de Alto Padrão Grand Pallazo III (ARBO Construtora)
   Corretor: Igor Braga (CRECI 40.512F PR)
   ========================================================================== */

:root {
  /* Color Palette - Navy Luxury & Warm Champagne Gold */
  --color-primary: #0b1320;
  --color-primary-dark: #070d18;
  --color-primary-light: #152238;
  --color-accent: #c5a059;
  --color-accent-light: #dfba72;
  --color-accent-dark: #9e7d3b;
  --color-accent-subtle: #fbf6ee;
  --color-accent-glow: rgba(197, 160, 89, 0.25);
  
  --color-success: #10b981;
  --color-success-dark: #059669;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;
  
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;
  
  /* Typography - 100% Modern Sans-Serif System Stack */
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Layout & Sizing */
  --container-max: 1240px;
  --container-narrow: 900px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px -2px rgba(11, 19, 32, 0.08), 0 2px 6px -1px rgba(11, 19, 32, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(11, 19, 32, 0.12), 0 4px 10px -2px rgba(11, 19, 32, 0.05);
  --shadow-xl: 0 20px 40px -6px rgba(11, 19, 32, 0.18), 0 8px 16px -4px rgba(11, 19, 32, 0.08);
  --shadow-glow: 0 0 30px rgba(197, 160, 89, 0.35);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px; /* Base balance preventing oversized mobile elements */
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  background-color: var(--color-bg);
}

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

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

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

input, select, textarea {
  font: inherit;
  color: inherit;
  font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
}

ul, ol {
  list-style: none;
}

/* Typography Helpers - Fluid Responsive Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.65rem, 4.2vw, 2.35rem); line-height: 1.2; word-break: break-word; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.95rem); line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.35; }
h4 { font-size: 1.1rem; }

.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.65;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 1.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.5vw, 1.5rem);
}

/* Section Common */
.section {
  padding-block: clamp(3rem, 5.5vw, 4.75rem);
  position: relative;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-inverse);
}

.section-dark .section-subtitle,
.section-dark .lead {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-badge-dark {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--color-accent-light);
  border-color: rgba(197, 160, 89, 0.4);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--color-accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae772 0%, #159b8c 100%);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   NAVIGATION / HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(11, 19, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(11, 19, 32, 0.98);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header-creci-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent-light);
  background: rgba(197, 160, 89, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.3);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0.2rem;
  display: inline-block;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

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

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

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

/* External Special Navigation Buttons */
.nav-external-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-link-external {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1d497;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link-external:hover {
  color: #ffffff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

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

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 13, 24, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  z-index: 99;
  flex-direction: column;
  gap: 1.5rem;
  transition: all var(--transition-normal);
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e2e8f0;
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mobile-external-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: var(--color-primary-dark);
  color: #ffffff;
  overflow: hidden;
  padding-block: 4rem 5rem;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.42) contrast(1.05);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 40%, rgba(11, 19, 32, 0.25) 0%, rgba(7, 13, 24, 0.90) 80%),
              linear-gradient(to top, rgba(7, 13, 24, 1) 0%, rgba(7, 13, 24, 0.35) 60%, rgba(7, 13, 24, 0.75) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(197, 160, 89, 0.18);
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--color-accent-light);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.hero-tagline svg {
  color: var(--color-accent);
}

.hero-title {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.6;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 0.4rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #f1f5f9;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero-pill svg {
  color: var(--color-accent);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Hero Quick Form Card (Luxury Glassmorphism) */
.hero-card {
  background: rgba(11, 19, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
  color: #ffffff;
}

.hero-card-header {
  margin-bottom: 1.5rem;
}

.hero-card-header h2,
.hero-card-header h3,
.hero-card-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero-card-header p {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.hero-form .form-group {
  margin-bottom: 1rem;
}

.hero-form .form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

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

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

.hero-form .form-control::placeholder {
  color: #94a3b8;
}

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

.form-security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  line-height: 1.4;
}

.form-security-note svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   STATS / HIGHLIGHTS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -2rem;
  border-radius: var(--radius-md);
  max-width: var(--container-max);
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(197, 160, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.stat-info .stat-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-info .stat-title .gold {
  color: var(--color-accent);
}

.stat-info p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   AUTORIDADE DO CORRETOR (BLUEPRINT SEÇÃO 3)
   -------------------------------------------------------------------------- */
.broker-section {
  padding-block: 4rem;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.broker-card {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  background: linear-gradient(145deg, #ffffff 0%, #faf8f5 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.broker-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--color-accent);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}

.broker-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.broker-info h3 {
  font-size: 1.65rem;
  color: var(--color-primary);
  margin-bottom: 0.1rem;
}

.broker-creci {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 0.5rem;
}

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

.broker-contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   O EMPREENDIMENTO / CONCEPT
   -------------------------------------------------------------------------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.concept-images-stack {
  position: relative;
}

.concept-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.concept-badge-overlay {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

.concept-badge-score {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent-dark);
  line-height: 1;
}

.concept-badge-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

.concept-badge-text p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.concept-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.concept-quote {
  font-style: italic;
  color: var(--color-accent-dark);
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin-block: 0.5rem;
  font-size: 1.05rem;
}

.concept-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.concept-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.concept-highlight-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   DIFERENCIAIS (GRID COM ÍCONES, TÍTULO E DESCRITIVO)
   -------------------------------------------------------------------------- */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.differential-card {
  background: #ffffff !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.differential-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.4);
  box-shadow: var(--shadow-lg);
}

.differential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.differential-card:hover::before {
  opacity: 1;
}

.diff-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.differential-card:hover .diff-icon-box {
  background: var(--color-accent);
  color: #ffffff;
}

.diff-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.diff-content h3,
.differential-card .differential-title,
.section-dark .differential-card h3 {
  color: #0b1526 !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  display: block !important;
  visibility: visible !important;
}

.differential-card p,
.diff-content p,
.section-dark .differential-card p {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* --------------------------------------------------------------------------
   VÍDEO 3D TOUR SECTION
   -------------------------------------------------------------------------- */
.video-tour-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  max-width: 960px;
  margin: 0 auto;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-tour-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-facade-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #000000;
  overflow: hidden;
}

.video-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
  display: block;
}

.video-facade-wrapper:hover .video-facade-thumb {
  transform: scale(1.03);
  opacity: 0.88;
}

.video-facade-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform var(--transition-fast);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.6));
}

.video-play-btn svg {
  width: 72px;
  height: 52px;
  transition: transform var(--transition-fast);
}

.video-facade-wrapper:hover .video-play-btn svg {
  transform: scale(1.1);
}

.badge-4k {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(197, 160, 89, 0.9);
  color: #0b1320;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  z-index: 3;
}

/* --------------------------------------------------------------------------
   PLANTAS HUMANIZADAS INTERATIVAS
   -------------------------------------------------------------------------- */
.plantas-section {
  background-color: var(--color-surface);
}

.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: var(--color-surface-muted);
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: var(--color-primary);
  background-color: #e2e8f0;
}

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

.tab-btn.active .tab-badge-sub {
  background-color: var(--color-accent);
  color: #ffffff;
}

.tab-badge-sub {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background-color: #cbd5e1;
  color: var(--color-text-main);
  font-weight: 800;
}

/* Level Selector Pills */
.level-selector-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.level-pill-btn {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

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

.level-pill-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
}

.planta-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.planta-image-box {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.planta-image-box img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal);
}

.planta-image-box:hover img {
  transform: scale(1.02);
}

.planta-zoom-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 19, 32, 0.85);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
}

.planta-details {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.planta-header h3 {
  font-size: 1.85rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.planta-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-block: 0.5rem;
}

.spec-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.planta-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.planta-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

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

/* --------------------------------------------------------------------------
   GALERIA DE FOTOS 3D
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 13, 24, 0.9) 0%, rgba(7, 13, 24, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.gallery-caption {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   LOCALIZAÇÃO CRISTO REI
   -------------------------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background-color: #e2e8f0;
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.map-address-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.map-address-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  font-weight: 600;
}

.location-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--color-border);
}

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

.loc-info h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.loc-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   LEAD FORM / CONTATO
   -------------------------------------------------------------------------- */
.lead-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding-block: 5rem;
}

.lead-box-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lead-info-col h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1.25rem;
}

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

.lead-direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon.whatsapp {
  background: #25d366;
}

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

.contact-card-details .contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.lead-form-card {
  background: rgba(11, 19, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.lead-form-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.lead-form-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

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

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

.input-field::placeholder {
  color: #94a3b8;
}

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

.form-alert {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  display: none;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #a7f3d0;
  display: block;
}

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

/* --------------------------------------------------------------------------
   FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-accent-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-accent);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 38px;
  width: auto;
}

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

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: inline-block;
  padding: 0.2rem 0;
  transition: color var(--transition-fast);
}

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

.footer-social-wrapper {
  margin-top: 1.25rem;
}

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

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.footer-social-btn:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON & SCROLL TO TOP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 48px;
  min-height: 48px;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  animation: floatBounce 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First / Fluid Adjustments)
   ============================================================================== */

@media (max-width: 1180px) {
  .header-container {
    gap: 1.25rem;
  }
  .nav-desktop {
    gap: 1.25rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-external-group {
    padding-left: 0.75rem;
    margin-inline: 0.5rem;
  }
}

@media (max-width: 1040px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .planta-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lead-box-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding-block: 3.25rem;
  }

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

  .header.scrolled {
    height: 64px;
  }

  .header-logo {
    height: 34px;
  }

  .hero {
    padding-block: 2rem 2.75rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    line-height: 1.22;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

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

  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-card {
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-lg);
  }

  .hero-card-header h2,
  .hero-card-title {
    font-size: 1.25rem;
  }

  .stats-bar {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 1.15rem 1rem;
    gap: 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(3) {
    border-right: 1px solid var(--color-border);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .stat-info .stat-title {
    font-size: 1.2rem;
  }

  .stat-info p {
    font-size: 0.78rem;
  }

  .broker-card {
    flex-direction: column;
    padding: 1.75rem 1.25rem;
    text-align: center;
    gap: 1.25rem;
  }

  .broker-avatar {
    margin-inline: auto;
    width: 72px;
    height: 72px;
  }

  .broker-contact-row {
    justify-content: center;
  }

  .broker-contact-row .btn {
    width: 100%;
  }

  .concept-badge-overlay {
    position: static;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
  }

  .concept-highlights-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* Plantas Section Mobile Touch Scroll */
  .tabs-nav {
    gap: 0.45rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .tab-btn {
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .level-selector-pills {
    gap: 0.4rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .level-pill-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .planta-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .planta-header h3 {
    font-size: 1.4rem;
  }

  .planta-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .map-wrapper iframe {
    height: 300px;
  }

  .map-address-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .map-address-card .btn {
    width: 100%;
    min-height: 48px;
  }

  .lead-form-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    justify-content: center;
  }

  .back-to-top {
    bottom: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
  }

  .footer {
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 62px;
  }

  .header.scrolled {
    height: 58px;
  }

  .header-logo {
    height: 28px;
    max-width: 160px;
  }

  .header-creci-pill {
    display: none;
  }

  .section {
    padding-block: 2.5rem 2rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 5.5vw, 1.65rem);
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.86rem;
  }

  .hero {
    padding-block: 1.25rem 2rem;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem);
    line-height: 1.2;
  }

  .hero-card {
    padding: 1.25rem 0.95rem;
  }

  .hero-card-header h2,
  .hero-card-title {
    font-size: 1.15rem;
  }

  .hero-pill {
    font-size: 0.74rem;
    padding: 0.35rem 0.65rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 0.85rem 0.75rem;
    border-right: none !important;
    border-bottom: 1px solid var(--color-border) !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .stat-info .stat-title {
    font-size: 1.1rem;
  }

  .differentials-grid {
    gap: 0.85rem;
  }

  .differential-card {
    padding: 1.15rem 1rem;
    gap: 0.65rem;
  }

  .diff-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .diff-content h3 {
    font-size: 1.05rem !important;
  }

  .diff-content p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .planta-card {
    padding: 1.15rem 0.85rem;
  }

  .planta-specs-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .spec-box {
    padding: 0.65rem 0.75rem;
  }

  .location-item {
    padding: 0.85rem 0.75rem;
    gap: 0.75rem;
  }

  .loc-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .map-wrapper iframe {
    height: 240px;
  }

  .map-address-card {
    padding: 0.85rem;
  }

  .lead-form-card {
    padding: 1.25rem 0.85rem;
  }

  .lead-form-card h3 {
    font-size: 1.2rem;
  }

  .input-field,
  .form-control {
    padding: 0.75rem 0.85rem;
    font-size: 16px !important;
  }

  .faq-question {
    padding: 1rem 0.85rem;
    font-size: 0.92rem;
  }

  .faq-answer-inner {
    padding: 0 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.86rem;
    padding: 0.8rem 1.15rem;
    min-height: 48px;
  }

  .floating-whatsapp {
    bottom: 0.85rem;
    right: 0.85rem;
    width: 46px;
    height: 46px;
  }

  .back-to-top {
    bottom: 0.85rem;
    left: 0.85rem;
    width: 42px;
    height: 42px;
  }
}
