/* ===== VARIÁVEIS / PALETA AZUL E BRANCO ===== */
:root {
  --azul: #1e6bff;
  --azul-escuro: #0a3fc4;
  --azul-profundo: #07246e;
  --azul-claro: #eaf1ff;
  --branco: #ffffff;
  --texto: #1a2436;
  --texto-suave: #5a6478;
  --borda: #e3e9f5;
  --sombra: 0 18px 40px -12px rgba(10, 63, 196, 0.18);
  --raio: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

img, svg { display: block; }

a { text-decoration: none; color: inherit; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--azul);
  color: var(--branco);
  box-shadow: 0 10px 24px -8px rgba(30, 107, 255, 0.6);
}
.btn--primary:hover { background: var(--azul-escuro); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}
.btn--ghost:hover { background: var(--azul-claro); transform: translateY(-2px); }

/* ===== CABEÇALHO ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { border-radius: 12px; }
.logo__text { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--azul-profundo); }
.logo__text strong { color: var(--azul); font-weight: 800; }
.logo__text--light { color: var(--branco); }
.logo__text--light strong { color: #9bc0ff; }

/* ===== NAVEGAÇÃO ===== */
.nav__list { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__list a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--texto);
  transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--azul-claro); color: var(--azul); }
.nav__cta {
  background: var(--azul);
  color: var(--branco) !important;
}
.nav__cta:hover { background: var(--azul-escuro) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--azul-profundo);
  border-radius: 2px;
  transition: .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--azul-claro) 0%, var(--branco) 100%);
  padding: 90px 0 100px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}
.badge {
  display: inline-block;
  padding: 7px 16px;
  background: var(--branco);
  color: var(--azul);
  font-size: .85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--borda);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--azul-profundo);
  margin-bottom: 22px;
}
.hero__title span { color: var(--azul); }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--texto-suave);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visual decorativo do hero */
.hero__visual { position: relative; height: 360px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb--1 {
  width: 260px; height: 260px;
  background: radial-gradient(circle at 30% 30%, var(--azul), var(--azul-escuro));
  top: 30px; right: 20px;
  opacity: .9;
  animation: float 6s ease-in-out infinite;
}
.orb--2 {
  width: 130px; height: 130px;
  background: radial-gradient(circle at 30% 30%, #6ea3ff, var(--azul));
  bottom: 20px; left: 10px;
  animation: float 5s ease-in-out infinite reverse;
}
.card-float {
  position: absolute;
  bottom: 60px; right: 70px;
  background: var(--branco);
  padding: 18px 20px;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 7s ease-in-out infinite;
}
.card-float__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
}
.card-float__lines { display: flex; flex-direction: column; gap: 6px; }
.card-float__lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--azul-claro);
}
.card-float__lines span:nth-child(1) { width: 90px; }
.card-float__lines span:nth-child(2) { width: 60px; }
.card-float__lines span:nth-child(3) { width: 75px; }

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

/* ===== DIFERENCIAIS ===== */
.features { padding: 70px 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.feature__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--azul-claro);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.2rem; color: var(--azul-profundo); margin-bottom: 8px; }
.feature p { color: var(--texto-suave); }

/* ===== TÍTULOS DE SEÇÃO ===== */
.section-tag {
  display: inline-block;
  color: var(--azul);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-tag--light { color: #9bc0ff; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--azul-profundo);
  margin-bottom: 22px;
}
.section-title--light { color: var(--branco); }

/* ===== SOBRE ===== */
.about { padding: 80px 0; background: var(--azul-claro); }
.about__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: center;
}
.about__text p { color: var(--texto-suave); margin-bottom: 16px; font-size: 1.05rem; }
.about__text strong { color: var(--texto); }
.about__list { list-style: none; margin-top: 24px; }
.about__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-weight: 500;
}
.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px; height: 22px;
  background: var(--azul);
  color: var(--branco);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}
.about__stats { display: grid; gap: 18px; }
.stat {
  background: var(--branco);
  border-radius: var(--raio);
  padding: 26px;
  text-align: center;
  box-shadow: var(--sombra);
}
.stat__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
}
.stat__label { color: var(--texto-suave); font-size: .95rem; }

/* ===== CONTATO ===== */
.contact {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-profundo));
  text-align: center;
}
.contact__lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}
.contact__email {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--branco);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 16px 32px;
  border-radius: var(--raio);
  margin-bottom: 30px;
  transition: background .2s;
}
.contact__email:hover { background: rgba(255, 255, 255, 0.2); }
.contact__action { display: flex; justify-content: center; }

/* ===== RODAPÉ ===== */
.footer { background: var(--azul-profundo); padding: 40px 0 28px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.footer__links a:hover { color: var(--branco); }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__copy { color: rgba(255, 255, 255, 0.6); font-size: .9rem; }
.footer__cnpj { color: rgba(255, 255, 255, 0.6); font-size: .9rem; }
.footer__mail { color: #9bc0ff; font-weight: 500; }
.footer__mail:hover { color: var(--branco); }

/* ===== PÁGINAS LEGAIS (Privacidade / Termos) ===== */
.legal {
  background: linear-gradient(180deg, var(--azul-claro) 0%, var(--branco) 220px);
  padding: 60px 0 80px;
}
.legal__header { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--azul);
  font-weight: 600;
  margin-bottom: 22px;
}
.legal__back:hover { text-decoration: underline; }
.legal__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--azul-profundo);
  margin-bottom: 10px;
}
.legal__updated { color: var(--texto-suave); font-size: .95rem; }
.legal__content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 44px 48px;
  box-shadow: var(--sombra);
}
.legal__content h2 {
  font-size: 1.3rem;
  color: var(--azul-profundo);
  margin: 32px 0 12px;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p { color: var(--texto-suave); margin-bottom: 14px; }
.legal__content ul { color: var(--texto-suave); margin: 0 0 14px 22px; }
.legal__content li { margin-bottom: 8px; }
.legal__content a { color: var(--azul); font-weight: 500; }
.legal__content a:hover { text-decoration: underline; }
.legal__content strong { color: var(--texto); }

@media (max-width: 520px) {
  .legal__content { padding: 30px 22px; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 860px) {
  .hero__inner, .about__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .features__grid { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }
  .nav__list {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--branco);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--borda);
    box-shadow: var(--sombra);
    /* Estado fechado: totalmente escondido, sem sombra vazando e sem clique */
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__list a { text-align: center; padding: 14px; }
}

@media (max-width: 520px) {
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__legal { flex-direction: column; text-align: center; }
  .hero { padding: 60px 0 70px; }
}
