/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40,56,102,.06);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
}
#header.scrolled {
  box-shadow: var(--shadow-sm);
}
#header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img-header {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 108px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

/* Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--gray-100); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

.btn-results {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-results:hover { background: #1e2f5c; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-200);
  gap: 4px;
}
.nav-mobile .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); }
.nav-mobile .btn-results.mobile {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
}
.nav-mobile.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
  margin-top: 72px;
  user-select: none;
  cursor: grab;
}
.hero:active { cursor: grabbing; }

/* Backgrounds — absolute stack, transition via class */
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  z-index: 0;
}
.hero-bg.active-bg { opacity: 1; }

/* Slides com foto: img cobre tudo, overlay azul-escuro por cima */
.hero-bg-0,
.hero-bg-1 {
  background: #101e3a;
}
.hero-bg-0 img,
.hero-bg-1 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(30%);
}
.hero-bg-0::after,
.hero-bg-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,30,58,.82) 40%, rgba(16,30,58,.45) 100%);
  z-index: 1;
}
.hero-bg-2 { background: #101e3a; }
.hero-bg-2 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%);
}
.hero-bg-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,30,58,.85) 40%, rgba(16,30,58,.50) 100%);
  z-index: 1;
}

/* Container: centered, full height, flex row */
.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 80px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Slides absolutely stacked inside the container */
.slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Text — left side */
.slide-text {
  flex: 1;
  min-width: 0;
}
.slide.active .slide-text {
  animation: slideIn .7s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(57,157,163,.12);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.slide-badge-light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
}

.slide-text h1 {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 20px;
}
.slide-text p {
  font-size: 17px;
  color: var(--gray-600);
  font-weight: 300;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Visual — right side */
.slide-visual {
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  position: relative;
  pointer-events: none;
}

/* Fotos sobrepostas */
.slide-visual-photo {
  width: 420px;
  height: 340px;
}
.sv-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
}
.sv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sv-back {
  width: 340px;
  height: 250px;
  top: 0;
  right: 0;
  transform: rotate(3deg);
  box-shadow: 0 16px 48px rgba(40,56,102,.18);
  z-index: 1;
  border: 3px solid rgba(255,255,255,.7);
  animation: floatBack 7s ease-in-out infinite;
}
.sv-front {
  width: 270px;
  height: 200px;
  bottom: 0;
  left: 0;
  transform: rotate(-2.5deg);
  box-shadow: 0 20px 56px rgba(40,56,102,.25);
  z-index: 2;
  border: 3px solid rgba(255,255,255,.9);
  animation: floatFront 6s ease-in-out infinite;
}
@keyframes floatBack  { 0%,100%{transform:rotate(3deg) translateY(0)}    50%{transform:rotate(3deg) translateY(-10px)} }
@keyframes floatFront { 0%,100%{transform:rotate(-2.5deg) translateY(0)} 50%{transform:rotate(-2.5deg) translateY(8px)} }
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.v1 {
  width: 210px; height: 210px;
  background: rgba(57,157,163,.08);
  border: 2px solid rgba(57,157,163,.14);
  top: 20px; right: 40px;
  animation: float1 6s ease-in-out infinite;
}
.v2 {
  width: 130px; height: 130px;
  background: rgba(57,157,163,.08);
  border: 2px solid rgba(57,157,163,.14);
  bottom: 50px; right: 180px;
  animation: float2 7s ease-in-out infinite;
}
.v3 {
  width: 85px; height: 85px;
  background: rgba(57,157,163,.08);
  border: 2px solid rgba(57,157,163,.14);
  top: 180px; right: 10px;
  animation: float3 5s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* Hero Controls */
/* Dots — base, centralizados */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(40,56,102,.2);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.dot.active { background: var(--navy); width: 24px; border-radius: 4px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 96px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-text h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-text p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  font-weight: 300;
}
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cta-actions .btn-primary { background: white; color: var(--teal-dark); }
.cta-actions .btn-primary:hover { background: var(--light); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
  font-weight: 300;
}
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--teal); color: var(--teal); background: rgba(57,157,163,.1); }

.footer-nav h4, .footer-contact h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  padding: 7px 0;
  transition: var(--transition);
  font-weight: 300;
}
.footer-nav a:hover { color: white; }

.footer-contact { display: flex; flex-direction: column; gap: 0; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  padding: 7px 0;
  font-weight: 300;
  line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--teal); }
.footer-results-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-light);
  border: 1px solid rgba(57,157,163,.4);
  padding: 10px 18px;
  border-radius: 50px;
  margin-top: 16px;
  transition: var(--transition);
  width: fit-content;
}
.footer-results-btn:hover { background: rgba(57,157,163,.1); border-color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.footer-bottom-inner a { color: rgba(255,255,255,.5); }
.footer-bottom-inner a:hover { color: var(--teal); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
/* =============================================
   FLOATING BUTTONS (WhatsApp + Back to Top)
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* =============================================
