:root{
  --bg:#070a13;
  --panel:#0b1022;
  --panel2:#0d1633;
  --text:#eaf0ff;
  --muted:#aab6db;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 60px rgba(0,0,0,.35);
  --brand:#297295;
  --brand2:#33a3b0;
  --danger:#ef4444;
  --radius:18px;
  --radius2:26px;
  --container:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit}
img{max-width:100%;display:block}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(14px);
  filter:blur(0.2px);
  transition:opacity .6s ease, transform .6s ease, filter .6s ease;
  will-change:opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
  filter:blur(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;filter:none;transition:none}
}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:16px;top:16px;width:auto;height:auto;z-index:9999;
  background:rgba(255,255,255,.12);
  border:1px solid var(--line);
  padding:10px 12px;border-radius:12px;
  backdrop-filter:blur(10px);
}

.site-header{
  position:sticky;top:0;z-index:50;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(7,10,19,.55);
  backdrop-filter:blur(14px);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex;gap:12px;align-items:center;min-width:0}
.brand-logo{
  display:block;
  height:40px;
  width:auto;
  max-width:min(260px, 52vw);
  object-fit:contain;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.25));
}

.header-actions{display:flex;gap:10px;align-items:center}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  font-weight:700;
  border-radius:14px;
  padding:10px 14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  text-decoration:none;
  transition:transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08)}
.btn:active{transform:translateY(0)}
.btn:focus-visible{outline:2px solid rgba(41,114,149,.75);outline-offset:2px}

.btn-primary{
  border-color:rgba(41,114,149,.55);
  background:linear-gradient(135deg, rgba(41,114,149,.98), rgba(22,163,189,.92));
  box-shadow:0 18px 50px rgba(41,114,149,.18);
}
.btn-primary:hover{background:linear-gradient(135deg, rgba(41,114,149,1), rgba(22,163,189,1))}

.btn-ghost{
  background:transparent;
}

.btn-lg{padding:12px 16px;border-radius:16px}
.btn-block{width:100%}

.pill{
  display:inline-flex;align-items:center;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}

.hero{
  position:relative;
  padding:54px 0 26px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:-120px;
  background:transparent;
  pointer-events:none;
  display:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.35fr .9fr;
  gap:28px;
  align-items:start;
}
.hero-copy h1{
  font-size:46px;
  letter-spacing:-.02em;
  line-height:1.05;
  margin:14px 0 14px;
}
.lead{font-size:18px;color:var(--muted);max-width:58ch;margin:0}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

.trust-row{
  display:flex;gap:18px;flex-wrap:wrap;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.07);
}
.trust-item{min-width:160px}
.trust-kpi{display:block;font-weight:800;font-size:18px}
.trust-label{display:block;color:var(--muted);font-size:13px}

.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:var(--shadow);
}
.hero-media{padding:14px}
.hero-image{
  width:100%;
  height:auto;
  border-radius:calc(var(--radius2) - 8px);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.hero-media-actions{margin-top:12px}
.hero-card-top{margin-bottom:12px}
.h3{font-size:18px;margin:0 0 8px}
.h4{font-size:16px;margin:0 0 8px}
.h5{font-size:14px;margin:0 0 6px}
.muted{color:var(--muted)}
.fineprint{font-size:12px;color:rgba(234,240,255,.72);margin:12px 0 0}

.checklist{
  list-style:none;padding:0;margin:0;
  display:grid;gap:10px;
}
.checklist li{
  position:relative;
  padding-left:26px;
  color:rgba(234,240,255,.92);
}
.checklist li::before{
  content:"✓";
  position:absolute;left:0;top:0;
  width:18px;height:18px;border-radius:6px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#0b1022;
  background:linear-gradient(135deg, rgba(51,163,176,1), rgba(41,114,149,1));
  font-weight:900;
}

.card-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.card-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(41,114,149,.22), rgba(255,255,255,.05));
}
.card-icon svg{
  width:20px;
  height:20px;
  color:#fff;
}

