:root{
  --bg: #0b0d12;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --accent: #0b5cff;
  --accent2: #61d6ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --container: 1120px;
}

html[data-theme="light"]{
  --bg: #f6f7fb;
  --panel: rgba(0,0,0,.05);
  --panel2: rgba(0,0,0,.08);
  --text: rgba(10,12,18,.92);
  --muted: rgba(10,12,18,.68);
  --line: rgba(0,0,0,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

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

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.skip{
  position:absolute; left:-999px; top:auto;
  width:1px;height:1px;overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto;height:auto; padding:10px 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
}

.topbar{
  position:sticky; top:0; z-index:60;
  background: color-mix(in oklab, var(--bg), transparent 18%);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width: 240px;
}
.brand__bolt{
  display:grid; place-items:center;
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff; box-shadow: var(--shadow);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__text span{ font-size:12px; color: var(--muted); }

.nav{
  display:flex; gap:14px;
  align-items:center;
  margin-left:auto;
}
.nav a{ font-size:14px; color: var(--muted); }
.nav a:hover{ color: var(--text); }
.nav__cta{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration:none !important;
}

.iconBtn{
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  height:40px; min-width:40px;
  border-radius: 12px;
  display:grid; place-items:center;
  cursor:pointer;
}
.iconBtn--menu{ display:none; }
.iconBtn:hover{ background: var(--panel2); }
.iconBtn__icon{ font-size:16px; }

.mobileNav{
  border-top:1px solid var(--line);
  background: color-mix(in oklab, var(--bg), transparent 10%);
}
.mobileNav__inner{
  display:flex; flex-direction:column; gap:10px;
  padding:12px 0 16px;
}
.mobileNav__inner a{
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration:none !important;
}
.mobileNav__cta{
  background: linear-gradient(135deg, var(--accent), var(--accent2)) !important;
  border-color: transparent !important;
  color:#fff !important;
}

.hero{
  padding: 54px 0 18px;
  position:relative;
  overflow:hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.hero h1{
  margin:0 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.02em;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{
  margin:0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.hero__badges{
  display:flex; flex-wrap:wrap; gap:10px;
  margin: 14px 0 18px;
}
.hero__badges span{
  border:1px solid var(--line);
  background: var(--panel);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}
.hero__ctaRow{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 650;
  letter-spacing: .01em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  text-decoration:none !important;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  color:#fff;
  box-shadow: var(--shadow);
}
.btn--ghost{
  background: var(--panel);
  color: var(--text);
}
.btn:hover{ filter: brightness(1.03); }
.hero__note{
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hero__visual{
  position:relative;
  min-height: 420px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: radial-gradient(800px 380px at 30% 20%, color-mix(in oklab, var(--accent), transparent 55%), transparent 60%),
              radial-gradient(800px 380px at 80% 60%, color-mix(in oklab, var(--accent2), transparent 60%), transparent 60%),
              var(--panel);
  box-shadow: var(--shadow);
  overflow:hidden;
  padding: 16px;
}

/* GRID INTERNO (sempre lado a lado) */
.heroVisual__grid{
  height: 100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.heroArt{
  position:relative;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--line), transparent 10%);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}

.gridLines{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .14;
  pointer-events:none;
}
.orb{
  position:absolute;
  width: 240px; height:240px;
  border-radius: 50%;
  filter: blur(14px);
  opacity:.55;
}
.orb--a{ left:-80px; top:-80px; background: color-mix(in oklab, var(--accent), transparent 12%); }
.orb--b{ right:-100px; bottom:-100px; background: color-mix(in oklab, var(--accent2), transparent 12%); }

/* "ARCO" (shape) */
.heroArc{
  position:absolute;
  inset: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.14);
  background:
    radial-gradient(1200px 380px at 40% 20%, rgba(11,92,255,.22), transparent 55%),
    radial-gradient(1200px 380px at 70% 70%, rgba(97,214,255,.18), transparent 55%);
  transform: rotate(-18deg);
  opacity: .95;
}
html[data-theme="light"] .heroArc{
  border-color: rgba(0,0,0,.12);
}

/* CARD (quadrado) */
.glassCard{
  position:relative;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  box-shadow: var(--shadow);
  padding: 16px;
  overflow:hidden;
}
html[data-theme="light"] .glassCard{ background: rgba(255,255,255,.72); }

.glassCard__title{
  font-weight: 900;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.glassCard__list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.glassCard__mini{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.miniStat{
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 10px 12px;
  display:flex; justify-content:space-between; gap:12px;
  color: var(--muted);
}
html[data-theme="light"] .miniStat{ background: rgba(0,0,0,.05); }
.miniStat b{ color: var(--text); font-weight: 800; }

/* IMAGEM SOZINHA ABAIXO */
.heroPhoto{
  padding: 10px 0 18px;
}
.heroPhoto__img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 46px rgba(0,0,0,.35);
}

/* Seções */
.section{ padding: 44px 0; }
.section--soft{
  background: color-mix(in oklab, var(--bg), transparent 0%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 18px;
}
.section__head h2{
  margin:0;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.section__head p{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card{
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.card h3{ margin:0 0 8px; }
.card p{ margin:0 0 12px; color: var(--muted); line-height: 1.6; }
.card ul{ margin:0; padding-left: 18px; color: var(--muted); line-height:1.8; }
.card__cta{
  margin-top: 12px;
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  text-decoration:none !important;
}
.card__cta:hover{ background: color-mix(in oklab, var(--panel2), white 6%); }

.steps{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 10px;
}
.steps li{
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 12px 14px;
}
.steps li b{ display:inline-block; min-width: 120px; }
.steps li span{ color: var(--muted); }

.faq details{
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.faq summary{
  cursor:pointer;
  font-weight: 750;
}
.faq__body{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.ctaBox{
  border:1px solid var(--line);
  background: linear-gradient(135deg, var(--panel), color-mix(in oklab, var(--panel2), transparent 15%));
  border-radius: var(--radius);
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.ctaBox__text{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.ctaBox__text span{ color: var(--muted); }

.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 60px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted);
}
.footer__inner b{ color: var(--text); }
.footer__inner small{ color: var(--muted); }

.fab{
  position: fixed;
  bottom: 18px;
  width: 54px; height: 54px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display:grid;
  place-items:center;
  z-index: 80;
  cursor:pointer;
  box-shadow: var(--shadow);
  text-decoration:none !important;
}
.fab--whats{
  left: 18px;
  background: #0ad95c;
  color:#05240f;
  border-color: transparent;
}
.fab--chat{
  right: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  border-color: transparent;
}

.chat{
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: min(360px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 140px));
  border-radius: 18px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg), black 6%);
  box-shadow: var(--shadow);
  overflow:hidden;
  z-index: 90;
}
.chat__top{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#fff;
}
.chat__title{ font-weight: 800; letter-spacing:.01em; }
.chat__close{
  border:0;
  background: rgba(255,255,255,.16);
  color:#fff;
  border-radius: 12px;
  height: 34px; width: 44px;
  cursor:pointer;
}
.chat__close:hover{ background: rgba(255,255,255,.22); }

.chat__body{
  padding: 12px;
  height: calc(100% - 54px - 58px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.msg{
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  line-height:1.5;
}
.msg--bot{ align-self:flex-start; }
.msg--me{
  align-self:flex-end;
  background: color-mix(in oklab, var(--accent), transparent 72%);
  border-color: color-mix(in oklab, var(--accent), transparent 55%);
}
.msg small{ display:block; color: var(--muted); margin-top: 6px; font-size: 12px; }

.chat__form{
  display:flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.chat__input{
  flex:1;
  border:1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 12px 12px;
  border-radius: 14px;
  outline:none;
}
.chat__input:focus{ border-color: color-mix(in oklab, var(--accent), white 10%); }
.chat__send{
  width: 54px;
  border-radius: 14px;
  border: 0;
  cursor:pointer;
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

@media (max-width: 980px){
  .nav{ display:none; }
  .iconBtn--menu{ display:grid; }

  /* IMPORTANTE: hero continua 2 colunas, só reduz e ajusta altura */
  .hero__grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero__visual{ min-height: 340px; }

  .cards{ grid-template-columns: 1fr 1fr; }
  .footer__inner{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 720px){
  /* mantém lado a lado, mas mais compacto */
  .hero__grid{ grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero h1{ font-size: 30px; }
  .hero__visual{ min-height: 300px; padding: 12px; }
  .heroVisual__grid{ gap: 10px; }
  .glassCard{ padding: 12px; }
  .glassCard__list{ font-size: 13px; }
}

@media (max-width: 520px){
  /* mantém padrão lado a lado, reduzindo tudo */
  .cards{ grid-template-columns: 1fr; }

  .hero__grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
  .lead{ font-size: 14px; }
  .hero__badges span{ font-size: 12px; padding: 7px 9px; }
  .hero__visual{ min-height: 280px; }

  .glassCard__title{ font-size: 14px; }
  .glassCard__list{ font-size: 12px; line-height: 1.55; }
  .miniStat{ padding: 8px 10px; }
  .miniStat span{ font-size: 12px; }
  .miniStat b{ font-size: 12px; }
}

/* ===== MOBILE HARMONIZATION (no cut text) ===== */
@media (max-width: 520px){

  /* o corte acontece por overflow + altura limitada */
  .glassCard{
    overflow: visible !important; /* deixa o conteúdo aparecer */
    padding: 12px !important;
  }

  /* elimina o bloco que estica muito o card no mobile */
  .glassCard__mini{
    display: none !important;
  }

  /* compacta mantendo legível */
  .glassCard__title{
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .glassCard__list{
    font-size: 12px !important;
    line-height: 1.55 !important;
    padding-left: 16px !important;
  }

  .glassCard__list li{
    margin: 0 0 6px 0 !important;
  }

  /* dá um pouco mais de fôlego pro container do visual */
  .hero__visual{
    min-height: 300px !important;
  }
}
/* ===== /MOBILE HARMONIZATION ===== */


/* ===== RESPONSIVE DENSITY LAYER (melhor uso de espaço) ===== */

/* 1) Mobile padrão: compacta espaços mortos, sobe conteúdo */
@media (max-width: 520px){
  .hero{
    padding: 28px 0 10px !important; /* antes estava muito alto */
  }

  .hero__grid{
    align-items: start !important; /* puxa tudo pra cima */
  }

  .hero h1{
    margin-bottom: 8px !important;
    line-height: 1.08 !important;
  }

  .lead{
    margin-bottom: 10px !important;
    line-height: 1.45 !important;
  }

  .hero__badges{
    margin: 10px 0 12px !important;
    gap: 8px !important;
  }

  .hero__ctaRow{
    gap: 10px !important;
  }

  .hero__note{
    margin-top: 10px !important;
  }

  /* visual um pouco mais “compacto” sem perder o padrão */
  .hero__visual{
    min-height: 270px !important;
  }

  .heroVisual__grid{
    gap: 10px !important;
  }
}

/* 2) Celulares “altos” (ex: 360x800): aproveita ainda mais o topo */
@media (max-width: 520px) and (min-height: 740px){
  .hero{
    padding-top: 22px !important;
  }
  .hero__note{
    margin-top: 8px !important;
  }
}

/* 3) Celulares muito baixos: evita esmagar texto */
@media (max-width: 520px) and (max-height: 640px){
  .hero{
    padding-top: 30px !important;
  }
  .hero__visual{
    min-height: 250px !important;
  }
}
/* ===== /RESPONSIVE DENSITY LAYER ===== */


/* ===== RESPONSIVE DENSITY LAYER (melhor uso de espaço) ===== */

/* 1) Mobile padrão: compacta espaços mortos, sobe conteúdo */
@media (max-width: 520px){
  .hero{
    padding: 28px 0 10px !important; /* antes estava muito alto */
  }

  .hero__grid{
    align-items: start !important; /* puxa tudo pra cima */
  }

  .hero h1{
    margin-bottom: 8px !important;
    line-height: 1.08 !important;
  }

  .lead{
    margin-bottom: 10px !important;
    line-height: 1.45 !important;
  }

  .hero__badges{
    margin: 10px 0 12px !important;
    gap: 8px !important;
  }

  .hero__ctaRow{
    gap: 10px !important;
  }

  .hero__note{
    margin-top: 10px !important;
  }

  /* visual um pouco mais “compacto” sem perder o padrão */
  .hero__visual{
    min-height: 270px !important;
  }

  .heroVisual__grid{
    gap: 10px !important;
  }
}

/* 2) Celulares “altos” (ex: 360x800): aproveita ainda mais o topo */
@media (max-width: 520px) and (min-height: 740px){
  .hero{
    padding-top: 22px !important;
  }
  .hero__note{
    margin-top: 8px !important;
  }
}

/* 3) Celulares muito baixos: evita esmagar texto */
@media (max-width: 520px) and (max-height: 640px){
  .hero{
    padding-top: 30px !important;
  }
  .hero__visual{
    min-height: 250px !important;
  }
}
/* ===== /RESPONSIVE DENSITY LAYER ===== */

