* { margin:0; padding:0; box-sizing:border-box }
    :root {
      --gradient-bg: #141125;
      --white: #fff;
      --text-light: rgba(255,255,255,0.9);
      --blur-bg: rgba(0,0,0,0.4);
      --btn-bg: #1A3DFF;
      --btn-hover: #1631cc;
      --font: 'Inter', sans-serif;
      --card-gap-hover: 36px; 
    }
    body {
      font-family: var(--font);
      background: var(--gradient-bg);
      color: var(--text-light);
      line-height:1.5;
    }

    .container{
      margin: 0 auto;
      max-width: 1440px;
    }

    html{
      scroll-behavior: smooth;
    }
    a { color: inherit; text-decoration:none }
    ul { list-style:none }

     .hero {
      padding:11rem 2rem 0 2rem;
      min-height:100vh;
      display:flex;
      flex-direction:column;
      align-items:center;
      text-align:center;
      position:relative;
      background: linear-gradient(180deg,rgba(20, 17, 37, 1) 0%, rgba(39, 44, 148, 1) 41%, rgba(20, 17, 37, 1) 96%);
    }
    .hero-content {
      max-width: 1440px;
      z-index:1;

    }
    .hero-content h1 {
      font-size:2.5rem;
      margin-bottom: .8rem;
      color:var(--white);
    }
    .hero-content p {
      font-size:1rem;
      margin-bottom:2.25rem;;
    }
    .hero-content a{
      margin-bottom: 2.8125rem;;
    }
    .btn-primary {
      display:inline-block;
      padding:0.75rem 1.5rem;
      background:var(--btn-bg);
      color:#fff;
      border-radius:24px;
      font-weight:500;
      transition:background .2s;
    }

    .btn-secondary {
      padding: 0.75rem 1.5rem;
      background-color: rgba(58, 44, 255, 0.37);
      color: #1A3DFF;
      font-weight: 500;
      border-radius: 24px;
      transition: translate .5s;
    }

    .btn-primary:hover {
      background:var(--btn-hover);
      transform: translateY(-2px);
    }

    .btn-secondary:hover{
      background-color: rgba(58, 44, 255, 0.589);
      color: #98a7ff;
    }

    .hero-image {
      flex:1;
      display:flex;
      align-items:flex-end;
      justify-content:center;
      width:100%;
      margin-bottom:2rem;
    }
    .hero-image img {
      max-width:90%;
      height:auto;
      user-select:none;
    }

    /* responsive */
    @media(max-width:992px) {
      .main-nav { display:none }
      .hero-content h1 { font-size:2rem }
      .hero-image img { max-width:100% }

      .hero .container {
      display: flex;
      flex-direction: column-reverse; /* coloca .hero-image antes do .hero-content */
      align-items: center;
      gap: 1.25rem;
    }
    } 
 
 .site-header {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      z-index: 1000;
      backdrop-filter: blur(6px);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .top-bar {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 0.5rem 2rem;
      background: rgba(0,0,0,0.4);
      font-size: 0.875rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      transition: transform 0.3s ease;
      will-change: transform;
    }

    .top-bar.hidden{
      transform: translateY(-100%);
    }

    .top-link {
      color: #fff;
      margin-left: 1.5rem;
      text-decoration: none;
    }
    .social-link {
      color: #fff;
      margin-left: 1rem;
      font-size: 1rem;
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      background: rgba(0,0,0,0.4);
    }


    .nav-link {
      color: var(--text-light);
      font-size: 16px;
      line-height: 20px;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      padding-bottom: 2px;
      transition: border-color 0.3s;
    }

    .nav-link:hover {
      border-color: var(--text-light);
    }

    .logo {
      color: #fff;
      font-size: 1.5rem;
      font-weight: 600;
    }
    .main-nav {
      display: flex;
      gap: 2rem;
    }
    .main-nav a {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
    }

     .whatsapp-nav-btn {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #fff;
      border: 0.5px solid #fff;
      border-radius: 48px;
      padding: 0.5rem 1rem;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s, color 0.3s;
    }
    .whatsapp-nav-btn:hover {
      background: #fff;
      color: #000;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      background: none;
      border: none;
      cursor: pointer;
    }
    .hamburger span {
      display: block;
      height: 2px;
      background: #fff;
      border-radius: 1px;
    }

@media (max-width: 992px) {
  .top-bar { display: none; }
  .main-nav,
  .btn-whatsapp { display: none; }
  /* .main-nav.active { display: flex; flex-direction: column; } */

    /* Corrige classe do botão do WhatsApp no mobile (e limpa o top-bar) */
  .top-bar { display: none; }
  .whatsapp-nav-btn { display: none; } /* <-- seu CSS usava .btn-whatsapp; ajuste aqui */

  /* Header flutuante com glassmorphism */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: calc(100% - 1.5rem);
    margin: .75rem auto 0;
    border-radius: 16px;
    backdrop-filter: blur(12px) saturate(120%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transform: translateY(0); /* controlado via JS */
    transition: transform .3s ease, background .3s ease;
    z-index: 1000;
  }
  .site-header.hide { transform: translateY(-140%); }
  .site-header.show { transform: translateY(0); }

  /* Barra principal compacta */
  .nav-bar {
    position: relative;
    padding: .75rem 1rem;
    background: transparent; /* usamos o fundo do header */
  }

  /* Força a main-nav a existir (não "display:none") no mobile */
  .site-header .main-nav { 
    display: flex;
  }

  /* Dropdown da nav */
  .main-nav {
    position: absolute;
    top: calc(100% + .5rem);
    left: .5rem;
    right: .5rem;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: .5rem 0;
    overflow: hidden;

    /* fechado por padrão */
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transition: max-height .3s ease, opacity .2s ease;
  }
  .site-header.mobile-open .main-nav {
    max-height: 320px;   /* ajuste se tiver mais itens */
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: .875rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-link:last-child { border-bottom: 0; }

  /* Hambúrguer visível e com animação de "X" */
  .hamburger { 
    display: flex;
    width: 28px; height: 22px;
    flex-direction: column; justify-content: space-between;
    z-index: 1001; /* acima do dropdown */
  }
  .hamburger span { 
    height: 2px; background: #fff; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}


/* 88px entre todas as seções e o footer */
.header, section, .cta, footer {
  /* zera margens verticais pra garantir consistência */
  margin: 0;
}
.header + section,
section + section,
section + .cta,
section + footer {
  margin-top: 88px;
}


.features {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem 0 2rem;
  background: transparent; /* herda background escuro do pai */
  color: #fff;
  text-align: center;
}
.features__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.features__card {
  background: #1F1B4B;
  border: 1px solid rgba(17, 0, 255, 0.596);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  gap: .8rem;
}
.features__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.features__header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.features__icon {
  width: 40px;
  height: 40px;
  background: rgba(26,61,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: var(--primary);
}
.features__heading {
  font-size: 1.125rem;
  font-weight: 600;
}
.features__desc {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.features__small {
  font-weight: bold;
  font-size: 0.8rem;
  color: rgb(255, 255, 255);
}

/* responsivo: 2 colunas e depois 1 */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features {
    padding: 3rem 1rem;
  }
  .features__grid {
    margin: 0 2rem;
    grid-template-columns: 1fr;
  }
  .features__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}
.needs {
  padding: 4rem 2rem 0 2rem;
  background: linear-gradient(180deg,rgba(39, 44, 148, 1) 0%, rgba(20, 17, 37, 1) 47%);
}
.needs__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #1F1B4B;
  border: 1px solid rgba(17, 0, 255, 0.596);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.needs__image {
  flex: 1 1 0;
}
.needs__image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.needs__content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}
.needs__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.needs__intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}
.needs__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.needs__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}
.needs__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid #1A3DFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: var(--primary);
  font-size: 0.8rem;
}
.needs__btn {
  align-self: flex-start;
  margin-top: auto;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .needs__inner {
    flex-direction: column;
  }
  .needs__image,
  .needs__content {
    width: 100%;
  }
  .needs__btn {
    margin-top: 1rem;
  }
}

/* container */
.segments { 
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0 2rem;
}
.segments__title {
  text-align: center;
  font-size: clamp(1.5rem, 2.2vw + .5rem, 2rem);
  margin-bottom: 1.5rem;
}

/* Grid flex com centralização e quebra fluida */
.segments__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  padding: 1rem 0;
}

