/*
Theme Name: AMB4 – Portal Ambiental
Theme URI: https://amb4.com.br
Author: AMB4 / Leonardo Hidalgo Dias
Description: Tema do portal AMB4 – Quatro dimensões. Um só planeta. Home com destaque, 4 dimensões, notícias, newsletter, Em foco, vídeos, Rede AMB4, Para consultores e parceiros realizadores.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: amb4
*/

/* =========================================================================
   Tokens
   ====================================================================== */
:root {
	--g900: #0e2a1e;
	--g800: #14382a;
	--g700: #1f5c3a;
	--g600: #2e7d4f;
	--g500: #3a9a5f;
	--lime: #8bc34a;
	--lime-soft: #c5e1a5;
	--orange: #f28c28;
	--teal: #2e8b8b;
	--ink: #1b2b22;
	--muted: #5c6b62;
	--line: #e3e8e2;
	--bg: #f4f6f3;
	--soft: #e9f1e6;
	--white: #fff;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 6px 24px rgba(14, 42, 30, .08);
	--container: 1200px;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================================
   Reset / base
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--white); }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--g600); text-decoration: none; }
a:hover { color: var(--g800); }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; color: var(--g800); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { left: 8px; top: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: var(--g600); color: #fff; padding: 8px 12px; border-radius: 6px; }
.amb4-hp { position: absolute; left: -9999px; }

.amb4-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.amb4-container--narrow { max-width: 1040px; }

.amb4-icon { display: inline-flex; width: 1em; height: 1em; vertical-align: -.15em; flex: none; }
.amb4-icon svg { width: 100%; height: 100%; display: block; }

/* Botões */
.amb4-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--g600); color: #fff; font-weight: 600; font-size: 13px; padding: 11px 18px; border-radius: 8px; border: 0; line-height: 1; transition: background .2s, transform .2s; white-space: nowrap; }
.amb4-btn:hover { background: var(--g700); color: #fff; transform: translateY(-1px); }
.amb4-btn .amb4-icon { font-size: 15px; }
.amb4-btn--pill { border-radius: 999px; padding: 13px 22px; font-size: 13px; }
.amb4-btn--ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .8); }
.amb4-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.amb4-btn--light { background: var(--g600); }
.amb4-more { font-size: 13px; font-weight: 600; color: var(--g600); display: inline-flex; align-items: center; gap: 6px; }
.amb4-more .amb4-icon { font-size: 14px; }
.amb4-badge { display: inline-block; background: var(--g600); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.amb4-tag { position: absolute; left: 10px; bottom: 10px; background: rgba(14, 42, 30, .88); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.amb4-tag--static { position: static; display: inline-block; margin-bottom: 8px; background: var(--g800); }
.amb4-kicker { display: inline-block; color: var(--g600); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.amb4-pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--g600); }
.amb4-pill--laranja { background: var(--orange); }
.amb4-pill--petroleo { background: var(--teal); }
.amb4-pill--claro { background: var(--lime); color: var(--g900); }
.amb4-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.amb4-meta span { display: inline-flex; align-items: center; gap: 5px; }
.amb4-meta .amb4-icon { font-size: 13px; }
.amb4-empty { color: var(--muted); font-size: 14px; }

/* =========================================================================
   Header
   ====================================================================== */
.amb4-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.amb4-header__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 24px; }
.amb4-brand { display: inline-flex; align-items: center; }
.amb4-brand img, .amb4-brand .custom-logo { height: 62px; width: auto; transition: height .2s; }
.amb4-header.is-scrolled .amb4-brand img { height: 46px; }
.amb4-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.amb4-topbar { display: flex; align-items: center; gap: 18px; }
.amb4-topbar__list { display: flex; list-style: none; gap: 0; font-size: 11.5px; font-weight: 500; }
.amb4-topbar__list li + li::before { content: "|"; color: #c3cbc4; margin: 0 8px; }
.amb4-topbar__list a { color: var(--g800); }
.amb4-social { display: flex; gap: 10px; }
.amb4-social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--g800); border-radius: 6px; }
.amb4-social a:hover { background: var(--soft); }
.amb4-social .amb4-icon { font-size: 15px; }
.amb4-header__tools { display: flex; align-items: center; gap: 12px; }
.amb4-search { display: flex; align-items: center; border: 1px solid #d5ddd6; border-radius: 8px; background: #fff; height: 38px; width: 270px; overflow: hidden; }
.amb4-search input { border: 0; outline: 0; flex: 1; padding: 0 14px; font-size: 12.5px; background: transparent; min-width: 0; }
.amb4-search button { border: 0; background: transparent; padding: 0 12px; height: 100%; color: var(--g800); display: inline-flex; align-items: center; }
.amb4-search .amb4-icon { font-size: 16px; }
.amb4-btn--news { height: 38px; padding: 0 16px; }
.amb4-burger { display: none; border: 0; background: transparent; width: 40px; height: 40px; color: var(--g800); }
.amb4-burger .amb4-icon { font-size: 24px; }

.amb4-nav { border-top: 1px solid var(--line); }
.amb4-nav__list { display: flex; list-style: none; gap: 34px; }
.amb4-nav__list > li { position: relative; }
.amb4-nav__list > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 13px 0; font-size: 13px; font-weight: 600; color: var(--g800); border-bottom: 3px solid transparent; }
.amb4-nav__list > li:hover > a, .amb4-nav__list > li.current-menu-item > a, .amb4-nav__list > li.current-menu-ancestor > a, .amb4-nav__list > li.current_page_item > a { border-bottom-color: var(--g600); color: var(--g700); }
.amb4-nav__caret { font-size: 13px; opacity: .7; }
.amb4-nav .sub-menu { position: absolute; top: 100%; left: -12px; min-width: 220px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60; }
.amb4-nav__list > li:hover > .sub-menu, .amb4-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.amb4-nav .sub-menu a { display: block; padding: 8px 16px; font-size: 13px; color: var(--ink); }
.amb4-nav .sub-menu a:hover { background: var(--soft); color: var(--g800); }

