/* ============================================================
   HSL Perfuratrizes — Landing Page
   Industrial robusto · mobile-first · vermelho HSL
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  --red:#E1090F;
  --red-dark:#B30609;
  --red-rgb:225,9,15;
  --ink:#0B0C0E;
  --ink-2:#131519;
  --ink-3:#1B1E24;
  --paper:#F4F5F7;
  --white:#FFFFFF;
  --text:#14161A;
  --text-mut:#5A6068;
  --on-dark:#EDEEF0;
  --on-dark-mut:#9AA0A8;
  --line-d:rgba(255,255,255,.10);
  --line-l:rgba(10,12,16,.10);
  --soft:rgba(var(--red-rgb),.08);
  --maxw:1180px;
  --gutter:20px;
  --r:14px;
  --r-lg:22px;
  --ff-display:"Archivo",system-ui,sans-serif;
  --ff-body:"Barlow",system-ui,sans-serif;
  --shadow:0 18px 50px -20px rgba(0,0,0,.55);
  --ease:cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:auto;
  -webkit-text-size-adjust:100%;
  background:#070809;
  min-height:100%;
}
body{
  font-family:var(--ff-body);
  background:var(--ink);
  color:var(--on-dark);
  line-height:1.55;
  font-size:17px;
  min-height:100%;
  overflow-x:hidden;
  overscroll-behavior-y:none;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* ---------- Layout helpers ---------- */
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:72px}
.eyebrow{
  font-family:var(--ff-display);
  font-weight:700;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--red);display:inline-flex;align-items:center;gap:.6em;margin-bottom:18px;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--red);display:inline-block}
h1,h2,h3{font-family:var(--ff-display);line-height:1.02;letter-spacing:-.01em;font-weight:800}
.h2{font-size:clamp(1.85rem,7vw,3rem);text-transform:uppercase;font-weight:800}
.lead{font-size:clamp(1.02rem,3.6vw,1.18rem);color:var(--on-dark-mut);max-width:60ch}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  font-family:var(--ff-display);font-weight:700;font-size:1.02rem;letter-spacing:.01em;
  min-height:54px;padding:0 28px;border-radius:999px;
  transition:transform .25s var(--ease),background .25s,box-shadow .25s;
  white-space:nowrap;
}
.btn .arr{transition:transform .3s var(--ease)}
.btn:hover .arr{transform:translateX(5px)}
.btn--primary{background:var(--red);color:#fff;box-shadow:0 14px 30px -12px rgba(var(--red-rgb),.8)}
.btn--primary:hover{background:var(--red-dark);transform:translateY(-2px)}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;background:var(--ink);overflow:hidden;isolation:isolate;
}
.hero__bg{position:absolute;inset:0;z-index:-2}
.hero__bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,12,14,.72),rgba(11,12,14,.25));
}
.hero__inner{padding-top:100px;padding-bottom:48px;position:relative}
.hero h1{
  font-size:clamp(2.4rem,11vw,5.2rem);text-transform:uppercase;font-weight:900;
  letter-spacing:-.02em;margin-bottom:22px;max-width:16ch;
  text-shadow:0 2px 18px rgba(0,0,0,.45),0 1px 3px rgba(0,0,0,.35);
}
@media(max-width:767px){
  .hero{
    min-height:100svh;
    background-position:center bottom;
  }
  .hero__bg::after{
    background:
      linear-gradient(180deg,
        rgba(11,12,14,.88) 0%,
        rgba(11,12,14,.76) 48%,
        rgba(11,12,14,.52) 76%,
        rgba(11,12,14,.32) 100%);
  }
  .hero__inner{
    min-height:100svh;
    padding-top:118px;
    padding-bottom:64px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
  }
  .hero h1{
    max-width:12ch;
    font-size:clamp(2.05rem,9.6vw,3.15rem);
    line-height:1.04;
    margin-inline:auto;
    overflow-wrap:normal;
    word-break:normal;
  }
  .hero__cta{
    align-items:center;
    margin-inline:auto;
  }
}

@media(max-width:420px){
  .hero__inner{
    padding-top:104px;
    padding-bottom:48px;
  }
  .hero h1{
    max-width:100%;
    font-size:clamp(1.9rem,9.2vw,2.45rem);
    line-height:1.06;
  }
  .hero__cta{width:100%;max-width:none}
  .hero__cta .btn{width:100%}
}

.text-brasil{
  display:inline;
  background-image:url('img/bordado-bandeira-do-brasil.png');
  background-size:cover;
  background-position:center 42%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  opacity:1;
  filter:brightness(.88) saturate(.9);
}
.hero__cta{display:flex;flex-direction:column;gap:12px;max-width:420px}
.validate{font-size:.7rem;color:var(--red);font-weight:600;letter-spacing:.04em;
  display:inline-block;vertical-align:super;margin-left:5px;opacity:.85}

/* ============================================================
   AUTHORITY / CREDENTIALS
   ============================================================ */
.section--paper{background:var(--paper);color:var(--text)}
.section--prod{background:var(--paper);color:var(--text)}
.section--fit{background:var(--paper);color:var(--text)}
.section--auth{background:var(--white);color:var(--text)}
.section--social{background:var(--white);color:var(--text)}
.section--paper .eyebrow{color:var(--red)}
.section--paper h2,.section--paper h3{color:var(--text)}

.creds{display:grid;gap:14px;margin-top:34px}
.cred{
  display:flex;gap:15px;align-items:flex-start;padding:20px;border-radius:var(--r);
  background:var(--white);border:1px solid var(--line-l);
  box-shadow:0 1px 2px rgba(10,12,16,.04);transition:transform .3s var(--ease),box-shadow .3s}
.section--paper .cred{background:var(--white)}
.cred:hover{transform:translateY(-3px);box-shadow:0 16px 34px -22px rgba(10,12,16,.4)}
.cred__ico{
  flex:none;width:52px;height:52px;border-radius:50%;
  background:var(--red);color:#fff;
  display:grid;place-items:center;
  box-shadow:0 4px 14px -4px rgba(var(--red-rgb),.5);
}
.cred__ico svg{width:26px;height:26px}
/* Bootstrap Icons dentro do círculo */
.cred__ico .bi{font-size:24px;line-height:1}
.cred__ico .bi,
.leadster-fab .bi,
.fin-step:hover .bi{filter:brightness(0) invert(1)}
.cred h3{font-size:1.06rem;margin-bottom:4px;font-weight:700;text-transform:none;letter-spacing:0;font-family:var(--ff-display)}
.cred p{font-size:.95rem;color:var(--text-mut)}

.quote{
  margin-top:34px;padding:28px 26px;border-left:4px solid var(--red);
  background:var(--paper);border-radius:0 var(--r) var(--r) 0;
}
.section--paper .quote{background:var(--white)}
.quote p{font-family:var(--ff-display);font-weight:700;font-size:clamp(1.3rem,4.5vw,1.8rem);
  line-height:1.2;color:var(--text);letter-spacing:-.01em}

/* logos strip — marquee infinito */
.logos{margin-top:40px}
.logos__lbl{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-mut);
  font-weight:600;margin-bottom:18px}
.logos__track{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.logos__row{display:flex;flex-wrap:nowrap;gap:12px;width:max-content;
  animation:marquee 22s linear infinite}
.logos__row:hover{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
.logochip{font-family:var(--ff-display);font-weight:700;font-size:.92rem;color:var(--text);
  padding:11px 16px;border:1px solid var(--line-l);border-radius:10px;background:var(--white);
  filter:grayscale(1);opacity:.72;transition:.3s;white-space:nowrap;flex:none}
.logochip:hover{opacity:1;filter:none;border-color:var(--red)}

/* ---------- Trust bar (faixa rotativa, discreta) ---------- */
.trustbar{
  background:var(--white);
  border-block:1px solid var(--line-l);
  overflow:hidden;
}
.trustbar__track{display:flex;width:max-content;animation:trustbar-marquee 48s linear infinite}
.trustbar:hover .trustbar__track{animation-play-state:paused}
.trustbar__row{display:flex;flex-wrap:nowrap;flex:none}
.trustbar__item{
  display:inline-flex;align-items:center;gap:10px;flex:none;white-space:nowrap;
  padding:16px 30px;font-size:.92rem;font-weight:600;color:var(--text-mut);
  font-family:var(--ff-display);letter-spacing:.01em;
}
.trustbar__item + .trustbar__item{position:relative}
.trustbar__item + .trustbar__item::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:5px;height:5px;border-radius:50%;background:rgba(var(--red-rgb),.45);
}
.trustbar__item i{color:var(--red);font-size:1.1rem;flex:none}
@keyframes trustbar-marquee{to{transform:translateX(-33.333%)}}

/* ============================================================
   PRODUCTS
   ============================================================ */
.prod-head{display:flex;flex-direction:column;gap:8px;margin-bottom:38px}
.products{display:grid;gap:26px;grid-template-columns:1fr}

.pcard{
  position:relative;background:var(--ink-2);border:1px solid var(--line-d);
  border-radius:var(--r-lg);overflow:hidden;
  transition:transform .4s var(--ease),border-color .4s,box-shadow .4s;
}
.pcard:hover{transform:translateY(-4px);border-color:rgba(var(--red-rgb),.5);box-shadow:var(--shadow)}
.pcard__media{
  position:relative;aspect-ratio:1/1;background:
    linear-gradient(135deg,#fafafa 0%,#fafafa 48%,#e6e8ea 48%,#e6e8ea 100%);
  display:grid;place-items:center;overflow:hidden}
.pcard__media img{position:relative;z-index:1;width:90%;height:90%;object-fit:contain;
  filter:drop-shadow(0 16px 24px rgba(0,0,0,.22))}
.pcard__badge{position:absolute;top:14px;left:14px;z-index:2;
  font-family:var(--ff-display);font-weight:700;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;
  background:var(--red);color:#fff;padding:7px 13px;border-radius:999px;
  box-shadow:0 8px 18px -8px rgba(var(--red-rgb),.9)}
.pcard__body{padding:26px 24px 28px}
.pcard__name{font-size:1.5rem;font-weight:800;text-transform:uppercase;letter-spacing:-.01em;
  color:#fff;margin-bottom:4px;line-height:1.05}
.pcard__name span{color:var(--red)}
.pcard__role{font-size:.82rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--on-dark-mut);margin-bottom:16px}
.pcard__desc{font-size:1rem;color:var(--on-dark);opacity:.9;margin-bottom:18px}
.pcard__app{font-size:.92rem;color:var(--on-dark-mut);margin-bottom:20px}
.pcard__app b{color:var(--on-dark);font-weight:600}
.specs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:24px}
.spec{display:flex;gap:11px;align-items:center;padding:12px;border-radius:12px;
  min-width:0;background:rgba(255,255,255,.04);border:1px solid var(--line-d)}
.spec svg{width:20px;height:20px;color:var(--red);flex:none}
.spec > div{min-width:0}
.spec__k{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--on-dark-mut)}
.spec__v{font-size:.98rem;font-weight:700;color:#fff;font-family:var(--ff-display);overflow-wrap:anywhere}
.pcard .btn{width:100%}

/* video stub inside media */

/* Dots de progresso — seção de produtos pinada */
.prod-dots{
  display:none;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.prod-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--line-l);
  transition:background .3s,transform .3s;
  cursor:pointer;
}
.prod-dot.active{
  background:var(--red);
  transform:scale(1.35);
}
@media(min-width:1024px){
  .prod-dots{display:flex}
}

