:root{
  --brand:#2B76FF;
  --brand-2:#6EA2FF;

  --ink:#0B1220;
  --muted:#5B6476;

  --bg:#F8FAFF;
  --soft:#EEF4FF;

  --radius:18px;
  --shadow: 0 18px 45px rgba(0,0,0,.10);
  --shadow-soft: 0 14px 32px rgba(0,0,0,.08);

  --container: 1100px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --footer-bg: #2B76FF;
  --footer-bg-2: #6EA2FF;
}

*{ box-sizing:border-box; }

#topo{
  position: relative;
  top: -80px; /* compensar altura do header */
}

html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.45;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 12px; color:var(--muted); }

.container{
  width: min(100% - 40px, var(--container));
  margin-inline:auto;
}

.sr-only{
  position:absolute!important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  border:0;
}

/* ===== Header ===== */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(248,250,255,.86);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(43,118,255,.14);
}
.header__inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

/* ===== Brand (logo) ===== */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
}

/* (novo) marca com imagem */
.brand--img{
  gap:0;
}

.brand__logo{
  height: 45px;            /* ajuste fino */
  width:auto;
  display:block;
}

/* logo no footer (um pouco menor) */
.brand__logo--footer{
  height:40px;
}

/* Nav */
.nav{ display:flex; align-items:center; position:relative; }
.nav__toggle{
  display:none;
  border:1px solid rgba(43,118,255,.18);
  background:rgba(43,118,255,.06);
  padding:10px;
  border-radius:12px;
  cursor:pointer;
}
.hamburger{
  width:22px; height:2px;
  background:var(--ink);
  position:relative;
  display:block;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:22px; height:2px;
  background:var(--ink);
}
.hamburger::before{ top:-7px; }
.hamburger::after{ top:7px; }

.nav__list{
  list-style:none;
  display:flex;
  gap:18px;
  padding:0;
  margin:0;
}
.nav__list a{
  color:var(--ink);
  font-weight:700;
  font-size:14px;
  opacity:.9;
}
.nav__list a:hover{ color:var(--brand); }
.header__cta{ display:flex; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  font-size:14px;
  border:1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor:pointer;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background:var(--brand);
  color:#fff;
  box-shadow:0 16px 30px rgba(43,118,255,.22);
}
.btn--primary:hover{ background:var(--brand-2); }

.btn--soft{
  background:rgba(43,118,255,.10);
  color:var(--brand);
  border-color:rgba(43,118,255,.18);
}
.btn--soft:hover{ background:rgba(43,118,255,.14); }

.btn--ghost{
  background:rgba(255,255,255,.32);
  border-color:rgba(43,118,255,.22);
  color:var(--brand);
}
.btn--ghost:hover{ background:rgba(43,118,255,.08); }

.link{ color:var(--brand); font-weight:900; }

/* ===== Hero ===== */
.hero{
  position:relative;
  padding:56px 0 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,255,1));
  overflow:hidden;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:start;
  position:relative;
  z-index:2;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(43,118,255,.10);
  border:1px solid rgba(43,118,255,.18);
  color:var(--brand);
  font-weight:900;
  font-size:13px;
  margin:0 0 14px;
}
.dot{
  width:8px; height:8px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(43,118,255,.14);
}

.hero h1{
  margin:0 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.05;
  letter-spacing:-1px;
}
.accent{ color:var(--brand); }

.hero__lead{
  font-size:16px;
  max-width:56ch;
  margin-bottom:16px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 18px;
}

