/* Smart Mais — CSS Principal
   Identidade Visual 2024
   Cores: #052E68 (navy) | #FFEC00 (yellow)
   Tipografia: Nunito Display + Nunito Sans Body
*/

:root {
  --navy:        #052E68;
  --navy-dark:   #031E4A;
  --navy-light:  #0A4299;
  --yellow:      #FFEC00;
  --yellow-dark: #E6D400;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --text:        #111827;
  --text-muted:  #6B7280;
}


/* =========================================
   TOPBAR
   ========================================= */
.topbar {
  background-color: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  background-color: var(--navy);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(5,46,104,0.3);
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--yellow);
  background: rgba(255,236,0,0.08);
}
.nav-link.active {
  color: var(--yellow);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--yellow);
  color: var(--navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.btn-primary:hover {
  background-color: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255,236,0,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,236,0,0.05);
}
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}
.btn-agent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 236, 0, 0.10);
  border: 1.5px dashed rgba(255, 236, 0, 0.45);
  color: rgba(255, 236, 0, 0.90);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-agent:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  border-style: solid;
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 236, 0, 0.35);
}

/* =========================================
   HERO SECTION + SLIDESHOW
   ========================================= */
.hero-section {
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Slideshow --- */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay: gradiente forte nos dois lados para legibilidade */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3, 30, 74, 0.92) 0%,
    rgba(5, 46, 104, 0.78) 40%,
    rgba(5, 46, 104, 0.72) 65%,
    rgba(3, 30, 74, 0.88) 100%
  );
}

/* --- Indicadores (dots) --- */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  width: 28px;
  background: var(--yellow);
}

.hero-dot:hover {
  background: rgba(255, 236, 0, 0.7);
}

/* --- Seta de scroll --- */
.hero-scroll-arrow {
  position: absolute;
  bottom: 1.75rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 10;
  transition: all 0.3s;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll-arrow:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

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

/* --- Wrapper do card (com padding para acomodar badges flutuantes) --- */
.hero-card-wrapper {
  position: relative;
  padding: 1.25rem;
  /* O padding garante que as badges absolutas não sejam cortadas */
}

/* Badges flutuantes fora do card */
.hero-badge-top {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.75rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 16px rgba(255, 236, 0, 0.45);
  z-index: 3;
  animation: float 3.2s ease-in-out infinite;
}

.hero-badge-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
  animation: float 3.2s ease-in-out infinite 1.6s;
}

/* --- Card de info sobre a imagem --- */
.hero-info-card {
  background: rgba(4, 38, 88, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  width: 340px;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* =========================================
   SECTION DECORATIVE BACKGROUNDS
   ========================================= */

/* Subtle dot grid on white sections */
#produtos, #pilares, #diferenciais, #contato {
  background-image: radial-gradient(rgba(5,46,104,0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

/* Decorative gradient blobs on gray-50 sections (background-image overlays background-color) */
#noticias {
  background-image: radial-gradient(ellipse 55% 55% at 95% 5%, rgba(5,46,104,0.07) 0%, transparent 70%);
}
#agentes {
  background-image: radial-gradient(ellipse 50% 60% at 5% 95%, rgba(255,236,0,0.13) 0%, transparent 65%);
}

/* =========================================
   DIFERENCIAIS CARDS
   ========================================= */
.diff-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s;
}
.diff-card:hover {
  box-shadow: 0 10px 30px rgba(5,46,104,0.1);
  transform: translateY(-3px);
  border-color: rgba(5,46,104,0.18);
}
.diff-icon {
  width: 52px;
  height: 52px;
  background: rgba(5,46,104,0.07);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.diff-card:hover .diff-icon {
  background: var(--yellow);
  color: var(--navy);
}

/* =========================================
   AGENTES — BENEFÍCIOS
   ========================================= */
.agent-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.agent-benefit-icon {
  width: 46px;
  height: 46px;
  background: rgba(5,46,104,0.07);
  border: 1px solid rgba(5,46,104,0.1);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.agent-benefit:hover .agent-benefit-icon {
  background: var(--navy);
  color: var(--yellow);
  border-color: var(--navy);
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.trust-bar::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 5%;
  right: 5%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.11) 0%, transparent 70%);
  pointer-events: none;
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5,46,104,0.08);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 560px;
}

/* =========================================
   SHOWCASE CAROUSEL
   ========================================= */
.showcase-carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.showcase-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.showcase-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.showcase-card:hover {
  box-shadow: 0 16px 40px rgba(5,46,104,0.12);
  transform: translateY(-4px);
}
.showcase-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, #0a4fa8 100%);
  overflow: hidden;
  position: relative;
}
.showcase-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2.5rem;
}
.showcase-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e5e7eb;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s;
  z-index: 2;
}
.showcase-arrow:hover {
  background: var(--navy);
  color: var(--yellow);
  border-color: var(--navy);
}
.showcase-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.showcase-prev { left: -14px; }
.showcase-next { right: -14px; }
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(5,46,104,0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.showcase-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .showcase-card { flex: 0 0 calc(33.333% - 1rem); }
}
@media (max-width: 768px) {
  .showcase-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 480px) {
  .showcase-card { flex: 0 0 calc(85% - 0.5rem); }
}

/* =========================================
   PRODUCT CARDS
   ========================================= */
