/* V19.8 — primeiro download gratuito real */
.ct-product-link{color:inherit;text-decoration:none;cursor:pointer}.ct-product-link .product-image:after{content:none}.ct-product-link .product-body,.ct-product-link .product-topline,.ct-product-link .product-card-description{display:flex}.ct-product-link .product-body{flex-direction:column}.ct-product-link .product-topline{align-items:flex-start;justify-content:space-between}.product-card-title{display:block;font-size:15px;line-height:1.3;margin:0 0 7px;color:#fff}.product-card-description{color:#aaa;font-size:11px;line-height:1.5}.ct-product-link:hover .product-card-title,.ct-product-link:focus-visible .product-card-title{color:#f6c64d}.ct-product-link .card-action{margin-top:auto}.ct-product-link .product-image img{transition:transform .35s ease,filter .35s ease}.ct-product-link:hover .product-image img,.ct-product-link:focus-visible .product-image img{transform:scale(1.025);filter:brightness(1.05)}
.real-product-hero{padding:118px 0 58px;background:radial-gradient(circle at 84% 18%,rgba(246,198,77,.1),transparent 29%),radial-gradient(circle at 15% 90%,rgba(49,95,102,.1),transparent 34%),#050505}.real-product-layout{display:grid;grid-template-columns:minmax(280px,410px) 1fr;align-items:center;gap:58px}.real-cover{max-width:390px;margin:auto;border-radius:22px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.5),0 0 0 1px rgba(246,198,77,.25)}.real-cover img{display:block;width:100%;height:auto}.real-product-copy h1{font-size:clamp(2.15rem,4.7vw,4.6rem);line-height:.99;letter-spacing:-.055em;margin:13px 0 20px}.real-summary{font-size:clamp(1rem,1.8vw,1.24rem);line-height:1.65;color:#c5c5c5;max-width:720px}.product-badges{margin-bottom:18px}.free-access-note{display:flex;flex-direction:column;gap:5px;margin:24px 0;padding:16px 18px;border:1px solid rgba(69,212,155,.34);border-radius:14px;background:linear-gradient(135deg,rgba(31,137,99,.15),rgba(255,255,255,.015));max-width:520px}.free-access-note strong{color:#68ddb0;font-size:.95rem}.free-access-note span{color:#aaa;font-size:.82rem;line-height:1.5}.product-content-section{padding:55px 0}.product-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-info-grid article{padding:24px;border:1px solid rgba(246,198,77,.17);border-radius:17px;background:linear-gradient(145deg,rgba(246,198,77,.045),rgba(255,255,255,.012))}.product-info-grid h2{font-size:1.16rem;margin:8px 0 10px}.product-info-grid p{color:#aaa;line-height:1.68;font-size:.84rem}.download-form-section{padding:60px 0;background:linear-gradient(180deg,rgba(255,255,255,.018),transparent)}.download-layout{display:grid;grid-template-columns:.86fr 1.14fr;gap:44px;align-items:start}.download-intro h2{font-size:clamp(1.8rem,3.2vw,3rem);margin:8px 0 15px}.download-intro p{color:#b6b6b6;line-height:1.7}.download-intro ul{padding:0;margin:22px 0 0;list-style:none;display:grid;gap:10px}.download-intro li{position:relative;padding-left:24px;color:#aaa;font-size:.82rem;line-height:1.5}.download-intro li:before{content:'✓';position:absolute;left:0;color:#56d5a0;font-weight:900}.download-form{padding:27px;border:1px solid rgba(246,198,77,.28);border-radius:20px;background:linear-gradient(150deg,#0c0b08,#050505);box-shadow:0 24px 70px rgba(0,0,0,.3)}.download-form>label:not(.download-consent){display:grid;gap:7px;margin-bottom:14px}.download-form label>span:first-child{font-size:.72rem;font-weight:800;color:#ddd}.download-form input[type=text],.download-form input[type=email],.download-form input[type=tel]{height:48px;border:1px solid rgba(255,255,255,.13);border-radius:11px;background:#0d0d0d;color:#fff;padding:0 13px;font:inherit;font-size:.88rem;outline:none;transition:.2s}.download-form input:focus{border-color:#f6c64d;box-shadow:0 0 0 3px rgba(246,198,77,.1)}.download-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0;color:#b8b8b8;font-size:.72rem;line-height:1.55}.download-consent input{margin-top:3px;accent-color:#d4a537}.download-consent a{color:#f6c64d}.turnstile-container{min-height:68px;margin:16px 0;display:flex;align-items:center;overflow:hidden}.download-message{padding:12px 13px;margin:12px 0;border-radius:10px;font-size:.78rem;line-height:1.5}.download-message[data-state=error]{border:1px solid rgba(235,102,102,.35);background:rgba(150,34,34,.14);color:#ffb0b0}.download-message[data-state=success]{border:1px solid rgba(70,214,157,.35);background:rgba(21,120,81,.15);color:#88eac2}.download-submit{width:100%;min-height:48px}.form-security-note{margin:12px 0 0;text-align:center;color:#747474;font-size:.65rem;line-height:1.5}.product-faq{padding:56px 0}.product-faq-list{max-width:920px;margin:auto;display:grid;gap:9px}.product-faq-list details{border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.018);padding:0 17px}.product-faq-list summary{cursor:pointer;padding:16px 28px 16px 0;font-weight:800;font-size:.86rem;color:#eee}.product-faq-list p{padding:0 0 16px;margin:0;color:#aaa;font-size:.8rem;line-height:1.65}.real-product-page .institutional-footer{margin-top:0}
@media(max-width:900px){.real-product-layout{grid-template-columns:310px 1fr;gap:30px}.product-info-grid{grid-template-columns:1fr}.download-layout{grid-template-columns:1fr}.download-intro{max-width:760px}.real-product-copy h1{letter-spacing:-.04em}}
@media(max-width:680px){.real-product-hero{padding:105px 0 45px}.real-product-layout{grid-template-columns:1fr;gap:28px}.real-cover{max-width:285px}.real-product-copy{text-align:center}.real-product-copy .badge-stack{justify-content:center}.real-summary,.free-access-note{margin-left:auto;margin-right:auto}.real-product-copy .btn{width:100%}.product-content-section,.download-form-section,.product-faq{padding:43px 0}.download-form{padding:20px 16px}.turnstile-container{justify-content:center}.product-info-grid article{padding:20px}.real-product-copy h1{font-size:2.25rem}}
@media(max-width:380px){.cf-turnstile{transform:scale(.91);transform-origin:left center}.turnstile-container{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.ct-product-link .product-image img{transition:none}}

/* V19.9 — validação acessível e mensagens por campo */
.download-form input[aria-invalid="true"]{border-color:#e87e7e;box-shadow:0 0 0 3px rgba(232,126,126,.1)}
.field-error{display:block;margin:-8px 0 12px;color:#ffb0b0;font-size:.7rem;line-height:1.45}
.field-error[hidden]{display:none}
.download-consent+.field-error{margin:-7px 0 12px 30px}
.download-submit:disabled{cursor:not-allowed;opacity:.68;transform:none;filter:saturate(.65)}
.turnstile-container:focus{outline:2px solid rgba(246,198,77,.72);outline-offset:5px;border-radius:8px}
@media(max-width:680px){.field-error{font-size:.68rem}.download-consent+.field-error{margin-left:0}}


/* V19.10 — capa real como fundo integral do card do e-book */
.ct-product-link[data-product-id="fundamentos-contextos-avaliacao-imobiliaria-v1"] .product-image{
  background-image:
    linear-gradient(180deg,rgba(3,8,20,.04) 0%,rgba(3,7,16,.16) 48%,rgba(3,5,10,.66) 100%),
    url("/assets/ebooks/fundamentos-contextos-avaliacao-imobiliaria-v1.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  background-color:#eef3f8;
}
.ct-product-link[data-product-id="fundamentos-contextos-avaliacao-imobiliaria-v1"] .product-image img{
  opacity:0;
  pointer-events:none;
}
@media(max-width:680px){
  .ct-product-link[data-product-id="fundamentos-contextos-avaliacao-imobiliaria-v1"] .product-image{
    background-position:center center;
  }
}
