/*
Theme Name: Compra Explicada
Author: Compra Explicada
Description: Tema editorial leve para reviews, comparativos e guias. Página inicial pronta, editor nativo e links de afiliado opcionais. Sem construtor ou fontes externas.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compra-explicada
*/
:root{--ink:#171a24;--muted:#606576;--blue:#263ee8;--yellow:#ffda45;--line:#e6e8ef;--radius:20px;--wrap:1180px}*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;color:var(--ink);background:#fff;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--blue);text-underline-offset:4px}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,.button,input[type=submit]{cursor:pointer}img{max-width:100%;height:auto;vertical-align:middle}svg{display:block}h1,h2,h3,p,figure{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h2{font-size:clamp(26px,3vw,34px);margin-bottom:12px}h3{font-size:22px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e36d00;outline-offset:5px}.wrap{width:min(var(--wrap),calc(100% - 48px));margin-inline:auto}.section{padding-block:60px}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;top:12px;left:12px;width:auto;height:auto;clip-path:none;z-index:99999;background:#fff;padding:12px}.site-header{background:#151821;color:#fff}.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{color:inherit;display:inline-flex;align-items:center;gap:11px;text-decoration:none!important;font-size:22px;font-weight:800;letter-spacing:-.7px;line-height:1.05;white-space:nowrap}.brand-light{font-weight:450}.brand small{font-size:8px;display:block;letter-spacing:2px;font-weight:500;margin-top:7px;color:#b9bfce}.brand-mark{display:inline-flex;align-items:center;justify-content:center;letter-spacing:-6px;padding-right:6px;border-radius:12px;width:42px;height:42px;background:var(--yellow);color:#151821;font-size:30px;font-weight:900}.brand-mark span{color:var(--blue)}.custom-logo-link img{max-height:54px;width:auto;max-width:250px}.nav-links{display:flex;gap:24px;list-style:none;padding:0;margin:0;align-items:center}.nav-links a{color:#f8f9fc;text-decoration:none;font-size:13px;font-weight:600}.nav-links a:hover{color:var(--yellow)}.mobile-menu{display:none}.hero{background:linear-gradient(110deg,#182dc3,#344cef);color:#fff;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:center;min-height:490px;padding-block:60px}.hero-kicker{font-size:11px;letter-spacing:2px;font-weight:700;color:#d9deff;display:block;margin-bottom:20px}.hero h1{font-size:clamp(38px,4.5vw,60px);letter-spacing:-2.6px;margin-bottom:22px;line-height:1.06}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{font-size:18px;line-height:1.5;color:#e1e5ff;margin-bottom:26px}.search-form{display:flex;background:#fff;padding:6px;border-radius:12px;width:100%;border:1px solid var(--line);gap:4px}.search-form input{min-width:0;flex:1;width:100%;padding:11px 13px;border:0;background:transparent;font-size:14px;color:var(--ink)}.search-form button,.button,input[type=submit]{background:var(--yellow);color:#171a24;border:0;border-radius:8px;padding:12px 20px;font-weight:750;text-decoration:none;display:inline-block;text-align:center;white-space:normal}.button:hover,.search-form button:hover{background:#ffe675;text-decoration:none}.suggestions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:17px;font-size:11px}.suggestions>span{color:#d2d8ff}.suggestions a{color:white;text-decoration:none;border:1px solid #ffffff50;border-radius:30px;padding:4px 11px}.suggestions a:hover{background:#ffffff22}.hero-art{position:relative;height:320px;isolation:isolate}.orbit{position:absolute;width:310px;height:310px;border:1px solid #ffffff25;border-radius:50%;left:10px;top:15px}.orbit:after{content:"";position:absolute;inset:30px;border-radius:50%;border:1px solid #ffffff20}.art-card{position:absolute;border-radius:20px;box-shadow:0 22px 40px #101d6d22}.art-back{background:#d9dfff;color:#2536ac;width:245px;height:230px;left:0;top:0;transform:rotate(-9deg);padding:24px}.art-back>span{font-weight:800;font-size:9px;letter-spacing:1px}.mini-icons{display:flex;gap:12px;margin-top:24px}.mini-icons svg{width:80px;height:80px}.art-front{background:#fff;color:var(--ink);width:268px;right:0;top:88px;transform:rotate(6deg);padding:27px}.art-front>span{font-size:10px;letter-spacing:1.3px;display:block;font-weight:600}.art-front strong{font-size:32px;letter-spacing:-1px}.art-stamp{position:absolute;right:20px;top:-23px;background:var(--yellow);border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:28px;color:#2438ba;font-weight:800}.art-line{height:6px;width:90%;background:#e4e7f5;border-radius:8px;margin-top:14px}.art-line.short{width:55%;margin-top:8px}.art-spark{position:absolute;color:var(--yellow);font-size:70px;right:15px;top:-35px}.art-note{position:absolute;bottom:-6px;left:12px;font-size:11px;color:#e1e5ff;transform:rotate(-5deg)}.eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.5px;font-weight:800;display:inline-block;color:#4650a1;margin-bottom:10px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head p{margin-bottom:0;color:var(--muted)}.section-head h2{margin-bottom:0}.section-head h2+p{margin-top:12px}.subtle{font-size:13px;color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.category{display:block;text-decoration:none!important;color:var(--ink);border-radius:17px;overflow:hidden;background:#eeeaff;transition:transform .15s}.category:hover{transform:translateY(-3px)}.category>div{height:146px;display:grid;place-items:center}.category svg{height:95px;width:95px;stroke-width:1.7}.category>span{display:flex;justify-content:space-between;padding:15px 18px;font-size:13px;font-weight:750;border-top:1px solid #171a2410;gap:4px}.category b{font-size:16px}.category-1{background:#ffeadc}.category-2{background:#e2f2fb}.category-3{background:#fff4c9}.category-4{background:#e9edff}.decision{background:#f2f0fc;border-radius:var(--radius);padding:30px 34px;display:flex;justify-content:space-between;gap:24px;align-items:center}.decision h2{font-size:23px;margin-bottom:0}.decision .eyebrow{font-size:9px}.decision-links{display:flex;gap:10px;flex-wrap:wrap}.decision-links a{background:#fff;border-radius:30px;color:#33364c;padding:10px 15px;font-size:12px;text-decoration:none}.decision-links a:hover{box-shadow:0 0 0 1px var(--blue)}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.article-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;display:flex;flex-direction:column}.card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1.65;background:#f3f4f9;overflow:hidden;color:#8891be}.card-image img{width:100%;height:100%;object-fit:cover}.card-image svg{width:100px;height:100px}.card-copy{padding:24px}.card-copy h3{margin:2px 0 14px;font-size:23px}.card-copy h3 a{color:var(--ink);text-decoration:none}.card-copy h3 a:hover{color:var(--blue)}.card-copy p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:24px}.text-link{font-size:13px;text-decoration:none;font-weight:750}.guide-banner{display:flex;justify-content:space-between;align-items:center;background:#ffeadc;border-radius:var(--radius);padding:38px 44px;gap:24px;position:relative;overflow:hidden;margin-top:52px}.guide-banner>div,.guide-banner>a{z-index:1}.guide-banner p{font-size:14px;max-width:380px;margin-bottom:0;color:#635549}.guide-banner .eyebrow{color:#795236}.dark-button{background:var(--ink);color:white}.dark-button:hover{background:#353a50;color:white}.guide-symbol{font-size:220px;line-height:1;color:#ebc5a8;position:absolute;right:230px;top:0}.empty-state{text-align:center;padding:45px 20px;background:#f7f8fc;border-radius:var(--radius)}.empty-state>span:not(.eyebrow){font-size:36px;color:var(--blue)}.empty-state h3{margin-bottom:12px}.empty-state p{color:var(--muted)}.empty-state .search-form{max-width:580px;margin-inline:auto}.trust-row{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);padding-block:28px;font-size:12px;color:#555e72}.site-footer{background:#151821;color:#fff;margin-top:20px}.footer-top{display:grid;grid-template-columns:1.15fr 1fr 1.2fr;gap:60px;padding-block:48px}.footer-top p,.footer-note{color:#b5bac8;font-size:13px;margin:20px 0 0}.footer-top strong{font-size:12px}.site-footer ul{list-style:none;padding:0;margin:15px 0}.site-footer li{margin-bottom:7px}.site-footer a:not(.brand){color:#cbd0dc;font-size:12px}.footer-note+a{display:inline-block;margin-top:16px}.footer-bottom{border-top:1px solid #ffffff20;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#acb3c5;padding-block:20px}.article-layout{max-width:820px;padding-block:48px}.article-header h1,.archive-header h1{font-size:clamp(32px,4vw,50px);margin-bottom:24px;overflow-wrap:anywhere}.article-categories{font-size:12px;margin-block:25px 16px}.article-categories a{text-decoration:none}.article-deck{font-size:21px;color:#525c70;line-height:1.6}.article-meta{font-size:12px;color:var(--muted);margin-bottom:16px}.disclosure{padding:12px 15px;border-left:3px solid #b8bff9;background:#f4f5fc;font-size:12px;color:#555e72}.article-featured{margin:30px 0}.article-featured img{width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:16px}.verdict{background:#eef0ff;border-radius:16px;padding:25px 28px;margin:30px 0}.verdict p{margin-bottom:0;font-size:18px}.buy-box{margin:32px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border:1px solid #e6d68a;background:#fffbee;border-radius:16px;padding:24px}.buy-box p{font-size:13px;margin:5px 0 0;color:#5d5845}.buy-box small{width:100%;font-size:11px;color:#69634e}.prose{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.prose h2{margin-top:46px;font-size:30px}.prose h3{margin-top:32px;font-size:24px}.prose p{margin-bottom:24px}.prose li{margin-block:10px}.prose blockquote{border-left:4px solid var(--blue);margin:30px 0;padding:10px 25px;background:#f3f5ff}.prose table{border-collapse:collapse;width:100%;font-size:15px}.prose .wp-block-table{overflow-x:auto}.prose th,.prose td{border:1px solid var(--line);padding:12px;text-align:left}.prose figcaption{font-size:12px;color:var(--muted);line-height:1.5}.prose iframe{max-width:100%}.prose pre{overflow:auto;max-width:100%}.alignwide,.alignfull{max-width:100%;margin-inline:0}.alignleft{float:left;margin:5px 25px 15px 0}.alignright{float:right;margin:5px 0 15px 25px}.aligncenter{margin-inline:auto;display:block}.prose:after{content:"";display:table;clear:both}.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:38px 0}.pros-cons>div{padding:24px;border-radius:16px;background:#f0f4ff}.pros-cons>div+div{background:#fff1df}.pros-cons h2{font-size:21px}.pros-cons ul{padding-left:20px;font-size:15px}.pros-cons li{margin-block:8px}.article-end{margin-top:35px;border-top:1px solid var(--line);padding-top:25px;font-size:14px}.nav-links .nav-previous,.nav-links .nav-next{max-width:48%}.article-end .nav-links{justify-content:space-between}.article-end .nav-links a{color:var(--blue)}.archive-header{margin-bottom:38px}.archive-description{max-width:700px;color:var(--muted)}.pagination{margin-top:40px}.page-numbers{display:inline-block;padding:8px 13px;margin:3px;border:1px solid var(--line);border-radius:8px}.page-numbers.current{background:var(--blue);color:#fff}.comments-area{margin-top:45px;border-top:1px solid var(--line);padding-top:30px}.comment-list{padding-left:20px}.comment-list li{margin-bottom:20px}.comment-form textarea{width:100%;min-height:150px}.comment-form input:not([type=checkbox]):not([type=submit]),.comment-form textarea{border:1px solid #c7cbd7;border-radius:6px;padding:10px;max-width:100%}.comment-form label{display:block;font-size:14px}.comment-form-cookies-consent label{display:inline}.page-extra{margin-block:25px 50px}
@media(min-width:1600px){.hero-grid{min-height:530px}}
@media(max-width:1050px){.desktop-nav{display:none}.mobile-menu{display:block;position:relative}.mobile-menu summary{list-style:none;cursor:pointer;font-size:14px;padding:10px}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:48px;z-index:10;background:#151821;min-width:240px;border:1px solid #ffffff30;border-radius:10px;padding:20px;box-shadow:0 12px 20px #0002}.mobile-menu .nav-links{display:block}.mobile-menu li{margin-block:12px}.hero-grid{gap:35px;grid-template-columns:1.3fr 1fr}.hero-art{transform:scale(.83);transform-origin:center}.decision{align-items:start;flex-direction:column}.category>span{font-size:11px;padding:14px 12px}.footer-top{gap:30px}.article-grid{gap:16px}.card-copy{padding:20px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:77px;gap:15px}.brand{font-size:19px}.brand-mark{height:36px;width:36px;font-size:27px}.brand small{font-size:7px;letter-spacing:1.5px}.hero-grid{display:block;padding-block:45px}.hero h1{font-size:44px;letter-spacing:-1.8px}.hero p{font-size:16px}.hero-art{display:none}.hero-kicker{font-size:9px;letter-spacing:1.5px}.search-form input{font-size:13px;padding-inline:8px}.search-form button{padding:11px 14px;font-size:13px}.suggestions{gap:7px;font-size:10px}.section{padding-block:38px}.section-head{align-items:start}.section-head .subtle{display:none}.section-head>.text-link{white-space:nowrap;margin-top:10px}.category-grid{grid-template-columns:repeat(2,1fr);gap:12px}.category:last-child{grid-column:span 2;display:flex;align-items:center;justify-content:center;gap:12px}.category:last-child>div{height:95px}.category:last-child>span{border:0;gap:24px}.category>div{height:112px}.category svg{height:80px;width:80px}.category>span{font-size:13px;padding:13px 15px}.decision{padding:24px}.decision h2{font-size:25px}.decision-links{gap:8px}.decision-links a{font-size:11px;padding:9px 11px}.article-grid{grid-template-columns:1fr}.article-card{display:grid;grid-template-columns:115px 1fr}.card-image{aspect-ratio:auto;height:100%;min-height:150px}.card-image svg{width:70px;height:70px}.card-image img{object-fit:contain}.card-copy{padding:18px}.card-copy h3{font-size:20px}.card-copy p{display:none}.card-copy .eyebrow{font-size:9px}.guide-banner{padding:28px;margin-top:30px;display:block}.guide-banner h2{font-size:30px}.guide-banner .button{margin-top:24px;font-size:13px}.guide-symbol{right:-12px;top:55px;font-size:150px;opacity:.45}.trust-row{flex-direction:column;gap:8px;padding-block:20px}.footer-top{grid-template-columns:1fr;gap:26px;padding-block:35px}.footer-top ul{display:flex;gap:10px 20px;flex-wrap:wrap}.footer-top p{margin-top:14px}.footer-bottom{display:block;line-height:1.8}.footer-bottom span{display:block}.article-layout{padding-block:30px}.article-header h1{font-size:35px}.article-deck{font-size:18px}.prose{font-size:17px;line-height:1.85}.prose h2{font-size:27px;margin-top:36px}.pros-cons{grid-template-columns:1fr}.buy-box{padding:20px}.buy-box .button{width:100%}.verdict{padding:22px}.alignleft,.alignright{float:none;margin:20px 0}.article-end .nav-links{align-items:start;gap:16px}.article-end .nav-links a{font-size:12px}.desktop-only{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Proposta visual aprovada: índigo, amarelo e categorias pastel. */
:root{--blue:#2826ab;--wrap:1120px}.site-header{background:#1d202c}.header-inner{min-height:76px}.hero{background:#211b8b;position:relative}.hero:before,.hero:after{content:"";position:absolute;pointer-events:none;border-radius:50%;width:230px;height:230px}.hero:before{background:#ff8a19;left:-140px;top:-155px}.hero:after{background:#b19aff;right:-150px;bottom:-160px;width:300px;height:300px}.hero-grid{display:block;min-height:0;padding-block:43px 35px;position:relative;z-index:1;text-align:center}.hero-grid>div:first-child{max-width:780px;margin-inline:auto}.hero-art{display:none}.hero-kicker{font-size:9px;letter-spacing:1.7px;margin-bottom:15px}.hero h1{font-size:clamp(35px,4.4vw,53px);letter-spacing:-1.9px;margin-bottom:14px}.hero p{font-size:15px;margin-bottom:22px}.hero p br{display:none}.hero .search-form{max-width:720px;margin-inline:auto;border-radius:40px;padding:5px 5px 5px 14px}.hero .search-form button{border-radius:30px;padding:9px 24px}.hero .search-form input{padding-block:8px}.suggestions{justify-content:center;margin-top:12px}.section{padding-block:36px}.categories .eyebrow{display:none}.category-grid{gap:14px}.category>div{height:166px;padding:12px}.category img{object-fit:contain;width:100%;height:100%;mix-blend-mode:multiply}.category>span{border:0;justify-content:center;padding:0 10px 14px}.category b{display:none}.category-0{background:#eaddff}.category-1{background:#ffe4d5}.category-2{background:#daf0ff}.category-3{background:#fff4c9}.category-4{background:#d9e0ff}.decision{padding:20px 25px;gap:25px;flex-direction:row;align-items:center;background:#eae0ff;border-radius:12px}.decision h2{font-size:20px;max-width:240px}.decision .eyebrow{display:none}.decision-links a{border-radius:8px}.decision-links{gap:10px}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.comparison-card{border:1px solid var(--line);border-radius:16px;padding:20px 23px;text-decoration:none;color:var(--ink);position:relative;background:#fff}.comparison-card:hover{text-decoration:none;border-color:#b1aff4}.compare-label{display:inline-block;background:#eee4ff;color:#7039ae;border-radius:20px;padding:3px 12px;font-size:10px;font-weight:700}.comparison-card:nth-child(2) .compare-label{background:#e4ebff;color:#2847d5}.compare-pictures{display:flex;align-items:center;justify-content:center;gap:20px;height:155px}.compare-pictures img{width:34%;height:100%;object-fit:contain}.versus{border-radius:50%;background:#ff8518;color:white;font-weight:850;display:grid;place-items:center;width:36px;height:36px;font-size:12px;flex-shrink:0}.comparison-card h3{margin:12px 0 7px;font-size:23px}.comparison-card p{font-size:13px;color:var(--muted);margin-bottom:7px}.home-comparisons+.section{padding-top:8px}.article-card .card-image img{object-fit:contain;padding:12px;mix-blend-mode:multiply}.card-image{background:#f6f4fb}.guide-banner{margin-top:5px;padding:28px 35px}.guide-banner h2{font-size:28px}.guide-banner h2 br{display:none}.guide-symbol{font-size:150px;right:245px}.guide-banner .eyebrow{font-size:9px}.product-spotlight{display:grid;grid-template-columns:220px 1fr;gap:25px;border:1px solid #dfe1ed;border-radius:20px;background:#fff;padding:24px;margin-bottom:38px;box-shadow:0 8px 30px #25238406}.product-spotlight figure{margin:0;display:flex;flex-direction:column;justify-content:center}.product-spotlight img{width:100%;height:210px;object-fit:contain}.product-spotlight figcaption{font-size:9px;line-height:1.4;color:var(--muted);text-align:center;margin-top:10px}.product-spotlight h2{font-size:28px;margin-bottom:14px}.product-spotlight p{font-size:14px;line-height:1.7;margin-bottom:20px}.product-spotlight small,.inline-offers small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px}.store-buttons{display:flex;gap:9px;flex-wrap:wrap}.store-buttons .button{font-size:12px;line-height:1.5;padding:12px 15px;border-radius:9px}.store-ml{background:#ffe34b}.store-amazon{background:#ffa41c}.store-amazon:hover{background:#ffba52}.inline-offers{margin:32px 0;padding:21px;background:#fffbee;border:1px solid #f1e5b6;border-radius:12px;clear:both}.inline-offers strong{display:block;font-size:17px;margin-bottom:13px}.related-articles{border-top:1px solid var(--line);padding-top:34px;margin-top:40px}.related-articles h2{font-size:27px}.related-articles .article-grid{gap:14px}.related-articles .card-copy{padding:15px}.related-articles h3{font-size:17px}.related-articles .card-copy p{display:none}.prose .inline-offers .button{font-size:12px}.prose .inline-offers strong{font-size:16px}.article-layout{max-width:900px}.article-header,.single-article>.prose,.verdict,.single-article>.article-end,.comments-area,.pros-cons{max-width:780px;margin-inline:auto}.article-meta{font-size:12px}.single-article>.prose h2{font-size:28px}
@media(max-width:760px){.hero-grid{padding-block:36px 28px}.hero h1{font-size:37px;letter-spacing:-1.4px}.hero p{font-size:13px}.hero-kicker{font-size:8px}.hero:after{right:-210px;bottom:-215px}.hero:before{left:-175px;top:-175px}.hero .search-form{padding-left:7px}.hero .search-form input{font-size:12px}.hero .search-form button{padding:9px 15px}.categories h2,.home-comparisons h2{font-size:25px}.category-grid{gap:10px}.category>div{height:134px;padding:9px}.category:last-child>div{height:100px;width:120px}.category:last-child>span{padding:0}.category>span{font-size:12px}.decision{flex-direction:column;padding:20px;align-items:start;gap:15px}.decision h2{max-width:none;font-size:23px}.decision-links{gap:7px}.decision-links a{font-size:10px;padding:9px}.compare-grid{grid-template-columns:1fr;gap:15px}.compare-pictures{height:145px}.comparison-card h3{font-size:23px}.guide-banner{padding:25px}.guide-symbol{right:0;top:60px}.product-spotlight{grid-template-columns:1fr;padding:21px;gap:18px}.product-spotlight img{height:200px}.product-spotlight figure{max-width:260px;margin-inline:auto}.product-spotlight h2{font-size:26px}.store-buttons{flex-direction:column}.store-buttons .button{width:100%;font-size:13px}.related-articles .article-grid{grid-template-columns:1fr}.single-article>.prose h2{font-size:26px}.related-articles .article-card{grid-template-columns:100px 1fr}.related-articles .card-image{min-height:120px}.article-header h1{font-size:32px}}