.section{padding:56px 0}
.section-alt{
  background:transparent;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section-head{max-width:72ch;margin-bottom:22px}
.section-head h2{
  margin:0 0 10px;
  font-size:30px;
  letter-spacing:-.015em;
  line-height:1.15;
}

.grid{display:grid;gap:14px}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4, minmax(0,1fr))}

.card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:16px;
}
.card-soft{
  background:rgba(255,255,255,.03);
}
.card-highlight{
  background:linear-gradient(135deg, rgba(41,114,149,.14), rgba(51,163,176,.10));
  border-color:rgba(41,114,149,.18);
}

.bullets{margin:0;padding-left:18px;color:rgba(234,240,255,.92)}
.bullets li{margin:8px 0}

.feature{
  padding:16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
}
.icon{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  margin-bottom:10px;
}
.icon-svg{display:none}

.cta-row{
  margin-top:20px;
  display:flex;justify-content:center;
}

.steps{
  list-style:none;padding:0;margin:0;
  display:grid;gap:12px;
}
.step{
  display:flex;gap:14px;align-items:flex-start;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:16px;
}
.step-num{
  width:56px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  background:linear-gradient(135deg, rgba(41,114,149,.98), rgba(34,197,94,.78));
  color:#06101c;
}
.step-body p{margin:0}

.form-wrap{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:start;
}
.info-box{
  margin-top:12px;
  padding:14px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.lead-form{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:var(--shadow);
}
.field{display:grid;gap:8px;margin-bottom:14px}
label{font-weight:700;font-size:13px;color:rgba(234,240,255,.92)}
input,select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(7,10,19,.45);
  color:var(--text);
  outline:none;
}
input::placeholder{color:rgba(170,182,219,.7)}
input:focus,select:focus{
  border-color:rgba(41,114,149,.60);
  box-shadow:0 0 0 4px rgba(41,114,149,.16);
}

.error{
  margin:0;
  min-height:16px;
  font-size:12px;
  color:rgba(239,68,68,.92);
}
.form-success{
  margin-top:12px;
  border:1px solid rgba(34,197,94,.30);
  background:rgba(34,197,94,.10);
  padding:12px;border-radius:14px;
}

.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:22px 0 34px;
  background:rgba(7,10,19,.35);
}
.footer-inner{
  display:flex;justify-content:space-between;align-items:center;
  gap:14px;flex-wrap:wrap;
}
.footer-left{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-logo{
  height:34px;
  width:auto;
  max-width:min(240px, 70vw);
  object-fit:contain;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.25));
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-copy h1{font-size:40px}
  .grid-4{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(2, minmax(0,1fr))}
  .form-wrap{grid-template-columns:1fr}
}

/* Mobile / touch-only overrides (não afeta desktop) */
@media (max-width: 980px) and (hover: none) and (pointer: coarse){
  /* Centralizar conteúdo */
  .hero,
  .section,
  .site-footer{
    text-align:center;
  }

  .header-inner{
    justify-content:center;
    gap:12px;
  }

  .hero-ctas{
    justify-content:center;
  }
  .trust-row{
    justify-content:center;
  }

  /* Ordem da Hero: H1 -> imagem -> lead -> botão principal */
  .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
  }
  .hero-copy{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .hero-copy h1{order:1}
  .hero-media{order:2; width:100%; max-width:520px}
  .hero-copy .lead{order:3}
  .hero-copy .hero-ctas{order:4; width:100%}
  .hero-copy .pill{order:5}
  .hero-copy .trust-row{order:6}

  /* Mostrar só o CTA principal */
  .hero-ctas .btn-ghost{display:none}
  .hero-ctas .btn-primary{width:100%; max-width:420px}

  /* Listas centralizadas */
  .checklist,
  .bullets{
    display:grid;
    justify-content:center;
  }
  .checklist li,
  .bullets li{
    text-align:left;
    max-width:34ch;
  }

  /* Mobile-only: seção "A solução completa do nosso produto"
     Título centralizado, conteúdo alinhado à esquerda */
  #solucao .section-head{
    text-align:center;
  }
  #solucao .grid,
  #solucao .card{
    text-align:left;
  }
  #solucao .card-title{
    justify-content:flex-start;
  }
  #solucao .checklist{
    justify-content:start;
  }
  #solucao .checklist li{
    max-width:none;
    text-align:left;
  }

  /* Mobile-only: rodapé - centralizar somente a logo */
  .footer-left{width:100%}
  .footer-logo{margin:0 auto}

  /* Mobile-only: Benefícios - ícone acima e título centralizado */
  #beneficios .card-title{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  /* Mobile-only: "Isso aqui faz sentido..." trocar emojis por SVG branco e centralizar */
  #faz-sentido .feature{
    text-align:center;
  }
  #faz-sentido .icon{
    margin-left:auto;
    margin-right:auto;
  }
  #faz-sentido .icon-emoji{display:none}
  #faz-sentido .icon-svg{
    display:block;
    width:20px;
    height:20px;
    color:#fff;
  }

  /* Mobile-only: #solucao - manter textos dos cards à esquerda */
}