/* Each card: fixed rem dimensions + glass overlay + hover */
.segment-card {
  position: relative;
  flex: 0 0 27.9375rem;  /* exactly 447px */
  height: 21rem;         /* exactly 336px */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}
/* 80% tint of #1F1A37 */
.segment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 55, 0.8);
  transition: background 0.3s;
}
.segment-card:hover::before {
  background: rgba(31, 26, 55, 0.95);
}

/* Title centered over image */
.segment-card__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 2.1rem;
  z-index: 1;
  text-align: center;
}

/* Hidden description that fades in on hover */
.segment-card__desc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  z-index: 1;
}

.segment-card:hover .segment-card__title{
  top: 25%;
  transform: translate(-50%, -50%);
}

.segment-card:hover .segment-card__desc {
  opacity: 1;
  margin-bottom: 1.5rem;
}

/* RESPONSIVE */
/* if the viewport can’t fit 3 cards of 447px + gaps, it’ll drop to 2, then 1, always centering */
@media (max-width: 950px) {
 .segments { padding: 0 1.5rem; }
  .segment-card { flex-basis: clamp(300px, 48%, 520px); }
}
@media (max-width: 640px) {
  .segment-card {
    flex: 0 0 90%; /* one card per row with side padding */
  }
}


.site-footer {
  background: black;
  color: var(--text-light);
  padding: 2rem;
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  min-width: 200px;
}