.product-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.product-card:hover {
  box-shadow: 0 20px 50px rgba(5,46,104,0.12);
  transform: translateY(-4px);
  border-color: var(--navy);
}
.product-card:hover::before {
  transform: scaleX(1);
}
.product-icon {
  width: 52px;
  height: 52px;
  background: rgba(5,46,104,0.07);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

/* =========================================
   NEWS CARDS
   ========================================= */
.news-card {
  display: block;
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  box-shadow: 0 20px 40px rgba(5,46,104,0.1);
  transform: translateY(-4px);
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-img img {
  transition: transform 0.4s ease;
}
.news-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
  position: relative;
}
.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
}

/* =========================================
   PILLARS CAROUSEL
   ========================================= */
.pillar-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.3s;
}
.pillar-card:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5,46,104,0.2);
}
.pillar-card:hover .pillar-icon {
  background: var(--yellow);
  color: var(--navy);
}
.pillar-card:hover .pillar-title,
.pillar-card:hover .pillar-text {
  color: white;
}
.pillar-icon {
  width: 64px;
  height: 64px;
  background: rgba(5,46,104,0.07);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all 0.3s;
}
.pillar-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.625rem;
  transition: color 0.3s;
}
.pillar-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.3s;
}

/* =========================================
   MISSÃO / VISÃO / VALORES CARDS
   ========================================= */
.mvv-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--yellow);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}
.mvv-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}
.mvv-num {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.mvv-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.mvv-card:hover .mvv-icon {
  transform: scale(1.08);
}
.mvv-label {
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.mvv-text {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================
   SIMULATOR
   ========================================= */
.simulator-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.simulator-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.05;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: white;
  font-size: 0.9375rem;
  transition: all 0.2s;
  outline: none;
  font-family: 'Nunito Sans', sans-serif;
  /* Garante que select nativo herde as cores */
  color-scheme: dark;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(255,236,0,0.1);
}

/* Select: seta customizada + fundo sólido navy para o menu aberto */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #0c3a7a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFEC00' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select.form-input:focus {
  background-color: #0e4189;
}

/* Opções do dropdown — cor de fundo sólida (sem transparência) */
select.form-input option {
  background-color: #0c3a7a;
  color: #ffffff;
  font-family: 'Nunito Sans', sans-serif;
  padding: 0.5rem 1rem;
}
select.form-input option:checked,
select.form-input option:hover {
  background-color: #052E68;
  color: #FFEC00;
}
.form-input-light {
  width: 100%;
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--text);
  font-size: 0.9375rem;
  transition: all 0.2s;
  outline: none;
  font-family: 'Nunito Sans', sans-serif;
}
.form-input-light:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(5,46,104,0.08);
}
.sim-result {
  background: rgba(255,236,0,0.08);
  border: 1px solid rgba(255,236,0,0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: none;
}
.sim-result.visible { display: block; animation: fadeIn 0.4s ease; }

/* =========================================
   CONTACT / AGENT SECTIONS
   ========================================= */
.contact-section { background: var(--gray-50); }

/* =========================================
   BACK TO TOP
   ========================================= */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(255, 236, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
  z-index: 999;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 236, 0, 0.55);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
}
.footer-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.375rem;
}
.footer-link:hover { color: var(--yellow); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: all 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--yellow);
  color: var(--navy);
}

/* =========================================
   NEWS MODAL
   ========================================= */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.news-modal.open { display: flex; animation: fadeIn 0.3s ease; }
.news-modal-content {
  background: white;
  border-radius: 1.5rem;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}
.news-modal-body { padding: 2.5rem; }
.news-modal-body img { max-width: 100%; border-radius: 1rem; margin: 1rem 0; }
.news-modal-body p { margin-bottom: 1rem; line-height: 1.75; color: #374151; }
.news-modal-body h2,h3 { font-family:'Nunito',sans-serif; font-weight:800; color: var(--navy); margin: 1.5rem 0 0.5rem; }

/* =========================================
   LEGAL MODALS (Política / Termos)
   ========================================= */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 20, 50, 0.65);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.legal-modal.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}
.legal-modal-box {
  background: #ffffff;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}
.legal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--navy);
  background: var(--navy);
  border-radius: 1.25rem 1.25rem 0 0;
}
.legal-modal-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
}
.legal-modal-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}
.legal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.legal-close:hover {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}
.legal-modal-body {
  padding: 2rem 2.25rem;
  overflow-y: auto;
  flex: 1;
  color: #374151;
  line-height: 1.75;
  font-size: 0.9375rem;
}
.legal-modal-body h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin-bottom: 0.75rem; }
.legal-modal-body ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  list-style: disc;
}
.legal-modal-body ul li { margin-bottom: 0.35rem; }
.legal-modal-body strong { color: var(--navy); }
.legal-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: flex-end;
}
.legal-btn {
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.625rem 1.75rem;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.legal-btn:hover { background: var(--yellow-dark); }

/* =========================================
   GRADIENT BAR
   ========================================= */
.gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, #0a4299 20%, #ffec00 60%, #4CAF50 100%);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding-top: 6rem; padding-bottom: 4rem; }
  .btn-primary, .btn-outline { padding: 0.75rem 1.5rem; font-size: 0.9375rem; }
  .section-title { font-size: 1.625rem; }
}

/* Scrollbar customizada */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #c7d2e7; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }
