
:root{
  --blue:#1351B4; --blue-dark:#071D41; --yellow:#FFCD07; --soft:#F4F8FD;
  --line:#D9E2EC; --muted:#5D6A78; --green:#168821; --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--blue-dark);background:#fff}
a{text-decoration:none;color:inherit}
.container{width:min(1160px,calc(100% - 40px));margin:auto}
.top-note{text-align:center;color:var(--blue);font-weight:700;font-size:13px;padding:9px;border-bottom:1px solid #e8edf4}
.disclaimer{background:var(--blue-dark);color:#fff;font-size:12px;line-height:1.5;padding:10px 0;text-align:center}
.hero{padding:74px 0 70px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:68px;align-items:center}
.eyebrow{display:inline-block;color:var(--blue);font-weight:800;font-size:12px;letter-spacing:.07em;margin-bottom:14px}
.hero h1{font-size:59px;line-height:1.04;letter-spacing:-2.2px;margin:0 0 20px}
.lead{font-size:19px;line-height:1.65;color:var(--muted);margin:0}
.hero-points{display:grid;gap:10px;margin:25px 0 28px;color:#3d5063;font-size:14px}
.hero-points span::first-letter{color:var(--green)}
.cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--yellow);color:var(--blue-dark);font-weight:800;font-size:18px;min-height:62px;padding:0 30px;border-radius:10px;box-shadow:0 10px 26px rgba(255,205,7,.25);transition:.2s}
.cta:hover{transform:translateY(-2px)}
.cta.full{width:100%}
.microcopy{font-size:11px;color:#778391;line-height:1.5;max-width:520px;margin-top:14px}

.product-wrap{position:relative;min-height:550px;display:flex;align-items:center;justify-content:center}
.shape{position:absolute}
.shape-yellow{width:340px;height:390px;background:var(--yellow);border-radius:42px;left:30px;top:95px;transform:rotate(-6deg)}
.shape-blue{width:330px;height:400px;background:var(--blue);border-radius:110px 35px 110px 35px;right:0;top:70px;transform:rotate(9deg)}
.ebook{position:relative;z-index:2;width:335px;min-height:450px;padding:42px 34px;background:#fff;border:1px solid #dce4ed;border-radius:12px;box-shadow:0 28px 65px rgba(7,29,65,.22);transform:rotate(4deg)}
.ebook-top{font-size:12px;font-weight:800;letter-spacing:.1em;color:#6f7a87}
.ebook-icon{width:65px;height:65px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf3ff;color:var(--blue);font-size:30px;font-weight:900;margin:50px 0 24px}
.ebook h2{font-size:35px;line-height:1.05;margin:0 0 15px}
.ebook p{color:var(--muted);line-height:1.55}
.ebook-tag{display:inline-block;margin-top:32px;background:var(--blue);color:#fff;border-radius:7px;padding:10px 12px;font-size:11px;font-weight:800}

.truth-strip{background:#f7f9fc;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.truth-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.truth-grid>div{padding:22px;text-align:center;border-right:1px solid var(--line)}
.truth-grid>div:last-child{border-right:0}
.truth-grid small{display:block;font-weight:800;color:#6e7984;letter-spacing:.08em;font-size:10px;margin-bottom:6px}

.section{padding:82px 0}
.soft{background:var(--soft)}
.section-heading{text-align:center;max-width:790px;margin:0 auto 42px}
.section-heading h2{font-size:39px;letter-spacing:-1px;margin:0 0 13px}
.section-heading p{font-size:16px;line-height:1.65;color:var(--muted)}

.modules{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.module{display:flex;gap:18px;border:1px solid var(--line);border-radius:12px;padding:23px;background:#fff}
.module>span{width:45px;height:45px;flex:0 0 45px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-weight:800;font-size:13px}
.module h3{margin:1px 0 7px;font-size:18px}
.module p{color:var(--muted);font-size:14px;line-height:1.55;margin:0}

.timeline{max-width:850px;margin:auto}
.timeline-item{display:grid;grid-template-columns:145px 1fr;gap:24px;padding:25px 0;border-bottom:1px solid var(--line)}
.timeline-item:last-child{border-bottom:0}
.date{font-weight:900;color:var(--blue);font-size:18px}
.timeline h3{margin:0 0 7px}
.timeline p{color:var(--muted);line-height:1.6;margin:0;font-size:14px}
.alert{max-width:900px;margin:28px auto 0;background:#fff8db;border-left:5px solid var(--yellow);padding:20px 22px;border-radius:9px;color:#584a13;line-height:1.6;font-size:14px}

.criteria{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.criteria article{border:1px solid var(--line);border-radius:12px;padding:24px;background:#fff;text-align:center}
.criteria strong{color:var(--blue);font-size:18px}
.criteria p{color:var(--muted);font-size:13px;line-height:1.55;margin-bottom:0}
.source-note{text-align:center;max-width:820px;margin:25px auto 0;color:#778391;font-size:12px;line-height:1.5}

.who-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:900px;margin:auto}
.who-grid div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 20px;color:#445568;font-size:14px}

.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonials article{border:1px solid var(--line);border-radius:12px;padding:25px;background:#fff}
.testimonials p{color:#4d5d6e;line-height:1.65;font-size:14px}
.testimonials strong{font-size:12px;color:#7a8794}

.offer-card{display:grid;grid-template-columns:1.3fr .7fr;gap:55px;align-items:center;background:#fff;border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:14px;padding:42px}
.offer-card h2{font-size:38px;margin:0 0 12px}
.offer-card p{color:var(--muted);line-height:1.65}
.offer-side{text-align:center}
.price-label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#687581}
.price{font-size:43px;font-weight:900;color:var(--blue);margin:7px 0}
.price-note{font-size:10px;color:#8a949e;margin-bottom:18px}

.faq{max-width:860px}
.faq details{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:0 20px;background:#fff}
.faq summary{font-weight:700;cursor:pointer;padding:20px 2px}
.faq p{color:var(--muted);font-size:14px;line-height:1.6;padding:0 2px 20px;margin:0}

footer{background:var(--blue-dark);color:#fff;padding:55px 0 25px;border-top:5px solid var(--yellow)}
.footer-grid{display:grid;grid-template-columns:1.6fr .8fr 1fr;gap:50px}
.footer-grid>div>strong{display:block;margin-bottom:13px}
.company p,.footer-grid span,.footer-grid a{display:block;color:#c6d1de;font-size:12px;line-height:1.55;margin:8px 0}
.footer-grid a:hover{color:#fff;text-decoration:underline}
.footer-bottom{text-align:center;border-top:1px solid #27394f;margin-top:34px;padding-top:20px}
.footer-bottom p{font-size:10px;color:#8192a6;line-height:1.5;margin:5px}

.page-body{background:#f5f8fc}
.page-shell{padding:55px 0;min-height:75vh}
.page-card{max-width:860px;margin:auto;background:#fff;border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:12px;padding:40px}
.page-card h1{font-size:40px;margin:12px 0 24px}
.page-card h2{font-size:22px;margin:28px 0 10px}
.page-card p,.page-card li{color:var(--muted);font-size:15px;line-height:1.7}
.back-link{color:var(--blue);font-weight:700;font-size:14px}

.checkout-body{background:#f4f7fb}
.checkout-warning{background:#a80d0d;color:#fff;text-align:center;font-weight:800;font-size:12px;padding:11px}
.checkout-shell{min-height:100vh;padding:55px 20px}
.checkout-grid{width:min(1050px,100%);margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:25px}
.checkout-summary,.payment-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px}
.checkout-summary h1{font-size:38px;margin:14px 0}
.checkout-summary>p{color:var(--muted);line-height:1.6}
.summary-product{display:grid;grid-template-columns:70px 1fr auto;gap:15px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin-top:30px}
.mini-cover{width:62px;height:80px;background:var(--blue);color:#fff;border-radius:6px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px}
.summary-product span{display:block;color:#7b8793;font-size:11px;margin-top:4px}
.checkout-total{display:flex;justify-content:space-between;padding:22px 0;font-size:18px}
.checkout-disclaimer{background:#fff8db;border-left:4px solid var(--yellow);padding:16px;font-size:12px;line-height:1.55;color:#5c4c13}
.payment-card h2{font-size:30px;margin:0 0 8px}
.demo-text{color:#8e1a1a;font-size:12px;line-height:1.5}
.qr-frame{width:230px;height:230px;margin:22px auto 12px;background:#fff;border:1px solid var(--line);padding:12px}
.qr-frame img{width:100%;height:100%;object-fit:contain}
.demo-badge{text-align:center;color:#a10c0c;font-weight:800;font-size:11px;margin-bottom:24px}
.payment-card label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}
.payment-card input{width:100%;height:49px;border:1px solid #cfd9e4;border-radius:8px;padding:0 13px;font:inherit}
.checkout-btn{width:100%;min-height:56px;border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:800;margin-top:20px;cursor:pointer}
.safe-note{text-align:center;color:#778391;font-size:10px;line-height:1.5}
.demo-modal{position:fixed;inset:0;background:rgba(4,16,34,.65);display:none;align-items:center;justify-content:center;padding:20px}
.demo-modal.open{display:flex}
.demo-modal-card{max-width:480px;background:#fff;border-radius:12px;padding:30px;text-align:center}
.demo-modal-card p{color:var(--muted);line-height:1.6}
.demo-modal-card button{border:0;background:var(--blue);color:#fff;border-radius:8px;padding:12px 25px;font-weight:700;cursor:pointer}

@media(max-width:900px){
  .hero-grid,.offer-card,.checkout-grid{grid-template-columns:1fr}
  .hero-copy{text-align:center}
  .hero-points{max-width:540px;margin-left:auto;margin-right:auto;text-align:left}
  .hero h1{font-size:50px}
  .product-wrap{min-height:520px}
  .modules{grid-template-columns:1fr}
  .criteria{grid-template-columns:1fr 1fr}
  .testimonials{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .company{grid-column:1/-1}
}
@media(max-width:620px){
  .container{width:calc(100% - 26px)}
  .top-note{font-size:11px;padding:7px}
  .disclaimer{font-size:10px;padding:7px 8px}
  .hero{padding:45px 0 40px}
  .hero h1{font-size:39px;letter-spacing:-1.4px}
  .lead{font-size:15px}
  .cta{width:100%;font-size:17px;min-height:60px}
  .product-wrap{min-height:430px}
  .ebook{width:245px;min-height:350px;padding:30px 24px}
  .ebook-icon{margin:35px 0 18px}
  .ebook h2{font-size:28px}
  .shape-yellow{width:240px;height:300px;left:0;top:72px}
  .shape-blue{width:235px;height:310px;right:0;top:58px}
  .truth-grid{grid-template-columns:1fr}
  .truth-grid>div{border-right:0;border-bottom:1px solid var(--line);padding:15px}
  .section{padding:55px 0}
  .section-heading{margin-bottom:28px}
  .section-heading h2{font-size:30px}
  .timeline-item{grid-template-columns:1fr;gap:8px}
  .criteria,.who-grid{grid-template-columns:1fr}
  .offer-card{padding:27px 20px}
  .offer-card h2{font-size:31px}
  .footer-grid{grid-template-columns:1fr;gap:25px}
  .company{grid-column:auto}
  .page-shell{padding:30px 0}
  .page-card{padding:28px 20px}
  .page-card h1{font-size:32px}
  .checkout-shell{padding:22px 12px}
  .checkout-summary,.payment-card{padding:24px 18px}
  .summary-product{grid-template-columns:55px 1fr}
  .summary-product>b{grid-column:2}
  .qr-frame{width:205px;height:205px}
}


/* =========================================================
   CHECKOUT BYNET — 2 ETAPAS
   ========================================================= */
.checkout-body{background:#f4f7fb;color:var(--blue-dark)}
.checkout-topbar{min-height:54px;display:flex;align-items:center;justify-content:center;gap:14px;background:#fff;border-bottom:1px solid var(--line);font-size:12px}
.checkout-topbar strong{color:var(--blue)}
.checkout-topbar span{color:#7a8793}
.checkout-shell{padding:42px 20px 70px}
.checkout-layout{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;align-items:start}
.checkout-order,.checkout-card{background:#fff;border:1px solid var(--line);border-radius:16px}
.checkout-order{padding:30px;position:sticky;top:20px}
.checkout-card{padding:32px 34px;box-shadow:0 18px 45px rgba(7,29,65,.07)}
.checkout-product{display:grid;grid-template-columns:74px 1fr;gap:18px;align-items:start;margin-top:28px}
.checkout-product h1{font-size:28px;line-height:1.12;margin:2px 0 10px}
.checkout-product p{color:var(--muted);font-size:13px;line-height:1.55;margin:0}
.mini-cover{width:68px;height:92px;background:linear-gradient(160deg,var(--blue),#0b73e0);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;box-shadow:0 10px 22px rgba(19,81,180,.18)}
.order-line,.order-total{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:18px 0;margin-top:25px}
.order-line span{color:#687583;font-size:13px}
.order-line strong{font-size:15px}
.order-total{margin-top:0;padding-top:20px}
.order-total span{font-weight:700}
.order-total strong{font-size:26px;color:var(--blue)}
.checkout-info-box{background:#fff8da;border-left:4px solid var(--yellow);border-radius:8px;padding:16px;margin-top:12px}
.checkout-info-box strong{font-size:13px}
.checkout-info-box p{font-size:11px;line-height:1.55;color:#65571b;margin:6px 0 0}
.secure-list{display:grid;gap:8px;margin-top:22px;color:#57687a;font-size:11px}

.checkout-steps{display:grid;grid-template-columns:1fr 42px 1fr;align-items:center;margin-bottom:34px}
.step-tab{display:flex;align-items:center;gap:10px;opacity:.45}
.step-tab.active{opacity:1}
.step-tab>span{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8eef5;color:#59697a;font-weight:800}
.step-tab.active>span{background:var(--blue);color:#fff}
.step-tab small{display:block;font-size:9px;letter-spacing:.08em;color:#7b8793}
.step-tab strong{display:block;font-size:13px;margin-top:2px}
.step-divider{height:2px;background:#dce4ed}

.checkout-step{display:none}
.checkout-step.active{display:block}
.step-heading{margin-bottom:26px}
.step-heading .eyebrow{margin-bottom:8px}
.step-heading h2{font-size:30px;margin:0 0 9px}
.step-heading p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}

.field{margin-bottom:17px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field label{display:block;font-size:12px;font-weight:700;margin:0 0 7px}
.field input{width:100%;height:52px;border:1px solid #cdd8e3;border-radius:9px;padding:0 14px;font:inherit;color:var(--blue-dark);outline:none;background:#fff}
.field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(19,81,180,.09)}
.field-error{display:block;min-height:14px;color:#b42318;font-size:10px;margin-top:5px}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.5;color:#586879;margin:7px 0 3px;cursor:pointer}
.consent input{margin-top:2px}
.consent a{color:var(--blue);text-decoration:underline}

.checkout-main-btn{width:100%;min-height:58px;border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:800;font-size:15px;cursor:pointer;margin-top:17px;transition:.2s}
.checkout-main-btn:hover{background:#0c459e;transform:translateY(-1px)}
.checkout-main-btn:disabled{opacity:.55;cursor:not-allowed}

.customer-review{background:#f6f9fc;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:20px;position:relative}
.customer-review>div{display:grid;grid-template-columns:75px 1fr;gap:10px;font-size:11px;padding:4px 0}
.customer-review span{color:#778491}
.customer-review strong{font-size:11px;word-break:break-word}
.customer-review button{position:absolute;right:12px;top:12px;border:0;background:transparent;color:var(--blue);font-weight:700;font-size:10px;cursor:pointer}
.payment-method{display:flex;align-items:center;gap:15px;border:2px solid var(--blue);border-radius:11px;padding:17px;background:#f9fbff}
.pix-mark{width:52px;height:42px;border-radius:9px;background:#e7f7f2;color:#007f67;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px}
.payment-method strong,.payment-method span{display:block}
.payment-method span{font-size:12px;color:#697685;margin-top:3px}

.loading-state{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px}
.spinner{width:42px;height:42px;border:4px solid #e4ebf3;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.loading-state span{color:#7d8894;font-size:11px}

.pix-result{margin-top:4px}
.pix-success-head{display:flex;align-items:center;gap:12px;background:#eff9f4;border:1px solid #cfe9db;border-radius:10px;padding:14px;margin-bottom:18px}
.success-icon{width:36px;height:36px;border-radius:50%;background:#168821;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}
.pix-success-head strong,.pix-success-head span{display:block}
.pix-success-head span{font-size:11px;color:#65756e;margin-top:2px}
.qr-box{width:246px;min-height:246px;margin:0 auto 16px;border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:center;background:#fff}
#qrcode img,#qrcode canvas{max-width:220px!important;max-height:220px!important}
.qr-fallback{text-align:center;color:#75818d;font-size:12px;line-height:1.5}
.pix-instruction{text-align:center;color:#637180;font-size:11px;line-height:1.5;max-width:430px;margin:0 auto 17px}
.pix-result>label{display:block;font-size:11px;font-weight:700;margin-bottom:7px}
.copy-row{display:grid;grid-template-columns:1fr 92px;gap:8px}
.copy-row textarea{height:72px;resize:none;border:1px solid #cbd6e1;border-radius:8px;padding:10px;font-size:10px;line-height:1.4;word-break:break-all}
.copy-row button{border:0;border-radius:8px;background:var(--blue-dark);color:#fff;font-weight:800;font-size:11px;cursor:pointer}
.copy-feedback{min-height:18px;color:#168821;font-size:10px;margin-top:5px}
.payment-status{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff8da;border-radius:9px;padding:12px;margin-top:12px;color:#675616;font-size:12px}
.payment-status.paid{background:#e9f8ef;color:#0b6f37}
.status-dot{width:8px;height:8px;border-radius:50%;background:#e4a500;box-shadow:0 0 0 5px rgba(228,165,0,.12)}
.status-dot.paid{background:#168821;box-shadow:0 0 0 5px rgba(22,136,33,.12)}
.expiration,.safe-note{text-align:center;color:#7a8693;font-size:10px;line-height:1.5}
.api-error{margin-top:15px;background:#fff0ef;border:1px solid #f0c9c5;color:#9f231d;border-radius:8px;padding:13px;font-size:11px;line-height:1.5}

@media(max-width:900px){
  .checkout-layout{grid-template-columns:1fr}
  .checkout-order{position:relative;top:auto}
}
@media(max-width:620px){
  .checkout-topbar{flex-direction:column;gap:2px;padding:8px}
  .checkout-shell{padding:16px 10px 35px}
  .checkout-order,.checkout-card{padding:20px 16px;border-radius:11px}
  .checkout-product{grid-template-columns:58px 1fr;gap:12px}
  .mini-cover{width:55px;height:75px}
  .checkout-product h1{font-size:23px}
  .checkout-steps{grid-template-columns:1fr 24px 1fr;margin-bottom:25px}
  .step-tab>span{width:30px;height:30px;font-size:12px}
  .step-tab strong{font-size:11px}
  .step-tab small{font-size:8px}
  .field-row{grid-template-columns:1fr}
  .step-heading h2{font-size:26px}
  .checkout-main-btn{min-height:56px}
  .qr-box{width:225px;min-height:225px}
  .copy-row{grid-template-columns:1fr}
  .copy-row button{min-height:44px}
}


/* Footer também no checkout e páginas institucionais */
.checkout-body .site-footer,
.page-body .site-footer{
  margin-top:0;
}
.checkout-body .site-footer{
  border-top:5px solid var(--yellow);
}
@media(max-width:620px){
  .checkout-body .site-footer,
  .page-body .site-footer{
    padding-top:38px;
  }
}


/* Checkout sem fetch/AJAX: fluxo processado pelo PHP */
.gateway-code{display:block;margin-top:7px;color:#8b3b34;font-size:10px}
.customer-review form{margin:0}
.customer-review .edit-link{
  position:absolute;right:12px;top:12px;border:0;background:transparent;
  color:var(--blue);font-weight:700;font-size:10px;cursor:pointer
}
.status-form{margin-top:14px}
.status-button{
  width:100%;min-height:48px;border:1px solid var(--blue);border-radius:8px;
  background:#fff;color:var(--blue);font-weight:800;font-size:12px;cursor:pointer
}
.status-button:hover{background:#f2f7ff}


/* Navegação checkout corrigida */
.button-link{
  display:flex !important;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.single-payment{
  grid-template-columns:.72fr 1.28fr;
}
@media(max-width:900px){
  .single-payment{grid-template-columns:1fr}
}
