/*
Theme Name: Casa em Ordem 2.0
Theme URI: https://casaemordemoficial.com
Author: Casa em Ordem
Description: Tema editorial para o blog Casa em Ordem, com foco em organização, casa, eletrodomésticos, decoração, maternidade e bebê.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: casa-em-ordem
*/

:root{--ink:#292621;--muted:#6f6a62;--cream:#f7f1e7;--cream-deep:#eee6d4;--white:#fff;--terra:#c46b45;--terra-dark:#9d4f31;--olive:#6f7d57;--olive-soft:#e4e8db;--line:#ded5c7;--shadow:0 18px 45px rgba(48,38,27,.09);--serif:"Fraunces",Georgia,serif;--sans:"Inter",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:20px;z-index:999;background:var(--white);padding:12px}.site-main{min-height:60vh}
.disclosure-top{background:var(--cream-deep);border-bottom:1px solid var(--line);color:var(--olive);padding:9px 20px;text-align:center;font-size:.78rem}.site-header{background:rgba(247,241,231,.96);border-bottom:1px solid transparent;position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.header-row{display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:28px}.brand{display:flex;align-items:center;gap:12px;font-family:var(--serif);font-weight:700;font-size:1.35rem}.brand img,.custom-logo{width:58px;max-height:58px;object-fit:contain}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--terra);border-radius:50%;color:var(--terra);font-size:1.2rem}.main-nav ul{display:flex;gap:30px;align-items:center;list-style:none;margin:0;padding:0}.main-nav a{font-size:.88rem}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--terra)}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:10px;padding:9px 12px;font-weight:700}
.hero{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:88px 0 82px}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--terra);font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.eyebrow.badge{border:1px solid rgba(196,107,69,.35);border-radius:999px;padding:6px 13px;background:rgba(196,107,69,.05)}.hero h1,.section-title,.entry-title{font-family:var(--serif);line-height:1.08;letter-spacing:-.035em}.hero h1{font-size:clamp(2.8rem,5.5vw,4.65rem);max-width:700px;margin:20px 0 22px}.hero-copy{color:var(--muted);font-size:1.07rem;max-width:620px;margin:0}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:13px 20px;font-weight:800;font-size:.88rem}.button-primary{background:var(--terra);color:#fff}.button-primary:hover{background:var(--terra-dark)}.button-secondary{border:1px solid var(--olive);color:var(--olive)}.button-secondary:hover{background:var(--olive);color:#fff}.hero-visual{position:relative;min-height:270px;display:grid;place-items:center}.hero-line{position:absolute;left:0;right:0;height:1px;background:var(--line)}.curation-card{position:relative;width:min(100%,460px);background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:13px;padding:20px 64px 20px 22px;box-shadow:var(--shadow)}.curation-card strong{display:block;font-family:var(--serif);font-size:1.35rem}.curation-card span{color:var(--muted);font-size:.82rem}.curation-icon{position:absolute;right:22px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:2px solid var(--terra);border-radius:50%;color:var(--terra);font-weight:800}
.section{padding:64px 0}.section-white{background:var(--white)}.section-cream{background:var(--cream)}.section-tint{background:var(--cream-deep);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-title{font-size:clamp(1.9rem,3.5vw,2.65rem);margin:6px 0}.section-intro{color:var(--muted);margin:0;max-width:560px}.text-link{color:var(--terra);font-weight:800;font-size:.86rem}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.category-card{min-height:142px;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s}.category-card:hover{transform:translateY(-3px);border-color:var(--terra);box-shadow:var(--shadow)}.category-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--olive-soft);color:var(--olive);font-weight:800}.category-card strong{font-family:var(--serif);font-size:1.18rem}.category-card span:last-child{color:var(--muted);font-size:.78rem}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.2s;display:flex;flex-direction:column}.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.post-thumb{aspect-ratio:16/10;background:var(--olive-soft);overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover}.post-placeholder{height:100%;display:grid;place-items:center;color:var(--olive);font-size:2rem}.post-body{padding:22px;display:flex;flex:1;flex-direction:column}.post-meta{color:var(--terra);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.post-card h2{font-family:var(--serif);font-size:1.38rem;line-height:1.22;margin:10px 0}.post-card p{color:var(--muted);font-size:.9rem;margin:0 0 18px}.read-more{margin-top:auto;color:var(--terra-dark);font-weight:800;font-size:.85rem}.searches-label{display:flex;align-items:center;gap:10px;margin-bottom:20px;font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.search-chips{display:flex;flex-wrap:wrap;gap:10px}.search-chip{background:var(--white);border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-size:.82rem}.search-chip:hover{border-color:var(--olive);color:var(--olive)}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-teaser{background:rgba(255,255,255,.7);border:1px solid var(--line);border-radius:15px;padding:24px}.product-teaser .store-tag{display:inline-block;margin-bottom:10px}.product-teaser h3{font-family:var(--serif);font-size:1.3rem;margin:0 0 8px}.product-teaser p{color:var(--muted);font-size:.9rem}.affiliate-disclaimer{color:var(--muted);font-size:.75rem;margin-top:28px}.trust-section{background:var(--ink);color:#f7f1e7;padding:72px 0}.trust-shell{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.trust-copy h2{font-family:var(--serif);font-size:clamp(2.1rem,4vw,3.3rem);line-height:1.12;margin:16px 0}.trust-copy p{color:#cfc8bd;max-width:520px}.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.trust-item{border:1px solid rgba(255,255,255,.17);border-radius:13px;padding:22px;min-height:146px}.trust-item i{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--terra);border-radius:50%;color:var(--terra);font-style:normal}.trust-item strong{display:block;font-family:var(--serif);font-size:1.13rem;margin:14px 0 5px}.trust-item span{color:#cfc8bd;font-size:.84rem}
.archive-header,.article-header{padding:54px 0 30px}.archive-header h1,.article-header h1{font-family:var(--serif);font-size:clamp(2.4rem,5vw,4rem);line-height:1.1;margin:10px 0}.article-shell{display:grid;grid-template-columns:minmax(0,760px) 260px;gap:54px;padding-bottom:70px}.article-content{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:clamp(24px,5vw,54px)}.article-content h2,.article-content h3{font-family:var(--serif);line-height:1.2}.article-content a{color:var(--terra-dark);text-decoration:underline}.affiliate-notice{background:#f5e5db;border-left:4px solid var(--terra);padding:15px 18px;margin-bottom:28px;font-size:.9rem}.sidebar-box{position:sticky;top:110px;background:var(--olive-soft);padding:24px;border-radius:16px}.sidebar-box h2{font-family:var(--serif);font-size:1.35rem;margin-top:0}.product-box{border:1px solid var(--line);background:var(--cream);border-radius:15px;padding:22px;margin:26px 0}.product-box h3{margin-top:0}.product-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.store-tag{font-size:.72rem;font-weight:800;text-transform:uppercase;color:var(--olive);letter-spacing:.1em}.price{font-size:1.35rem;font-weight:800}.affiliate-button{display:inline-block;background:var(--terra);color:#fff!important;text-decoration:none!important;border-radius:9px;padding:12px 18px;font-weight:800;margin-top:14px}.affiliate-button:hover{background:var(--terra-dark)}.price-note{display:block;color:var(--muted);font-size:.75rem;margin-top:10px}.pagination{margin-top:34px}
.site-footer{background:#24211d;color:#eee7dd;padding:58px 0 28px}.footer-grid{display:grid;grid-template-columns:1.25fr .8fr .8fr 1fr;gap:42px}.footer-brand img{width:96px;height:96px;object-fit:contain;background:var(--cream);border-radius:12px;margin-bottom:20px}.site-footer h2{font-size:.68rem;font-family:var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#bcb2a6}.site-footer p,.site-footer a{color:#d8d0c6;font-size:.84rem}.footer-links{list-style:none;margin:0;padding:0}.footer-links li{margin:8px 0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(255,255,255,.15);margin-top:40px;padding-top:22px;color:#aaa197;font-size:.76rem}
@media(max-width:900px){.hero-grid,.trust-shell,.article-shell{grid-template-columns:1fr}.hero{padding:62px 0}.hero-visual{min-height:180px}.category-grid,.post-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.sidebar-box{position:static}.main-nav{display:none}.menu-toggle{display:block}.main-nav.is-open{display:block;position:absolute;left:0;right:0;top:80px;background:var(--cream);padding:20px;border-bottom:1px solid var(--line)}.main-nav.is-open ul{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}.trust-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wrap{width:min(100% - 28px,1120px)}.header-row{min-height:70px}.brand{font-size:1.1rem}.brand img,.custom-logo{width:46px;max-height:46px}.hero{padding:42px 0 48px}.hero h1{font-size:2.65rem}.hero-visual{display:none}.hero-actions{flex-direction:column}.button{width:100%}.section{padding:48px 0}.section-head{display:block}.category-grid,.post-grid,.product-grid,.trust-grid,.footer-grid{grid-template-columns:1fr}.trust-section{padding:54px 0}.article-content{border-radius:12px}.disclosure-top{font-size:.7rem}.footer-bottom{display:block}}