@media (max-width: 560px){
  .container{width:min(var(--container), calc(100% - 28px))}
  .header-actions .btn-ghost{display:none}
  .brand-logo{height:34px;max-width:64vw}
  .hero{padding:40px 0 18px}
  .hero-copy h1{font-size:34px}
  .lead{font-size:16px}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .trust-item{min-width:unset}

  /* Mobile-only: centralizar conteúdo */
  .hero,
  .section,
  .site-footer{
    text-align:center;
  }

  .header-inner{
    justify-content:center;
    gap:12px;
  }
  .header-actions{
    gap:10px;
  }

  .hero-ctas{
    justify-content:center;
  }
  .trust-row{
    justify-content:center;
  }

  /* Mobile-only: ordem da Hero
     H1 -> imagem -> texto (lead) -> botão "Quero saber mais" */
  .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
  }

  .hero-copy{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .hero-copy h1{order:1}
  .hero-media{order:2; width:100%; max-width:520px}
  .hero-copy .lead{order:3}
  .hero-copy .hero-ctas{order:4; width:100%}
  .hero-copy .pill{order:5}
  .hero-copy .trust-row{order:6}

  /* Deixar apenas o CTA principal visível no mobile */
  .hero-ctas .btn-ghost{display:none}
  .hero-ctas .btn-primary{width:100%; max-width:420px}

  /* Listas centralizadas (sem alterar desktop) */
  .checklist,
  .bullets{
    display:grid;
    justify-content:center;
  }
  .checklist li,
  .bullets li{
    text-align:left;
    max-width:34ch;
  }

  /* Mobile-only: seção "A solução completa do nosso produto"
     Título centralizado, conteúdo alinhado à esquerda */
  #solucao .section-head{
    text-align:center;
  }
  #solucao .grid,
  #solucao .card{
    text-align:left;
  }
  #solucao .card-title{
    justify-content:flex-start;
  }
  #solucao .checklist{
    justify-content:start;
  }
  #solucao .checklist li{
    max-width:none;
    text-align:left;
  }

  /* Mobile-only: rodapé - centralizar somente a logo */
  .footer-left{width:100%}
  .footer-logo{margin:0 auto}

  /* Mobile-only: Benefícios - ícone acima e título centralizado */
  #beneficios .card-title{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  /* Mobile-only: "Isso aqui faz sentido..." trocar emojis por SVG branco e centralizar */
  #faz-sentido .feature{
    text-align:center;
  }
  #faz-sentido .icon{
    margin-left:auto;
    margin-right:auto;
  }
  #faz-sentido .icon-emoji{display:none}
  #faz-sentido .icon-svg{
    display:block;
    width:20px;
    height:20px;
    color:#fff;
  }

  /* Mobile-only: #solucao - manter textos dos cards à esquerda */
}
