:root{
  --navy:#2F3A4A;
  --navy-2:#233145;
  --green:#4CAF50;
  --green-2:#83D46D;
  --soft:#F4F7FB;
  --text:#1F2937;
  --muted:#64748B;
  --white:#ffffff;
  --shadow:0 20px 60px rgba(28, 39, 56, .12);
  --shadow-soft:0 15px 40px rgba(28, 39, 56, .10);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#f7fafc;
  overflow-x:hidden;
}
.site-bg{
  position:fixed;
  inset:auto 0 0 0;
  height:48vh;
  background:url('assets/wave-bg.png') center bottom/cover no-repeat;
  z-index:-1;
  pointer-events:none;
  opacity:.95;
}
.header{
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(47,58,74,.08);
}
.navbar{padding:16px 0}
.brand-logo{height:42px;width:auto}
.nav-link{
  color:var(--navy);
  font-weight:600;
  transition:.2s ease;
}
.nav-link:hover{color:var(--green)}
.btn-brand{
  background:linear-gradient(135deg, var(--green), #69c866);
  border:none;
  color:#fff;
  font-weight:700;
  padding:14px 24px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(76,175,80,.25);
}
.btn-brand:hover{color:#fff; transform:translateY(-1px)}
.btn-soft{
  background:#fff;
  border:1px solid rgba(47,58,74,.12);
  color:var(--navy);
  font-weight:700;
  padding:14px 24px;
  border-radius:16px;
}
.section-space{padding:96px 0}
.eyebrow{
  display:inline-block;
  font-size:.86rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green);
}
.eyebrow-light{color:#9DE587}
.display-4{line-height:1.05; color:var(--navy); font-weight:800}
.fw-800{font-weight:800}
.hero-text{
  font-size:1.125rem;
  line-height:1.8;
  color:var(--muted);
  max-width:680px;
}
.hero-showcase{
  position:relative;
  min-height:640px;
  border-radius:34px;
}
.glow{
  position:absolute;
  border-radius:50%;
  filter:blur(60px);
  opacity:.45;
}
.glow-1{
  width:280px;height:280px;background:#7fe36b; top:60px; right:40px;
}
.glow-2{
  width:220px;height:220px;background:#8aa7d6; bottom:80px; left:20px;
}
.hero-desktop{
  position:relative;
  width:100%;
  max-width: 700px;
  display:block;
  margin-left:auto;
  border-radius:30px;
  box-shadow:var(--shadow);
  z-index: 1;
}
.hero-mobile {
  position: absolute;

  width: clamp(260px, 35vw, 420px); /* 👈 CONTROLE INTELIGENTE */

  right: 80px;
  bottom: -45%;

  transform: translateX(10%);

  z-index: 2;
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(17,24,39,.25);
}

.hero-stats .stat-card{
  height:100%;
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow-soft);
}
.stat-card strong{
  display:block;
  color:var(--navy);
  margin-bottom:8px;
  font-size:1rem;
}
.stat-card span{
  color:var(--muted);
  font-size:.95rem;
  line-height:1.6;
}
.section-head{
  max-width:840px;
  margin:0 auto 24px;
}
.section-head h2{
  color:var(--navy);
  font-weight:800;
  margin-top:14px;
}
.section-head p{
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.8;
}
.feature-card, .module-card{
  padding:30px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(47,58,74,.08);
  border-radius:26px;
  box-shadow:var(--shadow-soft);
}
.icon-badge{
  width:50px;height:50px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(76,175,80,.12), rgba(131,212,109,.26));
  color:var(--green);
  border-radius:15px;
  font-weight:800;
  margin-bottom:18px;
}
.feature-card h3,.module-card h3{
  color:var(--navy);
  font-size:1.3rem;
  font-weight:800;
}
.feature-card p,.module-card p{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:0;
}
.dark-band{
  background:linear-gradient(135deg, #223043 0%, #2F3A4A 70%, #334763 100%);
  position:relative;
}
.benefit-list{
  list-style:none;
  padding:0;
  margin:0;
}
.benefit-list li{
  color:#fff;
  padding:14px 0 14px 34px;
  position:relative;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.benefit-list li::before{
  content:"";
  position:absolute;
  left:0; top:19px;
  width:18px; height:18px;
  border-radius:50%;
  background:linear-gradient(135deg, #9DE587, var(--green));
  box-shadow:0 0 0 6px rgba(157,229,135,.12);
}
.glass-panel{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:30px;
  padding:26px;
  backdrop-filter:blur(12px);
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}
.dark-logo-preview{
  width:100%;
  border-radius:24px;
  display:block;
}
.experience-box{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(47,58,74,.08);
  border-radius:28px;
  padding:36px;
  box-shadow:var(--shadow-soft);
}
.experience-box h2{
  margin:14px 0 16px;
  color:var(--navy);
  font-weight:800;
}
.experience-box p{
  color:var(--muted);
  line-height:1.8;
}
.experience-points{
  display:grid;
  gap:16px;
  margin-top:24px;
}
.point{
  padding:18px 20px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid rgba(47,58,74,.08);
}
.point strong{
  display:block;
  color:var(--navy);
}
.point span{
  display:block;
  margin-top:6px;
  color:var(--muted);
}
.floating-card{
  position:relative;
  padding:28px;
  border-radius:36px;
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.65));
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow);
}
.floating-card img{
  width:100%;
  max-width:480px;
  display:block;
  margin:0 auto;
}
.cta-panel{
  padding:40px;
  border-radius:32px;
  background:linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.75));
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow);
}
.cta-panel h2{
  color:var(--navy);
  font-weight:800;
  margin-top:12px;
}
.cta-panel p{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:0;
}
.footer{
  padding:0 0 38px;
}
.footer-card{
  background:linear-gradient(135deg, rgba(34,48,67,.96), rgba(47,58,74,.94));
  color:#fff;
  border-radius:30px;
  padding:34px;
  box-shadow:var(--shadow);
}
.footer-logo{
  height:44px;
  width:auto;
}
.footer-card p{
  color:rgba(255,255,255,.76);
  line-height:1.8;
}
.footer-actions{
  display:grid;
  gap:14px;
}
.copyright{
  color:#64748B;
  text-align:center;
  margin:20px 0 0;
  font-size:.95rem;
}
.navbar-toggler{
  border:none;
  box-shadow:none !important;
}
@media (max-width: 1199.98px){
  .hero-showcase{min-height:560px}
  
}
@media (max-width: 991.98px){
  .section-space{padding:72px 0}
  .hero-showcase{min-height:auto}
  .hero-mobile{
    position:relative;
    width:80%;
    right:50px; 
	bottom:auto;
    margin:30px auto 0;
    display:block;

  }
  .hero-desktop{max-width:100%}
  

    
  .footer-actions{margin-top:10px}
  
}
@media (max-width: 767.98px){
  .brand-logo{height:36px}
  .display-4{font-size:2.2rem}
  .hero-text{font-size:1rem}
  .hero-mobile{width:74%; margin-top:30px}
  .feature-card,.module-card,.experience-box,.cta-panel,.footer-card{padding:24px}
  .section-space{padding:64px 0}
}
@media (max-width: 575px){

  .hero-mobile{
    width: clamp(220px, 80%, 320px);
	margin:50px auto 0;
	right:25px;
  }

}


