/*
Theme Name: MEISP Venda Premium
Theme URI: https://meisp.com.br/
Author: MEISP
Description: Tema independente de conversão comercial MEISP: planos, soluções, White Label, cotação, suporte e integração opcional WooCommerce.
Version: 7.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: meisp-venda-premium
*/

/* MEISP Enterprise 4.1 — mobile-first polish, no additional font downloads */
:root{--meisp-body-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body,button,input,select,textarea{font-family:var(--meisp-body-font)}
.enterprise-hero h1,.section-head h2,.pricing-intro h2{letter-spacing:-.035em;line-height:1.1;text-wrap:balance}
.enterprise-copy p,.section-head p{line-height:1.6}
.meisp-login-inline{font-size:.93rem!important;margin-top:14px!important}
.meisp-login-inline a{color:#42efd5;text-underline-offset:4px;font-weight:700}
.meisp-decision{padding-block:clamp(44px,6vw,88px)}
.meisp-decision-actions{display:flex;flex-wrap:wrap;gap:12px}
.meisp-decision-actions .btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center}
.enterprise-visual img{display:block;max-width:100%;height:auto;object-fit:contain}
@media(max-width:767px){
 .enterprise-layout,.enterprise-copy,.enterprise-visual{min-width:0;max-width:100%}
 .enterprise-hero h1{font-size:clamp(2rem,8.2vw,3.2rem)!important;line-height:1.09!important;overflow-wrap:break-word}
 .enterprise-copy p{font-size:1rem!important;line-height:1.55}
 .enterprise-visual{overflow:hidden}
 .enterprise-visual img{width:100%;height:auto}
 .enterprise-audiences{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .enterprise-audiences a{min-width:0;padding:16px!important}
 .enterprise-audiences h2{font-size:1rem!important}
 .meisp-decision-actions{flex-direction:column}
 .meisp-decision-actions .btn{width:100%}
 .pricing-spotlight,.commerce-dark{overflow:hidden}
}
@media(max-width:380px){.enterprise-audiences{grid-template-columns:1fr!important}.enterprise-hero h1{font-size:clamp(1.9rem,9vw,2.3rem)!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 4.6: consolidated presentation overrides for the reported pages */
:root{--meisp-text:#082638;--meisp-muted:#526b7c;--meisp-border:#dbe8eb}
body{overflow-x:clip;line-height:1.55;-webkit-font-smoothing:antialiased}
.page-hero{padding-block:clamp(44px,5vw,78px) clamp(20px,3vw,44px)!important}
.page-hero h1{font-size:clamp(2rem,4vw,3.65rem)!important;line-height:1.11!important;letter-spacing:-.045em!important;font-weight:700!important;max-width:21ch;overflow-wrap:break-word}
.page-hero p{font-size:clamp(1rem,1.4vw,1.125rem)!important;line-height:1.65!important;font-weight:400!important;max-width:70ch;color:var(--meisp-muted)}
.enterprise-form h2,.enterprise-side h2{font-size:clamp(1.35rem,2.1vw,1.85rem)!important;line-height:1.2!important;font-weight:700!important}
.enterprise-form label{font-size:.95rem!important;line-height:1.45!important;font-weight:600!important}
.enterprise-form input:not([type=checkbox]),.enterprise-form select,.enterprise-form textarea{font-size:1rem!important;line-height:1.45!important;min-height:48px!important;max-width:100%;font-weight:400!important}
.enterprise-form textarea{min-height:132px!important}
.enterprise-form .privacy-row{font-weight:400!important}
.enterprise-grid,.field-grid,.pricing-grid{min-width:0}
.enterprise-grid>*,.field-grid>*,.pricing-grid>*{min-width:0}
.pricing-grid .price,.plan-card .price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.pricing-grid .price small,.plan-card .price small{font-size:.75rem!important;line-height:1.45!important;font-weight:400!important;color:var(--meisp-muted)}
@media(max-width:900px){.enterprise-grid{grid-template-columns:1fr!important}.page-hero{padding-top:42px!important}.page-hero h1{max-width:100%}}
@media(max-width:600px){.page-hero h1{font-size:clamp(1.9rem,8vw,2.65rem)!important}.enterprise-form,.enterprise-side{padding:clamp(18px,5vw,28px)!important}.field-grid{grid-template-columns:1fr!important}.enterprise-form .btn{width:100%;justify-content:center}}

/* 4.9: componentes de formulario e leitura mais consistentes */
.enterprise-form input:not([type=checkbox]),.enterprise-form select,.enterprise-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:48px;font:inherit;line-height:1.4}
.enterprise-form textarea{min-height:132px;resize:vertical}
.enterprise-form label{min-width:0;overflow-wrap:break-word}
.enterprise-form .field-grid{min-width:0}
.enterprise-form :is(input,select,textarea):focus-visible{outline:3px solid #14b8a6;outline-offset:2px}
.enterprise-form .privacy-row input{width:20px;height:20px;flex-shrink:0}
@media(max-width:760px){.enterprise-grid,.enterprise-form .field-grid{grid-template-columns:minmax(0,1fr)!important}.enterprise-form{width:100%;min-width:0}.enterprise-side{min-width:0}}


/* 5.3 — redes oficiais, acessibilidade e estabilidade mobile */
.meisp-social{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-block:18px}
.meisp-social a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:12px;text-decoration:none}
.meisp-social a:hover{text-decoration:underline}
.meisp-social-handle{font-weight:700}
.meisp-market-inner{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.meisp-market-item{white-space:nowrap}
.meisp-market-note{font-size:.78rem}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #13b8a6;outline-offset:3px}
@media(max-width:700px){.meisp-market-note{width:100%}.meisp-social{gap:8px}.meisp-social a{font-size:.85rem}.meisp-market-social{display:none}}

/* 5.3.1: redes clicáveis no topo */
.meisp-market-inner>.meisp-social-top{margin-left:auto;padding:0;display:flex;gap:5px;flex-wrap:wrap;align-items:center;width:auto}
.meisp-social-top .meisp-social-handle{font-size:11px;margin-right:5px;color:#5bf1d9}
.meisp-social-top .meisp-social-link{border:1px solid rgba(255,255,255,.25);color:#fff;font-size:11px;min-height:30px;padding:5px 8px;border-radius:7px}
.meisp-social-top .meisp-social-link:hover{background:rgba(255,255,255,.13)}
@media(max-width:900px){.meisp-market-inner>.meisp-social-top{width:100%;margin-left:0;justify-content:center}.meisp-social-top .meisp-social-link{min-height:36px}}
@media(max-width:700px){.meisp-market-social{display:none}.meisp-market-inner>.meisp-social-top{display:flex}.meisp-social-top .meisp-social-link{font-size:10px}}

/* 5.3.2: somente ícones, links externos em nova aba */
.meisp-social .meisp-social-handle{display:none!important}
.meisp-social{gap:8px;padding-block:12px}
.meisp-social .meisp-social-link{display:inline-flex;justify-content:center;align-items:center;width:38px;height:38px;min-width:38px;min-height:38px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:10px;text-decoration:none;line-height:1;color:inherit;transition:background-color .18s ease,border-color .18s ease}
.meisp-social .meisp-social-link svg{width:19px;height:19px;display:block;flex:none}
.meisp-social .meisp-social-link:hover{background:rgba(20,184,166,.15);border-color:#14b8a6}
.meisp-market-inner>.meisp-social-top{margin-left:auto;width:auto;padding:0;gap:5px}
.meisp-social-top .meisp-social-link{color:#fff;width:32px;height:32px;min-width:32px;min-height:32px;border-color:rgba(255,255,255,.22)}
.meisp-social-top .meisp-social-link svg{width:17px;height:17px}
@media(max-width:900px){.meisp-market-inner>.meisp-social-top{width:auto;margin-left:auto;justify-content:flex-end}}
@media(max-width:700px){.meisp-market-inner>.meisp-social-top{display:flex;gap:6px}.meisp-social-top .meisp-social-link{width:38px;height:38px;min-width:38px;min-height:38px}}
@media(prefers-reduced-motion:reduce){.meisp-social .meisp-social-link{transition:none}}

/* Enterprise 6.0 — design refinement with original content intact */
:root{--meisp-accent:#09d5bd;--meisp-ink:#062331;--meisp-radius:18px}
html{scroll-padding-top:110px}
.top{position:sticky;top:0;z-index:100;background:#061d29;box-shadow:0 10px 35px rgba(0,0,0,.09);transition:box-shadow .2s ease}
.admin-bar .top{top:32px}
.top .nav{gap:clamp(12px,2vw,28px)}
.top .brand img{max-width:210px;height:auto}
.top .links{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(10px,1.4vw,24px)}
.top .links a{position:relative;text-decoration:none;text-underline-offset:6px}
.top .links a:hover,.top .links a:focus-visible{text-decoration:underline;text-decoration-color:var(--meisp-accent)}
.top .nav-actions{display:flex;align-items:center;gap:10px}
.top .nav-actions .btn{white-space:nowrap;min-height:44px}
.top .mobile summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.top .mobile-links a{min-height:44px;display:flex;align-items:center}
.meisp-market-inner{min-height:40px;row-gap:6px}
.meisp-market-note{opacity:.75}
.meisp-social-top .meisp-social-link{border:0;min-width:36px;min-height:36px;width:36px;height:36px;border-radius:9px}
.meisp-social-top .meisp-social-link:hover{background:rgba(9,213,189,.18)}
.meisp-social .meisp-social-link:focus-visible{outline:3px solid #09d5bd;outline-offset:3px}
.enterprise-hero,.page-hero{isolation:isolate}
.enterprise-hero h1,.page-hero h1{letter-spacing:-.045em}
:is(.plan-card,.pricing-card,.enterprise-side,.enterprise-form){border-radius:var(--meisp-radius)}
:is(input,select,textarea){accent-color:#078f80}
:is(.btn,button,input[type=submit]){touch-action:manipulation}
img{max-width:100%;height:auto}
@media(max-width:1200px){.top .links{gap:10px}.top .brand img{max-width:175px}.top .nav-actions .btn{padding-inline:12px}}
@media(max-width:1000px){.top .links{display:none}.top .nav{flex-wrap:wrap}.top .mobile{margin-left:auto}}
@media(max-width:760px){.top .nav-actions{gap:6px}.top .nav-actions .btn{font-size:.8rem;padding:10px}.top .brand img{max-width:145px}.meisp-market-inner{justify-content:center}.meisp-market-note{display:none}.meisp-social-top{margin-left:0!important}}
@media(max-width:480px){.top .nav-actions .ghost{display:none}.top .nav-actions .primary{min-height:40px}.top .brand img{max-width:125px}}
@media(max-width:782px){.admin-bar .top{top:46px}}
@media(prefers-reduced-motion:reduce){.top{transition:none}}

/* MEISP 6.3: accessible motion and narrow viewport resilience */
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
@media(max-width:480px){.meisp-market-inner{overflow-wrap:anywhere}.meisp-social a{min-width:44px;min-height:44px;justify-content:center}}