.hero__stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}
.stat{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(43,118,255,.14);
  border-radius:16px;
  padding:12px 14px;
  box-shadow:var(--shadow-soft);
}
.stat strong{
  display:block;
  font-size:13px;
  letter-spacing:.2px;
}
.stat span{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.hero__card .glass{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(43,118,255,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.hero__card h3{ margin:0 0 10px; font-size:16px; }
.tick{ margin:0; padding-left:18px; }
.tick li{ margin:10px 0; color:var(--muted); font-weight:700; }

.mini-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px dashed rgba(43,118,255,.24);
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.hero__wave{
  height:44px;
  background:
    radial-gradient(120px 28px at 12% 50%, rgba(43,118,255,.14), transparent 70%),
    radial-gradient(120px 28px at 50% 50%, rgba(110,162,255,.12), transparent 70%),
    radial-gradient(120px 28px at 88% 50%, rgba(43,118,255,.12), transparent 70%);
  margin-top:26px;
  position:relative;
  z-index:2;
}

/* ===== Nuvens ===== */
.clouds{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}
.cloud-svg{
  position:absolute;
  height:auto;
  fill: url(#cloudGrad);
  opacity:.95;
  filter: blur(0.6px) drop-shadow(0 24px 48px rgba(43,118,255,.12));
  animation: cloudFloat 18s ease-in-out infinite;
}

.cloud-svg--1{ top: 86px; left: -56px; width: 520px; animation-duration: 18s; }
.cloud-svg--2{ top: 122px; right: -64px; width: 640px; animation-duration: 22s; animation-delay:-4s; }
.cloud-svg--3{ bottom: 120px; left: 6%; width: 590px; animation-duration: 24s; animation-delay:-7s; }
.cloud-svg--4{ bottom: 66px; right: 10%; width: 520px; animation-duration: 20s; animation-delay:-2s; }

@keyframes cloudFloat{
  0%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(16px,-10px,0); }
  100%{ transform: translate3d(0,0,0); }
}

@media (prefers-reduced-motion: reduce){
  .cloud-svg{ animation:none !important; }
}

/* ===== Sections ===== */
.section{ padding:56px 0; scroll-margin-top: 70px; }
.section--soft{
  background: linear-gradient(180deg, rgba(238,244,255,.92), rgba(248,250,255,1));
  border-top:1px solid rgba(43,118,255,.12);
  border-bottom:1px solid rgba(43,118,255,.12);
}
.section__head{ margin-bottom:22px; }
.section__head h2{
  margin:0 0 8px;
  font-size:28px;
  letter-spacing:-.6px;
}
.section__head p{ margin:0; }

.section__head h2::before{
  content:"";
  display:inline-block;
  width:12px; height:12px;
  border-radius:999px;
  margin-right:10px;
  background:var(--brand);
  box-shadow:0 0 0 6px rgba(43,118,255,.12);
  transform: translateY(-1px);
}

/* Grid / Cards */
.grid{ display:grid; gap:14px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }

.card{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(43,118,255,.14);
  border-radius: var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft);
}
.card__icon{
  width:44px; height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(43,118,255,.10);
  border:1px solid rgba(43,118,255,.16);
  font-size:20px;
  margin-bottom:10px;
}
.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; font-weight:700; }

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.step{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(43,118,255,.14);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.step__num{
  width:36px; height:36px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  margin-bottom:10px;
  box-shadow:0 14px 26px rgba(43,118,255,.22);
}
.step h3{ margin:0 0 6px; font-size:15px; }
.step p{ margin:0; font-weight:700; }

.callout{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(43,118,255,.14), rgba(110,162,255,.10));
  border:1px solid rgba(43,118,255,.18);
}

/* ===== Carrossel ===== */
.carousel{
  position:relative;
  overflow:hidden;
  border-radius: 22px;
  padding: 6px 0;
}
.carousel::before,
.carousel::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:60px;
  pointer-events:none;
  z-index:2;
}
.carousel::before{ left:0; background: linear-gradient(90deg, var(--bg), rgba(248,250,255,0)); }
.carousel::after{ right:0; background: linear-gradient(270deg, var(--bg), rgba(248,250,255,0)); }

.carousel__track{
  display:flex;
  gap:16px;
  align-items:stretch;
  will-change: transform;
  animation: carouselScroll 28s linear infinite;
}
.carousel:hover .carousel__track{ animation-play-state: paused; }

.carousel__item{
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  flex: 0 0 auto;
  border-radius:22px;
  overflow:hidden;
  outline:1px solid rgba(43,118,255,.14);
  box-shadow: var(--shadow-soft);
}
.carousel__item img{
  width: 360px;
  height: 440px;
  object-fit: cover;
  display:block;
  transition: transform .18s ease;
}
.carousel__item:hover img{ transform: scale(1.03); }

@keyframes carouselScroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--carousel-shift, -50%)); }
}

.hint{ margin-top:12px; font-size:13px; font-weight:800; }

