/* AutoDEV — extensão pontual da identidade original BISPO.PRO/MundoLIBRI */
#libri-hub .ml-offer-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}
#libri-hub .ml-product{display:block;text-align:left;background:linear-gradient(135deg,#153963,#0b2344);color:#f4f7ff;border:1px solid #5981b0;border-radius:11px;padding:13px 14px;min-height:58px;font-weight:680;font-size:13px;line-height:1.4}
#libri-hub .ml-product:first-child{border-color:#d7b977;color:#ffe3ad}
#libri-hub .ml-product:hover,#libri-hub .ml-product:focus-visible{border-color:#e2c784;background:#1c4a7b}
#libri-hub .ml-spotlight{outline:2px solid #d7bb76;outline-offset:4px}
#libri-modal .ml-kicker{color:#e8c986;font-size:11px;font-weight:800;letter-spacing:.09em;margin:10px 0}
#libri-modal .ml-chosen-maxim{margin:9px 0 17px;padding:13px 16px;background:#0d233d;border-left:3px solid #dfc27e;border-radius:8px;color:#f5eedf;line-height:1.6}
#libri-modal .ml-reading{font-size:15px;white-space:pre-wrap}
#libri-modal .ml-preview-note{border:1px solid #846a41;border-radius:9px;padding:12px;color:#f8e4bc;background:#9a754321}
#libri-modal .ml-privacy{font-size:12px;color:#b9d0e7}
#libri-modal .ml-form{display:flex;flex-direction:column;gap:12px}
#libri-modal .ml-question{font-weight:650;color:#f2e9d6}
#libri-modal .ml-question textarea{display:block;resize:vertical;font-weight:400;margin-top:6px}
#libri-modal .ml-form-message{color:#f4d38a;font-size:13px}
#libri-modal .ml-form button.ml-action,#libri-modal .ml-modal-body button.ml-action{background:#2763a1;color:white;border:1px solid #b6d4f6}
#libri-modal .ml-recap{padding:12px;border:1px solid #567495;border-radius:12px}
#libri-modal .ml-recap summary{cursor:pointer;color:#f1d394}
#libri-modal .ml-recap p{font-size:13px;border-bottom:1px solid #3b526e;padding-bottom:10px}
#libri-modal .ml-purchase-price{font-size:22px;font-weight:850;color:#e8c986;margin:13px 0}
#libri-modal .ml-days{border:1px solid #3d648d;border-radius:11px;padding:10px}
#libri-modal .ml-days legend{font-size:14px;font-weight:700;color:#f2e7ce}
#libri-modal .ml-day-label{display:inline-flex;align-items:center;margin:4px 10px 4px 0;font-size:13px;gap:3px}
#libri-modal .ml-day-label input{width:auto;margin:0}
#libri-modal select{width:100%;padding:12px;background:#09182a;color:#fff;border:1px solid #6080a5;border-radius:8px;margin-top:8px}
#libri-modal .ml-whatsapp-preview{min-height:210px}
#libri-modal .ml-whatsapp-link{display:inline-block;margin:12px 0;padding:12px 14px;background:#137047;border:1px solid #55ce91;border-radius:11px;color:#fff;text-decoration:none;font-weight:750}
#libri-modal .ml-whatsapp-link:hover{background:#178455}
@media(max-width:580px){#libri-hub .ml-offer-actions{grid-template-columns:1fr}#libri-modal .lb-dialog{padding:16px 14px}}

/* Pedido editorial: convite gratuito verde, acima das Palavras do Autor. */
#ml-reflection-essential-cta.small-btn{
 background:linear-gradient(145deg,#187b47,#126038)!important;
 border:1.5px solid #7ae6a8!important;
 color:#f5fff9!important;
 font-weight:800!important;
 box-shadow:0 5px 19px rgba(21,121,65,.24),inset 0 1px rgba(255,255,255,.15)!important;
}
#ml-reflection-essential-cta.small-btn:hover,
#ml-reflection-essential-cta.small-btn:focus-visible{
 background:linear-gradient(145deg,#259959,#187745)!important;
 border-color:#b8f7cf!important;
 box-shadow:0 0 0 2px rgba(92,229,150,.18),0 6px 24px rgba(27,151,79,.35)!important;
}
#ml-reflection-essential-cta[hidden]{display:none!important}

/* Convite azul pulsante, integrado ao painel original e ao formulário real. */
#ml-author-note .ml-community-reflect-cta{
 display:block;
 width:min(100%,420px);
 margin:18px auto 3px;
 padding:13px 18px;
 border:1.5px solid #88cfff;
 border-radius:999px;
 color:#fff;
 background:linear-gradient(140deg,#086bc3,#074c97);
 font:800 clamp(13px,2vw,15px)/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
 cursor:pointer;
 text-align:center;
 letter-spacing:.01em;
 animation:ml-blue-invite 2.3s ease-in-out infinite;
}
#ml-author-note .ml-community-reflect-cta:hover,
#ml-author-note .ml-community-reflect-cta:focus-visible{
 background:linear-gradient(140deg,#1889e8,#075dba);
 border-color:#c4eaff;
 box-shadow:0 0 0 3px rgba(49,153,255,.25),0 0 24px rgba(31,131,255,.65);
 animation-play-state:paused;
}
@keyframes ml-blue-invite{
 0%,100%{box-shadow:0 0 0 0 rgba(31,139,255,.25),0 0 8px rgba(54,147,255,.20);border-color:#6cb5fa}
 50%{box-shadow:0 0 0 5px rgba(31,139,255,.10),0 0 24px rgba(31,131,255,.65);border-color:#c4eaff}
}
@media (prefers-reduced-motion:reduce){
 #ml-author-note .ml-community-reflect-cta{animation:none;box-shadow:0 0 14px rgba(31,131,255,.42)}
}


/* Um dedo branco semi-transparente chama a atenção, sem piscar de modo invasivo. */
#ml-reflection-essential-cta.small-btn{position:relative!important;overflow:visible!important;padding-right:43px!important}
#ml-reflection-essential-cta.small-btn::after{
 content:"";position:absolute;right:10px;top:50%;width:24px;height:27px;opacity:.62;
 background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M9 11V4a2 2 0 0 1 4 0v7m0-2a2 2 0 0 1 4 0v3m0-2a2 2 0 0 1 4 0v5c0 4-3 7-7 7h-2c-2 0-3-1-4-3l-3-5c-1-2 2-4 4-2l2 2'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M9 11V4a2 2 0 0 1 4 0v7m0-2a2 2 0 0 1 4 0v3m0-2a2 2 0 0 1 4 0v5c0 4-3 7-7 7h-2c-2 0-3-1-4-3l-3-5c-1-2 2-4 4-2l2 2'/%3E%3C/svg%3E") center/contain no-repeat;
 transform:translateY(-50%) rotate(-13deg);
 animation:ml-subtle-tap 5.6s ease-in-out infinite;
 pointer-events:none;
}
@keyframes ml-subtle-tap{
 0%,75%,100%{transform:translateY(-50%) rotate(-13deg) scale(1);opacity:.52}
 80%,88%{transform:translateY(-44%) rotate(-13deg) scale(.92);opacity:.85}
 84%{transform:translateY(-48%) rotate(-13deg) scale(1.03);opacity:.78}
}
@media(prefers-reduced-motion:reduce){#ml-reflection-essential-cta.small-btn::after{animation:none}}

/* Formulário essencial e devolutiva no modal já existente */
#libri-modal .ml-essencial-form .ml-question{display:block;padding:11px 12px;border:1px solid #3f648a;background:rgba(13,39,70,.55);border-radius:12px}
#libri-modal .ml-personalized-reading{padding:6px 0;line-height:1.75}
#libri-modal .ml-personalized-reading p{white-space:pre-wrap;margin:0 0 17px;color:#e5ecf6}
#libri-modal .ml-rating{margin:23px 0 6px;padding:20px 16px;border:1px solid #4c7caa;border-radius:15px;background:rgba(18,48,84,.5);text-align:center}
#libri-modal .ml-rating h4{color:#f7e7be;font-size:18px;margin:0 0 6px}
#libri-modal .ml-rating p{font-size:13px}
#libri-modal .ml-stars{display:flex;justify-content:center;flex-wrap:wrap;gap:3px}
#libri-modal .ml-stars .ml-star{border:0;background:transparent;color:#ffdb7a;font-size:clamp(30px,6vw,40px);line-height:1;padding:5px 6px;cursor:pointer;min-width:40px;margin:0}
#libri-modal .ml-stars .ml-star:focus-visible{outline:2px solid #89caff}
#libri-modal .ml-stars .ml-star:disabled{opacity:1;cursor:default}
#libri-modal .ml-rating-feedback{color:#b3e2c7;font-size:12px;line-height:1.55}

/* Convite de aviso: perceptível porém não concorrente com o botão de envio. */
#community-form label.autodev-notify{
 display:flex!important;align-items:center!important;gap:11px!important;
 margin:14px 0 13px!important;padding:13px 15px!important;
 border:1.5px solid #7faddd!important;border-radius:12px!important;
 background:linear-gradient(110deg,rgba(20,71,121,.19),rgba(27,102,171,.10))!important;
 color:var(--ink)!important;font-size:14px!important;font-weight:650!important;
 box-shadow:0 0 0 2px rgba(112,177,242,.045);
}
#community-form label.autodev-notify:has(input:checked){
 border-color:#61be93!important;background:rgba(39,136,94,.15)!important;
}
#community-form label.autodev-notify input{
 width:19px!important;height:19px!important;min-width:19px!important;
 flex:none!important;accent-color:#2e9e75;cursor:pointer;
}
@media(prefers-reduced-motion:reduce){#libri-modal .ml-stars .ml-star{transition:none}}


/* Regra editorial permanente da prévia: qualquer preço monetário é verde bem clarinho.
   Aplicada em textos originais e conteúdos que abrem dinamicamente nos formulários/modais. */
:root{--ml-price-green:#b6f6d0}
.ml-price-green{
 color:var(--ml-price-green)!important;
 font-weight:800!important;
 text-shadow:0 1px 2px rgba(10,73,38,.6),0 0 8px rgba(79,216,143,.18);
}
#libri-modal .ml-purchase-price{color:var(--ml-price-green)!important}
#libri-hub .ml-product .ml-price-green{color:var(--ml-price-green)!important}


/* MundoLIBRI — entrega manual por Pix usando a identidade original */
#libri-modal .ml-pix-label{
 display:block;margin:17px 0 10px;color:#e7d199;font-size:14px;font-weight:750;
}
#libri-modal .ml-pix-key{
 display:block;width:100%;box-sizing:border-box;text-align:center;letter-spacing:.035em;
 font-weight:850;font-size:clamp(20px,4vw,26px);
 background:#0a2f34!important;color:#b6f6d0!important;border:1.5px solid #78d7aa!important;
}
#libri-modal .ml-pix-human{
 margin:7px 0 13px;color:#bcd3dc;font-size:12px;
}
#libri-modal .ml-pix-copy{
 background:linear-gradient(135deg,#127647,#165d42)!important;
 border-color:#86d9ac!important;color:white!important;font-weight:750!important;
}
#libri-modal .ml-pix-steps{
 padding-left:24px;margin:16px 0;line-height:1.65;color:#d9e4f0;
}
#libri-modal .ml-pix-steps li{padding:5px 0}
#libri-modal .ml-pix-confirm{
 display:flex;align-items:center;gap:10px;margin:19px 0 13px;padding:12px 14px;
 border:1px solid #759cc6;border-radius:12px;background:#143456;color:#eff6fd;font-weight:650;
}
#libri-modal .ml-pix-confirm input{
 width:19px;height:19px;min-width:19px;margin:0;accent-color:#209f67;flex:none;
}
#libri-modal .ml-whatsapp-disabled{
 opacity:.48;pointer-events:none;filter:grayscale(.45);cursor:not-allowed;
}
#libri-modal .ml-pix-reminder{font-size:12px;line-height:1.6;color:#bcd2e5}
#libri-modal .ml-payment-back{
 display:inline-block;margin:6px 4px 12px 0;
 background:#173b61!important;border-color:#6080aa!important;color:#d8e8fb!important;
}


