:root{
    --blue:#0a5ec7;
    --blue-2:#0b7fe8;
    --blue-dark:#082f66;
    --orange:#ff7a00;
    --orange-2:#ff9f2e;
    --text:#142033;
    --muted:#657187;
    --line:#dce5f1;
    --soft-line:#edf2f8;
    --bg:#f3f7fc;
    --white:#ffffff;
    --danger:#cc1f1f;
    --success:#137333;
    --shadow:0 18px 45px rgba(8,47,102,.12);
    --shadow-soft:0 8px 22px rgba(20,32,51,.07);
    --radius:18px;
    --radius-sm:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:
        radial-gradient(circle at 8% 0%,rgba(10,94,199,.09),transparent 28%),
        radial-gradient(circle at 92% 4%,rgba(255,122,0,.10),transparent 26%),
        var(--bg);
    color:var(--text);
    line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.container{width:min(1180px,92%);margin:0 auto}
.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}


.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid rgba(209,222,239,.95);
    backdrop-filter:saturate(170%) blur(14px);
    box-shadow:0 8px 28px rgba(8,47,102,.08);
}
.header-accent{height:3px;background:linear-gradient(90deg,var(--blue),var(--blue-2),var(--orange));}
.header-inner{display:flex;align-items:center;gap:14px;min-height:70px}
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:950;
    letter-spacing:.2px;
    color:var(--blue-dark);
    white-space:nowrap;
    flex:0 0 auto;
}
.brand img{
    width:42px;
    height:42px;
    object-fit:cover;
    border-radius:11px;
    box-shadow:0 0 0 3px #fff,0 8px 18px rgba(8,47,102,.18);
}
.brand span{font-size:1rem;line-height:1;font-weight:950}
.main-nav{
    display:flex;
    gap:3px;
    align-items:center;
    flex:1 1 auto;
    min-width:0;
    justify-content:flex-start;
    background:#f6f9fe;
    border:1px solid rgba(213,225,240,.95);
    padding:5px;
    border-radius:16px;
    overflow-x:auto;
    scrollbar-width:none;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.main-nav::-webkit-scrollbar{display:none}
.main-nav a,
.nav-link{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex:0 0 auto;
    min-height:38px;
    padding:8px 10px;
    border-radius:11px;
    color:#26354d;
    font-size:.82rem;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
    letter-spacing:.01em;
    border:1px solid transparent;
    transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s;
}
.nav-icon{font-size:.98rem;line-height:1;filter:saturate(1.1)}
.main-nav a:hover,
.nav-link:hover{
    color:var(--blue-dark);
    background:#fff;
    border-color:#d8e8fb;
    box-shadow:0 8px 18px rgba(8,47,102,.08);
    transform:translateY(-1px);
}
.main-nav a.active,
.nav-link.active{
    color:#fff;
    background:linear-gradient(135deg,var(--blue-dark),var(--blue));
    border-color:rgba(10,94,199,.18);
    box-shadow:0 10px 22px rgba(10,94,199,.18);
}
.main-nav a.active .nav-icon,
.nav-link.active .nav-icon{filter:none}
.header-actions{display:flex;gap:9px;align-items:center;flex:0 0 auto}
.lang-form select{
    height:42px;
    border:1px solid var(--line);
    background:#fff;
    padding:0 10px;
    border-radius:12px;
    font-weight:900;
    color:#26354d;
    outline:none;
    box-shadow:0 5px 15px rgba(20,32,51,.04);
}
.lang-form select:focus{border-color:#a7cdf8;box-shadow:0 0 0 4px rgba(10,94,199,.10)}
.nav-toggle{
    display:none;
    width:44px;
    height:42px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid var(--line);
    background:#fff;
    padding:0;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(20,32,51,.05);
}
.nav-toggle span{display:block;width:19px;height:2px;background:var(--blue-dark);border-radius:999px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;padding:12px 18px;font-weight:900;cursor:pointer;transition:.18s;min-height:44px;border-radius:12px;box-shadow:none}
.btn-small{padding:9px 14px;min-height:40px;font-size:.9rem}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;box-shadow:0 10px 22px rgba(10,94,199,.20)}
.btn-primary:hover{background:linear-gradient(135deg,var(--blue-dark),var(--blue));transform:translateY(-1px)}
.btn-orange{background:linear-gradient(135deg,var(--orange),var(--orange-2));color:#151515;box-shadow:0 10px 22px rgba(255,122,0,.20)}
.btn-orange:hover{filter:saturate(1.08);transform:translateY(-1px)}
.btn-light{background:#fff;color:var(--blue);border:1px solid var(--line)}
.btn-block{width:100%}

.hero{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(122deg,#ffffff 0%,#eef6ff 48%,#fff3e4 100%);
    border-bottom:1px solid var(--line);
    padding:54px 0 42px;
}
.hero:before{
    content:"";
    position:absolute;
    inset:auto -120px -170px auto;
    width:430px;
    height:430px;
    background:radial-gradient(circle,rgba(255,122,0,.22),transparent 66%);
    pointer-events:none;
}
.hero:after{
    content:"";
    position:absolute;
    inset:-160px auto auto -150px;
    width:420px;
    height:420px;
    background:radial-gradient(circle,rgba(10,94,199,.18),transparent 66%);
    pointer-events:none;
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #bfd8f7;color:var(--blue-dark);font-weight:900;padding:8px 12px;margin-bottom:14px;border-radius:999px;box-shadow:0 8px 18px rgba(8,47,102,.08)}
.eyebrow:before{content:"⚙";color:var(--orange)}
.hero h1{font-size:clamp(2.05rem,4.2vw,4rem);line-height:1.02;margin:0 0 16px;color:#071f48;letter-spacing:-.04em;max-width:780px}
.hero p{font-size:1.08rem;color:var(--muted);margin:0 0 22px;max-width:720px}
.search-box{background:#fff;border:1px solid rgba(188,207,229,.95);box-shadow:var(--shadow);padding:9px;display:flex;gap:10px;border-radius:16px;max-width:760px}
.search-box input{flex:1;border:1px solid var(--soft-line);background:#f9fbfe;padding:15px 16px;font-size:1rem;min-width:0;border-radius:12px;outline:none}
.search-box input:focus{border-color:#a7cdf8;box-shadow:0 0 0 4px rgba(10,94,199,.10);background:#fff}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.hero-pill{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:#314159;font-weight:800;font-size:.9rem}
.hero-pill b{color:var(--blue-dark)}
.hero-card{background:rgba(255,255,255,.94);border:1px solid rgba(220,229,241,.95);box-shadow:var(--shadow);padding:18px;border-radius:var(--radius);position:relative;overflow:hidden}
.hero-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--blue),var(--orange))}
.hero-card img{display:block;margin:0 auto 14px;max-height:245px;object-fit:contain;border-radius:14px}
.hero-card strong{display:block;font-size:1.08rem;color:var(--blue-dark);margin-bottom:5px}
.hero-card p{font-size:.95rem;margin:0;color:var(--muted)}
.hero-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.hero-mini{background:#f8fbff;border:1px solid var(--soft-line);border-radius:13px;padding:10px;font-weight:900;color:#0c254d;font-size:.9rem}
.hero-mini span{display:block;color:var(--muted);font-size:.78rem;font-weight:700;margin-top:2px}

/* Os espaços publicitários ficam invisíveis até o módulo AdSense montar uma unidade real. */
.ad-slot{display:none!important;margin:0!important;min-height:0!important}
.ad-slot.adsense-active{display:block!important;position:relative;background:#fff;border:1px solid #e0e8f1;color:#6d7c91;min-height:110px!important;margin:22px 0!important;padding:22px 8px 8px;border-radius:14px;overflow:hidden;text-align:center}
.ad-slot.adsense-active.sidebar{min-height:280px!important;position:sticky;top:96px}
.ad-slot.adsense-active.in-list{min-height:120px!important;margin:18px 0!important}
.ad-slot.adsense-unfilled{display:none!important;margin:0!important;padding:0!important;min-height:0!important;border:0!important}
.adsense-label{position:absolute;left:0;right:0;top:5px;color:#7b8797;font-size:.66rem;line-height:1;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.ad-slot .adsbygoogle{width:100%;min-width:0}
.section{padding:38px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}
.section-title h2{margin:0;color:#071f48;font-size:1.85rem;letter-spacing:-.03em}
.section-title p{margin:5px 0 0;color:var(--muted)}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.quick-card{position:relative;background:#fff;border:1px solid rgba(220,229,241,.95);padding:18px;box-shadow:var(--shadow-soft);min-height:138px;border-radius:var(--radius-sm);overflow:hidden;transition:.18s}
.quick-card:before{content:"";position:absolute;left:0;top:0;width:4px;height:100%;background:linear-gradient(180deg,var(--blue),var(--orange));opacity:.9}
.quick-card:hover{border-color:#9fc5f6;transform:translateY(-3px);box-shadow:0 18px 34px rgba(8,47,102,.12)}
.quick-card .icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;font-size:24px;background:#f1f7ff;border:1px solid #dcecff;border-radius:13px;margin-bottom:10px}
.quick-card h3{margin:0 0 5px;font-size:1.05rem;color:#0c254d}
.quick-card p{margin:0;color:var(--muted);font-size:.93rem}
.content-layout{display:grid;grid-template-columns:1fr 300px;gap:24px}
.card{background:#fff;border:1px solid rgba(220,229,241,.95);padding:20px;box-shadow:var(--shadow-soft);border-radius:var(--radius-sm)}
.card h2,.card h3{margin-top:0;color:#071f48;letter-spacing:-.02em}
.card p:last-child{margin-bottom:0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.form{display:grid;gap:14px}
.form label{font-weight:900;color:#2f3b50}
.form input,.form select,.form textarea{width:100%;border:1px solid var(--line);background:#fff;padding:12px 13px;font:inherit;border-radius:11px;outline:none}
.form input:focus,.form select:focus,.form textarea:focus{border-color:#a7cdf8;box-shadow:0 0 0 4px rgba(10,94,199,.10)}
.form textarea{min-height:120px;resize:vertical}
.form-help{font-size:.88rem;color:var(--muted)}
.profile-line{display:flex;align-items:center;gap:10px}
.avatar{width:42px;height:42px;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);border-radius:12px}
.avatar-lg{width:78px;height:78px;border-radius:18px}
.badge{display:inline-flex;align-items:center;gap:6px;background:#edf5ff;color:var(--blue-dark);border:1px solid #c7dbf5;font-weight:900;padding:6px 9px;font-size:.86rem;border-radius:999px}
.badge-orange{background:#fff2df;color:#8f4700;border-color:#ffd6a3}
.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.table th,.table td{border-bottom:1px solid var(--line);padding:12px;text-align:left}
.table tr:last-child td{border-bottom:0}
.table th{background:#f8fbff;color:#24324a}
.status-pending{color:#9b5a00;font-weight:900}
.status-approved{color:var(--success);font-weight:900}
.status-rejected{color:var(--danger);font-weight:900}
.flash{margin-top:16px;padding:12px 14px;font-weight:900;border-radius:13px}
.flash-success{background:#e8f5ec;border:1px solid #b8dfc5;color:#0d5d28}
.flash-error{background:#fdeaea;border:1px solid #f3b4b4;color:#9d1818}
.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:28px 0}
.dashboard-menu{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.site-footer{background:#fff;border-top:1px solid var(--line);margin-top:44px;padding:34px 0 18px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}
.footer-grid a{display:block;color:var(--muted);margin-top:7px}
.footer-bottom{border-top:1px solid var(--line);margin-top:22px;padding-top:14px;color:var(--muted);font-size:.9rem}

@media(max-width:1180px){
    .container{width:min(1240px,95%)}
    .brand span{font-size:.96rem}
    .main-nav a,.nav-link{font-size:.79rem;padding:8px 8px}
    .nav-icon{display:none}
}
@media(max-width:980px){
    .nav-toggle{display:flex;order:3}
    .main-nav{display:none;position:absolute;left:4%;right:4%;top:73px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:10px;flex-direction:column;align-items:stretch;border-radius:16px;overflow:visible}
    .main-nav.open{display:flex}
    .main-nav a,.nav-link{justify-content:flex-start;width:100%;font-size:.95rem;padding:12px 13px}
    .nav-icon{display:inline-flex}
    .header-inner{justify-content:space-between}
    .hero-grid,.content-layout,.grid-3,.grid-2{grid-template-columns:1fr}
    .quick-grid{grid-template-columns:repeat(2,1fr)}
    .hero{padding-top:36px}
    .header-actions{gap:6px;margin-left:auto}
    .brand span{display:inline}
}
@media(max-width:600px){
    .quick-grid{grid-template-columns:1fr}
    .search-box{flex-direction:column}
    .footer-grid{grid-template-columns:1fr}
    .ad-slot.sidebar{position:static;min-height:120px}
    .header-inner{min-height:66px;gap:8px}
    .brand img{width:38px;height:38px;border-radius:10px}
    .brand span{font-size:.92rem;max-width:118px;overflow:hidden;text-overflow:ellipsis}
    .header-actions .btn{padding:8px 10px}
    .lang-form select{max-width:82px;height:40px;padding:0 8px}
    .nav-toggle{width:40px;height:40px}
    .main-nav{top:69px}
    .hero h1{font-size:2.1rem}
    .hero-mini-grid{grid-template-columns:1fr}
}


.admin-section{padding-top:28px}
.admin-hero{padding:24px;background:linear-gradient(135deg,#ffffff 0%,#f5f9ff 64%,#fff7ee 100%);overflow:hidden;position:relative}
.admin-hero:before{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;background:radial-gradient(circle,rgba(10,94,199,.12),transparent 66%);pointer-events:none}
.admin-hero:after{content:"";position:absolute;left:-90px;bottom:-90px;width:260px;height:260px;background:radial-gradient(circle,rgba(255,122,0,.11),transparent 66%);pointer-events:none}
.admin-hero-top{position:relative;z-index:1;margin:0 0 18px}
.eyebrow-small{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:900;padding:6px 10px;border-radius:999px;background:#eef6ff;border:1px solid #cfe1f8;color:var(--blue-dark);margin-bottom:8px}
.admin-title{margin:0;font-size:2rem;line-height:1;color:#071f48;letter-spacing:-.03em}
.admin-subtitle{margin-top:6px;color:var(--muted);font-weight:800}
.admin-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.stats-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{background:#fff;border:1px solid rgba(220,229,241,.95);border-radius:16px;padding:18px;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;gap:8px;min-height:132px}
.stat-highlight{background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:#fff;border-color:transparent;box-shadow:0 18px 36px rgba(10,94,199,.18)}
.stat-highlight .stat-label,.stat-highlight .stat-meta{color:rgba(255,255,255,.82)}
.stat-label{font-size:.88rem;font-weight:900;color:#57647a;text-transform:uppercase;letter-spacing:.04em}
.stat-number{font-size:2rem;line-height:1;color:#091f45}
.stat-highlight .stat-number{color:#fff}
.stat-meta{font-size:.92rem;color:var(--muted)}
.admin-main-grid{margin-top:18px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.panel-head h2{margin:0 0 4px}
.panel-head p{margin:0;color:var(--muted)}
.mini-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.mini-stat{background:#f8fbff;border:1px solid var(--soft-line);border-radius:14px;padding:14px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.mini-stat span{color:#4a5971;font-weight:800}
.mini-stat strong{font-size:1.35rem;color:#071f48}
.bar-chart{display:grid;grid-template-columns:repeat(14,1fr);gap:10px;align-items:end;min-height:280px;padding-top:8px}
.bar-item{display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}
.bar-value{font-size:.78rem;font-weight:900;color:#5c6880;min-height:18px}
.bar-track{width:100%;height:180px;background:linear-gradient(180deg,#f5f8fd,#eef4fb);border:1px solid var(--soft-line);border-radius:14px;display:flex;align-items:flex-end;padding:6px}
.bar-fill{width:100%;background:linear-gradient(180deg,var(--blue-2),var(--blue));border-radius:10px 10px 8px 8px;min-height:8px;box-shadow:0 10px 18px rgba(10,94,199,.16)}
.bar-label{font-size:.76rem;font-weight:800;color:#516177}
.list-bars{display:grid;gap:12px}
.list-bar-row{display:grid;gap:8px}
.list-bar-text{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.list-bar-text strong{color:#0b234b;word-break:break-word}
.list-bar-text span{color:#68768d;font-size:.92rem;font-weight:800}
.list-bar-track{height:12px;background:#eef4fb;border:1px solid var(--soft-line);border-radius:999px;overflow:hidden}
.list-bar-fill{height:100%;background:linear-gradient(90deg,var(--blue),var(--blue-2));border-radius:999px}
.list-bar-fill.orange{background:linear-gradient(90deg,var(--orange),var(--orange-2))}
.activity-list{display:grid;gap:10px}
.activity-item{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--soft-line)}
.activity-item:last-child{border-bottom:0;padding-bottom:0}
.activity-item strong{display:block;color:#0c254d;text-transform:capitalize}
.activity-item p{margin:4px 0 0;color:var(--muted)}
.activity-item span{white-space:nowrap;font-size:.86rem;color:#6b778d;font-weight:900}
.admin-note-card{background:linear-gradient(135deg,#fff 0%,#fff8f0 100%)}
.admin-check-list{margin:0;padding-left:18px;display:grid;gap:10px}
.admin-check-list li{color:#3e4b60}
.empty-note{margin:0;color:var(--muted)}

@media(max-width:960px){
    .stats-grid{grid-template-columns:repeat(2,1fr)}
    .mini-stats-grid{grid-template-columns:1fr}
    .bar-chart{grid-template-columns:repeat(7,1fr)}
}
@media(max-width:640px){
    .admin-title{font-size:1.55rem}
    .stats-grid{grid-template-columns:1fr}
    .bar-chart{grid-template-columns:repeat(4,1fr);overflow-x:auto}
    .admin-hero-actions{width:100%}
    .admin-hero-actions .btn{flex:1 1 calc(50% - 10px)}
}


/* ADMIN PREMIUM V3 */
.admin-page{
    padding:28px 0 42px;
    background:
        radial-gradient(circle at 10% 0%,rgba(10,94,199,.10),transparent 30%),
        radial-gradient(circle at 92% 4%,rgba(255,122,0,.10),transparent 26%);
}
.admin-topbar{
    background:linear-gradient(135deg,#ffffff 0%,#f6faff 62%,#fff7ef 100%);
    border:1px solid rgba(204,219,238,.95);
    box-shadow:0 18px 45px rgba(8,47,102,.10);
    border-radius:20px;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}
.admin-brandbox{display:flex;align-items:center;gap:14px}
.admin-brandbox h1{margin:3px 0 4px;color:#071f48;font-size:2rem;letter-spacing:-.04em;line-height:1}
.admin-brandbox p{margin:0;color:#5f6c83;font-weight:700}
.admin-kicker{
    display:inline-flex;
    background:#eef6ff;
    color:#08366f;
    border:1px solid #cbdff7;
    border-radius:999px;
    padding:5px 9px;
    font-size:.78rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.admin-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:9px 13px;
    border-radius:12px;
    background:#fff;
    border:1px solid #d8e4f2;
    color:#163253;
    font-weight:900;
    box-shadow:0 8px 18px rgba(8,47,102,.06);
}
.admin-actions a:hover{border-color:#9fc5f6;color:#0a5ec7}
.admin-actions .admin-exit{background:linear-gradient(135deg,#0a5ec7,#0b7fe8);color:#fff;border-color:transparent}
.admin-alert{
    background:#fff5e8;
    border:1px solid #ffd09b;
    color:#794200;
    border-radius:14px;
    padding:13px 15px;
    font-weight:800;
    margin-bottom:18px;
}
.admin-metrics{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:16px;
    margin-bottom:18px;
}
.metric-card{
    background:#fff;
    border:1px solid rgba(213,225,240,.98);
    border-radius:18px;
    padding:19px;
    box-shadow:0 12px 28px rgba(8,47,102,.08);
    min-height:132px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.metric-card span{
    color:#66748a;
    font-weight:900;
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.metric-card strong{
    color:#071f48;
    font-size:2.25rem;
    line-height:1;
    letter-spacing:-.04em;
}
.metric-card small{color:#6c788e;font-weight:700}
.metric-main{
    background:linear-gradient(135deg,#082f66,#0a5ec7);
    border-color:transparent;
    color:#fff;
}
.metric-main span,.metric-main small{color:rgba(255,255,255,.82)}
.metric-main strong{color:#fff}
.admin-layout{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);
    gap:18px;
    margin-bottom:18px;
}
.admin-card{
    background:#fff;
    border:1px solid rgba(213,225,240,.98);
    border-radius:18px;
    box-shadow:0 12px 28px rgba(8,47,102,.08);
    padding:20px;
}
.admin-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:16px;
}
.admin-card h2{
    margin:0 0 4px;
    color:#071f48;
    font-size:1.25rem;
    letter-spacing:-.02em;
}
.admin-card p{margin:0;color:#657187}
.admin-chip{
    display:inline-flex;
    white-space:nowrap;
    border-radius:999px;
    padding:6px 10px;
    background:#edf6ff;
    color:#0a4d96;
    border:1px solid #cddff4;
    font-size:.78rem;
    font-weight:900;
}
.chart-card{min-height:390px}
.line-chart{
    width:100%;
    height:260px;
    background:linear-gradient(180deg,#f8fbff,#ffffff);
    border:1px solid #edf2f8;
    border-radius:16px;
    overflow:hidden;
    padding:8px;
}
.line-chart svg{width:100%;height:100%;display:block}
.chart-grid-line{stroke:#dce7f4;stroke-width:1}
.chart-base-line{stroke:#aab8cc;stroke-width:1.5}
.chart-area{fill:url(#lineFill)}
.chart-line{fill:none;stroke:#0a5ec7;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.chart-dot{fill:#fff;stroke:#ff7a00;stroke-width:3}
.chart-labels{
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#66748a;
    font-weight:900;
    font-size:.82rem;
    padding:10px 6px 0;
}
.admin-settings-form{
    display:grid;
    grid-template-columns:1fr;
    gap:11px;
}
.admin-settings-form label span{
    display:block;
    color:#2e3d55;
    font-size:.88rem;
    font-weight:900;
    margin-bottom:5px;
}
.admin-settings-form input{
    width:100%;
    border:1px solid #d7e3f2;
    background:#fbfdff;
    border-radius:12px;
    min-height:42px;
    padding:10px 12px;
    font:inherit;
    font-weight:800;
}
.admin-settings-form input:focus{
    outline:none;
    border-color:#9fc5f6;
    box-shadow:0 0 0 4px rgba(10,94,199,.10);
}
.admin-grid-3{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin-bottom:18px;
}
.admin-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.rank-list{display:grid;gap:13px}
.rank-row{display:grid;gap:7px}
.rank-info{display:flex;align-items:center;justify-content:space-between;gap:10px}
.rank-info strong{
    color:#10294f;
    font-size:.92rem;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:68%;
}
.rank-info span{
    color:#68768d;
    font-size:.82rem;
    font-weight:900;
    white-space:nowrap;
}
.rank-track{
    height:10px;
    background:#edf3fa;
    border:1px solid #e1eaf5;
    border-radius:999px;
    overflow:hidden;
}
.rank-track div{
    height:100%;
    background:linear-gradient(90deg,#0a5ec7,#0b7fe8);
    border-radius:999px;
    min-width:4px;
}
.rank-track.orange div{background:linear-gradient(90deg,#ff7a00,#ff9f2e)}
.portal-summary{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}
.portal-summary div{
    background:#f8fbff;
    border:1px solid #edf2f8;
    border-radius:14px;
    padding:14px;
}
.portal-summary span{
    display:block;
    color:#66748a;
    font-size:.82rem;
    font-weight:900;
    margin-bottom:5px;
}
.portal-summary strong{
    color:#071f48;
    font-size:1.35rem;
    line-height:1;
}
.activity-clean{display:grid;gap:10px}
.activity-clean div{
    border-bottom:1px solid #edf2f8;
    padding-bottom:10px;
}
.activity-clean div:last-child{border-bottom:0;padding-bottom:0}
.activity-clean strong{display:block;color:#10294f;text-transform:capitalize}
.activity-clean span{display:block;color:#7a8598;font-size:.82rem;font-weight:900;margin-top:2px}
.activity-clean p{margin:5px 0 0;color:#657187}
.admin-empty{color:#7a8598;font-weight:800;margin:0}

@media(max-width:1100px){
    .admin-layout{grid-template-columns:1fr}
    .admin-grid-3{grid-template-columns:1fr}
}
@media(max-width:900px){
    .admin-topbar{align-items:flex-start;flex-direction:column}
    .admin-actions{justify-content:flex-start}
    .admin-metrics{grid-template-columns:repeat(2,1fr)}
    .admin-grid-2{grid-template-columns:1fr}
    .portal-summary{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
    .admin-metrics{grid-template-columns:1fr}
    .admin-brandbox{align-items:flex-start}
    .admin-brandbox h1{font-size:1.55rem}
    .admin-actions a{flex:1 1 calc(50% - 8px)}
    .portal-summary{grid-template-columns:1fr}
    .line-chart{height:220px}
}


/* ADMIN UPDATE UPLOADER */
.update-grid{align-items:start}
.update-upload-box{display:grid;gap:16px}
.update-drop{
    display:grid;
    gap:7px;
    place-items:center;
    min-height:190px;
    padding:24px;
    border:2px dashed #b7cce6;
    border-radius:18px;
    background:linear-gradient(135deg,#f8fbff,#ffffff);
    text-align:center;
    cursor:pointer;
    transition:.18s;
}
.update-drop:hover{
    border-color:#0a5ec7;
    box-shadow:0 12px 28px rgba(10,94,199,.08);
}
.update-drop strong{font-size:1.15rem;color:#071f48}
.update-drop span{color:#657187;font-weight:700}
.update-drop input{
    width:100%;
    max-width:360px;
    border:1px solid #d7e3f2;
    background:#fff;
    border-radius:12px;
    padding:11px;
    font-weight:800;
}
.update-warning{
    background:#fff5e8;
    border:1px solid #ffd09b;
    color:#794200;
    border-radius:14px;
    padding:13px 15px;
    font-weight:800;
}
.update-warning.soft{
    background:#f8fbff;
    border-color:#d7e3f2;
    color:#44546d;
    margin-top:14px;
}
.update-warning code{
    background:rgba(255,255,255,.75);
    border:1px solid rgba(0,0,0,.08);
    border-radius:7px;
    padding:2px 5px;
}
.update-steps{
    margin:0;
    padding-left:20px;
    display:grid;
    gap:12px;
    color:#34445e;
    font-weight:750;
}
.update-result{margin-top:18px}
.admin-chip.ok{
    background:#e8f5ec;
    color:#0d5d28;
    border-color:#b8dfc5;
}
.admin-chip.warn{
    background:#fff5e8;
    color:#794200;
    border-color:#ffd09b;
}
.update-backup{
    background:#edf6ff;
    color:#08366f;
    border:1px solid #cbdff7;
    border-radius:14px;
    padding:12px 14px;
    font-weight:800;
    margin-bottom:16px;
}
.update-list{
    display:grid;
    gap:8px;
    max-height:260px;
    overflow:auto;
    padding-right:4px;
}
.update-list span,
.update-list em{
    display:block;
    background:#f8fbff;
    border:1px solid #edf2f8;
    border-radius:10px;
    padding:9px 10px;
    color:#26354d;
    font-style:normal;
    font-weight:800;
    word-break:break-word;
}
.update-list small{
    display:block;
    color:#7a8598;
    font-weight:700;
    margin-top:2px;
}
.update-list.danger span{
    background:#fff2f2;
    border-color:#ffd0d0;
    color:#8a1f1f;
}
@media(max-width:900px){
    .update-result .admin-grid-3{grid-template-columns:1fr}
}


/* REVENDEDOR / VITRINE V2 */
.product-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}
.product-card{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.product-card-image{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:4/3;
    background:linear-gradient(135deg,#f4f8fd,#fff);
    border:1px solid #e3edf8;
    border-radius:14px;
    overflow:hidden;
    color:#738299;
    font-weight:900;
    text-align:center;
}
.product-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.product-card h3{
    margin:0;
    color:#071f48;
}
.product-card p{
    margin:0;
    color:#657187;
}
.product-card-bottom{
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
}
.dealer-products-panel{
    margin-top:18px;
}
.dealer-product-list{
    display:grid;
    gap:12px;
}
.dealer-product-row{
    display:grid;
    grid-template-columns:110px minmax(0,1fr) 145px;
    gap:14px;
    align-items:center;
    border:1px solid #e3edf8;
    background:linear-gradient(135deg,#fff,#f9fcff);
    border-radius:16px;
    padding:12px;
}
.dealer-product-image{
    width:110px;
    aspect-ratio:4/3;
    border-radius:13px;
    border:1px solid #e3edf8;
    background:#f8fbff;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#738299;
    font-size:.8rem;
    font-weight:900;
    text-align:center;
}
.dealer-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.dealer-product-info h3{
    margin:0 0 5px;
    color:#071f48;
}
.dealer-product-info p{
    margin:0 0 8px;
    color:#657187;
}
.dealer-product-badges{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}
.dealer-product-actions{
    display:grid;
    gap:7px;
}
.product-edit-preview{
    width:100%;
    max-height:280px;
    object-fit:cover;
    border:1px solid #e3edf8;
    border-radius:16px;
    margin-bottom:16px;
}
.product-detail-layout{
    display:grid;
    grid-template-columns:330px minmax(0,1fr);
    gap:22px;
    align-items:start;
}
.product-detail-image{
    width:100%;
    aspect-ratio:4/3;
    background:linear-gradient(135deg,#f4f8fd,#fff);
    border:1px solid #e3edf8;
    border-radius:18px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#738299;
    font-weight:900;
}
.product-detail-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.product-price-line{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:10px 0 14px;
}
.compat-product-box,
.product-payment-note{
    margin-top:18px;
    padding:16px;
    border:1px solid #e3edf8;
    border-radius:16px;
    background:#f8fbff;
}
.compat-product-box h2,
.product-payment-note h2{
    margin:0 0 8px;
}
.product-detail-actions{
    margin-top:18px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
@media(max-width:980px){
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dealer-product-row{grid-template-columns:90px minmax(0,1fr)}
    .dealer-product-actions{grid-column:1 / -1;grid-template-columns:repeat(3,1fr)}
    .product-detail-layout{grid-template-columns:1fr}
}
@media(max-width:620px){
    .product-grid{grid-template-columns:1fr}
    .dealer-product-row{grid-template-columns:1fr}
    .dealer-product-image{width:100%}
    .dealer-product-actions{grid-template-columns:1fr}
}


/* PUBLICIDADE / MERCADO PAGO / IMAGEM URL */
.form-help{
    display:block;
    color:#657187;
    font-size:.84rem;
    font-weight:700;
    margin-top:5px;
}
.product-detail-actions .btn{
    min-height:42px;
}


/* MERCADO PAGO OAUTH / BANNER / URL IMAGEM */
.form-help{
    display:block;
    color:#657187;
    font-size:.84rem;
    font-weight:700;
    margin-top:5px;
}
.code-box{
    background:#f8fbff;
    border:1px solid #d7e3f2;
    border-radius:12px;
    padding:12px;
    color:#071f48;
    font-weight:900;
    word-break:break-all;
}
.product-detail-actions .btn{
    min-height:42px;
}
.update-sql-option{
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:13px 14px;
    border:1px solid #cfe0f5;
    background:#f8fbff;
    border-radius:14px;
    cursor:pointer;
}
.update-sql-option input{
    width:18px;
    height:18px;
    margin-top:3px;
}
.update-sql-option strong{
    display:block;
    color:#071f48;
}
.update-sql-option small{
    display:block;
    color:#657187;
    font-weight:700;
    margin-top:2px;
}


/* WEBHOOK MERCADO PAGO */
.code-box{
    background:#f8fbff;
    border:1px solid #d7e3f2;
    border-radius:12px;
    padding:12px;
    color:#071f48;
    font-weight:900;
    word-break:break-all;
}


/* CHECKOUT CARRINHO E AJUSTE BOTÕES DO CARRINHO */
.cart-summary .btn-orange{
    font-size:1rem!important;
    min-height:46px!important;
    box-shadow:0 12px 24px rgba(255,122,0,.18);
}
.cart-rail-actions .btn-orange{
    white-space:nowrap!important;
    min-width:112px!important;
    padding-left:12px!important;
    padding-right:12px!important;
}
.cart-rail-actions{
    min-width:124px!important;
}
.cart-checkout-mini-item{
    padding:10px 0;
    border-bottom:1px solid #edf2f8;
}
.cart-checkout-mini-item:last-child{
    border-bottom:0;
}
@media(max-width:1120px){
    .cart-rail-actions .btn-orange{
        min-width:0!important;
    }
}
@media(max-width:760px){
    .cart-summary .btn-orange{
        width:100%;
    }
}


/* Pontos, ranking e selos de membros */
.points-combo{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}
.member-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:25px;
    padding:4px 8px;
    border-radius:999px;
    border:1px solid #d7e3f2;
    background:#f8fbff;
    color:#33445d;
    font-size:.74rem;
    font-weight:950;
    line-height:1;
    vertical-align:middle;
    white-space:nowrap;
    box-shadow:0 5px 12px rgba(8,47,102,.06);
}
.member-icon{
    width:18px;
    height:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    font-size:.82rem;
    line-height:1;
}
.member-new{
    color:#25543d;
    background:#eefaf1;
    border-color:#c6ead1;
}
.member-new .member-icon{background:#d9f4df}
.member-active{
    color:#0a4d8a;
    background:#edf6ff;
    border-color:#bcdcff;
}
.member-active .member-icon{background:#d9ecff}
.member-super{
    color:#795000;
    background:#fff8df;
    border-color:#ffe08a;
}
.member-super .member-icon{background:#ffeaa8}
.member-top{
    color:#8a3d00;
    background:#fff0df;
    border-color:#ffc48a;
}
.member-top .member-icon{background:#ffd9ad}
.member-vip{
    color:#5030a5;
    background:#f1ecff;
    border-color:#d2c4ff;
}
.member-vip .member-icon{background:#ded4ff}
.member-lendario{
    color:#7c4200;
    background:linear-gradient(135deg,#fff7d8,#ffe3a3);
    border-color:#ffca55;
    box-shadow:0 8px 18px rgba(255,170,0,.18);
}
.member-lendario .member-icon{background:#ffd978}
.author-name-line{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
}
.ranking-podium{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:18px;
}
.ranking-card{
    background:#fff;
    border:1px solid #dce7f4;
    border-radius:18px;
    box-shadow:0 10px 26px rgba(8,47,102,.08);
    padding:16px;
    text-align:center;
}
.ranking-card .avatar{
    width:70px;
    height:70px;
    border-radius:18px;
    margin-bottom:8px;
}
.ranking-position{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:30px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--blue),var(--orange));
    color:#fff;
    font-weight:950;
    margin-bottom:10px;
}
.ranking-list{
    display:grid;
    gap:10px;
}
.ranking-row{
    display:grid;
    grid-template-columns:54px 46px minmax(0,1fr) 150px;
    gap:10px;
    align-items:center;
    background:#fff;
    border:1px solid #dce7f4;
    border-radius:16px;
    padding:10px 12px;
    box-shadow:0 8px 20px rgba(8,47,102,.05);
}
.ranking-row-position{
    color:#071f48;
    font-weight:950;
    text-align:center;
}
.ranking-row .avatar{
    width:42px;
    height:42px;
    border-radius:12px;
}
.ranking-user strong{
    color:#071f48;
}
.ranking-user small{
    display:block;
    color:#657187;
    font-weight:800;
}
.points-ledger{
    display:grid;
    gap:9px;
}
.points-event{
    display:grid;
    grid-template-columns:90px minmax(0,1fr) 120px;
    gap:10px;
    align-items:center;
    background:#fff;
    border:1px solid #dce7f4;
    border-radius:14px;
    padding:10px 12px;
}
.points-event strong{
    color:#0b6932;
    font-size:1rem;
}
.points-event.negative strong{
    color:#9a1c1c;
}
.points-event span{
    color:#657187;
    font-size:.78rem;
    font-weight:850;
}
.points-event p{
    margin:0;
    color:#071f48;
    font-weight:850;
}
@media(max-width:760px){
    .ranking-podium{
        grid-template-columns:1fr;
    }
    .ranking-row{
        grid-template-columns:40px 42px minmax(0,1fr);
    }
    .ranking-row > .points-combo{
        grid-column:3 / -1;
    }
    .points-event{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   Cabeçalho premium com menus agrupados e submenus
   ========================================================= */
.site-header{
    overflow:visible;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 34px rgba(8,47,102,.09);
}
.header-inner.container{
    width:min(1450px,calc(100% - 30px));
}
.header-inner{
    position:relative;
    min-height:76px;
    gap:18px;
}
.brand img{
    width:44px;
    height:44px;
    border-radius:13px;
}
.brand span{
    font-size:1.04rem;
    letter-spacing:.01em;
}
.main-nav{
    display:flex;
    flex:1 1 auto;
    min-width:0;
    align-items:center;
    justify-content:center;
    gap:6px;
    overflow:visible;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.nav-group{
    position:relative;
    flex:0 0 auto;
}
.nav-group-toggle{
    appearance:none;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:7px 12px 7px 8px;
    border:1px solid transparent;
    border-radius:13px;
    background:transparent;
    color:#26354d;
    font:inherit;
    font-size:.86rem;
    font-weight:950;
    white-space:nowrap;
    cursor:pointer;
    transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;
}
.nav-group-icon{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border:1px solid #dbe8f7;
    border-radius:10px;
    background:linear-gradient(145deg,#fff,#eef6ff);
    box-shadow:0 5px 12px rgba(8,47,102,.07);
    font-size:.92rem;
    line-height:1;
}
.nav-chevron{
    width:7px;
    height:7px;
    margin-left:1px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    opacity:.62;
    transition:transform .18s;
}
.nav-group:hover .nav-group-toggle,
.nav-group:focus-within .nav-group-toggle,
.nav-group.is-open .nav-group-toggle{
    color:var(--blue-dark);
    border-color:#d5e5f8;
    background:#f4f9ff;
    box-shadow:0 9px 22px rgba(8,47,102,.08);
    transform:translateY(-1px);
}
.nav-group.active .nav-group-toggle{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(135deg,var(--blue-dark),var(--blue));
    box-shadow:0 11px 24px rgba(10,94,199,.20);
}
.nav-group.active .nav-group-icon{
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.16);
    box-shadow:none;
}
.nav-group.active .nav-chevron{opacity:.9}
.nav-group:hover .nav-chevron,
.nav-group:focus-within .nav-chevron,
.nav-group.is-open .nav-chevron{
    transform:rotate(225deg) translate(-1px,-1px);
}
.nav-submenu{
    position:absolute;
    z-index:90;
    top:calc(100% + 12px);
    left:50%;
    width:350px;
    padding:9px;
    border:1px solid rgba(207,222,240,.98);
    border-radius:18px;
    background:rgba(255,255,255,.99);
    box-shadow:0 24px 58px rgba(8,47,102,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,-7px) scale(.985);
    transform-origin:top center;
    transition:opacity .16s,visibility .16s,transform .16s;
}
.nav-submenu:before{
    content:"";
    position:absolute;
    top:-7px;
    left:50%;
    width:13px;
    height:13px;
    border-left:1px solid #cfdef0;
    border-top:1px solid #cfdef0;
    background:#fff;
    transform:translateX(-50%) rotate(45deg);
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0) scale(1);
}
.nav-submenu-link{
    position:relative;
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 18px;
    gap:10px;
    align-items:center;
    width:100%;
    min-height:64px;
    padding:9px 10px;
    border:1px solid transparent;
    border-radius:13px;
    color:#26354d;
    transition:background .16s,border-color .16s,transform .16s;
}
.nav-submenu-link + .nav-submenu-link{margin-top:3px}
.nav-submenu-link:hover,
.nav-submenu-link:focus{
    border-color:#dce9f8;
    background:linear-gradient(135deg,#f7fbff,#eef6ff);
    transform:translateX(2px);
    outline:none;
}
.nav-submenu-link.active{
    border-color:#cfe2fb;
    background:#eef6ff;
}
.nav-submenu-icon{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border:1px solid #dbe7f5;
    border-radius:12px;
    background:#fff;
    box-shadow:0 6px 15px rgba(8,47,102,.07);
    font-size:1.02rem;
}
.nav-submenu-copy{min-width:0}
.nav-submenu-copy strong{
    display:block;
    color:#0b2855;
    font-size:.88rem;
    line-height:1.2;
}
.nav-submenu-copy small{
    display:block;
    margin-top:3px;
    color:#6a7990;
    font-size:.72rem;
    font-weight:750;
    line-height:1.3;
}
.nav-submenu-arrow{
    color:#7b8ca3;
    font-size:1.25rem;
    line-height:1;
}
.header-actions{
    gap:8px;
    margin-left:auto;
}
.lang-form select,
.header-panel-btn,
.nav-toggle{
    min-height:42px;
}
.lang-form select{
    border-radius:13px;
    background:#fbfdff;
}
.panel-label-short{display:none}
.nav-toggle{
    flex:0 0 auto;
    transition:background .16s,border-color .16s,box-shadow .16s;
}
.nav-toggle.open{
    border-color:#bcd8f7;
    background:#eef6ff;
    box-shadow:0 0 0 4px rgba(10,94,199,.08);
}
.nav-toggle span{transition:transform .18s,opacity .18s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:1180px){
    .header-inner.container{width:min(100% - 22px,1450px)}
    .header-inner{gap:10px}
    .brand span{font-size:.96rem}
    .nav-group-toggle{padding-right:9px;font-size:.80rem}
    .nav-group-icon{width:28px;height:28px}
}

@media(max-width:1040px){
    .header-inner{
        min-height:70px;
        justify-content:flex-start;
        flex-wrap:nowrap;
    }
    .brand{order:1}
    .header-actions{
        order:2;
        margin-left:auto;
    }
    .nav-toggle{
        display:flex;
        order:3;
    }
    .main-nav{
        display:none;
        position:absolute;
        z-index:85;
        top:calc(100% + 9px);
        left:0;
        right:0;
        max-height:calc(100vh - 96px);
        overflow-y:auto;
        padding:10px;
        border:1px solid #cfdef0;
        border-radius:19px;
        background:rgba(255,255,255,.995);
        box-shadow:0 24px 58px rgba(8,47,102,.20);
        flex-direction:column;
        align-items:stretch;
        gap:5px;
    }
    .main-nav.open{display:flex}
    .nav-group{width:100%}
    .nav-group-toggle{
        width:100%;
        min-height:50px;
        justify-content:flex-start;
        padding:8px 10px;
        font-size:.92rem;
        border-color:#e1eaf5;
        background:#fbfdff;
        transform:none!important;
        box-shadow:none!important;
    }
    .nav-group.active .nav-group-toggle{
        color:var(--blue-dark);
        border-color:#c9def8;
        background:#eef6ff;
    }
    .nav-group.active .nav-group-icon{
        border-color:#cfe0f4;
        background:#fff;
    }
    .nav-chevron{margin-left:auto;margin-right:5px}
    .nav-submenu,
    .nav-group:hover .nav-submenu,
    .nav-group:focus-within .nav-submenu{
        position:static;
        width:auto;
        max-height:0;
        margin:0 5px;
        padding:0 6px;
        overflow:hidden;
        border:0;
        border-radius:14px;
        background:#f5f9fe;
        box-shadow:none;
        opacity:1;
        visibility:visible;
        pointer-events:none;
        transform:none;
        transition:max-height .24s ease,padding .24s ease,margin .24s ease;
    }
    .nav-submenu:before{display:none}
    .nav-group.is-open .nav-submenu,
    .nav-group.is-open-mobile .nav-submenu{
        max-height:420px;
        margin-top:5px;
        margin-bottom:5px;
        padding:6px;
        pointer-events:auto;
    }
    .nav-submenu-link{
        grid-template-columns:38px minmax(0,1fr) 16px;
        min-height:58px;
        padding:7px 9px;
        background:#fff;
    }
    .nav-submenu-icon{width:36px;height:36px;border-radius:10px}
}

@media(max-width:680px){
    .header-inner.container{width:calc(100% - 16px)}
    .header-inner{gap:7px;min-height:66px}
    .brand img{width:39px;height:39px;border-radius:11px}
    .brand span{display:none}
    .lang-form select{width:76px;max-width:76px;padding:0 6px;font-size:.78rem}
    .header-panel-btn{padding:8px 10px;font-size:.80rem}
    .panel-label-full{display:none}
    .panel-label-short{display:inline}
    .nav-toggle{width:40px;height:40px}
    .main-nav{left:0;right:0;top:calc(100% + 7px);border-radius:16px}
}

@media(max-width:390px){
    .lang-form select{width:68px;max-width:68px;font-size:.72rem}
    .header-panel-btn{padding:7px 8px;font-size:.76rem}
    .nav-toggle{width:38px;height:38px}
}

/* =========================================================
   Correção do hover dos submenus no desktop
   Mantém uma ponte invisível entre o botão principal e a lista,
   evitando que o submenu feche durante o movimento do mouse.
   ========================================================= */
@media (min-width:1041px){
    .nav-group::after{
        content:"";
        position:absolute;
        z-index:89;
        top:100%;
        left:-10px;
        right:-10px;
        height:16px;
        background:transparent;
    }
    .nav-submenu{
        top:calc(100% + 8px);
    }
}


/* =========================================================
   Botão Início sempre visível no cabeçalho
   ========================================================= */
.header-home-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex:0 0 auto;
    min-height:44px;
    padding:7px 12px 7px 8px;
    border:1px solid #dbe8f7;
    border-radius:13px;
    background:linear-gradient(145deg,#fff,#f4f9ff);
    color:#26354d;
    font-size:.86rem;
    font-weight:950;
    white-space:nowrap;
    box-shadow:0 6px 16px rgba(8,47,102,.06);
    transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;
}
.header-home-link:hover,
.header-home-link:focus-visible{
    color:var(--blue-dark);
    border-color:#c9def8;
    background:#eef6ff;
    box-shadow:0 9px 22px rgba(8,47,102,.10);
    transform:translateY(-1px);
    outline:none;
}
.header-home-link.active{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(135deg,var(--blue-dark),var(--blue));
    box-shadow:0 11px 24px rgba(10,94,199,.20);
}
.header-home-icon{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border:1px solid #dbe8f7;
    border-radius:10px;
    background:#fff;
    color:#0a5ec7;
    box-shadow:0 5px 12px rgba(8,47,102,.07);
}
.header-home-icon svg{width:18px;height:18px;display:block}
.header-home-link.active .header-home-icon{
    color:#fff;
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.16);
    box-shadow:none;
}
@media(max-width:1180px){
    .header-home-link{padding-right:9px;font-size:.80rem}
    .header-home-icon{width:28px;height:28px}
}
@media(max-width:1040px){
    .header-home-link{order:1;min-width:42px;padding:6px}
    .header-home-label{display:none}
}
@media(max-width:680px){
    .header-home-link{min-width:40px;min-height:40px;border-radius:12px}
    .header-home-icon{width:27px;height:27px;border-radius:9px}
    .header-home-icon svg{width:17px;height:17px}
}
@media(max-width:390px){
    .header-home-link{min-width:38px;min-height:38px}
}

@media(max-width:760px){
    .ad-slot.adsense-active.sidebar{position:static!important;min-height:120px!important;top:auto!important}
}

/* Fase 12 — navegação empresarial unificada */
.business-command-bar{position:sticky;top:0;z-index:880;background:rgba(245,249,254,.96);backdrop-filter:blur(16px);border-bottom:1px solid #d9e5f2;box-shadow:0 8px 24px rgba(6,39,82,.07)}
.business-command-inner{min-height:68px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.business-command-home{display:flex;align-items:center;gap:9px;color:#0a2e5a;min-width:max-content}
.business-command-logo{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#086bdc,#0d91f2);color:#fff;display:grid;place-items:center;font-size:.74rem;font-weight:950;box-shadow:0 8px 18px rgba(8,107,220,.2)}
.business-command-home strong,.business-command-home small{display:block}.business-command-home strong{font-size:.82rem}.business-command-home small{color:#72839a;font-size:.67rem;margin-top:2px;font-weight:780}
.business-command-nav{display:flex;justify-content:center;gap:4px;min-width:0}
.business-command-group{position:relative}.business-command-toggle{min-height:42px;border:0;background:transparent;border-radius:12px;padding:8px 10px;display:flex;align-items:center;gap:7px;color:#52677f;font:inherit;font-size:.76rem;font-weight:920;cursor:pointer;white-space:nowrap}.business-command-group.active>.business-command-toggle,.business-command-toggle:hover{background:#fff;color:#075fc9;box-shadow:0 6px 16px rgba(6,52,110,.08)}.business-command-toggle i{width:7px;height:7px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.business-command-menu{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(-5px);width:330px;background:#fff;border:1px solid #d7e4f1;border-radius:18px;padding:7px;box-shadow:0 24px 54px rgba(5,35,76,.2);opacity:0;visibility:hidden;pointer-events:none;transition:.16s ease}.business-command-menu:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}.business-command-group:hover .business-command-menu,.business-command-group.open .business-command-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.business-command-menu>a{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:9px;border-radius:12px;color:#183a60}.business-command-menu>a:hover,.business-command-menu>a.active{background:#edf6ff;color:#075fc9}.business-command-menu-icon{width:38px;height:38px;border-radius:11px;background:#f2f7fc;display:grid;place-items:center}.business-command-menu strong,.business-command-menu small{display:block}.business-command-menu strong{font-size:.8rem}.business-command-menu small{font-size:.67rem;color:#74859a;margin-top:2px;line-height:1.3}.business-command-menu b{font-size:1.15rem;color:#8ca0b5}
.business-command-actions{display:flex;align-items:center;gap:8px}.business-command-notifications{position:relative;width:42px;height:42px;border:1px solid #d6e3f1;background:#fff;border-radius:13px;display:grid;place-items:center}.business-command-notifications b{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#e53838;color:#fff;border:2px solid #f5f9fe;display:grid;place-items:center;font-size:.58rem}.business-quick-button{min-height:42px;border:0;border-radius:13px;background:linear-gradient(135deg,#0870df,#0c8ff0);color:#fff;padding:9px 13px;font:inherit;font-size:.76rem;font-weight:950;cursor:pointer;box-shadow:0 8px 18px rgba(8,112,223,.19)}
.business-quick-panel{display:none;border-top:1px solid #dce7f3;background:#fff}.business-quick-panel.open{display:block}.business-quick-grid{padding:12px 0;display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center}.business-quick-copy{display:flex;align-items:center;gap:9px;min-width:250px}.business-quick-copy>span{width:40px;height:40px;border-radius:12px;background:#edf6ff;display:grid;place-items:center}.business-quick-copy strong,.business-quick-copy small{display:block}.business-quick-copy strong{color:#12365e;font-size:.82rem}.business-quick-copy small{color:#78879a;font-size:.68rem;margin-top:2px}.business-quick-links{display:flex;gap:7px;flex-wrap:wrap}.business-quick-links a{border:1px solid #d9e5f2;border-radius:11px;background:#f9fcff;padding:8px 10px;color:#244765;font-size:.72rem;font-weight:900}.business-quick-links a:hover{background:#edf6ff;color:#075fc9;border-color:#bad7f7}
.business-mobile-dock{display:none}
.business-experience-page main{min-height:65vh}
@media(max-width:1120px){.business-command-home small{display:none}.business-command-home strong{font-size:.75rem}.business-command-toggle{padding:8px 7px;font-size:.71rem}.business-quick-button{font-size:0;width:42px;padding:0}.business-quick-button span{font-size:1rem}}
@media(max-width:860px){.business-command-bar{position:relative}.business-command-inner{grid-template-columns:1fr auto;min-height:58px}.business-command-nav{grid-column:1/-1;justify-content:flex-start;overflow-x:auto;padding-bottom:9px;scrollbar-width:none}.business-command-nav::-webkit-scrollbar{display:none}.business-command-home small{display:block}.business-command-menu{position:fixed;left:9px;right:9px;top:auto;bottom:78px;width:auto;transform:translateY(8px)}.business-command-group:hover .business-command-menu{opacity:0;visibility:hidden;pointer-events:none}.business-command-group.open .business-command-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.business-quick-grid{grid-template-columns:1fr}.business-quick-copy{min-width:0}.business-command-actions{justify-self:end}}
@media(max-width:700px){.business-command-bar{display:none}.business-mobile-dock{display:grid;position:fixed;z-index:990;left:8px;right:8px;bottom:8px;grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border:1px solid #d8e4f1;border-radius:18px;padding:6px;box-shadow:0 18px 48px rgba(5,32,72,.22)}.business-mobile-dock a,.business-mobile-dock button{border:0;background:transparent;min-width:0;min-height:48px;border-radius:13px;display:grid;place-items:center;align-content:center;gap:2px;color:#60748d;font:inherit}.business-mobile-dock span{font-size:1rem;line-height:1}.business-mobile-dock small{font-size:.57rem;font-weight:930;white-space:nowrap}.business-mobile-dock a.active,.business-mobile-dock button.active{background:#eaf4ff;color:#0868d6}.business-experience-page{padding-bottom:78px}}


/* =========================================================
   Faixa pública compacta de atividade — página inicial
   ========================================================= */
.portal-live-strip{
    position:relative;
    z-index:51;
    min-height:34px;
    border-top:3px solid transparent;
    border-image:linear-gradient(90deg,var(--blue),var(--blue-2),var(--orange)) 1;
    border-bottom:1px solid rgba(210,224,241,.94);
    background:linear-gradient(90deg,#f7fbff 0%,#ffffff 52%,#fff9f2 100%);
    color:#17345a;
}
.portal-live-strip-inner{
    width:min(1450px,calc(100% - 30px));
    min-height:34px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:0;
    overflow:hidden;
}
.portal-live-status,
.portal-live-metric{
    min-height:30px;
    display:flex;
    align-items:center;
    white-space:nowrap;
}
.portal-live-status{
    margin-right:auto;
    gap:7px;
    padding-right:18px;
    font-size:.72rem;
}
.portal-live-status strong{font-weight:950;color:#0a315f}
.portal-live-status small{color:#73839a;font-size:.64rem;font-weight:760}
.portal-live-pulse{
    width:8px;
    height:8px;
    flex:0 0 auto;
    border-radius:50%;
    background:#13a15c;
    box-shadow:0 0 0 0 rgba(19,161,92,.38);
    animation:portalLivePulse 1.9s infinite;
}
@keyframes portalLivePulse{
    0%{box-shadow:0 0 0 0 rgba(19,161,92,.38)}
    70%{box-shadow:0 0 0 7px rgba(19,161,92,0)}
    100%{box-shadow:0 0 0 0 rgba(19,161,92,0)}
}
.portal-live-metric{
    gap:7px;
    padding:0 16px;
    border-left:1px solid #dfe9f4;
}
.portal-live-metric span{
    color:#6d7d92;
    font-size:.61rem;
    font-weight:950;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.portal-live-metric strong{
    color:#0a315f;
    font-size:.86rem;
    line-height:1;
    font-weight:950;
    font-variant-numeric:tabular-nums;
}
.portal-live-online strong{color:#087542}
.portal-live-strip + .site-header .header-accent{display:none}

@media(max-width:760px){
    .portal-live-strip-inner{
        width:100%;
        min-height:38px;
        justify-content:flex-start;
        overflow-x:auto;
        scrollbar-width:none;
        padding:0 8px;
    }
    .portal-live-strip-inner::-webkit-scrollbar{display:none}
    .portal-live-status{padding:0 10px 0 3px}
    .portal-live-status small{display:none}
    .portal-live-metric{padding:0 10px;gap:5px}
    .portal-live-metric span{font-size:.55rem}
    .portal-live-metric strong{font-size:.78rem}
}
@media(max-width:430px){
    .portal-live-status strong{font-size:.66rem}
    .portal-live-metric span{font-size:.51rem}
}


/* =========================================================
   Ajuste visual premium — barra escura e menu compacto
   ========================================================= */
.portal-live-strip{
    min-height:28px;
    border-top:0;
    border-bottom:1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(circle at 12% 0%,rgba(10,126,232,.26),transparent 28%),
        linear-gradient(90deg,#061225 0%,#0b1f3a 48%,#111827 100%);
    color:#fff;
    box-shadow:0 6px 18px rgba(2,10,24,.18);
}
.portal-live-strip-inner{
    width:min(1360px,calc(100% - 28px));
    min-height:28px;
}
.portal-live-status,
.portal-live-metric{
    min-height:28px;
}
.portal-live-status{
    gap:6px;
    padding-right:14px;
    font-size:.67rem;
}
.portal-live-status strong{color:#fff}
.portal-live-status small{
    color:rgba(223,232,246,.76);
    font-size:.58rem;
}
.portal-live-pulse{
    width:7px;
    height:7px;
    background:#22c76d;
    box-shadow:0 0 0 0 rgba(34,199,109,.42);
}
.portal-live-metric{
    gap:6px;
    padding:0 13px;
    border-left:1px solid rgba(255,255,255,.13);
}
.portal-live-metric span{
    color:rgba(220,230,245,.74);
    font-size:.55rem;
    letter-spacing:.075em;
}
.portal-live-metric strong{
    color:#fff;
    font-size:.80rem;
}
.portal-live-online strong{color:#32e58b}

/* Cabeçalho público mais compacto e premium */
.site-header{
    background:rgba(255,255,255,.92);
    border-bottom:1px solid rgba(203,218,235,.82);
    box-shadow:0 10px 26px rgba(7,31,72,.07);
    backdrop-filter:saturate(180%) blur(18px);
}
.header-inner{
    min-height:60px;
    gap:10px;
    width:min(1360px,calc(100% - 28px));
}
.brand{gap:9px}
.brand img{
    width:38px;
    height:38px;
    border-radius:12px;
    box-shadow:0 0 0 2px #fff,0 9px 20px rgba(7,31,72,.16);
}
.brand span{
    font-size:.94rem;
    letter-spacing:.01em;
}
.header-home-link{
    min-height:40px;
    padding:6px 11px 6px 7px;
    border-radius:13px;
    font-size:.80rem;
    box-shadow:0 7px 18px rgba(8,47,102,.06);
}
.header-home-icon{
    width:28px;
    height:28px;
    border-radius:10px;
}
.header-home-icon svg{
    width:16px;
    height:16px;
}
.main-nav{
    gap:4px;
    justify-content:center;
}
.nav-group-toggle{
    min-height:40px;
    padding:6px 10px 6px 7px;
    border-radius:13px;
    font-size:.80rem;
    gap:7px;
}
.nav-group-icon{
    width:28px;
    height:28px;
    border-radius:10px;
    font-size:.86rem;
    background:linear-gradient(145deg,#fff,#f0f6ff);
}
.nav-chevron{
    width:6px;
    height:6px;
    border-right-width:1.8px;
    border-bottom-width:1.8px;
}
.nav-submenu{
    top:calc(100% + 10px);
    width:326px;
    padding:8px;
    border-radius:18px;
    box-shadow:0 22px 52px rgba(8,47,102,.18);
}
.nav-submenu-link{
    grid-template-columns:36px minmax(0,1fr) 16px;
    min-height:58px;
    padding:8px 9px;
    border-radius:13px;
}
.nav-submenu-icon{
    width:36px;
    height:36px;
    border-radius:12px;
    font-size:.96rem;
}
.nav-submenu-copy strong{font-size:.84rem}
.nav-submenu-copy small{font-size:.70rem}
.lang-form select{
    height:40px;
    border-radius:13px;
    font-size:.80rem;
    padding:0 9px;
}
.header-panel-btn{
    min-height:40px;
    padding:9px 14px;
    border-radius:13px;
    font-size:.82rem;
}
.nav-toggle{
    width:40px;
    height:39px;
    border-radius:12px;
}

@media(max-width:1180px){
    .header-inner{
        width:min(100% - 18px,1360px);
        gap:8px;
    }
    .brand span{font-size:.86rem}
    .nav-group-toggle{
        padding-left:6px;
        padding-right:8px;
        font-size:.76rem;
    }
    .nav-group-icon{width:27px;height:27px}
    .header-home-link{font-size:.76rem}
}
@media(max-width:760px){
    .portal-live-strip{
        min-height:32px;
    }
    .portal-live-strip-inner{
        width:100%;
        min-height:32px;
        padding:0 10px;
    }
    .portal-live-status,
    .portal-live-metric{
        min-height:32px;
    }
    .portal-live-status{padding-left:2px}
    .portal-live-metric{padding:0 11px}
    .header-inner{
        min-height:58px;
    }
    .brand img{width:36px;height:36px}
}


/* Ajuste da métrica de visitantes: label menor para caber como "Total de visitantes" */
.portal-live-metric span{
    letter-spacing:.06em;
}
@media(max-width:900px){
    .portal-live-metric span{
        font-size:.50rem;
    }
    .portal-live-metric{
        padding-left:10px;
        padding-right:10px;
    }
}


/* =========================================================
   Correção mobile: submenus do cabeçalho em acordeão
   ========================================================= */
@media(max-width:1040px){
    .site-header .main-nav.open{
        display:flex!important;
    }

    .site-header .main-nav.open .nav-group{
        width:100%;
    }

    .site-header .main-nav.open .nav-group .nav-group-toggle{
        width:100%;
        justify-content:flex-start;
    }

    .site-header .main-nav.open .nav-group .nav-submenu,
    .site-header .main-nav.open .nav-group:hover .nav-submenu,
    .site-header .main-nav.open .nav-group:focus-within .nav-submenu{
        position:static!important;
        top:auto!important;
        left:auto!important;
        right:auto!important;
        width:auto!important;
        max-height:0!important;
        margin:0 5px!important;
        padding:0 6px!important;
        overflow:hidden!important;
        border:0!important;
        border-radius:14px!important;
        background:#f5f9fe!important;
        box-shadow:none!important;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:none!important;
        transform:none!important;
        transition:max-height .24s ease,padding .24s ease,margin .24s ease!important;
    }

    .site-header .main-nav.open .nav-submenu:before{
        display:none!important;
    }

    .site-header .main-nav.open .nav-group.is-open .nav-submenu,
    .site-header .main-nav.open .nav-group.is-open-mobile .nav-submenu{
        max-height:620px!important;
        margin-top:6px!important;
        margin-bottom:7px!important;
        padding:6px!important;
        pointer-events:auto!important;
    }

    .site-header .main-nav.open .nav-group.is-open .nav-chevron,
    .site-header .main-nav.open .nav-group.is-open-mobile .nav-chevron{
        transform:rotate(225deg) translate(-1px,-1px)!important;
    }

    .site-header .main-nav.open .nav-submenu-link{
        display:grid!important;
        grid-template-columns:38px minmax(0,1fr) 16px!important;
        min-height:58px!important;
        padding:7px 9px!important;
        background:#fff!important;
        border:1px solid #dfe9f5!important;
        border-radius:13px!important;
        color:#26354d!important;
    }

    .site-header .main-nav.open .nav-submenu-link + .nav-submenu-link{
        margin-top:5px!important;
    }

    .site-header .main-nav.open .nav-submenu-icon{
        width:36px!important;
        height:36px!important;
        border-radius:10px!important;
    }
}


/* =========================================================
   Correção definitiva mobile: abre por aria-expanded=true
   ========================================================= */
@media(max-width:1040px){
    .site-header .main-nav.open .nav-group .nav-submenu{
        display:block!important;
    }

    .site-header .main-nav.open .nav-group .nav-group-toggle[aria-expanded="true"] + .nav-submenu,
    .site-header .main-nav.open .nav-group.is-open .nav-submenu,
    .site-header .main-nav.open .nav-group.is-open-mobile .nav-submenu{
        max-height:720px!important;
        margin-top:7px!important;
        margin-bottom:8px!important;
        padding:7px!important;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:auto!important;
        overflow:visible!important;
    }

    .site-header .main-nav.open .nav-group .nav-group-toggle[aria-expanded="false"] + .nav-submenu{
        max-height:0!important;
        margin-top:0!important;
        margin-bottom:0!important;
        padding-top:0!important;
        padding-bottom:0!important;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:none!important;
        overflow:hidden!important;
    }

    .site-header .main-nav.open .nav-group .nav-group-toggle[aria-expanded="true"] .nav-chevron{
        transform:rotate(225deg) translate(-1px,-1px)!important;
    }

    .site-header .main-nav.open .nav-submenu-link{
        width:100%!important;
    }
}

/* VITRINE QI DO MECÂNICO — MARKETPLACE TÉCNICO V1 */
.qi-marketplace-page{
    background:
        radial-gradient(circle at 7% 0%,rgba(10,94,199,.08),transparent 28%),
        radial-gradient(circle at 94% 3%,rgba(255,122,0,.08),transparent 24%),
        #f3f6fa;
    padding-top:28px;
}
.qi-marketplace-wrap{width:min(1420px,96%);margin:0 auto}
.qi-marketplace-hero{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(520px,1.35fr);
    gap:24px;
    align-items:center;
    padding:24px;
    border:1px solid #dce6f2;
    border-radius:22px;
    background:linear-gradient(130deg,#fff 0%,#f7fbff 62%,#fff8ef 100%);
    box-shadow:0 16px 38px rgba(8,47,102,.08);
}
.qi-marketplace-heading h1{margin:5px 0 7px;color:#071f48;font-size:clamp(1.8rem,3vw,2.55rem);line-height:1;letter-spacing:-.04em}
.qi-marketplace-heading p{margin:0;color:#617087;font-weight:750;max-width:650px}
.qi-marketplace-kicker{display:inline-flex;align-items:center;gap:7px;color:#0a5ec7;font-size:.76rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.qi-marketplace-kicker:before{content:"QI";display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:linear-gradient(135deg,#082f66,#0b7fe8);color:#fff;font-size:.66rem;letter-spacing:0;box-shadow:0 7px 15px rgba(10,94,199,.18)}
.qi-marketplace-search{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;gap:9px;align-items:end}
.qi-marketplace-search-field{position:relative;display:block}
.qi-marketplace-search-field svg{position:absolute;left:14px;top:50%;width:20px;height:20px;transform:translateY(-50%);fill:none;stroke:#52708f;stroke-width:1.9;stroke-linecap:round}
.qi-marketplace-search-field input,.qi-marketplace-sort select{
    width:100%;height:48px;border:1px solid #cfddec;background:#fff;border-radius:13px;font:inherit;color:#24364c;outline:none;
    box-shadow:0 5px 14px rgba(8,47,102,.035)
}
.qi-marketplace-search-field input{padding:0 14px 0 44px}
.qi-marketplace-sort{display:grid;gap:4px;color:#5f6f84;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.qi-marketplace-sort select{padding:0 11px;text-transform:none;font-size:.86rem;font-weight:850;letter-spacing:0}
.qi-marketplace-search-field input:focus,.qi-marketplace-sort select:focus{border-color:#8bbdf1;box-shadow:0 0 0 4px rgba(10,94,199,.10)}
.qi-marketplace-search .btn{height:48px;min-height:48px;padding-inline:20px}
.qi-marketplace-difference{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:14px 0 0;border:1px solid #dde6ef;border-radius:18px;overflow:hidden;background:#dde6ef;box-shadow:0 10px 28px rgba(8,47,102,.05)
}
.qi-difference-item{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;background:#fff;padding:13px 14px;min-height:82px}
.qi-difference-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff;background:linear-gradient(145deg,#082f66,#0b7fe8);font-size:.72rem;font-weight:950;box-shadow:0 8px 18px rgba(10,94,199,.17)}
.qi-difference-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qi-difference-item strong{display:block;color:#102c51;font-size:.82rem;line-height:1.2}
.qi-difference-item small{display:block;margin-top:3px;color:#6a788c;font-size:.7rem;line-height:1.32;font-weight:700}
.qi-marketplace-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:22px 1px 12px}
.qi-marketplace-toolbar strong{display:block;color:#071f48;font-size:1.22rem;letter-spacing:-.02em}
.qi-marketplace-toolbar span{display:block;color:#68778b;font-size:.86rem;margin-top:2px}
.qi-marketplace-toolbar small{color:#4f6076;font-weight:850;white-space:nowrap}
.qi-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;align-items:stretch}
.qi-product-card{
    position:relative;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dce5ef;border-radius:18px;overflow:hidden;
    box-shadow:0 7px 22px rgba(20,32,51,.065);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.qi-product-card:before{content:"";position:absolute;z-index:3;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#082f66 0 68%,#ff7a00 68% 100%);opacity:.96}
.qi-product-card:hover{transform:translateY(-4px);border-color:#a9c7e7;box-shadow:0 20px 40px rgba(8,47,102,.14)}
.qi-product-media{position:relative;background:#fff;border-bottom:1px solid #e8eef5}
.qi-product-media>a{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1.08/1;padding:16px;background:linear-gradient(180deg,#fff 0%,#fff 74%,#f8fbff 100%)}
.qi-product-media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .25s ease}
.qi-product-card:hover .qi-product-media img{transform:scale(1.035)}
.qi-product-image-placeholder{display:grid;place-items:center;align-content:center;gap:5px;width:100%;height:100%;border:1px dashed #cbd9e8;border-radius:13px;color:#758399;font-size:.76rem;font-weight:850;text-align:center;background:#f8fbff}
.qi-product-image-placeholder b{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#0a5ec7;color:#fff;font-size:.72rem}
.qi-product-compat-badge,.qi-product-discount-badge{position:absolute;z-index:4;top:12px;display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:9px;font-size:.65rem;font-weight:950;line-height:1;box-shadow:0 5px 13px rgba(8,47,102,.13)}
.qi-product-compat-badge{left:11px;color:#fff;background:linear-gradient(135deg,#082f66,#0a69dc);border:1px solid rgba(255,255,255,.22)}
.qi-product-compat-badge:before{content:"";width:6px;height:6px;margin-right:6px;border-radius:999px;background:#ff922b;box-shadow:0 0 0 3px rgba(255,146,43,.18)}
.qi-product-discount-badge{right:11px;color:#08713e;background:#ebfff3;border:1px solid #afe1c2}
.qi-product-content{display:flex;flex-direction:column;gap:8px;padding:14px 14px 12px;flex:1}
.qi-product-meta-line{display:flex;justify-content:space-between;gap:7px;min-height:20px;color:#607086;font-size:.64rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}
.qi-product-meta-line>span{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:7px;background:#f0f4f8;color:#52657c}
.qi-product-meta-line strong{display:inline-flex;align-items:center;color:#9b4d00;font-size:.62rem}
.qi-product-content h2{margin:0;min-height:2.7em;color:#1d2f47;font-size:.88rem;line-height:1.35;font-weight:800;letter-spacing:-.005em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.qi-product-content h2 a{transition:color .18s ease}
.qi-product-content h2 a:hover{color:#0a5ec7}
.qi-product-price-area{display:grid;gap:2px;margin-top:2px;padding-top:9px;border-top:1px solid #edf1f5}
.qi-product-old-price{min-height:18px;color:#7b8796;font-size:.7rem;text-decoration:line-through}
.qi-product-old-price-empty{text-decoration:none}
.qi-product-price{display:flex;align-items:flex-start;color:#17283e;line-height:1}
.qi-product-price small{font-size:.73rem;margin:5px 5px 0 0;font-weight:800}
.qi-product-price strong{font-size:1.62rem;letter-spacing:-.05em;font-weight:520}
.qi-product-price sup{font-size:.73rem;margin:3px 0 0 3px;font-weight:750}
.qi-product-installments{min-height:19px;color:#3e5b78;font-size:.7rem;line-height:1.3;font-weight:760}
.qi-product-benefits{display:grid;gap:5px;margin-top:3px;padding:8px 9px;border:1px solid #e7eef6;border-radius:11px;background:#fafcff}
.qi-product-benefits span{display:flex;align-items:flex-start;gap:6px;color:#607086;font-size:.68rem;line-height:1.25;font-weight:760}
.qi-product-benefits span.is-highlight{color:#087e45;font-weight:900}
.qi-product-benefits span.qi-product-sold{align-items:center;color:#075ebd;font-weight:850}
.qi-product-benefits span.qi-product-sold strong{color:#073f89;font-weight:950}
.qi-product-benefits svg{flex:0 0 15px;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qi-product-technical-link{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:2px;color:#075ebd;font-size:.67rem;font-weight:930;line-height:1.2}
.qi-product-technical-link span{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:linear-gradient(135deg,#eaf4ff,#f6faff);border:1px solid #c8def6;color:#075ebd;font-size:.57rem;box-shadow:0 3px 8px rgba(10,94,199,.07)}
.qi-product-technical-link:hover{color:#073f89}
.qi-product-footer{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:9px;align-items:center;padding:11px 12px;border-top:1px solid #e6edf5;background:linear-gradient(180deg,#fcfdff,#f6f9fc)}
.qi-product-store{display:grid;grid-template-columns:31px minmax(0,1fr) 19px;gap:7px;align-items:center;min-width:0}
.qi-product-store img{width:31px;height:31px;border-radius:9px;object-fit:contain;background:#fff;border:1px solid #dce5ef;box-shadow:0 2px 7px rgba(8,47,102,.05)}
.qi-product-store span{display:block;min-width:0}
.qi-product-store small,.qi-product-store strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qi-product-store small{color:#7b899b;font-size:.56rem;text-transform:uppercase;font-weight:950;letter-spacing:.055em}
.qi-product-store strong{color:#31465f;font-size:.69rem;line-height:1.3}
.qi-product-store b{display:grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#0a5ec7;color:#fff;font-size:.6rem;box-shadow:0 3px 7px rgba(10,94,199,.18)}
.qi-product-open{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf4ff;color:#0867cc;border:1px solid #c6dcf4;transition:.18s;box-shadow:0 3px 8px rgba(10,94,199,.06)}
.qi-product-open:hover{background:#0a5ec7;color:#fff;border-color:#0a5ec7;transform:translateX(2px)}
.qi-product-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.qi-marketplace-empty{grid-column:1/-1;display:grid;justify-items:center;text-align:center;padding:46px 20px;border:1px dashed #b8cce1;border-radius:18px;background:#fff;color:#65758a}
.qi-marketplace-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#082f66,#0b7fe8);color:#fff;font-weight:950;box-shadow:0 12px 26px rgba(10,94,199,.2)}
.qi-marketplace-empty h2{margin:12px 0 2px;color:#092850}
.qi-marketplace-empty p{margin:0 0 15px}

/* PREÇO E DIFERENCIAIS COMERCIAIS NO DETALHE DO PRODUTO */
.product-commerce-price{margin:10px 0 14px}
.product-commerce-price .old-price{display:block;color:#7c8796;font-size:.85rem;text-decoration:line-through;margin-bottom:2px}
.product-commerce-price .current-price{display:flex;align-items:flex-start;color:#11263f;line-height:1}
.product-commerce-price .current-price small{font-size:.9rem;margin:7px 6px 0 0;font-weight:800}
.product-commerce-price .current-price strong{font-size:2.25rem;letter-spacing:-.05em;font-weight:650}
.product-commerce-price .current-price sup{font-size:.92rem;margin:4px 0 0 3px;font-weight:800}
.product-commerce-price .installment-line{display:block;margin-top:5px;color:#49647f;font-size:.88rem;font-weight:800}
.product-commerce-tags{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px}
.product-commerce-tag{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;border:1px solid #d1e0ee;background:#f8fbff;color:#36516e;font-size:.76rem;font-weight:900}
.product-commerce-tag.qi{background:#eaf4ff;border-color:#c6def8;color:#0757ad}
.product-commerce-tag.success{background:#e8f8ef;border-color:#bce5cc;color:#08713e}
.product-commerce-tag.orange{background:#fff3e4;border-color:#ffd09b;color:#8e4900}
.product-commerce-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.product-commerce-trust>div{border:1px solid #dfe8f1;background:#fbfdff;border-radius:13px;padding:10px}
.product-commerce-trust strong{display:block;color:#173b63;font-size:.78rem}
.product-commerce-trust small{display:block;color:#6a798c;font-size:.7rem;margin-top:2px;line-height:1.35}

@media(max-width:1220px){
    .qi-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
}
@media(max-width:980px){
    .qi-marketplace-hero{grid-template-columns:1fr}
    .qi-marketplace-difference{grid-template-columns:repeat(2,minmax(0,1fr))}
    .qi-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    .qi-marketplace-page{padding-top:14px}
    .qi-marketplace-wrap{width:min(100% - 16px,1420px)}
    .qi-marketplace-hero{padding:17px;border-radius:18px}
    .qi-marketplace-search{grid-template-columns:1fr 1fr}
    .qi-marketplace-search-field{grid-column:1/-1}
    .qi-marketplace-search .btn{width:100%}
    .qi-marketplace-difference{grid-template-columns:1fr 1fr;border-radius:15px}
    .qi-difference-item{grid-template-columns:34px minmax(0,1fr);padding:10px;min-height:76px}
    .qi-difference-icon{width:33px;height:33px;border-radius:10px}
    .qi-difference-item strong{font-size:.72rem}
    .qi-difference-item small{font-size:.62rem}
    .qi-marketplace-toolbar{align-items:flex-start;margin-top:17px}
    .qi-marketplace-toolbar span{font-size:.75rem}
    .qi-marketplace-toolbar small{font-size:.7rem}
    .qi-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .qi-product-card{border-radius:15px}
    .qi-product-media>a{padding:10px;aspect-ratio:1/1}
    .qi-product-compat-badge,.qi-product-discount-badge{top:8px;min-height:23px;padding:4px 6px;font-size:.58rem}
    .qi-product-compat-badge{left:7px}
    .qi-product-discount-badge{right:7px}
    .qi-product-content{padding:10px 10px 9px;gap:6px}
    .qi-product-meta-line{min-height:18px;font-size:.57rem}
    .qi-product-meta-line>span{padding:3px 5px}
    .qi-product-content h2{font-size:.76rem;min-height:2.68em}
    .qi-product-price-area{padding-top:7px}
    .qi-product-price strong{font-size:1.35rem}
    .qi-product-benefits{padding:7px;gap:4px}
    .qi-product-benefits span{font-size:.61rem}
    .qi-product-footer{grid-template-columns:minmax(0,1fr) 32px;padding:8px 9px}
    .qi-product-store{grid-template-columns:27px minmax(0,1fr) 17px;gap:6px}
    .qi-product-store img{width:27px;height:27px}
    .qi-product-open{width:32px;height:32px}
    .product-commerce-trust{grid-template-columns:1fr}
}
@media(max-width:390px){
    .qi-marketplace-search{grid-template-columns:1fr}
    .qi-marketplace-sort{grid-column:1/-1}
    .qi-marketplace-difference{grid-template-columns:1fr}
    .qi-difference-item:nth-child(n+3){display:none}
    .qi-product-content h2{font-size:.72rem}
    .qi-product-price strong{font-size:1.2rem}
}

/* PATCH 048 — VITRINE COM AÇÕES DIRETAS E DETALHE PREMIUM DO PRODUTO */
.qi-product-media>a{
    height:172px;
    aspect-ratio:auto;
    padding:14px 18px 10px;
}
.qi-product-media img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.qi-product-content{
    padding:13px 13px 11px;
}
.qi-product-content h2{
    min-height:2.55em;
}
.qi-product-card-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:7px;
    margin-top:auto;
    padding-top:4px;
}
.qi-card-cart-form{
    min-width:0;
}
.qi-card-action{
    width:100%;
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border-radius:10px;
    border:1px solid transparent;
    padding:8px 8px;
    font:inherit;
    font-size:.68rem;
    line-height:1;
    font-weight:950;
    cursor:pointer;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.qi-card-action svg{
    flex:0 0 15px;
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.qi-card-action-cart{
    background:#f7fbff;
    border-color:#bfd7ef;
    color:#075ebd;
}
.qi-card-action-cart:hover{
    background:#e9f4ff;
    border-color:#8cbce9;
}
.qi-card-action-buy{
    background:linear-gradient(135deg,#ff8b18,#f36b00);
    border-color:#ef6c00;
    color:#fff;
    box-shadow:0 6px 13px rgba(243,107,0,.18);
}
.qi-card-action-buy:hover{
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 9px 18px rgba(243,107,0,.24);
}
.qi-card-action-buy.is-detail-link{
    background:linear-gradient(135deg,#0a69d8,#084a9b);
    border-color:#084a9b;
    box-shadow:0 6px 13px rgba(8,74,155,.16);
}
.qi-card-action:disabled{
    opacity:.55;
    cursor:not-allowed;
    box-shadow:none;
}
.qi-product-footer{
    padding:10px 12px;
}

.qi-product-detail-page{
    min-height:70vh;
    padding:28px 0 46px;
    background:
        radial-gradient(circle at 8% 0%,rgba(10,94,199,.08),transparent 27%),
        radial-gradient(circle at 94% 8%,rgba(255,122,0,.07),transparent 24%),
        #f3f6fa;
}
.qi-product-detail-shell{
    width:min(1540px,96%);
    margin:0 auto;
    display:grid;
    grid-template-columns:170px minmax(0,1120px) 170px;
    gap:20px;
    align-items:start;
    justify-content:center;
}
.qi-product-detail-main{
    min-width:0;
    display:grid;
    gap:18px;
}
.qi-ad-rail{
    min-width:0;
}
.qi-ad-rail .ad-slot.adsense-active{
    margin:0!important;
    min-height:420px!important;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(8,47,102,.07);
}
.qi-product-premium-card{
    position:relative;
    display:grid;
    grid-template-columns:minmax(390px,.92fr) minmax(0,1.08fr);
    overflow:hidden;
    background:#fff;
    border:1px solid #d9e4ef;
    border-radius:24px;
    box-shadow:0 20px 52px rgba(8,47,102,.11);
}
.qi-product-premium-card:before{
    content:"";
    position:absolute;
    z-index:4;
    inset:0 0 auto;
    height:4px;
    background:linear-gradient(90deg,#082f66 0 72%,#ff7a00 72% 100%);
}
.qi-product-gallery-panel{
    position:relative;
    padding:24px;
    border-right:1px solid #e5edf5;
    background:linear-gradient(145deg,#fbfdff,#f4f8fc);
}
.qi-product-gallery-badges{
    position:absolute;
    z-index:3;
    top:22px;
    left:22px;
    right:22px;
    display:flex;
    justify-content:space-between;
    gap:10px;
    pointer-events:none;
}
.qi-gallery-badge{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:6px 10px;
    border-radius:9px;
    font-size:.67rem;
    font-weight:950;
    letter-spacing:.01em;
    box-shadow:0 6px 15px rgba(8,47,102,.12);
}
.qi-gallery-badge.qi{
    color:#fff;
    background:linear-gradient(135deg,#082f66,#0a69dc);
}
.qi-gallery-badge.qi:before{
    content:"";
    width:6px;
    height:6px;
    margin-right:6px;
    border-radius:50%;
    background:#ff922b;
}
.qi-gallery-badge.discount{
    margin-left:auto;
    color:#08713e;
    background:#eafff2;
    border:1px solid #afe1c2;
}
.qi-product-image-stage{
    height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:26px 18px 16px;
    overflow:hidden;
    border:1px solid #dfe8f1;
    border-radius:18px;
    background:#fff;
}
.qi-product-image-stage img{
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    display:block;
}
.qi-product-detail-placeholder{
    display:grid;
    place-items:center;
    align-content:center;
    gap:8px;
    width:100%;
    height:100%;
    color:#77869a;
    font-size:.82rem;
    font-weight:850;
    text-align:center;
}
.qi-product-detail-placeholder b{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    border-radius:16px;
    background:linear-gradient(135deg,#082f66,#0b7fe8);
    color:#fff;
}
.qi-image-caption{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin-top:11px;
    color:#738297;
    font-size:.68rem;
    font-weight:750;
}
.qi-image-caption svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.qi-product-buybox{
    padding:28px 30px 26px;
    min-width:0;
}
.qi-seller-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-bottom:16px;
    margin-bottom:16px;
    border-bottom:1px solid #e9eef4;
}
.qi-seller-identity{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 20px;
    gap:9px;
    align-items:center;
    min-width:0;
}
.qi-seller-identity img{
    width:42px;
    height:42px;
    border-radius:12px;
    object-fit:contain;
    background:#fff;
    border:1px solid #dce6f0;
}
.qi-seller-identity span{
    min-width:0;
}
.qi-seller-identity small,
.qi-seller-identity strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.qi-seller-identity small{
    color:#7a889b;
    font-size:.64rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.qi-seller-identity strong{
    color:#173654;
    font-size:.85rem;
    margin-top:2px;
}
.qi-seller-identity>b{
    display:grid;
    place-items:center;
    width:19px;
    height:19px;
    border-radius:50%;
    background:#0a67cb;
    color:#fff;
    font-size:.65rem;
}
.qi-seller-reputation{
    flex:0 0 auto;
    color:#557087;
    font-size:.68rem;
    font-weight:850;
}
.qi-product-top-meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:9px;
}
.qi-product-top-meta span{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:5px 8px;
    border-radius:8px;
    background:#f1f5f9;
    color:#52667e;
    font-size:.64rem;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.035em;
}
.qi-product-buybox h1{
    margin:0;
    color:#0d213d;
    font-size:clamp(1.55rem,2.4vw,2.15rem);
    line-height:1.12;
    letter-spacing:-.035em;
}
.qi-detail-price-block{
    margin:20px 0 17px;
}
.qi-detail-old-price{
    color:#7e8998;
    font-size:.82rem;
    text-decoration:line-through;
    margin-bottom:2px;
}
.qi-detail-current-price{
    display:flex;
    align-items:flex-start;
    color:#11263f;
    line-height:.96;
}
.qi-detail-current-price small{
    margin:8px 7px 0 0;
    font-size:.9rem;
    font-weight:850;
}
.qi-detail-current-price strong{
    font-size:2.65rem;
    font-weight:620;
    letter-spacing:-.055em;
}
.qi-detail-current-price sup{
    margin:4px 0 0 4px;
    font-size:.92rem;
    font-weight:850;
}
.qi-detail-installments{
    margin-top:7px;
    color:#42617f;
    font-size:.83rem;
    font-weight:850;
}
.qi-purchase-facts{
    display:grid;
    gap:8px;
    margin:0 0 18px;
}
.qi-purchase-facts>div{
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:10px 12px;
    border:1px solid #dfe8f1;
    border-radius:13px;
    background:#fbfdff;
}
.qi-purchase-facts>div.is-positive{
    border-color:#c4e5d1;
    background:#f5fff9;
}
.qi-purchase-facts>div.is-alert{
    border-color:#f0c8c8;
    background:#fff7f7;
}
.qi-fact-icon{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border-radius:11px;
    background:#eaf4ff;
    color:#0865c6;
}
.is-positive .qi-fact-icon{
    background:#e6f8ed;
    color:#08713e;
}
.is-alert .qi-fact-icon{
    background:#ffe9e9;
    color:#a83333;
}
.qi-fact-icon svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.qi-purchase-facts strong,
.qi-purchase-facts small{
    display:block;
}
.qi-purchase-facts strong{
    color:#193854;
    font-size:.78rem;
}
.qi-purchase-facts small{
    margin-top:2px;
    color:#6d7c8e;
    font-size:.67rem;
    line-height:1.3;
    font-weight:700;
}
.qi-product-action-grid{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    gap:10px;
}
.qi-product-cart-form{
    min-width:0;
}
.qi-product-primary-action,
.qi-product-secondary-action{
    width:100%;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border-radius:13px;
    border:1px solid transparent;
    padding:12px 16px;
    font:inherit;
    font-size:.84rem;
    font-weight:950;
    cursor:pointer;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.qi-product-primary-action{
    background:linear-gradient(135deg,#ff8b18,#f36b00);
    border-color:#ef6c00;
    color:#fff;
    box-shadow:0 10px 20px rgba(243,107,0,.22);
}
.qi-product-primary-action:hover{
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 13px 25px rgba(243,107,0,.28);
}
.qi-product-secondary-action{
    background:#0a5ec7;
    border-color:#0a5ec7;
    color:#fff;
    box-shadow:0 9px 18px rgba(10,94,199,.18);
}
.qi-product-secondary-action:hover{
    background:#084faa;
}
.qi-product-primary-action svg,
.qi-product-secondary-action svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.qi-product-primary-action:disabled,
.qi-product-secondary-action:disabled{
    opacity:.52;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}
.qi-purchase-protection{
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:9px;
    align-items:center;
    margin-top:13px;
    color:#63758a;
}
.qi-purchase-protection svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:#08713e;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.qi-purchase-protection strong,
.qi-purchase-protection small{
    display:block;
}
.qi-purchase-protection strong{
    color:#24445f;
    font-size:.72rem;
}
.qi-purchase-protection small{
    margin-top:1px;
    font-size:.64rem;
    font-weight:700;
}
.qi-product-information-grid{
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
    gap:16px;
}
.qi-product-info-card,
.qi-compatibility-premium-card{
    background:#fff;
    border:1px solid #dce6f0;
    border-radius:19px;
    padding:20px;
    box-shadow:0 10px 28px rgba(8,47,102,.065);
}
.qi-info-card-title>span,
.qi-section-eyebrow{
    display:block;
    color:#0a5ec7;
    font-size:.66rem;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.qi-info-card-title h2{
    margin:4px 0 15px;
    color:#102c4c;
    font-size:1.18rem;
    letter-spacing:-.02em;
}
.qi-product-spec-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:10px 0;
    margin-bottom:10px;
    border-top:1px solid #edf1f5;
    border-bottom:1px solid #edf1f5;
    color:#68788c;
    font-size:.78rem;
}
.qi-product-spec-row strong{
    color:#203e5c;
    text-align:right;
}
.qi-product-description{
    color:#52657b;
    font-size:.83rem;
    line-height:1.65;
    font-weight:650;
}
.qi-technical-card{
    background:linear-gradient(145deg,#fff,#f4f9ff);
}
.qi-technical-list{
    display:grid;
    gap:10px;
}
.qi-technical-list>div{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:9px;
    align-items:start;
}
.qi-technical-list b{
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    border-radius:10px;
    background:linear-gradient(135deg,#082f66,#0b7fe8);
    color:#fff;
    font-size:.66rem;
}
.qi-technical-list strong,
.qi-technical-list small{
    display:block;
}
.qi-technical-list strong{
    color:#173957;
    font-size:.77rem;
}
.qi-technical-list small{
    margin-top:2px;
    color:#6a7b8f;
    font-size:.68rem;
    line-height:1.4;
    font-weight:700;
}
.qi-technical-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:15px;
    padding:11px 12px;
    border:1px solid #c4dcf5;
    border-radius:11px;
    background:#eaf4ff;
    color:#075ebd;
    font-size:.72rem;
    font-weight:950;
}
.qi-technical-cta:hover{
    background:#dceeff;
    color:#064d9c;
}
.qi-compatibility-premium-card{
    background:linear-gradient(135deg,#082f66,#0a5ec7);
    color:#fff;
    border:0;
}
.qi-compatibility-premium-card span{
    color:#ffb15e;
    font-size:.66rem;
    font-weight:950;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.qi-compatibility-premium-card h2{
    margin:4px 0 10px;
    color:#fff;
}
.qi-compatibility-premium-card p{
    margin:4px 0;
    color:#e9f4ff;
}
.qi-related-premium-card{
    margin:0;
    border-radius:19px;
    box-shadow:0 10px 28px rgba(8,47,102,.065);
}
.qi-related-premium-card .section-title{
    align-items:flex-start;
}
.related-product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}
.related-product-item{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:9px;
    padding:10px;
    border:1px solid #e0e8f1;
    border-radius:14px;
    background:#fff;
}
.related-product-image{
    height:118px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:10px;
    background:#f8fbff;
}
.related-product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.related-product-info{
    min-width:0;
    display:grid;
    gap:3px;
}
.related-product-info strong{
    color:#1b3652;
    font-size:.76rem;
    line-height:1.3;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.related-product-info span{
    color:#748397;
    font-size:.63rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.related-product-info small{
    color:#102b49;
    font-size:.83rem;
    font-weight:950;
}
.related-product-item form{
    margin-top:auto;
}
.qi-report-product{
    margin-top:13px;
    text-align:right;
}
.qi-report-product a{
    color:#7a899b;
    font-size:.68rem;
    font-weight:800;
}

@media(max-width:1320px){
    .qi-product-detail-shell{
        width:min(1180px,calc(100% - 24px));
        grid-template-columns:minmax(0,1fr);
    }
    .qi-ad-rail{
        display:none;
    }
}
@media(max-width:980px){
    .qi-product-premium-card{
        grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
    }
    .qi-product-gallery-panel{
        padding:18px;
    }
    .qi-product-image-stage{
        height:370px;
    }
    .qi-product-buybox{
        padding:22px;
    }
    .qi-product-information-grid{
        grid-template-columns:1fr;
    }
    .related-product-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:760px){
    .qi-product-media>a{
        height:126px;
        padding:10px 12px 7px;
    }
    .qi-product-card-actions{
        gap:5px;
    }
    .qi-card-action{
        min-height:34px;
        padding:7px 5px;
        font-size:.59rem;
    }
    .qi-card-action svg{
        width:13px;
        height:13px;
        flex-basis:13px;
    }
    .qi-product-detail-page{
        padding-top:12px;
    }
    .qi-product-detail-shell{
        width:calc(100% - 14px);
    }
    .qi-product-premium-card{
        grid-template-columns:1fr;
        border-radius:18px;
    }
    .qi-product-gallery-panel{
        padding:13px;
        border-right:0;
        border-bottom:1px solid #e5edf5;
    }
    .qi-product-gallery-badges{
        top:12px;
        left:12px;
        right:12px;
    }
    .qi-product-image-stage{
        height:300px;
        padding:25px 10px 10px;
    }
    .qi-product-buybox{
        padding:18px 15px 17px;
    }
    .qi-seller-bar{
        align-items:flex-start;
    }
    .qi-seller-reputation{
        font-size:.58rem;
    }
    .qi-product-buybox h1{
        font-size:1.45rem;
    }
    .qi-detail-current-price strong{
        font-size:2.25rem;
    }
    .qi-product-action-grid{
        grid-template-columns:1fr;
    }
    .qi-product-information-grid{
        gap:10px;
    }
    .qi-product-info-card,
    .qi-compatibility-premium-card{
        border-radius:15px;
        padding:16px;
    }
    .related-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .related-product-image{
        height:105px;
    }
}
@media(max-width:390px){
    .qi-product-media>a{
        height:112px;
    }
    .qi-card-action span{
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .qi-product-image-stage{
        height:265px;
    }
    .related-product-grid{
        grid-template-columns:1fr 1fr;
    }
}

/* PATCH 049 — MODELO HÍBRIDO: LOJAS PARCEIRAS NO WHATSAPP E LOJA OFICIAL NO CHECKOUT */
.qi-product-sale-mode{
    display:inline-flex!important;
    align-items:center;
    gap:5px;
    padding:4px 7px;
    border-radius:999px;
    font-size:.58rem!important;
    line-height:1;
    font-weight:950!important;
    text-transform:uppercase;
    letter-spacing:.035em;
}
.qi-product-sale-mode.is-official{
    color:#075ebd;
    background:#eaf4ff;
    border:1px solid #bdd8f3;
}
.qi-product-sale-mode.is-official:before,
.qi-product-sale-mode.is-partner:before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:currentColor;
}
.qi-product-sale-mode.is-partner{
    color:#6a4b13;
    background:#fff7e8;
    border:1px solid #ecd4a7;
}
.qi-card-action-whatsapp{
    background:linear-gradient(135deg,#21b760,#159447);
    border-color:#159447;
    color:#fff;
    box-shadow:0 7px 15px rgba(21,148,71,.20);
}
.qi-card-action-whatsapp:hover{
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 10px 19px rgba(21,148,71,.27);
}
.qi-card-action-details{
    background:#f7fbff;
    border-color:#bfd7ef;
    color:#075ebd;
}
.qi-card-action-details:hover{
    background:#e9f4ff;
    border-color:#8cbce9;
    color:#074d9b;
}
.qi-product-top-meta span.is-official{
    color:#075ebd;
    background:#eaf4ff;
    border:1px solid #bfd8f1;
}
.qi-product-top-meta span.is-partner{
    color:#6a4b13;
    background:#fff7e8;
    border:1px solid #ecd4a7;
}
.qi-product-primary-action.is-whatsapp{
    background:linear-gradient(135deg,#21b760,#159447);
    border-color:#159447;
    box-shadow:0 10px 20px rgba(21,148,71,.22);
}
.qi-product-primary-action.is-whatsapp:hover{
    box-shadow:0 13px 25px rgba(21,148,71,.29);
}
.qi-product-secondary-action.is-store{
    background:#f7fbff;
    border-color:#bfd7ef;
    color:#075ebd;
    box-shadow:none;
}
.qi-product-secondary-action.is-store:hover{
    background:#e9f4ff;
    color:#074d9b;
}
.qi-purchase-protection.is-partner{
    grid-template-columns:30px minmax(0,1fr);
    padding:11px 12px;
    border:1px solid #ecd4a7;
    border-radius:13px;
    background:linear-gradient(135deg,#fffaf0,#fff);
}
.qi-purchase-protection.is-partner svg{
    stroke:#9a6a14;
}
.qi-purchase-protection.is-partner strong{
    color:#5d4316;
}
.btn-whatsapp{
    background:linear-gradient(135deg,#21b760,#159447)!important;
    border-color:#159447!important;
    color:#fff!important;
}
.btn-whatsapp:hover{
    color:#fff!important;
    filter:brightness(.97);
}
@media(max-width:760px){
    .qi-product-sale-mode{
        max-width:56%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:.51rem!important;
    }
    .qi-product-card-actions.is-partner{
        grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
    }
}

/* =========================================================
   Patch 050 — Publicidade híbrida QI + AdSense como fallback
   ========================================================= */
.ad-slot.hybrid-ad-active{
    display:block!important;
    min-height:0!important;
    margin:18px 0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    overflow:visible;
    text-align:left;
}
.hybrid-ad-card{
    position:relative;
    display:block;
    width:100%;
    overflow:hidden;
    border:1px solid #d5e2ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 30px rgba(8,47,102,.09);
    color:#102d4c;
    text-decoration:none;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.hybrid-ad-card:before{
    content:"";
    position:absolute;
    z-index:3;
    inset:0 0 auto;
    height:3px;
    background:linear-gradient(90deg,#082f66 0 72%,#ff7a00 72% 100%);
}
.hybrid-ad-card:hover{
    transform:translateY(-2px);
    border-color:#aac6e1;
    box-shadow:0 17px 38px rgba(8,47,102,.14);
}
.hybrid-ad-card picture{
    display:block;
    width:100%;
    background:linear-gradient(145deg,#f8fbff,#eef4fa);
}
.hybrid-ad-card picture img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.hybrid-ad-label{
    position:absolute;
    z-index:4;
    top:10px;
    left:10px;
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:5px 8px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:8px;
    background:rgba(7,39,81,.92);
    color:#fff;
    box-shadow:0 5px 13px rgba(0,0,0,.16);
    font-size:.61rem;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
    backdrop-filter:blur(6px);
}
.hybrid-ad-card.is-internal .hybrid-ad-label{
    background:rgba(255,116,0,.94);
}
.hybrid-ad-caption{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-top:1px solid #e6edf4;
    background:linear-gradient(180deg,#fff,#f8fbfe);
}
.hybrid-ad-caption strong{
    min-width:0;
    overflow:hidden;
    color:#123353;
    font-size:.76rem;
    font-weight:950;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.hybrid-ad-caption small{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:5px 9px;
    border-radius:9px;
    background:#eaf4ff;
    color:#075ebd;
    font-size:.65rem;
    font-weight:950;
}
.hybrid-ad-banner picture{aspect-ratio:4.5/1}
.hybrid-ad-in-content picture{aspect-ratio:5/1}
.hybrid-ad-sidebar{margin:0!important}
.hybrid-ad-sidebar .hybrid-ad-card{border-radius:17px}
.hybrid-ad-sidebar .hybrid-ad-card picture{aspect-ratio:1/2.2}
.hybrid-ad-sidebar .hybrid-ad-caption{
    display:grid;
    gap:6px;
    padding:9px;
}
.hybrid-ad-sidebar .hybrid-ad-caption small{
    width:100%;
    justify-content:center;
}

/* A página do produto só reserva as colunas laterais quando há anúncio real. */
.qi-product-detail-shell{
    width:min(1120px,calc(100% - 24px));
    grid-template-columns:minmax(0,1120px);
}
.qi-ad-rail{display:none}
@media(min-width:1321px){
    .qi-ad-rail.is-ad-visible{display:block}
    .qi-product-detail-shell.has-left-ad{
        width:min(1310px,96%);
        grid-template-columns:170px minmax(0,1120px);
    }
    .qi-product-detail-shell.has-right-ad{
        width:min(1310px,96%);
        grid-template-columns:minmax(0,1120px) 170px;
    }
    .qi-product-detail-shell.has-left-ad.has-right-ad{
        width:min(1500px,96%);
        grid-template-columns:170px minmax(0,1120px) 170px;
    }
    .qi-product-detail-shell.has-left-ad .qi-ad-rail-left,
    .qi-product-detail-shell.has-right-ad .qi-ad-rail-right{
        display:block;
    }
}
@media(max-width:760px){
    .ad-slot.hybrid-ad-active{margin:13px 0!important}
    .hybrid-ad-card{border-radius:14px}
    .hybrid-ad-banner picture,
    .hybrid-ad-in-content picture{aspect-ratio:2.45/1}
    .hybrid-ad-caption{padding:8px 9px}
    .hybrid-ad-caption strong{font-size:.7rem}
    .hybrid-ad-label{top:7px;left:7px;min-height:21px;padding:4px 6px;font-size:.54rem}
}
.content-layout.has-no-ad-sidebar{
    grid-template-columns:minmax(0,1fr)!important;
}

/* Patch 051 — mídia em vídeo nos anúncios de autosserviço */
.hybrid-ad-video{
    display:block;
    width:100%;
    height:auto;
    border:0;
    background:#07172a;
    object-fit:cover;
}
.hybrid-ad-banner .hybrid-ad-video{aspect-ratio:4.5/1}
.hybrid-ad-in-content .hybrid-ad-video{aspect-ratio:5/1}
.hybrid-ad-sidebar .hybrid-ad-video{aspect-ratio:1/2.2}
@media(max-width:760px){
    .hybrid-ad-banner .hybrid-ad-video,
    .hybrid-ad-in-content .hybrid-ad-video{aspect-ratio:2.45/1}
}

/* Patch 070 — avaliações e ordenação */
.qi-product-rating{display:flex!important;align-items:center;gap:5px;color:#8b5a00!important}.qi-product-rating strong{color:#b87300;font-size:.82rem}.qi-product-rating small{font-size:.7rem;color:#67778b}.qi-marketplace-sort select{cursor:pointer}

/* =========================================================
   Patch 072 — navegação principal reconstruída
   Menu desktop premium, largura consistente e textos sem sobreposição
   ========================================================= */
.site-header .nav-submenu-arrow{display:none!important}

@media (min-width:1041px){
    .site-header .header-inner{
        min-height:64px;
        gap:10px;
    }
    .site-header .main-nav{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:2px;
        min-width:0;
        padding:4px;
        overflow:visible;
        border:1px solid #e2eaf4;
        border-radius:16px;
        background:rgba(246,249,253,.92);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
    }
    .site-header .nav-group{
        position:relative;
        flex:0 0 auto;
    }
    .site-header .nav-group-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:7px;
        min-height:42px;
        padding:6px 10px 6px 7px;
        border:1px solid transparent;
        border-radius:12px;
        background:transparent;
        color:#243650;
        box-shadow:none;
        font-size:.81rem;
        font-weight:900;
        line-height:1;
        transform:none;
        transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
    }
    .site-header .nav-group-icon{
        display:grid;
        place-items:center;
        width:29px;
        height:29px;
        flex:0 0 29px;
        border:1px solid #dce7f4;
        border-radius:10px;
        background:#fff;
        box-shadow:0 4px 10px rgba(8,47,102,.06);
        font-size:.88rem;
        line-height:1;
    }
    .site-header .nav-chevron{
        width:6px;
        height:6px;
        margin-left:1px;
        border-right:1.7px solid currentColor;
        border-bottom:1.7px solid currentColor;
        opacity:.55;
    }
    .site-header .nav-group:hover .nav-group-toggle,
    .site-header .nav-group:focus-within .nav-group-toggle,
    .site-header .nav-group.is-open .nav-group-toggle{
        border-color:#d9e6f5;
        background:#fff;
        color:#082f66;
        box-shadow:0 8px 20px rgba(8,47,102,.08);
        transform:none;
    }
    .site-header .nav-group.active .nav-group-toggle{
        border-color:transparent;
        background:linear-gradient(135deg,#08356f,#086ed3);
        color:#fff;
        box-shadow:0 9px 20px rgba(8,94,199,.19);
    }
    .site-header .nav-group.active .nav-group-icon{
        border-color:rgba(255,255,255,.24);
        background:rgba(255,255,255,.14);
        box-shadow:none;
    }

    .site-header .nav-submenu{
        position:absolute;
        z-index:120;
        top:calc(100% + 12px);
        width:410px;
        max-width:calc(100vw - 32px);
        padding:9px;
        overflow:hidden;
        border:1px solid #dbe5f1;
        border-radius:20px;
        background:rgba(255,255,255,.985);
        box-shadow:0 24px 64px rgba(7,31,72,.19),0 3px 10px rgba(7,31,72,.05);
        backdrop-filter:blur(18px) saturate(170%);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transform:translateY(-8px) scale(.985);
        transition:opacity .17s ease,visibility .17s ease,transform .17s ease;
    }
    .site-header .nav-submenu:before{
        display:none!important;
    }
    .site-header .nav-submenu:after{
        content:"";
        position:absolute;
        inset:0 0 auto;
        height:3px;
        background:linear-gradient(90deg,#0a5ec7 0 76%,#ff7a00 76% 100%);
    }
    .site-header .nav-group--consult .nav-submenu,
    .site-header .nav-group--shop .nav-submenu{
        left:0;
        right:auto;
        transform-origin:top left;
    }
    .site-header .nav-group--community .nav-submenu,
    .site-header .nav-group--content .nav-submenu{
        left:auto;
        right:0;
        transform-origin:top right;
    }
    .site-header .nav-group:hover .nav-submenu,
    .site-header .nav-group:focus-within .nav-submenu,
    .site-header .nav-group.is-open .nav-submenu{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateY(0) scale(1);
    }

    .site-header .nav-submenu-link{
        position:relative;
        display:grid;
        grid-template-columns:46px minmax(0,1fr);
        align-items:center;
        gap:12px;
        width:100%;
        min-height:68px;
        margin:0;
        padding:10px 12px;
        overflow:hidden;
        border:1px solid transparent;
        border-radius:13px;
        background:transparent;
        color:#21344e;
        transform:none;
        transition:background .16s ease,border-color .16s ease,transform .16s ease;
    }
    .site-header .nav-submenu-link + .nav-submenu-link{
        margin-top:2px;
    }
    .site-header .nav-submenu-link + .nav-submenu-link:before{
        content:"";
        position:absolute;
        top:-2px;
        left:58px;
        right:10px;
        height:1px;
        background:#edf1f6;
    }
    .site-header .nav-submenu-link:hover,
    .site-header .nav-submenu-link:focus{
        border-color:#dbe9f8;
        background:#f3f8ff;
        outline:none;
        transform:translateX(2px);
    }
    .site-header .nav-submenu-link.active{
        border-color:#cfe2fb;
        background:#edf6ff;
    }
    .site-header .nav-submenu-icon{
        display:grid;
        place-items:center;
        width:46px;
        height:46px;
        border:1px solid #dce6f2;
        border-radius:14px;
        background:#f7faff;
        box-shadow:none;
        font-size:1.14rem;
        line-height:1;
    }
    .site-header .nav-tone-gold .nav-submenu-icon{background:#fff8e8;border-color:#f3dfad}
    .site-header .nav-tone-blue .nav-submenu-icon{background:#edf6ff;border-color:#cfe3fa}
    .site-header .nav-tone-green .nav-submenu-icon{background:#edfbf3;border-color:#cbead8}
    .site-header .nav-tone-violet .nav-submenu-icon{background:#f4f0ff;border-color:#ddd2f7}
    .site-header .nav-tone-rose .nav-submenu-icon{background:#fff0f3;border-color:#f2d0d8}
    .site-header .nav-submenu-copy{
        min-width:0;
        overflow:hidden;
    }
    .site-header .nav-submenu-copy strong{
        display:block;
        max-width:100%;
        overflow:hidden;
        color:#0a2856;
        font-size:.96rem;
        font-weight:950;
        line-height:1.15;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .site-header .nav-submenu-copy small{
        display:block;
        max-width:100%;
        margin-top:4px;
        overflow:hidden;
        color:#68788f;
        font-size:.74rem;
        font-weight:720;
        line-height:1.2;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}

@media (min-width:1041px) and (max-width:1210px){
    .site-header .header-inner{gap:7px}
    .site-header .brand span{display:none}
    .site-header .main-nav{gap:1px}
    .site-header .nav-group-toggle{padding-right:8px;font-size:.76rem}
    .site-header .nav-group-icon{width:27px;height:27px;flex-basis:27px}
    .site-header .nav-submenu{width:390px}
}

@media (max-width:1040px){
    .site-header .main-nav.open{
        padding:9px!important;
        gap:5px!important;
        border:1px solid #d9e4f1!important;
        border-radius:18px!important;
        background:rgba(255,255,255,.995)!important;
        box-shadow:0 24px 58px rgba(8,47,102,.18)!important;
    }
    .site-header .main-nav.open .nav-group-toggle{
        min-height:50px!important;
        padding:7px 10px!important;
        border:1px solid #e1e9f3!important;
        border-radius:13px!important;
        background:#fbfdff!important;
        color:#20334e!important;
        font-size:.90rem!important;
        box-shadow:none!important;
    }
    .site-header .main-nav.open .nav-group.active .nav-group-toggle,
    .site-header .main-nav.open .nav-group .nav-group-toggle[aria-expanded="true"]{
        border-color:#c9ddf5!important;
        background:#edf6ff!important;
        color:#082f66!important;
    }
    .site-header .main-nav.open .nav-group-icon{
        width:34px!important;
        height:34px!important;
        flex:0 0 34px!important;
        border-radius:11px!important;
        font-size:.98rem!important;
    }
    .site-header .main-nav.open .nav-group-label{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .site-header .main-nav.open .nav-chevron{margin-left:auto}
    .site-header .main-nav.open .nav-group .nav-submenu,
    .site-header .main-nav.open .nav-group:hover .nav-submenu,
    .site-header .main-nav.open .nav-group:focus-within .nav-submenu{
        position:static!important;
        width:auto!important;
        max-width:none!important;
        margin-left:5px!important;
        margin-right:5px!important;
        border-radius:14px!important;
        background:#f5f8fc!important;
    }
    .site-header .main-nav.open .nav-submenu-link{
        grid-template-columns:42px minmax(0,1fr)!important;
        gap:10px!important;
        min-height:62px!important;
        padding:8px 10px!important;
        overflow:hidden!important;
        border:1px solid #dfe8f3!important;
        border-radius:12px!important;
        background:#fff!important;
        color:#22364f!important;
    }
    .site-header .main-nav.open .nav-submenu-link + .nav-submenu-link{
        margin-top:5px!important;
    }
    .site-header .main-nav.open .nav-submenu-icon{
        width:42px!important;
        height:42px!important;
        border-radius:12px!important;
        font-size:1.02rem!important;
        box-shadow:none!important;
    }
    .site-header .main-nav.open .nav-tone-gold .nav-submenu-icon{background:#fff8e8!important;border-color:#f3dfad!important}
    .site-header .main-nav.open .nav-tone-blue .nav-submenu-icon{background:#edf6ff!important;border-color:#cfe3fa!important}
    .site-header .main-nav.open .nav-tone-green .nav-submenu-icon{background:#edfbf3!important;border-color:#cbead8!important}
    .site-header .main-nav.open .nav-tone-violet .nav-submenu-icon{background:#f4f0ff!important;border-color:#ddd2f7!important}
    .site-header .main-nav.open .nav-tone-rose .nav-submenu-icon{background:#fff0f3!important;border-color:#f2d0d8!important}
    .site-header .main-nav.open .nav-submenu-copy{
        min-width:0!important;
        overflow:hidden!important;
    }
    .site-header .main-nav.open .nav-submenu-copy strong,
    .site-header .main-nav.open .nav-submenu-copy small{
        display:block!important;
        max-width:100%!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .site-header .main-nav.open .nav-submenu-copy strong{
        color:#0a2856!important;
        font-size:.88rem!important;
        line-height:1.15!important;
    }
    .site-header .main-nav.open .nav-submenu-copy small{
        margin-top:3px!important;
        color:#6b7b91!important;
        font-size:.70rem!important;
        line-height:1.2!important;
    }
}

@media (prefers-reduced-motion:reduce){
    .site-header .nav-group-toggle,
    .site-header .nav-submenu,
    .site-header .nav-submenu-link,
    .site-header .nav-chevron{transition:none!important}
}


/* Patch 091 — estabilidade visual e renderização abaixo da dobra */
img{max-width:100%;height:auto}
@supports (content-visibility:auto){
  .related-products-card,.reviews-list,.st-grid,.store-grid,.technical-grid,.qi-technical-related{content-visibility:auto;contain-intrinsic-size:720px}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