/* Modal */
.modal{ position:fixed; inset:0; display:none; z-index:100; }
.modal.is-open{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.55); }
.modal__panel{
  position:relative;
  width:min(920px, calc(100% - 28px));
  margin: 5vh auto 0;
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(43,118,255,.18);
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(43,118,255,.14);
}
.modal__title{ font-weight:900; color:var(--ink); }
.iconbtn{
  border:1px solid rgba(43,118,255,.18);
  background:rgba(43,118,255,.06);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.modal__img{ width:100%; max-height: 75vh; object-fit:contain; background: #0B1220; }

/* ===== Reviews ===== */
.reviews{
  display:grid;
  gap:16px;
  align-items:start;
}

.reviews__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.reviews__head h3{ margin:0 0 6px; }
.reviews__head p{ margin:0; }

.testimonials--reviews{
  grid-template-columns: repeat(3, 1fr);
}

.note{
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(43,118,255,.10);
  border:1px dashed rgba(43,118,255,.24);
}
.note strong{ display:block; margin-bottom:4px; color:var(--ink); }
.note span{ color:var(--muted); font-weight:800; font-size:13px; }

.review-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.review-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(43,118,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.review-card__stars{
  font-weight:900;
  letter-spacing:2px;
  color:#1f6bff;
  font-size:14px;
  line-height:1;
}
.review-card__text{
  margin:0;
  color:var(--ink);
  font-weight:800;
  font-size:14px;
}
.review-card__who{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:10px;
  border-top:1px dashed rgba(43,118,255,.20);
}
.avatar{
  width:40px;
  height:40px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(43,118,255,.18);
  box-shadow:0 10px 18px rgba(43,118,255,.10);
  background:rgba(43,118,255,.08);
}
.name{
  display:block;
  font-weight:900;
  font-size:13px;
  color:var(--ink);
}
.meta{
  display:block;
  color:var(--muted);
  font-weight:800;
  font-size:12px;
}

/* FAQ */
.faq{ display:grid; gap:10px; }
details{
  background:rgba(255,255,255,.90);
  border:1px solid rgba(43,118,255,.14);
  border-radius: var(--radius);
  padding:14px 16px;
  box-shadow: var(--shadow-soft);
}
summary{ cursor:pointer; font-weight:900; color:var(--ink); }
details p{ margin:10px 0 0; font-weight:700; }
.center{ margin-top:16px; display:flex; justify-content:center; }

/* Footer */
.footer{
  background: linear-gradient(180deg, var(--footer-bg), var(--footer-bg-2));
  color:#fff;
  padding:44px 0 18px;
  border-top:1px solid rgba(255,255,255,.22);
}
.footer p{ color:rgba(255,255,255,.90); font-weight:700; }
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
}
.footer__cols{ display:flex; gap:36px; }
.footer h4{ margin:0 0 10px; font-size:14px; letter-spacing:.2px; color:#fff; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer a{ color:rgba(255,255,255,.92); font-weight:800; }
.footer a:hover{ color:#fff; }

.footer__bottom{
  margin-top:22px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,.92);
  font-weight:800;
  font-size:13px;
}
.to-top{ color:#fff; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }

  .reviews-strip{ grid-template-columns: 1fr; }
  .review-grid{ grid-template-columns: 1fr; }

  .reviews__head{
    flex-direction:column;
    align-items:flex-start;
  }

  .reviews__head .btn{
    width:100%;
  }

  .testimonials--reviews{
    grid-template-columns: 1fr;
  }

  .carousel__item img{ width: 320px; height: 400px; }
  .footer__inner{ flex-direction:column; }
}

@media (max-width: 720px){
  .nav{ position: static; }
  .nav__toggle{ display:inline-flex; }
  .header__cta{ display:none; }

  .nav__list{
  position:absolute;
  top: calc(100% + 10px); /* ✅ fica logo abaixo do header */
  left: 0;                /* ✅ agora usa o header__inner como referência */
  right: 0;               /* ✅ ocupa largura toda */
  z-index: 80;            /* ✅ garante que fica por cima */
  
  flex-direction:column;
  gap:10px;
  padding:14px;
  border-radius:18px;
  background:rgba(248,250,255,.94);
  border:1px solid rgba(43,118,255,.18);
  box-shadow: var(--shadow-soft);
  display:none;
  }
  .nav__list.is-open{ display:flex; }
  .nav__list a{ padding:10px 12px; border-radius:14px; }
  .nav__list a:hover{ background:rgba(43,118,255,.10); }

  .grid--3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .hero{ padding:44px 0 18px; }

  .cloud-svg--1{ left:-40px; width:420px; }
  .cloud-svg--2{ right:-44px; width:500px; }
  .cloud-svg--3{ display:none; }
  .cloud-svg--4{ right:6%; width:420px; }

  .carousel__item img{ width: 270px; height: 340px; }

  /* logo menor no mobile */
  .brand__logo{ height:40px; }

  .callout{
    flex-direction: column;   
    align-items: flex-start;
    gap: 12px;  
  }

  .callout .btn{
    width: 100%;
  }
}