/* MundoLIBRI — sol editorial sutil, atrás do grande banner inferior. */
#libri-hub{position:relative;isolation:isolate}
#libri-hub::before{
 content:"";position:absolute;inset:-38px -15px -45px;
 z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse 64% 64% at 49% 53%,rgba(249,191,85,.32) 0%,rgba(222,160,74,.18) 28%,rgba(48,118,211,.15) 52%,transparent 78%);
 filter:blur(27px);
 animation:ml-solar-aura 8s ease-in-out infinite alternate;
}
#libri-hub .lb-wrap{
 position:relative;
 animation:ml-solar-shell 8s ease-in-out infinite alternate;
}
#libri-hub .lb-wrap::before{
 content:"";position:absolute;inset:-4px;z-index:0;pointer-events:none;border-radius:30px;
 background:radial-gradient(ellipse at 50% 3%,rgba(255,222,147,.16),transparent 54%),
 radial-gradient(ellipse at 15% 65%,rgba(54,126,228,.07),transparent 38%);
 animation:ml-solar-light 7.6s ease-in-out infinite;
}
#libri-hub .lb-wrap > *{position:relative;z-index:1}
#libri-hub #lb-panel-offers{
 position:relative;
 text-shadow:0 0 16px rgba(239,194,91,.23),0 0 35px rgba(75,145,236,.25);
 animation:ml-solar-heading 7s ease-in-out infinite alternate;
}
@keyframes ml-solar-aura{
 from{transform:translateY(6px) scale(.975);opacity:.58}
 to{transform:translateY(-9px) scale(1.035);opacity:.95}
}
@keyframes ml-solar-light{
 0%,100%{opacity:.5;transform:translateX(-4px)}
 50%{opacity:1;transform:translateX(4px)}
}
@keyframes ml-solar-shell{
 from{box-shadow:0 20px 80px rgba(0,0,0,.45),0 0 35px rgba(231,174,82,.11)}
 to{box-shadow:0 20px 90px rgba(0,0,0,.45),0 0 65px rgba(233,173,79,.3),0 0 95px rgba(27,109,210,.16)}
}
@keyframes ml-solar-heading{
 from{text-shadow:0 0 14px rgba(243,189,88,.17),0 0 28px rgba(92,173,250,.16)}
 to{text-shadow:0 0 18px rgba(253,204,107,.43),0 0 38px rgba(106,169,255,.34)}
}
@media(prefers-reduced-motion:reduce){
 #libri-hub::before,#libri-hub .lb-wrap,#libri-hub .lb-wrap::before,#libri-hub #lb-panel-offers{animation:none!important}
}