/* =========================================================================
   Hero
   ====================================================================== */
.amb4-hero { position: relative; background: var(--g900); color: #fff; min-height: 470px; overflow: hidden; }
.amb4-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.amb4-hero__slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.amb4-hero__bg { position: absolute; inset: 0; }
.amb4-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.amb4-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 36, 24, .96) 0%, rgba(10, 36, 24, .9) 32%, rgba(10, 36, 24, .55) 58%, rgba(10, 36, 24, .25) 100%); }
.amb4-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center; gap: 40px; min-height: 470px; padding-top: 44px; padding-bottom: 54px; }
.amb4-hero__content .amb4-badge { background: var(--g600); margin-bottom: 18px; }
.amb4-hero__title { font-size: 44px; line-height: 1.12; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: -.01em; }
.amb4-hero__title a { color: #fff; }
.amb4-hero__excerpt { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .92); margin-bottom: 24px; max-width: 520px; }
.amb4-hero__content .amb4-meta { color: rgba(255, 255, 255, .85); margin-top: 22px; font-size: 12px; }
.amb4-hero__claim { justify-self: end; align-self: center; border-left: 2px solid var(--lime); padding-left: 22px; max-width: 250px; margin-right: 8px; }
.amb4-hero__claim-title { font-size: 22px; line-height: 1.25; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; color: #fff; }
.amb4-hero__claim-sub { font-size: 13.5px; color: rgba(255, 255, 255, .9); margin: 0; }
.amb4-hero__dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; justify-content: flex-end; gap: 6px; z-index: 5; }
.amb4-hero__dot { width: 22px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; }
.amb4-hero__dot.is-active { background: var(--lime); width: 34px; }

/* =========================================================================
   Seções
   ====================================================================== */
