/*
Theme Name: Aprende Mais Brasil
Theme URI: https://example.com/
Author: Aprende Mais Brasil
Description: Tema WordPress responsivo inspirado no layout de referência do Aprende Mais Brasil.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aprende-mais-brasil
*/

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:#0d1d3a;background:#fff}
img{max-width:100%;height:auto}
a{color:inherit}
.container{width:min(1280px,calc(100% - 48px));margin:auto}
.topbar{height:31px;background:#061a3e;color:#fff;font-size:12px}
.topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.top-links{display:flex;gap:22px;align-items:center}
.top-links a{color:#fff;text-decoration:none}
.search-btn{border:0;background:none;color:#fff;font-size:20px;cursor:pointer}
.header{border-bottom:1px solid #e9edf2;background:#fff}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#0c1c3b}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand strong{font-size:20px}
.brand em{font-size:20px;font-style:normal;font-weight:800;color:#20934a;margin-top:3px}
.brand-mark{width:51px;height:49px;position:relative;display:inline-flex;align-items:center;justify-content:center;border-left:7px solid #06245a;border-bottom:5px solid #06245a;border-radius:2px 0 10px 2px;font-size:33px;color:#20a250}
.brand-mark i{position:absolute;top:-7px;left:22px;font-style:normal;font-size:15px;color:#f5bf19}
.brand-mark b{font-size:30px}
.nav{display:flex;align-items:center;gap:27px;height:100%}
.nav a{font-size:13px;font-weight:800;text-decoration:none;color:#0b1832;height:100%;display:flex;align-items:center;position:relative}
.nav a.active,.nav a:hover{color:#168d46}
.nav a.active:after{content:"";position:absolute;height:2px;background:#168d46;left:0;right:0;bottom:18px}
.nav small{margin-left:7px;font-size:12px}
.nav-cta{height:31px!important;padding:0 17px;background:#20964c;color:#fff!important;border-radius:4px;font-size:11px!important}
.menu-toggle{display:none;background:none;border:0;font-size:25px}
.hero{display:grid;grid-template-columns:1fr 1.02fr;gap:50px;padding-top:27px}
.hero-copy{padding-top:0}
.hero h1{font-size:46px;line-height:1.03;letter-spacing:-1.8px;margin:0 0 13px;font-weight:800}
.hero-copy>p{font-size:16px;line-height:1.55;color:#34445e;max-width:610px;margin:0 0 20px}
.hero-buttons{display:flex;gap:16px}
.btn{height:40px;padding:0 22px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:800}
.btn-green{background:#20994e;color:#fff}
.btn-green span{font-size:18px;margin-left:14px}
.btn-outline{border:1px solid #29466c;color:#198f4b;background:#fff}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:31px}
.benefits>div{display:flex;align-items:center;gap:11px;font-size:11px;line-height:1.45}
.benefit-icon{width:42px;height:42px;min-width:42px;border:1px solid;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:19px}
.benefit-icon.green{color:#20a15a}.benefit-icon.blue{color:#175ac2}.benefit-icon.yellow{color:#f1b900}.benefit-icon.navy{color:#19345e}
.hero-image{height:292px;border-radius:11px;overflow:hidden;background:#d7d4ca}
.hero-image img{width:100%;height:100%;object-fit:cover}
.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#24282a,#073b7d 58%,#111);color:#fff;font-weight:800;font-size:26px;text-align:center;padding:30px}
.categories{padding-top:29px}
.categories h2,.section-title h2{font-size:13px;margin:0 0 12px;font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.category{min-height:110px;border:1px solid #e2e6ec;border-radius:6px;padding:17px 13px;display:flex;gap:11px;box-shadow:0 2px 6px #12213a05}
.cat-icon{width:45px;height:45px;min-width:45px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:21px}
.cat-icon.tech{background:#0856ae}.cat-icon.excel{background:#1e9b4d}.cat-icon.power{background:#f0b900}.cat-icon.ai{background:#5744a4}.cat-icon.career{background:#20395c}.cat-icon.prod{background:#159a4e}
.category h3{font-size:12px;margin:1px 0 6px}.category p{font-size:8px;line-height:1.45;margin:0 0 8px;color:#33445f}.category a{font-size:8px;text-decoration:none;color:#008b52}
.lower{display:grid;grid-template-columns:1.7fr 1fr;gap:29px;margin-top:22px;margin-bottom:22px}
.articles-box,.courses-box{background:#f8f9fb;border-radius:9px;padding:15px}
.section-title{display:flex;justify-content:space-between;align-items:center}.section-title h2{margin-bottom:12px}.section-title a{font-size:9px;text-decoration:none;color:#0058bd}
.article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.article{min-width:0}.article-img{height:102px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;font-weight:800;margin-bottom:9px;overflow:hidden;background:#123}
.article-img img{width:100%;height:100%;object-fit:cover}.article small{font-size:8px;font-weight:800;color:#087c42}
.article h3{font-size:11px;line-height:1.35;margin:5px 0 8px}.article time{font-size:8px;color:#657084}
.course{background:#fff;border-radius:6px;overflow:hidden}.course-banner{min-height:103px;background:linear-gradient(120deg,#092447,#092f59);color:#fff;padding:11px 13px;position:relative}
.course-banner strong{font-size:18px;line-height:.98;display:block}.course-banner>span{font-size:9px;display:block;margin-top:4px}
.course-thumb{width:100%;height:103px;object-fit:cover;display:block}
.course h3{font-size:12px;margin:11px 13px 6px}.course p{font-size:8px;line-height:1.5;margin:0 13px 9px;color:#4b5669}
.rating{font-size:12px;color:#f1ad00;padding:0 13px 12px}.rating span{font-size:8px;color:#555}
.rating a{float:right;background:#20994e;color:#fff;padding:7px 12px;border-radius:3px;text-decoration:none;font-size:8px;font-weight:800}
.newsletter{background:#041c43;color:#fff}.newsletter-inner{min-height:89px;display:grid;grid-template-columns:1fr 1fr 1fr 1.55fr;gap:25px;align-items:center}
.trust{display:flex;gap:12px;align-items:center}.trust>b{font-size:28px;font-weight:400}.trust span{display:flex;flex-direction:column}.trust strong,.subscribe>strong{font-size:10px}.trust small,.subscribe small{font-size:8px;line-height:1.45;margin-top:4px;color:#e0e5ee}
.subscribe form{display:flex;margin-top:7px}.subscribe input{height:28px;flex:1;border:0;border-radius:4px 0 0 4px;padding:0 10px;font-size:9px}.subscribe button{border:0;background:#1b9b4c;color:#fff;font-size:8px;font-weight:800;border-radius:0 4px 4px 0;padding:0 14px}
.footer{height:42px}.footer-inner{height:100%;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#5b6475}.footer a{margin-left:25px;color:#4c5566;text-decoration:none}
.pagination{display:flex;gap:7px;margin:25px 0}.pagination a,.pagination span{padding:8px 11px;border:1px solid #ddd;text-decoration:none;font-size:12px;border-radius:4px}
.single-wrap{padding:35px 0 45px}.single-wrap h1{font-size:40px;line-height:1.1}.entry-meta{font-size:12px;color:#667085;margin-bottom:20px}.entry-content{font-size:17px;line-height:1.8;max-width:850px}.entry-content img{border-radius:8px}
.search-wrap{padding:35px 0}.search-form{display:flex;gap:8px}.search-form input{padding:12px;border:1px solid #ddd;flex:1}.search-form button{padding:12px 20px;background:#20994e;color:#fff;border:0}
@media(max-width:1100px){.nav{gap:14px}.category-grid{grid-template-columns:repeat(3,1fr)}.lower{grid-template-columns:1fr}.newsletter-inner{grid-template-columns:repeat(2,1fr);padding:18px 0}.hero h1{font-size:40px}}
@media(max-width:780px){.container{width:min(100% - 28px,640px)}.topbar{height:auto;padding:7px 0}.topbar-inner{font-size:10px}.top-links{gap:10px}.header-inner{height:67px}.menu-toggle{display:block}.nav{display:none;position:absolute;z-index:20;left:0;right:0;top:98px;height:auto;background:#fff;border-bottom:1px solid #ddd;flex-direction:column;align-items:stretch;padding:10px 20px;box-shadow:0 10px 20px #0001}.nav.open{display:flex}.nav a{height:42px}.nav a.active:after{bottom:0}.nav-cta{justify-content:center;margin:7px 0}.hero{grid-template-columns:1fr;gap:25px;padding-top:25px}.hero h1{font-size:38px}.hero-image{height:250px}.benefits{grid-template-columns:repeat(2,1fr);gap:16px}.category-grid{grid-template-columns:repeat(2,1fr)}.article-grid{grid-template-columns:repeat(2,1fr)}.newsletter-inner{grid-template-columns:1fr}.footer{height:auto;padding:15px 0}.footer-inner{gap:12px;flex-direction:column;align-items:flex-start}.footer a{margin:0 18px 0 0}}
@media(max-width:480px){.top-links a:nth-child(1),.top-links a:nth-child(2){display:none}.brand strong,.brand em{font-size:15px}.brand-mark{width:40px;height:39px}.hero h1{font-size:32px}.hero-buttons{flex-direction:column}.btn{width:100%}.benefits{grid-template-columns:1fr}.category-grid,.article-grid{grid-template-columns:1fr}.hero-image{height:210px}.lower{margin-top:18px}.subscribe form{flex-direction:column;gap:5px}.subscribe input,.subscribe button{border-radius:4px;height:34px}.course-banner strong{font-size:16px}}

.article-img{display:flex;text-decoration:none}.article-img img{width:100%;height:100%;object-fit:cover}.article h3 a{color:inherit}.empty-state{font-size:12px;color:#667085;padding:30px 10px}.image-placeholder small{font-size:10px;font-weight:400;display:block;margin-top:8px;color:#d9e2ef}
.custom-logo-link{display:flex;align-items:center}.custom-logo{max-width:260px;max-height:60px;width:auto;height:auto}
.nav .menu-item{list-style:none}.nav .menu-item a{height:100%}.nav>ul{display:flex;gap:27px;height:100%;margin:0;padding:0;list-style:none}.nav>ul>li{display:flex;align-items:center}.nav>ul>li>a{display:flex;align-items:center}

/* v3 visual refinement */
:root{--navy:#061a3e;--navy2:#082650;--green:#20994e;--green2:#168944;--ink:#0b1b37;--muted:#526075;--line:#e5e9ef;--soft:#f7f9fb}
body{font-size:14px;overflow-x:hidden}
.container{width:min(1320px,calc(100% - 56px))}
.topbar{background:var(--navy);letter-spacing:.1px}
.header{box-shadow:0 1px 0 rgba(6,26,62,.04)}
.header-inner{height:82px}
.brand-text strong{letter-spacing:-.4px}
.nav{gap:25px}
.nav a{transition:color .2s ease}
.nav-cta{box-shadow:0 4px 12px rgba(32,153,78,.18);transition:transform .2s,background .2s}
.nav-cta:hover{background:var(--green2)!important;transform:translateY(-1px)}
.hero{padding-top:34px;grid-template-columns:1.02fr .98fr;align-items:center;gap:62px}
.hero-copy{padding-bottom:8px}
.hero h1{font-size:54px;line-height:1.01;max-width:670px;letter-spacing:-2.5px}
.hero-copy>p{font-size:17px;max-width:650px;color:#415069}
.btn{height:46px;padding:0 24px;transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(13,29,58,.12)}
.btn-green{box-shadow:0 5px 14px rgba(32,153,78,.2)}
.hero-image{height:330px;border-radius:14px;box-shadow:0 16px 35px rgba(7,24,50,.15)}
.hero-image img{display:block}
.benefits{margin-top:34px;gap:20px}
.benefits>div{font-size:12px}
.benefit-icon{box-shadow:0 3px 8px rgba(6,26,62,.06)}
.categories{padding-top:34px}
.categories h2,.section-title h2{font-size:14px;letter-spacing:.15px}
.category-grid{gap:12px}
.category{min-height:112px;padding:18px 14px;transition:transform .2s,box-shadow .2s,border-color .2s}
.category:hover{transform:translateY(-3px);border-color:#d5dce5;box-shadow:0 9px 20px rgba(15,37,70,.08)}
.cat-icon{box-shadow:0 4px 10px rgba(15,37,70,.12)}
.category h3{font-size:13px}
.category p{font-size:9px}
.category a{font-size:9px;font-weight:700}
.lower{margin-top:27px;gap:30px}
.articles-box,.courses-box{padding:17px;background:var(--soft)}
.article-grid{gap:18px}
.article-img{height:118px;background:#0d2446;border-radius:8px}
.article-img img{transition:transform .3s}
.article:hover .article-img img{transform:scale(1.035)}
.article h3{font-size:12px}
.article h3 a{text-decoration:none}
.course{box-shadow:0 4px 14px rgba(10,30,60,.05)}
.course-thumb{height:118px}
.course-banner{min-height:118px}
.newsletter-inner{min-height:104px}
.newsletter{margin-top:2px}
.footer{height:48px}
@media(max-width:1100px){
 .hero{gap:35px}.hero h1{font-size:45px}.benefits{grid-template-columns:repeat(2,1fr)}
 .category-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:780px){
 .container{width:min(100% - 30px,640px)}
 .header-inner{height:68px}.hero{padding-top:25px;grid-template-columns:1fr}
 .hero h1{font-size:39px;letter-spacing:-1.6px}.hero-copy>p{font-size:15px}
 .hero-image{height:260px}.categories{padding-top:28px}
 .category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:480px){
 .hero h1{font-size:33px}.hero-image{height:215px}
 .category-grid{grid-template-columns:1fr}.article-grid{grid-template-columns:1fr}
 .benefits{grid-template-columns:1fr}
}

/* v4 — tipografia ampliada para melhor leitura nas seções inferiores */
.categories h2,.section-title h2{font-size:18px;line-height:1.25}
.section-title a{font-size:12px}
.category h3{font-size:18px;line-height:1.25;margin:2px 0 8px}
.category p{font-size:14px;line-height:1.55;margin-bottom:10px}
.category a{font-size:13px;font-weight:800}
.article small{font-size:11px}
.article h3{font-size:17px;line-height:1.4;margin:7px 0 9px}
.article time{font-size:11px}
.course-banner strong{font-size:20px;line-height:1}
.course-banner>span{font-size:11px}
.course h3{font-size:17px;line-height:1.3}
.course p{font-size:13px;line-height:1.55}
.rating{font-size:14px}.rating span{font-size:10px}.rating a{font-size:10px}
.trust strong,.subscribe>strong{font-size:13px}.trust small,.subscribe small{font-size:11px;line-height:1.5}
.subscribe input{font-size:11px}.subscribe button{font-size:10px}
.footer-inner{font-size:12px}.footer a{font-size:12px}
.empty-state{font-size:14px}

@media(max-width:780px){
  .categories h2,.section-title h2{font-size:17px}
  .category h3{font-size:17px}
  .category p{font-size:14px}
  .article h3{font-size:17px}
  .course h3{font-size:17px}
  .course p{font-size:14px}
  .trust strong,.subscribe>strong{font-size:13px}
  .trust small,.subscribe small{font-size:11px}
  .footer-inner,.footer a{font-size:12px}
}
