/* Import Google Font: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and Core Variables */
:root {
  --primary: #0057B8;
  --primary-hover: #00479b;
  --primary-dark: #0A2540;
  --primary-light: #EAF4FF;
  
  --accent: #10B981;
  --accent-hover: #059669;
  --accent-light: #ECFDF5;
  
  --bg-white: #FFFFFF;
  --bg-light: #F7F9FC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 87, 184, 0.03), 0 2px 4px -1px rgba(0, 87, 184, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(0, 87, 184, 0.05), 0 4px 6px -2px rgba(0, 87, 184, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 87, 184, 0.08), 0 10px 10px -5px rgba(0, 87, 184, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); }

/* Global Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Header / Navbar */
.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 120px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 55px;
    max-width: 160px;
  }
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.header-badge {
  background-color: var(--primary-light);
  border: 1px solid rgba(0, 87, 184, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* HERO SECTION */
.hero-section {
  background-color: var(--bg-white);
  position: relative;
  padding: 4rem 0 6rem 0;
  overflow: hidden;
}

/* Decorative background details */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234,244,255,0.8) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 2.5rem 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-text {
  grid-column: 1;
  grid-row: 1;
}

.hero-form {
  grid-column: 1;
  grid-row: 2;
}

.hero-right {
  grid-column: 2;
  grid-row: 1 / span 2;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2rem;
  }
  .hero-section {
    padding: 3rem 0;
  }
  .hero-text {
    grid-column: auto;
    grid-row: auto;
    order: 1; /* 1º: Título e descrição */
  }
  .hero-right {
    grid-column: auto;
    grid-row: auto;
    order: 2; /* 2º: Imagem do equipamento */
  }
  .hero-form {
    grid-column: auto;
    grid-row: auto;
    order: 3; /* 3º: Formulário de cadastro */
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-form {
  display: flex;
  flex-direction: column;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-subtitle strong {
  color: var(--text-dark);
}

/* Hero Form Styling */
.form-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
}

.form-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.15);
}

/* CTA Button Premium Green */
.cta-button {
  background-color: var(--accent);
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 1.1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  letter-spacing: 0.5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.form-card .cta-button {
  width: 100%;
  margin-top: 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-compliance {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  line-height: 0;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  font-style: italic;
  padding: 0 1rem;
}

/* SECTION UTILITIES */
.section-padding {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

.bg-light-blue {
  background-color: var(--primary-light);
}

.bg-white-sec {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  max-width: 750px;
  margin: 0 auto 4rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--primary-dark);
}

.section-header p {
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
}

/* SEÇÃO PERFORMANCE */
.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .performance-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.performance-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.performance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 87, 184, 0.15);
}

.card-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.performance-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.performance-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Technical Visual Section (Side by side Zoom images) */
.technical-visuals {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
  border-top: 1px dashed rgba(0, 87, 184, 0.2);
  padding-top: 4rem;
}

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

@media (max-width: 768px) {
  .visuals-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.zoom-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  line-height: 0;
  position: relative;
}

.zoom-image-wrapper img {
  width: 100%;
  height: auto;
  transition: var(--transition-slow);
}

/* Hover Zoom effect */
.zoom-image-wrapper:hover img {
  transform: scale(1.06);
}

/* SEÇÃO DE CONFIANÇA */
.confidence-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .confidence-left {
    order: 2; /* Put image down on mobile for natural reading flow */
  }
  .confidence-right {
    order: 1;
  }
}

.confidence-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.benefit-item:hover {
  background-color: var(--primary-light);
  border-color: rgba(0, 87, 184, 0.15);
}

.benefit-check {
  color: var(--accent);
  font-size: 1.1rem;
  display: inline-flex;
}

/* SEÇÃO DE PROCEDÊNCIA */
.provenance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .provenance-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.provenance-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Technical Specification Block Styling */
.specs-block {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .specs-block {
    grid-template-columns: 1fr;
  }
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.provenance-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

/* SEÇÃO DIFERENCIAIS */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .differentials-grid {
    grid-template-columns: 1fr;
  }
}

.diff-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.diff-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 87, 184, 0.15);
}

.diff-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  background-color: var(--primary-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  border: 1px solid rgba(0, 87, 184, 0.1);
}

.diff-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.diff-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* CTA FINAL SECTION */
.cta-final-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath fill-rule='evenodd' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-final-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-final-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-final-left h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  font-weight: 800;
}

.cta-final-left p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.cta-final-left strong {
  color: var(--bg-white);
}

.whatsapp-button-wrapper {
  margin-top: 1rem;
}

/* Pulsing highlight effect on the button */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.cta-whatsapp-btn {
  background-color: var(--accent);
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 1.25rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
  animation: pulseGlow 2.5s infinite;
  letter-spacing: 0.5px;
}

.cta-whatsapp-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

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

@media (max-width: 992px) {
  .cta-whatsapp-btn {
    display: flex;
    justify-content: center;
  }
}

.cta-final-right {
  display: flex;
  justify-content: center;
}

.cta-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  line-height: 0;
  max-width: 500px;
  width: 100%;
}

.cta-image-card img {
  width: 100%;
  height: auto;
}

/* RODAPÉ (FOOTER) */
.main-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
}

/* Badges section at the top of footer */
.footer-badges-sec {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (max-width: 768px) {
  .badges-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-badge-icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

.footer-badge h4 {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 700;
}

.footer-badge p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* Bottom copyright & information */
.footer-bottom-sec {
  padding: 3rem 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  height: 130px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .footer-logo-img {
    height: 100px;
    max-width: 240px;
  }
}

.footer-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-white);
  letter-spacing: 0.5px;
}

.footer-logo-tagline {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.footer-address {
  font-style: normal;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .footer-nav {
    align-items: flex-start;
  }
}

.footer-nav-title {
  color: var(--bg-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

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

.copyright-text {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}


/* ANIMATION UTILITIES */
/* Fade in scroll effects */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for stagger effect */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive form feedback styling */
.form-group.success input {
  border-color: var(--accent);
}
.form-group.error input {
  border-color: #EF4444;
}
.error-msg {
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 0.2rem;
  display: none;
}
.form-group.error .error-msg {
  display: block;
}

/* =============================================
   CARROSSEL DE FOTOS REAIS
   ============================================= */

.carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background-color: var(--primary-dark);
  aspect-ratio: 4 / 3;
}

/* Slides */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Image frame */
.carousel-img-frame {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0A1628;
}

.carousel-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.carousel-slide.active .carousel-img-frame img {
  transform: scale(1.02);
}

/* Caption overlay */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.carousel-caption-tag {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

/* Arrow Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 87, 184, 0.4);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

@media (max-width: 768px) {
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
  }
}

/* Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.2);
}

.carousel-dot:hover:not(.active) {
  background-color: rgba(0, 87, 184, 0.3);
}

/* Slide Counter */
.carousel-counter {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Aspect ratio responsive */
@media (max-width: 600px) {
  .carousel {
    aspect-ratio: 3 / 4;
  }
  .carousel-caption {
    padding: 1rem 1.25rem;
  }
  .carousel-caption p {
    font-size: 0.82rem;
  }
}

/* =============================================
   MODAL OVERLAY
   ============================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(28px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  color: var(--text-dark);
  background: var(--border-color);
  transform: rotate(90deg);
}

.cta-whatsapp-btn {
  cursor: pointer;
  border: none;
  font-family: var(--font-family);
}