.amb4-section { padding: 36px 0 14px; }
.amb4-section--dims { padding-top: 32px; }
.amb4-section--last { padding-bottom: 56px; }
.amb4-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.amb4-section__title { font-size: 21px; font-weight: 700; }
.amb4-grid { display: grid; gap: 24px; }
.amb4-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.amb4-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amb4-grid--tight { gap: 18px; }

/* Dimensões */
.amb4-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.amb4-dim { position: relative; display: block; background: var(--bg); border-radius: var(--radius); padding: 26px 26px 30px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.amb4-dim:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.amb4-dim__icon { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; background: var(--g600); margin-bottom: 20px; }
.amb4-dim__icon .amb4-icon { font-size: 22px; }
.amb4-dim--laranja .amb4-dim__icon { background: var(--orange); }
.amb4-dim--petroleo .amb4-dim__icon { background: var(--teal); }
.amb4-dim--claro .amb4-dim__icon { background: var(--lime); }
.amb4-dim__name { display: block; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--g800); margin-bottom: 8px; }
.amb4-dim__desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; padding-right: 20px; }
.amb4-dim__arrow { position: absolute; right: 22px; bottom: 20px; color: var(--g800); font-size: 20px; }

/* Cards de notícia */
.amb4-card__media { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.amb4-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.amb4-card:hover .amb4-card__media img { transform: scale(1.04); }
.amb4-card__title { font-size: 14.5px; line-height: 1.35; margin-top: 12px; }
.amb4-card__title a { color: var(--g800); }
.amb4-card__title a:hover { color: var(--g600); }

/* Newsletter */
.amb4-section--news { padding-top: 26px; }
.amb4-news { position: relative; overflow: hidden; display: flex; align-items: center; gap: 36px; background: var(--soft); border-radius: var(--radius-lg); padding: 30px 170px 30px 40px; }
.amb4-news__claim { display: flex; align-items: center; gap: 18px; padding-right: 36px; border-right: 1px solid rgba(20, 56, 42, .18); }
.amb4-news__globe { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; background: var(--g800); color: #b8dfa0; align-items: center; justify-content: center; flex: none; }
.amb4-news__globe .amb4-icon { font-size: 30px; }
.amb4-news__claim h2 { font-size: 19px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; max-width: 300px; }
.amb4-news__cta { display: flex; align-items: center; gap: 22px; flex: 1; }
.amb4-news__cta p { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--g800); max-width: 190px; }
.amb4-news__form { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.amb4-news__form input[type="email"] { flex: 1; height: 42px; border: 1px solid #d5ddd6; border-radius: 8px; padding: 0 14px; font-size: 13px; background: #fff; min-width: 0; }
.amb4-news__form input:focus { outline: 2px solid var(--g500); border-color: transparent; }
.amb4-news__form .amb4-btn { height: 42px; padding: 0 20px; }
.amb4-news__msg { font-size: 13px; margin: 8px 0 0; font-weight: 600; }
.amb4-news__msg.is-ok { color: var(--g600); }
.amb4-news__msg.is-err { color: #c0392b; }
.amb4-news__leaf { position: absolute; right: -6px; top: -34px; width: 150px; height: 175px; pointer-events: none; background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 190'%3E%3Cpath d='M150 20c-60 0-110 40-120 110 60 10 110-30 120-110Z' fill='%232e7d4f'/%3E%3Cpath d='M150 20 30 130' stroke='%23c5e1a5' stroke-width='3' fill='none'/%3E%3Cpath d='M120 40c-30 20-50 45-70 80' stroke='%23c5e1a5' stroke-width='1.5' fill='none' opacity='.7'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .95; }

/* Em foco */
.amb4-foco { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 36px; align-items: start; }
.amb4-foco__main .amb4-section__title { margin-bottom: 22px; }
.amb4-especial { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--g900); min-height: 450px; }
.amb4-especial__media { position: absolute; inset: 0; }
.amb4-especial__media img { width: 100%; height: 100%; object-fit: cover; }
.amb4-especial__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 36, 24, 0) 25%, rgba(10, 36, 24, .55) 55%, rgba(10, 36, 24, .96) 100%); }
.amb4-especial__body { position: relative; z-index: 2; padding: 210px 30px 26px; color: #fff; max-width: 560px; }
.amb4-especial__body .amb4-badge { margin-bottom: 14px; }
.amb4-especial h3 { font-size: 27px; line-height: 1.15; color: #fff; margin-bottom: 10px; }
.amb4-especial h3 a { color: #fff; }
.amb4-especial p { font-size: 13.5px; color: rgba(255, 255, 255, .9); margin-bottom: 18px; }
.amb4-especial__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.amb4-especial__foot .amb4-meta { color: rgba(255, 255, 255, .85); margin: 0; }
.amb4-foco__side { padding-top: 6px; }
.amb4-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.amb4-tabs__tab { border: 0; background: transparent; padding: 10px 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.amb4-tabs__tab.is-active { color: var(--g800); border-bottom-color: var(--g600); }
.amb4-ranking { list-style: none; display: none; }
.amb4-ranking.is-active { display: block; }
.amb4-ranking li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.amb4-ranking li:last-child { border-bottom: 0; }
.amb4-ranking__n { flex: none; display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--g600); color: #fff; font-weight: 700; font-size: 15px; align-items: center; justify-content: center; }
.amb4-ranking a { display: block; font-size: 13.5px; font-weight: 600; color: var(--g800); line-height: 1.35; }
.amb4-ranking a:hover { color: var(--g600); }
.amb4-ranking .amb4-meta { margin-top: 4px; font-size: 11px; }

/* Split (vídeos/rede, consultores/quote, parceiros/anuncie) */
.amb4-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.amb4-split--consult { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.amb4-split--partners { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.amb4-split__side .amb4-section__head { margin-bottom: 22px; }

/* Vídeos */
.amb4-video__media { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--g900); }
.amb4-video__media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.amb4-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(14, 42, 30, .9); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .2s; }
.amb4-video__play .amb4-icon { font-size: 22px; margin-left: 2px; }
.amb4-video:hover .amb4-video__play { transform: translate(-50%, -50%) scale(1.1); }
.amb4-video h3 { font-size: 13.5px; line-height: 1.35; margin-top: 12px; }
.amb4-video h3 a { color: var(--g800); }
.amb4-video .amb4-meta { margin-top: 6px; }

/* Rede card */
.amb4-rede-card { display: flex; gap: 18px; background: var(--soft); border-radius: var(--radius-lg); padding: 24px 22px 24px 26px; align-items: stretch; }
.amb4-rede-card__text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.amb4-rede-card h3 { font-size: 17px; line-height: 1.25; margin-bottom: 10px; }
.amb4-rede-card p { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.amb4-rede-card .amb4-btn { align-self: flex-start; }
.amb4-rede-card__img { width: 44%; flex: none; border-radius: 10px; overflow: hidden; background: var(--g900); }
.amb4-rede-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* Para consultores */
.amb4-mini { display: block; color: var(--ink); }
.amb4-mini__media { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 12px; background: var(--bg); }
.amb4-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.amb4-mini strong { display: block; font-size: 13.5px; color: var(--g800); margin-bottom: 3px; }
.amb4-mini__desc { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.amb4-quote { position: relative; margin: 0; background: var(--soft); border-radius: var(--radius-lg); padding: 30px 30px 34px; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: center; }
.amb4-quote__icon { position: absolute; left: 22px; top: 18px; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--g600); color: #fff; align-items: center; justify-content: center; }
.amb4-quote__icon .amb4-icon { font-size: 20px; }
.amb4-quote p { position: relative; z-index: 1; margin: 44px 0 0; font-size: 19px; line-height: 1.4; color: var(--g800); font-weight: 500; max-width: 250px; }
.amb4-quote p .amb4-icon { color: var(--g600); font-size: 22px; vertical-align: -.2em; margin-right: 2px; }
.amb4-quote::after { content: ""; position: absolute; right: -28px; bottom: -36px; width: 150px; height: 150px; opacity: .6; background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cpath d='M140 20c-55 0-100 35-110 100 55 8 100-30 110-100Z' fill='%23c5e1a5' opacity='.7'/%3E%3Cpath d='M140 20 30 120' stroke='%23fff' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Parceiros realizadores */
.amb4-partner { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px 24px; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.amb4-partner:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.amb4-partner__icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; color: var(--g600); margin-bottom: 14px; }
.amb4-partner__icon .amb4-icon { font-size: 46px; }
.amb4-partner__icon--ibrave { color: var(--g500); }
.amb4-partner__icon--chukim { color: var(--g600); }
.amb4-partner strong { font-size: 17px; color: var(--g800); margin-bottom: 6px; }
.amb4-partner__desc { font-size: 11.5px; color: var(--muted); }
.amb4-anuncie { position: relative; background: var(--g900); color: #fff; border-radius: var(--radius-lg); padding: 26px 26px 26px 92px; min-height: 178px; display: flex; flex-direction: column; justify-content: center; }
.amb4-anuncie__icon { position: absolute; left: 26px; top: 26px; display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--g900); align-items: center; justify-content: center; }
.amb4-anuncie__icon .amb4-icon { font-size: 24px; }
.amb4-anuncie h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.amb4-anuncie p { font-size: 12px; color: rgba(255, 255, 255, .8); margin-bottom: 16px; }
.amb4-anuncie .amb4-btn { align-self: flex-start; }

/* =========================================================================
   Footer
   ====================================================================== */
.amb4-footer { background: var(--g900); color: rgba(255, 255, 255, .85); margin-top: 20px; }
.amb4-footer__grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.3fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.amb4-footer__brand img { width: 200px; height: auto; }
.amb4-footer h4 { color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 14px; }
.amb4-footer__list, .amb4-footer .amb4-nav__list, .amb4-footer .amb4-topbar__list { list-style: none; display: block; }
.amb4-footer__list li, .amb4-footer .amb4-nav__list li, .amb4-footer .amb4-topbar__list li { margin-bottom: 7px; }
.amb4-footer .amb4-topbar__list li + li::before { content: none; }
.amb4-footer a { color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 400; padding: 0; border: 0; }
.amb4-footer a:hover { color: #fff; }
.amb4-footer .amb4-social { gap: 10px; margin-bottom: 26px; }
.amb4-footer .amb4-social a { width: 32px; height: 32px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; color: #fff; }
.amb4-footer .amb4-social a:hover { background: rgba(255, 255, 255, .1); }
.amb4-footer__h-news { margin-top: 0; }
.amb4-footer .amb4-news__form { max-width: 320px; }
.amb4-footer .amb4-news__form input[type="email"] { height: 38px; border: 0; }
.amb4-footer .amb4-news__form .amb4-btn { height: 38px; padding: 0 14px; }
.amb4-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.amb4-footer__bar .amb4-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; font-size: 11px; color: rgba(255, 255, 255, .6); }
.amb4-footer__tag { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); }
.amb4-footer__tag .amb4-icon { color: var(--lime); font-size: 14px; }

/* =========================================================================
   Páginas internas
   ====================================================================== */
.amb4-archive { padding-bottom: 48px; }
.amb4-page-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.amb4-page-head--dim .amb4-dim__icon { margin: 0; width: 56px; height: 56px; }
.amb4-page-head--dim.amb4-dim--laranja .amb4-dim__icon { background: var(--orange); }
.amb4-page-head--dim.amb4-dim--petroleo .amb4-dim__icon { background: var(--teal); }
.amb4-page-head--dim.amb4-dim--claro .amb4-dim__icon { background: var(--lime); }
.amb4-page-title { font-size: 34px; letter-spacing: -.01em; }
.amb4-page-desc { color: var(--muted); font-size: 15px; margin: 8px 0 0; max-width: 720px; }
.amb4-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 26px; }
.amb4-subnav a { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--bg); color: var(--g800); }
.amb4-subnav a:hover { background: var(--soft); }
.amb4-pagination, .navigation.pagination { margin-top: 36px; text-align: center; }
.amb4-pagination .page-numbers, .navigation.pagination .page-numbers { display: inline-block; padding: 8px 13px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--g800); background: var(--bg); margin: 0 3px; }
.amb4-pagination .current, .navigation.pagination .current { background: var(--g600); color: #fff; }
.amb4-search--page { width: 100%; max-width: 480px; margin: 12px 0 20px; }
.amb4-404 { text-align: center; padding: 20px 0 40px; }
.amb4-404 .amb4-search--page { margin: 16px auto 24px; }

/* Single */
.amb4-single__head { background: var(--bg); padding: 38px 0 32px; margin-bottom: 30px; }
.amb4-single__title { font-size: 38px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; }
.amb4-single__sub { font-size: 17px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.amb4-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; color: var(--muted); }
.amb4-single__meta .amb4-meta { margin: 0; display: inline-flex; gap: 14px; }
.amb4-single__author { font-weight: 600; color: var(--g800); }
.amb4-single__dims { display: inline-flex; gap: 6px; }
.amb4-single__figure { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; }
.amb4-single__figure img { width: 100%; }
.amb4-single__figure figcaption { font-size: 12px; color: var(--muted); padding: 8px 0 0; }
.amb4-single__video { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.amb4-single__video iframe { width: 100%; height: 100%; border: 0; }
.amb4-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.amb4-content { font-size: 16.5px; line-height: 1.75; }
.amb4-content > * { margin-bottom: 1.2em; }
.amb4-content h2 { font-size: 26px; margin-top: 1.6em; }
.amb4-content h3 { font-size: 20px; margin-top: 1.4em; }
.amb4-content ul, .amb4-content ol { padding-left: 1.3em; }
.amb4-content li { margin-bottom: .4em; }
.amb4-content blockquote { border-left: 4px solid var(--g600); background: var(--bg); padding: 16px 22px; margin: 1.5em 0; border-radius: 0 10px 10px 0; font-size: 17px; }
.amb4-content img { border-radius: 10px; }
.amb4-content a { text-decoration: underline; text-underline-offset: 3px; }
.amb4-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.amb4-content th, .amb4-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.amb4-content th { background: var(--bg); }
.amb4-tags a { display: inline-block; font-size: 11.5px; font-weight: 600; background: var(--bg); padding: 5px 10px; border-radius: 999px; margin: 0 6px 6px 0; text-decoration: none; }
.amb4-adbox { background: var(--soft); border-radius: var(--radius); padding: 20px 24px; font-size: 14px; }
.amb4-adbox strong { display: block; color: var(--g800); margin-bottom: 6px; font-size: 15px; }
.amb4-adbox p { margin: 0; }
.amb4-disclaimer { font-size: 12px; color: var(--muted); }
.amb4-share { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--g800); border-top: 1px solid var(--line); padding-top: 18px; }
.amb4-share a { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--bg); align-items: center; justify-content: center; color: var(--g800); }
.amb4-share .amb4-icon { font-size: 17px; }
.amb4-sidebar .widget { background: var(--bg); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; font-size: 13.5px; }
.amb4-sidebar .widget-title { font-size: 15px; margin-bottom: 10px; }
.amb4-sidebar .amb4-news__form { flex-direction: column; max-width: none; }
.amb4-sidebar .amb4-news__form input[type="email"] { width: 100%; }
.amb4-sidebar .widget h2 { font-size: 15px; margin-bottom: 10px; }
.amb4-sidebar .wp-block-search__button, .amb4-sidebar .search-submit { background: var(--g600); color: #fff; border: 0; border-radius: 8px; }
.amb4-sidebar ul { list-style: none; }
.amb4-sidebar li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.amb4-ficha { margin: 0; }
.amb4-ficha dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 10px; }
.amb4-ficha dd { margin: 2px 0 0; font-weight: 600; color: var(--g800); }
.amb4-related { background: var(--bg); margin-top: 48px; padding-bottom: 44px; }
.amb4-comments { margin: 40px 0; }
.amb4-comment-list { list-style: none; }
.amb4-comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.amb4-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; border: 1px solid #d5ddd6; border-radius: 8px; padding: 10px 12px; }
.comment-form .submit { background: var(--g600); color: #fff; border: 0; border-radius: 8px; padding: 11px 18px; font-weight: 600; }

/* Rede AMB4 */
.amb4-rede-hero { background: var(--g900); color: #fff; padding: 44px 0 40px; background-image: radial-gradient(circle at 85% 20%, rgba(139, 195, 74, .25), transparent 40%); }
.amb4-rede-hero .amb4-kicker { color: var(--lime); }
.amb4-rede-hero .amb4-page-title { color: #fff; }
.amb4-rede-hero .amb4-page-desc { color: rgba(255, 255, 255, .85); }
.amb4-rede-filter { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr auto; gap: 12px; align-items: end; margin-top: 26px; background: rgba(255, 255, 255, .06); padding: 16px; border-radius: var(--radius); }
.amb4-rede-filter label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.amb4-rede-filter select, .amb4-rede-filter input { height: 42px; border: 0; border-radius: 8px; padding: 0 12px; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; background: #fff; color: var(--ink); }
.amb4-rede-filter .amb4-btn { height: 42px; }
.amb4-parceiro { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.amb4-parceiro__media { flex: none; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.amb4-parceiro__media img { width: 100%; height: 100%; object-fit: cover; }
.amb4-parceiro h3 { font-size: 15px; margin-bottom: 6px; }
.amb4-parceiro h3 a { color: var(--g800); }
.amb4-parceiro p { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.amb4-parceiro__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.amb4-parceiro__meta span { display: inline-flex; align-items: center; gap: 4px; }
.amb4-parceiro__selo { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--g600); text-transform: uppercase; letter-spacing: .04em; }
.amb4-rede-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.amb4-rede-form { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; }
.amb4-rede-form--alt { background: var(--soft); }
.amb4-rede-form h2 { font-size: 20px; margin-bottom: 8px; }
.amb4-rede-form > p { font-size: 13.5px; color: var(--muted); }
.amb4-rede-form label { display: block; font-size: 12px; font-weight: 600; color: var(--g800); margin-bottom: 12px; }
.amb4-rede-form input[type="text"], .amb4-rede-form input[type="email"], .amb4-rede-form select, .amb4-rede-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #d5ddd6; border-radius: 8px; padding: 10px 12px; background: #fff; font-size: 13.5px; font-weight: 400; }
.amb4-rede-form textarea { resize: vertical; }
.amb4-check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; font-size: 12px !important; }
.amb4-check input { margin-top: 3px; }
.amb4-rede-form--mini { padding: 22px; }

/* =========================================================================
   Responsivo
   ====================================================================== */
@media (max-width: 1100px) {
	.amb4-hero__title { font-size: 38px; }
	.amb4-news { padding-right: 40px; }
	.amb4-news__leaf { display: none; }
	.amb4-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amb4-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amb4-news { flex-wrap: wrap; }
	.amb4-news__claim { border-right: 0; padding-right: 0; }
	.amb4-footer__grid { grid-template-columns: 1fr 1fr; }
	.amb4-single__layout { grid-template-columns: 1fr; }
	.amb4-rede-filter { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.amb4-header__top { padding: 10px 16px; }
	.amb4-brand img, .amb4-brand .custom-logo { height: 48px; }
	.amb4-topbar { display: none; }
	.amb4-search { width: 190px; }
	.amb4-burger { display: inline-flex; align-items: center; justify-content: center; }
	.amb4-nav { display: none; border-top: 1px solid var(--line); }
	.amb4-nav.is-open { display: block; max-height: calc(100vh - 80px); overflow: auto; }
	.amb4-nav__list { flex-direction: column; gap: 0; padding: 8px 0; }
	.amb4-nav__list > li > a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 0; }
	.amb4-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 8px 14px; }
	.amb4-nav__list > li.is-open > .sub-menu { display: block; }
	.amb4-hero__inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 60px; }
	.amb4-hero__claim { justify-self: start; margin-right: 0; }
	.amb4-foco, .amb4-split, .amb4-split--consult, .amb4-split--partners { grid-template-columns: 1fr; }
	.amb4-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amb4-rede-forms { grid-template-columns: 1fr; }
	.amb4-page-title { font-size: 28px; }
	.amb4-single__title { font-size: 30px; }
}
@media (max-width: 600px) {
	.amb4-container { padding: 0 16px; }
	.amb4-search { display: none; }
	.amb4-btn--news span:not(.amb4-icon) { display: none; }
	.amb4-btn--news { padding: 0 12px; }
	.amb4-hero__title { font-size: 30px; }
	.amb4-hero { min-height: 0; }
	.amb4-hero__inner { min-height: 0; padding-top: 40px; padding-bottom: 70px; gap: 28px; }
	.amb4-hero__claim { max-width: 100%; }
	.amb4-hero__claim-title { font-size: 18px; }
	.amb4-hero__dots { bottom: 26px; justify-content: flex-start; padding-left: 16px; }
	.amb4-grid--4, .amb4-grid--3, .amb4-dims { grid-template-columns: 1fr; }
	.amb4-news { padding: 22px; }
	.amb4-news__cta { flex-direction: column; align-items: stretch; }
	.amb4-news__cta p { max-width: none; }
	.amb4-especial__body { padding-top: 160px; }
	.amb4-especial h3 { font-size: 22px; }
	.amb4-especial__foot { flex-direction: column; align-items: flex-start; }
	.amb4-rede-card { flex-direction: column; }
	.amb4-rede-card__img { width: 100%; height: 160px; }
	.amb4-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.amb4-footer__bar .amb4-container { flex-direction: column; align-items: flex-start; }
	.amb4-anuncie { padding-left: 26px; padding-top: 84px; }
	.amb4-rede-filter { grid-template-columns: 1fr; }
}

/* WordPress core */
.alignwide { margin-left: -60px; margin-right: -60px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 12px; color: var(--muted); }
.sticky { display: block; }
.bypostauthor { display: block; }
.gallery-caption { display: block; }

/* Manchete: destaques secundários */
.amb4-hero__list { justify-self: end; align-self: center; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.amb4-hero__list-title { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.amb4-hero__item { width: 100%; text-align: left; font-family: inherit; cursor: pointer; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background .2s; }
.amb4-hero__item:hover { background: rgba(255, 255, 255, .16); }
.amb4-hero__item.is-active { background: rgba(255, 255, 255, .18); border-color: var(--lime); }
.amb4-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 36, 24, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.amb4-hero__arrow:hover { background: var(--g600); }
.amb4-hero__arrow--prev { left: 14px; }
.amb4-hero__arrow--prev .amb4-icon { transform: rotate(180deg); }
.amb4-hero__arrow--next { right: 14px; }
@media (max-width: 720px) { .amb4-hero__arrow { display: none; } }
.amb4-hero__item-media { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.amb4-hero__item-media img { width: 100%; height: 100%; object-fit: cover; }
.amb4-hero__item-text small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.amb4-hero__item-text strong { display: block; font-size: 13.5px; line-height: 1.35; font-weight: 600; color: #fff; }
.amb4-section--dims .amb4-section__head { margin-bottom: 22px; }
@media (max-width: 1024px) { .amb4-hero__list { justify-self: start; max-width: 100%; } }