/* =========================================================
   Demonstração comercial + WhatsApp flutuante
   ========================================================= */
.demo-preview-section{
  position:relative;
}
.demo-preview-title{
  margin:14px 0 0;
  color:var(--navy);
  font-size:clamp(2rem, 4vw, 3rem);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:800;
}
.demo-preview-text{
  margin:18px 0 0;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.8;
}
.demo-preview-points{
  display:grid;
  gap:14px;
  margin-top:24px;
}
.demo-preview-point{
  padding:18px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow-soft);
}
.demo-preview-point strong{
  display:block;
  color:var(--navy);
  font-weight:800;
}
.demo-preview-point span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.6;
}
.demo-preview-card{
  position:relative;
  display:block;
  padding:16px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.72));
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow);
  text-decoration:none;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.demo-preview-card:hover{
  transform:translateY(-3px);
  box-shadow:0 28px 70px rgba(28,39,56,.16);
}
.demo-preview-card img{
  width:100%;
  display:block;
  border-radius:24px;
}
.demo-preview-badge{
  position:absolute;
  top:28px;
  right:28px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(240,255,244,.95);
  color:#12824d;
  border:1px solid rgba(88,201,95,.25);
  box-shadow:0 12px 26px rgba(18,130,77,.12);
  font-size:12px;
  font-weight:850;
}
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg, #34c759, #58c95f);
  border:1px solid rgba(255,255,255,.32);
  box-shadow:0 18px 42px rgba(18,130,77,.28);
  text-decoration:none;
  animation:whatsappPulse 2.8s ease-in-out infinite;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.whatsapp-float:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 24px 54px rgba(18,130,77,.34);
  filter:saturate(1.04);
}
.whatsapp-float:focus{
  outline:3px solid rgba(88,201,95,.28);
  outline-offset:4px;
}
.whatsapp-float svg{
  width:29px;
  height:29px;
  display:block;
  fill:currentColor;
}
@keyframes whatsappPulse{
  0%,100%{box-shadow:0 18px 42px rgba(18,130,77,.26)}
  50%{box-shadow:0 18px 42px rgba(18,130,77,.34), 0 0 0 9px rgba(88,201,95,.11)}
}
@media (max-width: 767.98px){
  .demo-preview-badge{top:22px;right:22px;font-size:11px}
  .whatsapp-float{right:18px;bottom:18px;width:56px;height:56px}
}


