/* Administra Brasil – tema. Fonte: Lexend (SIL OFL), hospedada localmente. */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lexend-latin-700-normal.woff2") format("woff2"); }

:root {
	--adm-navy: #0b2f7e;
	--adm-blue: #1560f5;
	--adm-blue-dark: #0f4fd6;
	--adm-blue-50: #e9f1fd;
	--adm-blue-100: #dbe7fb;
	--adm-green: #1fb25a;
	--adm-green-dark: #13924a;
	--adm-yellow: #f6c21c;
	--adm-text: #24344f;
	--adm-muted: #5d6f8f;
	--adm-line: #e2eaf6;
	--adm-line-strong: #d3def0;
	--adm-bg: #f4f8fe;
	--adm-surface: #fff;
	--adm-radius: 16px;
	--adm-shadow: 0 6px 24px rgba(17, 56, 140, .06);
	--adm-font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--adm-header-h: 76px;
	--adm-nav-h: 0px;
	--adm-gutter: 16px;
}
@media (min-width: 768px) { :root { --adm-gutter: 24px; --adm-header-h: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--adm-header-h) + 16px); }
html.has-dialog { overflow: hidden; }
body {
	margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
	background: var(--adm-bg); color: var(--adm-text);
	font: 400 16px/1.6 var(--adm-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.site-main { flex: 1 0 auto; outline: none; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--adm-blue); text-underline-offset: 3px; }
a:hover { color: var(--adm-blue-dark); }
h1, h2, h3, h4, h5, h6 { color: var(--adm-navy); font-family: var(--adm-font); line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(21, 96, 245, .35); outline-offset: 2px; }
.adm-icon { width: 1em; height: 1em; flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; z-index: 1000; top: 10px; left: 10px; width: auto; height: auto; clip: auto; padding: 12px 18px; margin: 0; background: #fff; border-radius: 10px; box-shadow: var(--adm-shadow); color: var(--adm-navy); }

.container { width: 100%; max-width: calc(880px + var(--adm-gutter) * 2); margin: 0 auto; padding: 0 var(--adm-gutter); }
.container--wide { max-width: calc(1200px + var(--adm-gutter) * 2); }
.section { padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 768px) { .section { padding-top: 40px; padding-bottom: 64px; } }

/* ---------- Topo ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 0; }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	display: flex; align-items: center; gap: 24px; min-height: var(--adm-header-h);
	padding: 10px var(--adm-gutter); background: rgba(255, 255, 255, .97);
	border-radius: 0 0 20px 20px; box-shadow: 0 4px 20px rgba(17, 56, 140, .07);
	-webkit-backdrop-filter: saturate(160%) blur(8px); backdrop-filter: saturate(160%) blur(8px);
}
@media (min-width: 1024px) {
	.site-header { padding: 10px 24px 0; }
	.site-header__inner { max-width: 1440px; margin: 0 auto; padding: 10px 32px 10px 36px; border-radius: 22px; }
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--adm-navy); }
.brand__logo { display: block; width: auto; height: 46px; }
.brand__logo--mark { height: 36px; flex: none; }
@media (max-width: 440px) { .brand:has(.brand__logo--mark) { gap: 9px; } .brand:has(.brand__logo--mark) .brand__name { font-size: 20px; } .brand:has(.brand__logo--mark) .brand__tag { font-size: 10.5px; } .brand__logo--mark { height: 32px; } }
@media (max-width: 360px) { .brand__logo--mark { height: 28px; } .brand:has(.brand__logo--mark) .brand__name { font-size: 18px; } }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: 600 22px/1.15 var(--adm-font); color: var(--adm-navy); letter-spacing: -.01em; white-space: nowrap; }
.brand__tag { font: 400 12.5px/1.3 var(--adm-font); color: var(--adm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .brand__logo { height: 54px; } .brand__logo--mark { height: 46px; } .brand__name { font-size: 26px; } .brand__tag { font-size: 13.5px; } }

.primary-nav { display: none; margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { position: relative; display: block; padding: 10px 0; color: #3d5282; font-size: 15px; text-decoration: none; white-space: nowrap; transition: color .15s; }
.primary-nav__list a:hover { color: var(--adm-blue); }
.primary-nav__list .current-menu-item > a, .primary-nav__list [aria-current="page"] { color: var(--adm-blue-dark); }
.primary-nav__list .current-menu-item > a::after, .primary-nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--adm-blue); }
@media (min-width: 1024px) { .primary-nav { display: block; } }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 16px; } }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--adm-navy); font-size: 30px; cursor: pointer; transition: background-color .15s; }
.icon-btn:hover { background: var(--adm-blue-50); }
.icon-btn .adm-icon { stroke-width: 2; }

/* ---------- Diálogos (busca / menu) ---------- */
.adm-dialog { padding: 0; border: 0; color: var(--adm-text); background: var(--adm-surface); box-shadow: 0 20px 60px rgba(10, 30, 80, .25); }
.adm-dialog::backdrop { background: rgba(9, 24, 60, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.adm-dialog--search { width: min(720px, calc(100% - 24px)); margin: 90px auto auto; border-radius: 18px; }
.dialog-search { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; font-size: 24px; color: var(--adm-navy); }
.dialog-search input { flex: 1; min-width: 0; height: 52px; border: 0; outline: none; background: transparent; font-size: 18px; }
.adm-dialog--drawer { width: min(380px, 88vw); height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 0 0 24px; border-radius: 22px 0 0 22px; overflow-y: auto; }
.adm-dialog--drawer[open] { animation: adm-slide .22s ease-out; }
@keyframes adm-slide { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--adm-line); }
.drawer__head .brand__logo { height: 40px; }
.drawer__head .brand__logo--mark { height: 32px; }
.drawer__head .brand__name { font-size: 19px; }
.drawer__nav ul, .drawer__cats ul { margin: 0; padding: 8px 12px; list-style: none; }
.drawer__nav a { display: block; padding: 12px 12px; border-radius: 10px; color: var(--adm-navy); font-size: 17px; font-weight: 500; text-decoration: none; }
.drawer__nav a:hover, .drawer__cats a:hover { background: var(--adm-blue-50); }
.drawer__nav .sub-menu { padding: 0 0 0 12px; }
.drawer__label { margin: 12px 24px 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--adm-muted); }
.drawer__cats a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--adm-text); text-decoration: none; font-size: 15px; }
.drawer__cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 24px 0; padding: 14px; border-radius: 12px; background: linear-gradient(180deg, #25bd63, var(--adm-green-dark)); color: #fff !important; font-weight: 600; text-decoration: none; }
.drawer__cta .adm-icon { font-size: 22px; }

/* ---------- Barra inferior (celular) ---------- */
.bottom-nav { display: none; }
@media (max-width: 1023px) {
	body.has-bottom-nav { --adm-nav-h: calc(68px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--adm-nav-h); }
	.bottom-nav {
		position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		height: var(--adm-nav-h); padding: 0 6px env(safe-area-inset-bottom, 0px);
		background: rgba(255, 255, 255, .98); border-top: 1px solid var(--adm-line); box-shadow: 0 -6px 20px rgba(17, 56, 140, .06);
	}
	.bottom-nav__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 2px 8px; color: #6b7b98; font-size: 12px; line-height: 1.15; text-align: center; text-decoration: none; -webkit-tap-highlight-color: transparent; }
	.bottom-nav__item .adm-icon { font-size: 26px; }
	.bottom-nav__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
	.bottom-nav__item.is-active { color: var(--adm-blue); font-weight: 500; }
	.bottom-nav__item.is-active::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 4px; height: 3px; border-radius: 3px; background: var(--adm-blue); }
}
@media (max-width: 1023px) and (max-height: 480px) { .bottom-nav__item span { display: none; } }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 32px; background: var(--adm-surface); border-top: 1px solid var(--adm-line); color: var(--adm-muted); font-size: 15px; }
.site-footer__inner { display: grid; gap: 28px; max-width: calc(1200px + var(--adm-gutter) * 2); margin: 0 auto; padding: 40px var(--adm-gutter) 28px; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.site-footer__brand p { max-width: 380px; margin: 14px 0 0; }
.site-footer__nav ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { color: var(--adm-navy); text-decoration: none; }
.site-footer__nav a:hover { color: var(--adm-blue); }
.footer-wa { display: inline-flex; align-items: center; gap: 10px; color: var(--adm-green-dark); font-weight: 600; text-decoration: none; }
.footer-wa .adm-icon { font-size: 24px; }
.footer-pay { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 14px; }
.footer-pay .adm-icon { font-size: 20px; color: var(--adm-navy); }
.site-footer__bottom { border-top: 1px solid var(--adm-line); padding: 16px var(--adm-gutter); text-align: center; font-size: 13px; }
.site-footer__bottom p { margin: 0; }

/* ---------- Conteúdo ---------- */
.page-head { margin: 0 0 24px; }
.page-head__title { margin: 0 0 8px; font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.page-head__meta, .page-head__desc { color: var(--adm-muted); }
.page-head--checkout { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.secure-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--adm-green-dark); font-size: 14px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-thumb { margin: 0 0 24px; }
.entry-thumb img { border-radius: var(--adm-radius); }
.post-list { display: grid; gap: 20px; }
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { overflow: hidden; border-radius: var(--adm-radius); background: #fff; border: 1px solid var(--adm-line); box-shadow: var(--adm-shadow); }
.post-card__media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card__body { padding: 18px 20px 20px; }
.post-card__title { margin: 0 0 8px; font-size: 19px; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__excerpt { color: var(--adm-muted); font-size: 15px; }
.post-card__excerpt p { margin: 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--adm-line); color: var(--adm-navy); text-decoration: none; }
.pagination .page-numbers.current { background: var(--adm-blue); border-color: var(--adm-blue); color: #fff; }
.empty-state { color: var(--adm-muted); }
.error-404 { text-align: center; }
.error-404__code { margin: 0; font-size: 88px; font-weight: 700; line-height: 1; color: var(--adm-blue-100); }
.search-form { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 24px auto; }
.search-form > .adm-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--adm-muted); }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 46px; border-radius: 12px; border: 1px solid var(--adm-line-strong); background: #fff; }
.section--course { max-width: calc(840px + var(--adm-gutter) * 2); }

/* ---------- Elementor ---------- */
.elementor-page .site-main > .elementor { width: 100%; }
.adm-sticky-col { position: sticky; top: calc(var(--adm-header-h) + 24px); }

/* ---------- WooCommerce: checkout / conta ---------- */
.is-woo-page .woocommerce { font-size: 15px; }
.is-woo-page .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.is-woo-page .woocommerce form .form-row label { margin-bottom: 6px; font-weight: 500; color: var(--adm-navy); font-size: 14px; }
.is-woo-page .woocommerce form .form-row .input-text,
.is-woo-page .woocommerce form .form-row select,
.is-woo-page .select2-container .select2-selection--single {
	min-height: 50px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--adm-line-strong); background: #fbfdff; box-shadow: none;
}
.is-woo-page .select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; padding: 0; }
.is-woo-page .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; }
.is-woo-page .woocommerce form .form-row .input-text:focus { border-color: var(--adm-blue); box-shadow: 0 0 0 4px rgba(21, 96, 245, .12); outline: none; }
.is-woo-page .woocommerce-billing-fields h3, .is-woo-page #order_review_heading { font-size: 20px; margin: 0 0 16px; }
.is-woo-page form.checkout { display: grid; gap: 24px; }
@media (min-width: 960px) {
	.is-woo-page form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
	.is-woo-page form.checkout > #customer_details { grid-row: 1 / span 3; }
	.is-woo-page form.checkout .col2-set .col-1, .is-woo-page form.checkout .col2-set .col-2 { float: none; width: 100%; }
}
.is-woo-page #customer_details, .is-woo-page #order_review {
	padding: 24px; border-radius: var(--adm-radius); background: #fff; border: 1px solid var(--adm-line); box-shadow: var(--adm-shadow);
}
.is-woo-page .woocommerce-checkout-review-order-table { border: 0 !important; }
.is-woo-page .woocommerce-checkout-review-order-table th, .is-woo-page .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; border-color: var(--adm-line) !important; }
.is-woo-page .woocommerce-checkout-review-order-table .order-total .amount { font-size: 22px; color: var(--adm-navy); }
.is-woo-page #payment { border-radius: 12px !important; background: var(--adm-bg) !important; }
.is-woo-page #payment div.payment_box { background: #fff !important; border-radius: 10px; }
.is-woo-page #payment div.payment_box::before { border-bottom-color: #fff !important; }
.is-woo-page .woocommerce #place_order, .is-woo-page .woocommerce button.button.alt, .is-woo-page .woocommerce a.button.alt {
	width: 100%; min-height: 56px; border-radius: 12px; background: linear-gradient(180deg, #25bd63, var(--adm-green-dark)); color: #fff; font-weight: 600; font-size: 17px; border: 0;
}
.is-woo-page .woocommerce button.button, .is-woo-page .woocommerce a.button { border-radius: 10px; background: var(--adm-blue); color: #fff; font-weight: 600; padding: 12px 20px; }
.is-woo-page .woocommerce-info, .is-woo-page .woocommerce-message, .is-woo-page .woocommerce-error { border-radius: 12px; border-top-width: 0; border-left: 4px solid var(--adm-blue); background: #fff; box-shadow: var(--adm-shadow); }
.is-woo-page .woocommerce-error { border-left-color: #e5484d; }
.is-woo-page .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.is-woo-page .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--adm-navy); text-decoration: none; }
.is-woo-page .woocommerce-MyAccount-navigation .is-active a { background: var(--adm-blue-50); color: var(--adm-blue-dark); }
.is-woo-page .woocommerce-order-overview { padding: 16px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--adm-line); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .bottom-nav, .site-footer, .adm-actions--sticky, .adm-dialog { display: none !important; }
	body { background: #fff; padding: 0 !important; }
}