.footer-left .footer-logo {
  max-width: 120px;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-company {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.external-link {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-company:hover .external-link {
  opacity: 1;
}

.footer-nav {
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  color: var(--text-light);
  font-size: 16px;
  line-height: 20px;
  margin: 0 32px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.footer-nav a:hover {
  border-color: var(--text-light);
}

.footer-right .footer-link {
  display: block;
  color: grey;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s;
}
.footer-right .footer-link:hover {
  opacity: 0.8;
}

.footer-social {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
.social-icon {
  color: var(--text-light);
  font-size: 1.25rem;
  transition: opacity 0.3s;
}
.social-icon:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  opacity: 0.6;
}

@media (max-width: 728px) {
  .site-footer {
    padding: 1.25rem 1rem 1.5rem;
    font-size: 1rem; /* melhora legibilidade */
  }

  /* Layout empilhado, com respiro entre blocos */
  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem;
    justify-items: center;
  }

  .footer-col { min-width: 0; }

  .footer-left .footer-logo {
    max-width: 140px;
    margin-bottom: .5rem;
  }

  .footer-company {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .5rem .75rem;             /* área de toque maior */
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
  }

  /* Links de navegação como "botões" empilhados */
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0 0;
  }
  .footer-nav a,
  .footer-right{
    display: block;
    margin: 0;                          /* override do desktop */
    padding: .75rem 1rem;               /* ~44px de altura mínima */
    min-height: 44px;                   /* alvo de toque recomendado */
    line-height: 1.3;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255, 255, 255, 0.1);
    transition: background .2s, border-color .2s;
    align-items: center;
  }
  .footer-nav a:hover,
  .footer-right .footer-link:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
  }

  /* Estado de foco claro para teclado/leitores */
  .footer-nav a:focus-visible,
  .footer-right .footer-link:focus-visible,
  .footer-company:focus-visible,
  .social-icon:focus-visible {
    outline: 3px solid var(--btn-bg);
    outline-offset: 2px;
    border-color: transparent;
  }

  /* Bloco de links da direita também empilhado e com boa área de toque */
  .footer-right { display: flex; flex-direction: column; gap: .5rem; }

  /* Ícones sociais grandes e tocáveis */
  .footer-social {
    margin-top: .5rem;
    display: flex;
    gap: .75rem;
  }
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;          /* alvo de toque 48x48 */
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    transition: background .2s, transform .1s;
  }
  .social-icon i { font-size: 1.25rem; }
  .social-icon:hover { background: rgba(255,255,255,0.14); }
  .social-icon:active { transform: scale(0.97); }

  .footer-bottom {
    margin-top: 1rem;
    font-size: .875rem;
    opacity: .75;
  }
}
/* ========== CTA “Contratar” ========== */

.cta-container{
  padding: 0 2rem;
}

.cta {
  background: #1013BA;      /* #1A3DFF */
  border-radius: 1rem;             /* arredonda os cantos */
  padding: 4rem 2rem;
  margin: 0 auto;               /* espaço acima/abaixo */
  max-width: 1200px;               /* centraliza o conteúdo */
  color: var(--text-light);        /* #ffffff */
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta__title {
  font-size: 2rem;
  margin: 0;
  font-weight: 600;
}

.cta__text {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.cta__btn {
  display: inline-block;
  padding: 0.75rem 4rem;
  background: #ffffff;
  color: #1013BA;
  font-weight: 600;
  border-radius: 24px;
  font-size: 1.2rem;
  transition: 
    background 0.3s ease, 
    transform 0.2s ease;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  .cta {
    padding: 3rem 1rem;
  }
  .cta__title {
    font-size: 1.75rem;
  }
  .cta__text {
    font-size: 0.95rem;
    max-width: 100%;
  }
}

/* ------------------------------------
   keyframes
   ---------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------
   classes utilitárias
   ---------------------------------- */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 0.6s ease-out;
}
.animate--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------
   Hero
   ---------------------------------- */
.hero .hero-content {
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}
.hero .hero-image img {
  opacity: 0;
  transform: scale(1);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* ------------------------------------
   Scroll-animations
   ---------------------------------- */
.features__card,
.needs__inner,
.segment-card,
.plan-card {
  will-change: opacity, transform;
}