/* =========================================================
   Correção final mobile/tablet — landing comercial
   Objetivo: impedir estouro horizontal, controlar a seção demo
   e manter o WhatsApp flutuante circular em todos os tamanhos.
   ========================================================= */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

img,
svg{
  max-width:100%;
}

.demo-preview-section{
  overflow:hidden;
}

.demo-preview-section .row{
  --bs-gutter-x: 2rem;
}

.demo-preview-card{
  width:100%;
  max-width:680px;
  margin-left:auto;
  margin-right:auto;
}

.demo-preview-card img{
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

/* WhatsApp flutuante sem texto, sempre circular e acima do conteúdo */
.whatsapp-float{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  min-height:58px !important;
  max-width:58px !important;
  max-height:58px !important;
  padding:0 !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  isolation:isolate;
}

.whatsapp-float svg{
  width:29px !important;
  height:29px !important;
  min-width:29px !important;
  min-height:29px !important;
  max-width:29px !important;
  max-height:29px !important;
  display:block !important;
  flex:0 0 auto !important;
  fill:currentColor !important;
}

@media (max-width: 991.98px){
  .header{
    position:sticky;
    top:0;
    z-index:1030;
  }

  .section-space{
    padding:68px 0;
  }

  .hero-showcase{
    min-height:0;
    margin-top:20px;
  }

  .hero-desktop{
    width:100%;
    max-width:100%;
    margin:0 auto;
  }

  .hero-mobile{
    position:relative;
    width:min(76%, 330px);
    right:auto;
    bottom:auto;
    transform:none;
    margin:26px auto 0;
  }

  .demo-preview-title{
    font-size:clamp(1.85rem, 7vw, 2.45rem);
  }

  .demo-preview-card{
    margin-top:10px;
  }
}

@media (max-width: 767.98px){
  .container{
    width:100%;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
  }

  .navbar{
    padding:12px 0;
  }

  .brand-logo{
    height:34px;
  }

  .hero-actions .btn,
  .demo-preview-section .btn,
  .cta-panel .btn{
    width:100%;
    justify-content:center;
  }

  .demo-preview-section{
    padding-top:64px;
  }

  .demo-preview-card{
    padding:10px;
    border-radius:24px;
  }

  .demo-preview-card img{
    border-radius:18px;
  }

  .demo-preview-badge{
    top:18px;
    right:18px;
    max-width:calc(100% - 36px);
    white-space:nowrap;
  }

  .whatsapp-float{
    right:18px !important;
    bottom:18px !important;
    width:56px !important;
    height:56px !important;
    min-width:56px !important;
    min-height:56px !important;
    max-width:56px !important;
    max-height:56px !important;
  }

  .whatsapp-float svg{
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
    max-width:28px !important;
    max-height:28px !important;
  }
}

@media (max-width: 575px){
  .hero-mobile{
    width:min(78%, 300px);
    right:auto;
    margin:28px auto 0;
  }

  .footer-card{
    border-radius:26px;
  }

  .footer-actions .btn{
    white-space:normal;
    word-break:break-word;
  }
}


/* =========================================================
   Planos e módulos comerciais
   ========================================================= */
.plans-section{
  position:relative;
}
.plans-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}
.plan-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:22px;
  padding:32px;
  border-radius:30px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(47,58,74,.08);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.plan-card::after{
  content:"";
  position:absolute;
  right:-70px;
  top:-70px;
  width:190px;
  height:190px;
  border-radius:50%;
  background:rgba(88,201,95,.08);
  pointer-events:none;
}
.plan-card-featured{
  border-color:rgba(88,201,95,.34);
  box-shadow:0 24px 70px rgba(18,130,77,.13);
}
.plan-badge{
  position:absolute;
  top:22px;
  right:22px;
  padding:8px 12px;
  border-radius:999px;
  background:#f0fff4;
  color:#12824d;
  border:1px solid rgba(88,201,95,.25);
  font-size:12px;
  font-weight:900;
}
.plan-card-head{
  padding-right:110px;
}
.plan-card:not(.plan-card-featured) .plan-card-head{
  padding-right:0;
}
.plan-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:#f6f9fe;
  color:var(--navy);
  border:1px solid rgba(47,58,74,.08);
  font-size:12px;
  font-weight:900;
}
.plan-chip-green{
  background:#f0fff4;
  color:#12824d;
  border-color:rgba(88,201,95,.25);
}
.plan-chip-dark{
  background:rgba(47,58,74,.08);
  color:var(--navy);
}
.plan-card h3{
  margin:16px 0 0;
  color:var(--navy);
  font-size:clamp(1.55rem, 3vw, 2rem);
  line-height:1.12;
  letter-spacing:-.04em;
  font-weight:800;
}
.plan-card p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.75;
}
.plan-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.plan-list li{
  position:relative;
  padding-left:28px;
  color:#365075;
  font-weight:700;
  line-height:1.45;
}
.plan-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:-1px;
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(88,201,95,.13);
  color:#12824d;
  font-size:12px;
  font-weight:900;
}
.plan-link{
  margin-top:auto;
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:16px;
  text-decoration:none;
  font-weight:900;
  color:var(--navy);
  background:#fff;
  border:1px solid rgba(47,58,74,.12);
}
.plan-link-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--green), #69c866);
  border-color:transparent;
  box-shadow:0 14px 32px rgba(76,175,80,.22);
}
.plans-note{
  padding:18px 22px;
  border-radius:22px;
  background:rgba(240,255,244,.82);
  border:1px solid rgba(88,201,95,.22);
  color:#12824d;
}
.plans-note strong,
.plans-note span{display:block}
.plans-note span{margin-top:5px;color:#4f6b5a;line-height:1.55}
.module-feature-grid .module-card{
  min-height:100%;
}
.module-feature-card{
  position:relative;
  overflow:hidden;
}
.module-feature-card::after{
  /*content:"img-400x400";*/
  position:absolute;
  right:24px;
  bottom:22px;
  width:118px;
  height:118px;
  border-radius:26px;
  display:grid;
  place-items:center;
  /*background:rgba(47,58,74,.045);*/
  color:rgba(47,58,74,.28);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
}
.module-feature-card > *{position:relative;z-index:1}
.module-feature-card .plan-list{
  max-width:calc(100% - 126px);
}
.module-feature-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:6px;
}
.module-smartbox{
  border-color:rgba(88,201,95,.20);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,255,244,.72));
}

@media (max-width: 991.98px){
  .plans-grid{grid-template-columns:1fr}
  .plan-card-head{padding-right:0}
  .plan-badge{position:static;align-self:flex-start;order:-1;margin-bottom:-6px}
  .module-feature-card::after{opacity:.55}
}
@media (max-width: 767.98px){
  .plan-card{padding:26px 22px;border-radius:26px}
  .plans-note{padding:16px 18px}
  .module-feature-card .plan-list{max-width:100%}
  .module-feature-card::after{display:none}
}


/* =========================================================
   Header sticky + ancoragem estável
   Mantém o menu visível sem criar espaço fantasma no topo.
   A posição final das âncoras é controlada por scroll-margin-top,
   sem cálculo manual em JavaScript.
   ========================================================= */
:root{
  --pc-header-height: 78px;
}

.header{
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  will-change: transform;
}

main section[id],
footer[id]{
  scroll-margin-top: 0;
}

#topo{
  scroll-margin-top: 0;
}

@media (max-width: 991.98px){
  main section[id],
  footer[id]{
    scroll-margin-top: 0;
  }
}