/* Quatro opções exclusivas do percurso principal. Comunidade permanece separada. */
#libri-hub .ml-offer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#libri-hub .ml-offer-actions .ml-product{min-height:75px;padding:17px;font-size:14px;line-height:1.55}
#libri-hub .ml-offer-actions .ml-product:first-child{background:linear-gradient(135deg,#124c37,#153a57);border-color:#77cea2}
#libri-hub .ml-offer-actions .ml-product:nth-child(3){border-color:#cdb47b}
#libri-hub .ml-offer-actions .ml-product:nth-child(4){border-color:#a7c6f2}
#libri-hub .ml-community-aside{color:#9dbbd8!important;font-size:13px!important;margin:24px 0 5px!important}
#libri-hub .ml-community-secondary{font-weight:650;padding:9px 13px;border-radius:10px;color:#dbeaff;border:1px solid #4a719a;background:#0b2342}
#libri-hub .ml-selected-maxim{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;padding:10px 12px;background:#0b2946;border:1px solid #446e9e;border-radius:10px;margin:8px 0;color:#edf5ff;font-size:13px}
#libri-modal .ml-maxim-add{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#libri-modal .ml-maxim-add input{flex:1;min-width:170px;margin:0}
#libri-modal .ml-maxim-add button{margin:0}
#libri-modal .ml-selected-maxim{display:flex;align-items:start;justify-content:space-between;gap:8px;background:#0d2947;border:1px solid #466b96;padding:12px;margin:8px 0;border-radius:10px;color:#edf4ff;font-size:13px}
#libri-modal .ml-selected-maxim button.ml-remove-maxim{background:#2c405b;border:1px solid #7190b4;font-size:12px;flex:none;padding:5px 8px;margin:0}
#libri-modal .ml-total-price{margin:15px 0;padding:12px 15px;border:1px solid #76c9a0;border-radius:12px;background:#0c3529;color:#b6f6d0;font-size:17px;font-weight:850;text-align:center}
#libri-modal .ml-quiz-progress{margin:12px 0;padding:9px 12px;color:#f1d393;background:#153a5f;border:1px solid #6886a7;border-radius:10px;font-size:13px;font-weight:750}
#libri-modal .ml-paid-questions .ml-question{display:block;padding:10px 12px;border:1px solid #395f86;background:#102943;border-radius:11px;font-size:13px}
#libri-modal .ml-slot-label{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:3px 0;font-size:13px;color:#dbeaff;font-weight:500}
#libri-modal .ml-slot-label input{max-width:285px;min-width:0;flex:1;color-scheme:dark}
#libri-modal .ml-pdf-preview-card{border:1px solid #b49b6a;background:linear-gradient(150deg,#102a4c,#0a182b);padding:15px;margin:14px 0;border-radius:14px}
#libri-modal .ml-pdf-preview-card h4{color:#f3db9c;margin:0 0 8px;font-size:17px}
#libri-modal .ml-pdf-preview-card p{margin:7px 0}
#libri-modal .ml-pdf-preview-card button{font-size:13px;margin:5px 7px 5px 0}
#libri-modal .ml-pdf-preview-card .ml-sample-pdf{background:linear-gradient(135deg,#27618b,#174976);border-color:#a9c8dc}
#libri-modal .ml-preview-text{margin:12px 0;border-top:1px solid #6086b0;padding-top:8px}
#libri-modal .ml-preview-text summary{cursor:pointer;color:#ead3a4}
#libri-modal .ml-preview-text p{font-size:13px;line-height:1.65}
#libri-modal .ml-schedule-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
#libri-modal .ml-continue-pay{background:linear-gradient(135deg,#127447,#0e5d39)!important;border-color:#8ae9b6!important}
@media(max-width:690px){
 #libri-hub .ml-offer-actions{grid-template-columns:1fr}
 #libri-modal .ml-slot-label{display:block}
 #libri-modal .ml-slot-label input{width:100%;max-width:none}
}