/* ============================================================
   FINANCING
   ============================================================ */
.section--fin{
  position:relative;overflow:hidden;
  background:var(--white);
}
.section--fin::before{
  content:none;
}
.section--fin .wrap{position:relative}
.fin-intro-note{
  max-width:62ch;
  margin-top:16px;
  color:var(--text-mut);
}
.fin{display:grid;gap:30px;margin-top:40px}
.fin__card{
  background:var(--white);border:1px solid var(--line-l);border-radius:var(--r-lg);padding:36px 32px;
  display:flex;flex-direction:column;
  box-shadow:0 18px 46px -34px rgba(10,12,16,.35);
}
.fin__card-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.fin__card-ico{width:46px;height:46px;border-radius:13px;flex:none;
  background:rgba(var(--red-rgb),.1);color:var(--red);display:grid;place-items:center}
.fin__card-ico .bi{font-size:24px}
.fin__card h3{font-size:1.3rem;color:var(--text);font-family:var(--ff-display);font-weight:800;
  text-transform:none;letter-spacing:0}
.fin__card p{color:var(--text-mut);font-size:1rem;margin-bottom:28px;max-width:58ch}
.fin__options{display:grid;gap:26px}
.fin__group{display:grid;gap:12px}
.fin__label{
  font-family:var(--ff-display);font-weight:800;font-size:.74rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-mut);
}
.fin__marks{display:grid;grid-template-columns:1fr;gap:12px}
.finmark{
  display:grid;place-items:center;min-height:66px;padding:14px 12px;
  font-family:var(--ff-display);font-weight:900;font-size:1rem;letter-spacing:.02em;
  color:var(--text);background:#fff;border:1px solid var(--line-l);border-radius:12px;
  box-shadow:0 8px 20px -18px rgba(10,12,16,.35);
  transition:border-color .25s,transform .25s,box-shadow .25s;
}
.finmark--logo{padding:12px 16px}
.finmark img{display:block;max-width:100%;max-height:38px;object-fit:contain}
.finmark:hover{border-color:rgba(var(--red-rgb),.4);transform:translateY(-2px);box-shadow:0 14px 28px -22px rgba(10,12,16,.45)}
.fin__logos{display:grid;grid-template-columns:1fr;gap:12px}
.finchip{
  display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:66px;
  border:1px solid var(--line-l);border-radius:12px;padding:13px 15px;background:var(--paper);
  text-align:left;
  transition:border-color .25s,background .25s,transform .25s,box-shadow .25s;
}
.finchip:hover{border-color:rgba(var(--red-rgb),.4);background:#fff;transform:translateY(-2px);box-shadow:0 14px 28px -24px rgba(10,12,16,.42)}
.finchip .bi{
  display:block;
  width:28px;
  height:28px;
  color:var(--red);
  font-size:28px;
}
.finchip span{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:3px;
  min-width:0;
}
.finchip b{
  font-family:var(--ff-display);font-weight:800;font-size:.96rem;color:var(--text);line-height:1.05;
}
.finchip small{
  font-size:.76rem;color:var(--text-mut);line-height:1.2;white-space:normal;
}
/* Destaque BNB — imagem de financiamento regional */
.fin__highlight{position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--ink-2),var(--ink-3));
  border:1px solid rgba(var(--red-rgb),.3);border-radius:var(--r-lg);padding:0;
  display:block;box-shadow:0 22px 54px -38px rgba(10,12,16,.58)}
