/* ─── HEADER – novo layout: logo | nav | cta ────────── */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Logo esquerda */
.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 62px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Nav central */
.nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

/* Botão CTA direita */
.header-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #1aad52);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 11px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(37,211,102,.38);
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #1fbc58, #178a41);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
  transform: translateY(-2px);
}

/* ─── HERO SLIDER ──────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
}

/* Cada slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

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

/* Background da imagem */
.hero-slide-bg {
  position: absolute;
  inset: 0;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay escuro gradiente */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 18, 35, 0.85) 0%,
    rgba(5, 18, 35, 0.55) 55%,
    rgba(5, 18, 35, 0.15) 100%
  );
}

/* Conteúdo (texto + botões) de cada slide */
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 40px 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
}

/* Título do hero */
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-title-highlight {
  color: #4ecca3;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  margin-bottom: 12px;
}

/* Dois botões no slide */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ─── Setas do slider ──────────────────────────────── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  padding: 0;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev { left: 22px; }
.hero-arrow-next { right: 22px; }

/* Remover setas no mobile */
@media (max-width: 900px) {
  .hero-arrow {
    display: none;
  }
}

/* ─── RESPONSIVE HEADER ────────────────────────────── */
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 20px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .nav-center {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }
}

/* ─── Dropdown TRATAMENTOS (display:none/block) ────── */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Painel oculto por padrão */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a3a5c;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  min-width: 230px;
  padding: 6px 0;
  z-index: 9999;
  border-top: 3px solid #25c67a;
}

/* Setinha decorativa */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 9px solid #25c67a;
}

/* Mostrar no hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* Mostrar quando ativo (por clique) */
.dropdown-menu.active {
  display: block;
}

/* Itens do dropdown */
.dropdown-item {
  display: block;
  padding: 11px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, padding-left 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(37, 198, 122, 0.15);
  color: #4ecca3;
  padding-left: 24px;
}

.dropdown-item:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ─── Dots do slider ───────────────────────────────── */
.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-dot.active {
  background: #4ecca3;
  border-color: #4ecca3;
  width: 30px;
  border-radius: 5px;
}

.hero-dot:hover {
  background: rgba(255,255,255,0.75);
}

/* ─── Footer Glow Card - Quadrado Moderno com Alto Relevo ─────────────────────────────── */
.footer-glow-card {
  height: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfa 100%);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow:
    0 0 0 1px rgba(37,198,122,0.12),
    0 2px 8px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.10),
    0 0 40px rgba(37,198,122,0.20),
    0 0 80px rgba(37,198,122,0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.footer-glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,198,122,0.3), transparent);
  pointer-events: none;
}

.footer-glow-card:hover {
  box-shadow:
    0 0 0 1px rgba(37,198,122,0.20),
    0 4px 12px rgba(0,0,0,0.06),
    0 12px 32px rgba(0,0,0,0.14),
    0 0 50px rgba(37,198,122,0.30),
    0 0 100px rgba(37,198,122,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transform: translateY(-4px);
}

.footer-glow-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.footer-glow-desc {
  font-size: 0.85rem;
  color: #3a5568;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.footer-glow-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.footer-glow-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #2d4a3e;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-glow-contact-item svg {
  color: #25c67a;
  flex-shrink: 0;
}

.footer-glow-contact-item:hover {
  color: #25c67a;
  transform: translateX(2px);
}

/* Botão WhatsApp verde nos socials do footer card */
.social-btn-wa {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
}

.social-btn-wa:hover {
  background: #1aad52 !important;
  border-color: #1aad52 !important;
  transform: translateY(-2px);
}

/* Ícones sociais no footer card - cores visíveis */
.footer-glow-card .social-btn {
  background: rgba(37, 198, 122, 0.12) !important;
  border: 1.5px solid rgba(37, 198, 122, 0.25) !important;
  color: #25c67a !important;
  transition: all 0.25s ease;
}

.footer-glow-card .social-btn:hover {
  background: #25c67a !important;
  border-color: #25c67a !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(37, 198, 122, 0.35);
}

.footer-glow-card .social-btn svg {
  color: currentColor;
}