/* Entrega direta de cartilha PDF após declaração do Pix, sem solicitar e-mail. */
#libri-modal .ml-pdf-downloads{
 border:1.5px solid rgba(237,203,131,.78);border-radius:17px;
 background:radial-gradient(ellipse at 94% 0%,rgba(45,110,186,.26),transparent 63%),linear-gradient(155deg,#07192f,#0d2a4c 73%,#09172c);
 box-shadow:inset 0 1px rgba(255,244,208,.14),0 10px 30px rgba(0,9,24,.25);
 padding:17px;margin:17px 0;color:#eff6ff;
}
#libri-modal .ml-pdf-downloads h4{font:800 19px/1.28 system-ui;margin:2px 0 12px;color:#f0cf91}
#libri-modal .ml-pdf-downloads p{font-size:12px;color:#bcd6ec;line-height:1.65}
#libri-modal .ml-pdf-downloads .ml-download-final{
 width:100%;min-height:52px;margin:8px 0 4px;
 background:linear-gradient(130deg,#165f49,#096340)!important;
 border:1.5px solid #9deac5!important;color:#eefef6!important;font-weight:800!important;
}
#libri-modal .ml-pdf-downloads .ml-download-final:disabled{
 opacity:.48;filter:grayscale(.3);cursor:not-allowed!important;
 box-shadow:none!important;
}
#libri-modal .ml-pdf-downloads .ml-download-final:not(:disabled):hover,
#libri-modal .ml-pdf-downloads .ml-download-final:not(:disabled):focus-visible{
 box-shadow:0 0 19px rgba(86,238,162,.2);
}
#libri-modal .ml-pdf-downloads .ml-form-message{min-height:20px}


/* Botão de download visível antes do fluxo de pagamento na prévia. */
#libri-modal .ml-pdf-preview-card .ml-download-preview{
 display:block!important;width:100%;min-height:59px;
 padding:14px!important;margin:14px 0 8px!important;
 border:1.5px solid #a3f3c4!important;border-radius:13px!important;
 background:linear-gradient(120deg,#137b50,#126441)!important;
 color:#fff!important;font-weight:850!important;font-size:15px!important;
 letter-spacing:.005em;box-shadow:0 0 22px rgba(90,225,161,.25);
}
#libri-modal .ml-pdf-preview-card .ml-download-preview:disabled{opacity:.65;cursor:progress!important}
#libri-modal .ml-pdf-preview-card .ml-download-preview:not(:disabled):hover{
 filter:brightness(1.13);transform:translateY(-1px);
}