.fin__highlight picture{display:block;width:100%;height:100%}
.fin__highlight img{
  display:block;width:100%;height:100%;object-fit:cover;
}

/* Como funciona — timeline */
.fin-how{margin-top:72px}
.fin-how__head{text-align:center;margin-bottom:44px}
.fin-how__head .eyebrow{justify-content:center}
.fin-how__title{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:800;color:var(--text);
  font-family:var(--ff-display);margin:10px 0 8px;text-transform:none;letter-spacing:-.01em}
.fin-how__sub{font-size:1.02rem;color:var(--text-mut);max-width:54ch;margin-inline:auto}

.fin-steps{list-style:none;position:relative;
  display:grid;grid-template-columns:1fr;gap:32px;counter-reset:step}

/* cada passo: ícone centralizado no topo + texto centralizado */
.fin-step{position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.fin-step__ico{position:relative;width:72px;height:72px;border-radius:50%;flex:none;
  background:#fff;border:2px solid rgba(var(--red-rgb),.18);
  color:var(--red);display:grid;place-items:center;
  box-shadow:0 8px 24px -10px rgba(var(--red-rgb),.35);
  transition:transform .3s var(--ease),border-color .3s,background .3s,color .3s}
.fin-step__ico .bi{font-size:30px;line-height:1}
.fin-step__n{position:absolute;top:-6px;right:-6px;
  width:26px;height:26px;border-radius:50%;
  background:var(--red);color:#fff;display:grid;place-items:center;
  font-family:var(--ff-display);font-weight:800;font-size:.82rem;
  border:3px solid var(--paper)}
.fin-step:hover .fin-step__ico{transform:translateY(-5px);background:var(--red);color:#fff;border-color:var(--red)}
.fin-step h4{font-size:1.1rem;font-weight:700;color:var(--text);font-family:var(--ff-display);
  text-transform:none;letter-spacing:0}
.fin-step p{font-size:.95rem;color:var(--text-mut);line-height:1.5;max-width:32ch}

.fin-how__cta{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:44px}
.fin-how__note{font-size:.88rem;color:var(--text-mut)}
.fin-disclaimer{
  max-width:92ch;
  margin:32px auto 0;
  padding-top:20px;
  border-top:1px solid var(--line-l);
  color:var(--text-mut);
  font-size:.8rem;
  line-height:1.55;
  text-align:center;
}
.fin-disclaimer strong{color:var(--text);font-weight:700}

/* ============================================================
   FIT / FOR WHOM
   ============================================================ */
.section--fit{
  position:relative;overflow:hidden;
  background:
    linear-gradient(135deg,#101216 0%,#191c22 100%);
  color:var(--on-dark);
}
.section--fit::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 14% 18%,rgba(var(--red-rgb),.18),transparent 30%),
    radial-gradient(circle at 88% 82%,rgba(255,255,255,.05),transparent 26%);
}
.section--fit .wrap{position:relative}
.fit__head{
  display:grid;gap:10px;max-width:760px;
  margin-inline:auto;text-align:center;
}
.fit__head .h2{color:#fff}
.fit__head .lead{max-width:68ch;color:var(--on-dark-mut);margin-inline:auto}
.fit__layout{display:grid;gap:34px;margin-top:44px}
.fit-list{display:grid;border-top:1px solid rgba(255,255,255,.12)}
.fit{
  position:relative;
  padding:22px 0;min-height:0;
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 18px;align-items:start;
  border-bottom:1px solid rgba(255,255,255,.12);
  transition:transform .3s var(--ease),border-color .3s;
}
.fit:hover{transform:translateX(8px);border-color:rgba(var(--red-rgb),.55)}
.fit__ck{
  width:42px;height:42px;border-radius:50%;flex:none;
  background:rgba(var(--red-rgb),.14);
  border:1px solid rgba(var(--red-rgb),.34);
  color:var(--red);display:grid;place-items:center;
}
.fit__ck .bi{font-size:20px;line-height:1}
.fit h3{
  font-size:1.08rem;font-weight:800;text-transform:none;letter-spacing:0;
  color:#fff;font-family:var(--ff-display);
}
.fit p{grid-column:2;font-size:.98rem;color:var(--on-dark-mut);line-height:1.5}
.fit b{font-weight:700;color:#fff}
.notfit{
  max-width:680px;margin:18px auto 0;
  font-size:.82rem;color:var(--on-dark-mut);line-height:1.45;text-align:center;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.tst{display:grid;gap:22px;margin-top:34px}
.tcard{background:var(--ink-2);border:1px solid var(--line-d);border-radius:var(--r-lg);
  padding:30px 28px;position:relative}
.tcard .qmark{font-family:var(--ff-display);font-weight:900;font-size:4rem;color:rgba(var(--red-rgb),.25);
  line-height:.6;display:block;margin-bottom:6px}
.tcard p{font-size:1.12rem;color:var(--on-dark);line-height:1.45;margin-bottom:22px;font-style:italic}
.tcard__who{display:flex;align-items:center;gap:14px}
.tcard__av{
  width:56px;height:56px;min-width:56px;min-height:56px;aspect-ratio:1;
  border-radius:50%;overflow:hidden;background:var(--ink-3);border:2px solid rgba(var(--red-rgb),.2);
  display:grid;place-items:center;color:var(--on-dark-mut);flex:0 0 56px;
}
.tcard__av svg{width:24px;height:24px}
.tcard__av img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.tcard__name{font-weight:700;color:#fff;font-family:var(--ff-display)}
.tcard__role{font-size:.85rem;color:var(--on-dark-mut)}
.tst-dots{display:none;align-items:center;justify-content:center;gap:9px;margin-top:18px}
.tst-dot{
  width:9px;height:9px;padding:0;border:0;border-radius:50%;
  background:rgba(20,22,26,.18);cursor:pointer;
  transition:width .25s,background .25s;
}
.tst-dot.active{width:26px;border-radius:999px;background:var(--red)}
.impact{text-align:center;margin-top:40px;padding:40px 20px;border-top:1px solid var(--line-d)}
.impact .big{font-family:var(--ff-display);font-weight:900;font-size:clamp(3rem,16vw,6rem);
  color:var(--red);line-height:.9}
.impact p{color:var(--on-dark-mut);font-size:1.05rem;margin-top:10px}

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta{position:relative;overflow:hidden;background:var(--ink);text-align:center;isolation:isolate}
.finalcta::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(80% 120% at 50% 0%,rgba(var(--red-rgb),.22),transparent 60%)}
.finalcta .wrap{padding:84px 0 48px}
.finalcta h2{font-size:clamp(2rem,8vw,3.6rem);text-transform:uppercase;color:#fff;margin-bottom:18px;max-width:18ch;margin-inline:auto}
.finalcta .lead{margin-inline:auto;margin-bottom:32px}
.finalcta .btn{margin-inline:auto}
.finalcta__button{min-height:60px;font-size:1.15rem;padding:0 36px}
.trust{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 26px;margin-top:38px;
  padding-top:30px;border-top:1px solid var(--line-d)}
.trust span{display:inline-flex;align-items:center;gap:9px;font-size:.92rem;color:var(--on-dark-mut);font-weight:500}
.trust svg{width:18px;height:18px;color:var(--red)}

/* ============================================================
   FOOTER
   ============================================================ */
.foot{
  background:#070809;
  padding:30px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  color:var(--on-dark-mut);
}
.foot__top{display:grid;gap:30px;max-width:var(--maxw);margin-inline:auto}
/* Rodapé minimalista — logo centralizado */
.foot__top--minimal{display:flex;justify-content:center}
.foot__logo{height:48px;width:auto;filter:invert(1) hue-rotate(180deg)}
.foot__bottom--center{justify-content:center;text-align:center}
.foot__bottom--center span{flex-basis:100%}
.foot__bottom{max-width:var(--maxw);margin:34px auto 0;padding-top:22px;border-top:1px solid var(--line-d);
  font-size:.82rem;display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:space-between}
.foot__credit{flex-basis:100%;opacity:.7}
.foot__credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.foot__credit a:hover{color:var(--red)}

/* ---------- Leadster: CTA flutuante após a hero ---------- */
.leadster-fab{
  position:fixed;right:18px;bottom:18px;z-index:55;
  min-height:54px;padding:0 22px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:var(--red);color:#fff;
  font-family:var(--ff-display);font-size:.95rem;font-weight:700;
  box-shadow:0 16px 36px -12px rgba(var(--red-rgb),.82);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(18px);
  transition:opacity .3s,visibility .3s,transform .3s var(--ease),background .25s;
}
.leadster-fab.is-visible{
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
}
.leadster-fab.is-chat-open{
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px);
}
.leadster-fab:hover{background:var(--red-dark);transform:translateY(-2px)}
.leadster-fab i{font-size:1.25rem;line-height:1}

@media(max-width:520px){
  .leadster-fab{
    width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;
  }
  .leadster-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}

/* ---------- reveal on scroll — opacity gerenciada via GSAP inline style ---------- */
/* Não definir opacity:0 aqui — se o GSAP falhar o conteúdo fica visível */
.reveal{will-change:transform,opacity}

/* ============================================================
   VISUAL STYLE VARIANTS
   ============================================================ */
/* Light institutional: flip dark sections to light */
body.style-light{background:#070809;color:var(--text)}
/* Hero mantém fundo escuro (foto) mesmo no tema claro */
body.style-light .hero{background-color:var(--ink)}
body.style-light .hero h1{color:#fff}
body.style-light .section--prod{background:var(--paper);color:var(--text)}
body.style-light .pcard{background:#fff;border-color:var(--line-l);box-shadow:0 1px 3px rgba(0,0,0,.05)}
body.style-light .pcard__body{
  background:
    linear-gradient(135deg,transparent 0 72%,rgba(20,22,26,.035) 72% 84%,transparent 84%),
    linear-gradient(180deg,#f8f9fa 0%,#f3f4f6 100%);
}
body.style-light .pcard__name,body.style-light .spec__v{color:var(--text)}
body.style-light .pcard__desc{color:var(--text);opacity:1}
body.style-light .pcard__role,body.style-light .pcard__app,body.style-light .pcard__app b{color:var(--text-mut)}
body.style-light .spec{background:#e9ebee;border-color:rgba(20,22,26,.11)}
body.style-light .pcard__app b{color:var(--text)}
body.style-light .section--social{background:var(--white);color:var(--text)}
body.style-light .tcard{background:var(--paper);border-color:var(--line-l);box-shadow:0 10px 30px -20px rgba(10,12,16,.4)}
body.style-light .tcard p,body.style-light .tcard__name{color:var(--text)}
body.style-light .tcard__role{color:var(--text-mut)}
body.style-light .tcard__av{background:#fff;border-color:var(--line-l)}
body.style-light .impact{border-color:var(--line-l)}
body.style-light .impact p{color:var(--text-mut)}
/* Financiamento highlight — permanece ESCURO no tema claro (por design) */
body.style-light .fin__highlight{background:linear-gradient(135deg,#131519,#1B1E24);border-color:rgba(var(--red-rgb),.3)}

/* Seção autoridade */
body.style-light .section--auth{background:var(--white)}
body.style-light .section--auth .lead{color:var(--text-mut)}

/* Seção para quem é */
body.style-light .section--fit{
  background:
    linear-gradient(135deg,#101216 0%,#191c22 100%);
}
body.style-light .fit{color:var(--on-dark)}

/* CTA final — permanece ESCURO no tema claro (por design) */
body.style-light .finalcta{background:var(--ink)}
body.style-light .finalcta h2{color:#fff}
body.style-light .finalcta .lead{color:var(--on-dark-mut)}
body.style-light .finalcta .trust span{color:var(--on-dark-mut)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(min-width:600px){
  .specs{gap:12px}
  .hero__cta{flex-direction:row}
  .fin__marks,.fin__logos{grid-template-columns:repeat(3,1fr)}
  .fin-steps{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:768px){
  :root{--gutter:34px}
  .section{padding-block:96px}
  .creds{grid-template-columns:repeat(2,1fr)}
  /* rotary: grid com coluna de mídia maior para expor a máquina */
  .products.is-rotary .pcard{grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr)}
  .products.is-rotary .pcard__media{aspect-ratio:auto;height:100%;min-height:0}
  .products.is-rotary .pcard__body{padding:32px 36px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
  .products.is-rotary .pcard__name{font-size:1.9rem}
  .products.is-rotary .specs{grid-template-columns:repeat(2,1fr)}
  .products.is-rotary .pcard .btn{width:auto;align-self:flex-start;padding:0 32px}
  .fin__highlight{aspect-ratio:16/9}
  .tst{grid-template-columns:repeat(2,1fr)}
  .fit__layout{max-width:980px}
  .foot__top{grid-template-columns:2fr 1fr;gap:40px}
}
@media(min-width:768px) and (max-width:1023px){
  .hero__inner{
    min-height:clamp(620px,82svh,780px);
    max-width:62%;
    padding-top:132px;
    padding-bottom:72px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .hero h1{
    font-size:clamp(2.75rem,6.2vw,3.75rem);
    max-width:13ch;
  }
}
@media(min-width:960px){
  .fin{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}
  .fin__card{min-height:100%}
  .fin__options{flex:1;align-content:space-evenly;gap:26px}
  .fin__marks{gap:14px}
  .finmark{min-height:94px;padding:18px 16px;font-size:1.12rem}
  .finmark img{max-height:48px}
  .fin__logos{gap:14px}
  .finchip{min-height:86px;padding:16px 15px;align-items:center;justify-content:flex-start}
  .finchip .bi{width:32px;height:32px;font-size:32px}
  .finchip b{font-size:1rem}
  .finchip small{white-space:normal}
  .fin__highlight{aspect-ratio:auto}
  .fin-steps{grid-template-columns:repeat(3,1fr);gap:34px 24px}
}
@media(min-width:1200px){
  .fin-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
  .fin-steps::before{
    content:"";position:absolute;z-index:0;
    top:36px;left:10%;right:10%;height:2px;
    background:linear-gradient(90deg,
      rgba(var(--red-rgb),.3),rgba(var(--red-rgb),.18),rgba(var(--red-rgb),.3));
  }
}
@media(min-width:1024px){
  .hero__inner{padding-top:150px;padding-bottom:80px;min-height:88vh;display:flex;flex-direction:column;justify-content:center;max-width:56%}
  .hero h1{font-size:clamp(3.4rem,5.6vw,5.6rem)}
  .pcard__media{aspect-ratio:16/11}
}

/* ---------- Produtos: Coverflow Carousel ---------- */

/* Setas de navegação */
.prod-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  z-index:30;width:56px;height:56px;border-radius:50%;
  background:#fff;border:1.5px solid rgba(0,0,0,.1);
  box-shadow:0 4px 20px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.06);
  display:grid;place-items:center;cursor:pointer;color:var(--text);
  transition:background .25s,color .25s,border-color .25s,
             transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s;
}
.prod-arrow svg{width:20px;height:20px;transition:transform .25s}
.prod-arrow:hover{
  background:var(--red);border-color:var(--red);color:#fff;
  transform:translateY(-50%) scale(1.1);
  box-shadow:0 8px 28px -4px rgba(var(--red-rgb),.45);
}
.prod-arrow:active{transform:translateY(-50%) scale(.96)}
.prod-arrow:focus-visible{
  outline:3px solid rgba(var(--red-rgb),.35);
  outline-offset:4px;
}
.prod-arrow--prev{left:max(16px,calc((100% - min(86vw,1180px))/4))}
.prod-arrow--next{right:max(16px,calc((100% - min(86vw,1180px))/4))}

/* Container coverflow — quebra fora do wrap para usar largura total */
.products.is-rotary{
  position:relative;
  height:clamp(700px,54vw,760px);
  overflow:hidden;
  margin-block:40px 16px;
  margin-inline:calc(-1 * var(--gutter));  /* full-width dentro da section */
}
#produtos{overflow:hidden}  /* impede cards saírem da section */

/* Estado base — TODAS as dimensões iguais para todos os cards */
.products.is-rotary .pcard{
  position:absolute;top:0;left:50%;
  width:min(86vw,1180px);height:100%;
  display:grid;
  overflow:hidden;
  transform:translateX(-50%) scale(.82);
  opacity:0;
  filter:blur(6px);
  pointer-events:none;
  transition:
    transform .65s cubic-bezier(.4,0,.2,1),
    opacity   .55s cubic-bezier(.4,0,.2,1),
    filter    .55s cubic-bezier(.4,0,.2,1),
    box-shadow .65s ease;
  will-change:transform,opacity,filter;
  z-index:0;
}

.products.is-rotary .pcard:first-of-type{
  transform:translateX(-50%) scale(1);
  opacity:1;filter:none;
  pointer-events:auto;z-index:10;
}

/* Card ativo — z-index ALTO para cobrir qualquer sobreposição lateral */
.products.is-rotary .pcard.is-active{
  transform:translateX(-50%) scale(1);
  opacity:1;filter:none;
  pointer-events:auto;z-index:10;
  box-shadow:
    0 32px 80px -20px rgba(0,0,0,.22),
    0 8px 24px -8px rgba(0,0,0,.1);
}
.products.is-rotary .pcard.is-active:hover{
  transform:translateX(-50%) translateY(-6px) scale(1);
}

/* Prev — com offset calculado para card 62%: D=106% → peek ~21% sem overlap */
.products.is-rotary .pcard.is-prev{
  transform:translateX(calc(-50% - 86%)) scale(.87);
  opacity:.45;filter:blur(3px);
  pointer-events:auto;cursor:pointer;z-index:2;
}

/* Next — simétrico ao prev */
.products.is-rotary .pcard.is-next{
  transform:translateX(calc(-50% + 86%)) scale(.87);
  opacity:.45;filter:blur(3px);
  pointer-events:auto;cursor:pointer;z-index:2;
}

/* Far — fora da tela nos lados corretos */
.products.is-rotary .pcard.is-far-right{
  transform:translateX(calc(-50% + 135%)) scale(.8);
  opacity:0;pointer-events:none;z-index:1;
}
.products.is-rotary .pcard.is-far-left{
  transform:translateX(calc(-50% - 135%)) scale(.8);
  opacity:0;pointer-events:none;z-index:1;
}

/* Footer: counter + dots juntos */
.prod-footer{
  display:flex;align-items:center;justify-content:center;
  gap:20px;margin-top:20px;
}
.prod-counter{
  font-family:var(--ff-display);font-weight:700;font-size:.85rem;
  color:var(--text-mut);letter-spacing:.06em;
  display:flex;align-items:center;gap:2px;
}
.prod-cur{color:var(--text);font-size:1rem}
.prod-sep{opacity:.5}

/* Mobile: só o card ativo, empilhado */
@media(max-width:1023px){
  .products.is-rotary{height:auto;overflow:visible;margin-block:24px 16px;margin-inline:0}
  .products.is-rotary .pcard{
    position:relative;top:auto;left:auto;
    width:100%;height:auto;
    display:none;
    transform:none!important;filter:none!important;opacity:1!important;
  }
  .products.is-rotary .pcard.is-active{display:grid}
  .prod-arrow{
    position:fixed;
    top:50%;bottom:auto;
    width:52px;height:52px;
    opacity:0;visibility:hidden;pointer-events:none;
    transform:translateY(-50%) scale(.9);
    transition:opacity .25s,visibility .25s,transform .25s,background .25s,color .25s;
  }
  .products.is-rotary.arrows-follow-scroll .prod-arrow{
    opacity:1;visibility:visible;pointer-events:auto;
    transform:translateY(-50%);
  }
  .products.is-rotary.arrows-follow-scroll .prod-arrow.is-over-text{
    opacity:.2;
    background:rgba(255,255,255,.48);
    box-shadow:none;
  }
  .products.is-rotary.arrows-follow-scroll .prod-arrow.is-over-text:hover,
  .products.is-rotary.arrows-follow-scroll .prod-arrow.is-over-text:focus-visible{
    opacity:.92;
  }
  .prod-arrow--prev{left:10px}
  .prod-arrow--next{right:10px}
  .prod-arrow:hover{transform:translateY(-50%) scale(1.08)}
  .prod-footer{margin-top:24px}
}

/* Tablet vertical: preserva uma área ampla para a máquina antes do texto. */
@media(min-width:768px) and (max-width:899px){
  .products.is-rotary .pcard{grid-template-columns:1fr}
  .products.is-rotary .pcard__media{height:auto;aspect-ratio:4/3}
  .products.is-rotary .pcard__media img{width:88%;height:88%}
  .products.is-rotary .pcard__body{padding:30px}
}

/* Notebooks menores: reduz o texto sem sacrificar ou recortar a fotografia. */
@media(min-width:1024px) and (max-width:1199px){
  .products.is-rotary{height:760px}
  .products.is-rotary .pcard{width:92vw;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
  .products.is-rotary .pcard__body{padding:26px 28px}
  .products.is-rotary .pcard__desc{font-size:.94rem;line-height:1.45;margin-bottom:12px}
  .products.is-rotary .pcard__app{font-size:.86rem;line-height:1.4;margin-bottom:14px}
  .products.is-rotary .specs{gap:8px;margin-bottom:18px}
  .products.is-rotary .spec{padding:10px;gap:8px}
  .products.is-rotary .spec__v{font-size:.88rem}
}

@media(max-width:767px){
  .products.is-rotary{touch-action:pan-y}
  .tst{display:block;touch-action:pan-y}
  .tst .tcard{display:none;min-height:100%}
  .tst .tcard.is-active{display:block}
  .tst-dots{display:flex}
  .logos__lbl{text-align:center}
  .section--auth > .wrap > .h2,
  .section--auth > .wrap > .lead,
  .prod-head,
  .section--fin > .wrap > .h2,
  .section--fin > .wrap > .lead,
  .section--social > .wrap > .h2,
  .fin-how__head{
    text-align:center;
    margin-inline:auto;
  }
  .section--auth > .wrap > .lead,
  .prod-head .lead,
  .section--fin > .wrap > .lead,
  .fin-how__sub{
    margin-inline:auto;
  }
  .fin-how__head .eyebrow{
    justify-content:center;
  }
  .products.is-rotary .pcard__media{aspect-ratio:1/1}
  .products.is-rotary .pcard__media img{width:90%;height:90%}
  .pcard__body{padding:24px 20px 26px}
}

@media(max-width:420px){
  .btn{
    min-height:54px;
    height:auto;
    padding:13px 20px;
    line-height:1.2;
    text-align:center;
    white-space:normal;
  }
  .pcard .btn,
  .fin-how__cta .btn,
  .finalcta__button{
    width:100%;
  }
  .finalcta__button{
    min-height:60px;
    padding-inline:20px;
    font-size:1.05rem;
  }
  .specs{grid-template-columns:1fr}
  .pcard__media img{width:88%;height:88%}
}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .logos__row{animation:none}
  .trustbar__track{
    animation-name:trustbar-marquee!important;
    animation-duration:90s!important;
    animation-timing-function:linear!important;
    animation-iteration-count:infinite!important;
  }
}
