/*
Theme Name: SINDACS-MT
Theme URI: https://sindacs.com.br
Author: SINDACS-MT
Author URI: https://sindacs.com.br
Description: Tema oficial do site do SINDACS-MT — Sindicato dos Agentes Comunitários de Saúde do Estado de Mato Grosso. Navegação simples e destaque para as ações e conquistas do sindicato.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sindacs-mt
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. Design tokens (brand palette + spacing)
   ========================================================= */
:root {
	/* -------------------------------------------------------------
	   Brand palette — sampled from the real SINDACS/MT logo.
	   Primary is a refined red-orange (logo wordmark #F04000) blended
	   slightly toward red for a strong, warm institutional tone.
	   ------------------------------------------------------------- */
	/* Primary (kept under the --red name so the whole theme inherits it) */
	--red: #E5310C;        /* refined red-orange (logo #F04000 → warmer red) */
	--red-dark: #B8250A;   /* hover / gradient depth */
	--red-deep: #8F1C06;   /* deepest shade */
	--red-tint: #FDECE6;   /* soft wash for section backgrounds */

	/* Real secondary accents from the logo */
	--green: #009050;      /* Mato Grosso map */
	--green-dark: #00723F;
	--green-tint: #E4F5EC;
	--blue: #0050B0;       /* the "MT" wordmark + agents */
	--blue-dark: #003E8A;
	--blue-tint: #E5EEF9;
	--sky: #80D0F0;        /* light-blue accent from the logo */

	/* Legacy accent kept for the utility CTA button */
	--teal: #009050;       /* remap teal → brand green for consistency */
	--teal-dark: #00723F;
	--gold: #E8B800;

	/* Neutrals — cool-warm balanced, biased a touch toward the warm primary */
	--ink: #1E1A18;
	--gray: #6A6360;
	--gray-light: #ECE9E7;
	--gray-lighter: #F6F4F2;
	--white: #FFFFFF;

	/* Layout */
	--container: 1200px;
	--gap: 24px;
	--radius: 6px;
	--radius-lg: 14px;
	--shadow: 0 2px 10px rgba(30, 20, 15, .08);
	--shadow-lg: 0 12px 34px rgba(30, 20, 15, .14);

	/* Typography */
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-heading: var(--font-body);

	/* Semantic button tokens (default scheme: white CTA with red text) */
	--btn-bg: var(--white);
	--btn-bg-hover: var(--gray-light);
	--btn-ink: var(--red);
	/* Ink color for text placed on the main (--red) surface */
	--on-main: var(--white);
	/* Accent for section headings/icons on white backgrounds */
	--heading-accent: var(--red);
}

/* -----------------------------------------------------------------
   Alternate color scheme (visitor toggle).
   Main color becomes light blue (#95E1FE); buttons become red.
   Applied by setting <html data-theme="alt"> via the header toggle.
   ----------------------------------------------------------------- */
:root[data-theme="alt"] {
	--red: #95E1FE;        /* now the MAIN surface color */
	--red-dark: #63C7EC;   /* hover for the main color */
	--red-tint: #EAF7FE;

	/* Buttons/accents switch to the brand red-orange */
	--btn-bg: #E5310C;
	--btn-bg-hover: #B8250A;
	--btn-ink: #FFFFFF;

	/* Text on the light-blue main surface must be dark for contrast */
	--on-main: #0A2A38;

	/* Headings/icons on white sections stay warm for contrast */
	--heading-accent: #E5310C;
}

/* =========================================================
   2. Reset / base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	line-height: 1.55;
	background: var(--white);
	overflow-x: hidden; /* guard against accidental horizontal scroll */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover,
a:focus { color: var(--red-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 .5em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

/* Accessibility: skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--ink);
	color: var(--white);
	padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	position: absolute !important;
	word-wrap: normal !important;
}

/* Inline icon defaults */
.icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	flex: none;
	vertical-align: -.125em;
}

/* =========================================================
   3. Header — Row 1: utility bar
   ========================================================= */
.site-header { position: relative; z-index: 20; }

.utility-bar {
	background: var(--white);
	border-bottom: 1px solid var(--gray-light);
}
.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	padding-block: 10px;
	flex-wrap: wrap;
}

.site-branding { display: flex; align-items: center; }
.site-branding img,
.custom-logo { max-height: 62px; width: auto; }
.site-branding .site-title-text {
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--red);
	letter-spacing: .5px;
}
.site-branding .site-title-text span { color: var(--ink); }

.utility-nav-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;   /* right-align; clock stacks above the actions row */
	gap: 8px;
}
.utility-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.utility-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0; padding: 0;
	flex-wrap: wrap;
}
.utility-menu a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
	font-size: .82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.utility-menu a:hover { color: var(--red); }
.utility-menu .icon { color: var(--red); font-size: 1rem; }

/* The highlighted teal "Atendimento online" button — the last utility item,
   or any item whose link/label targets atendimento gets the button class via PHP walker. */
.utility-menu .util-cta > a,
.utility-cta {
	background: var(--teal);
	color: var(--white) !important;
	padding: 8px 16px;
	border-radius: var(--radius);
	white-space: nowrap;
}
.utility-menu .util-cta > a:hover,
.utility-cta:hover { background: var(--teal-dark); color: var(--white) !important; }
.utility-menu .util-cta .icon { color: var(--white); }

/* Live clock — small, sits above the Atendimento Online button */
.site-clock {
	font-variant-numeric: tabular-nums;
	font-size: .72rem;
	font-weight: 600;
	color: var(--gray);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.site-clock .icon { color: var(--red); font-size: .85rem; }

/* One-line mobile header toggle (hidden on desktop) */
.mobile-header-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: none;
	padding: 0;
	border: 1px solid var(--red);
	border-radius: 10px;
	background: transparent;
	color: var(--red);
	cursor: pointer;
}
.mobile-header-toggle .icon { font-size: 1.5rem; }
.mobile-header-toggle:active { transform: scale(.95); }

/* Color-scheme toggle button */
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--red);
	border-radius: 50%;
	background: transparent;
	color: var(--red);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, transform .12s ease;
}
.theme-toggle .icon { font-size: 1.15rem; }
.theme-toggle:hover { background: var(--red); color: var(--white); }
.theme-toggle:active { transform: scale(.94); }

/* =========================================================
   4. Header — Row 2: main red nav
   ========================================================= */
.main-nav { background: var(--red); }
.main-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.primary-menu {
	list-style: none;
	display: flex;
	margin: 0; padding: 0;
	flex-wrap: wrap;
}
.primary-menu > li { position: relative; }
.primary-menu > li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.primary-menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--on-main);
	font-weight: 700;
	font-size: .84rem;
	text-transform: uppercase;
	letter-spacing: .4px;
	padding: 15px 18px;
	transition: background .15s ease;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background: var(--red-dark);
	color: var(--on-main);
}
.primary-menu .icon { font-size: 1.05rem; opacity: .95; }

/* Submenus (in case pages add children later) */
.primary-menu ul {
	position: absolute;
	top: 100%; left: 0;
	background: var(--red-dark);
	list-style: none;
	margin: 0; padding: 6px 0;
	min-width: 220px;
	box-shadow: var(--shadow);
	display: none;
	z-index: 30;
}
.primary-menu li:hover > ul,
.primary-menu li:focus-within > ul { display: block; }
.primary-menu ul a { padding: 10px 18px; text-transform: none; font-weight: 600; }

/* Hamburger toggle — hidden on desktop */
.menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 0;
	color: var(--on-main);
	font-weight: 700;
	font-size: .9rem;
	text-transform: uppercase;
	padding: 14px 18px;
	cursor: pointer;
}
.menu-toggle .icon { font-size: 1.4rem; }

/* =========================================================
   5. "Sede digital" — immersive photo band (Caravana Brasília)
   ========================================================= */
.sede {
	position: relative;
	color: #fff;
	text-align: center;
	padding: 80px 20px;
	overflow: hidden;
	background-image: var(--sede-bg);
	background-size: cover;
	background-position: center 30%;
	background-repeat: no-repeat;
}
/* Dark red overlay for contrast over the photo */
.sede__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg,
			color-mix(in srgb, var(--red-deep) 92%, transparent),
			color-mix(in srgb, var(--red-dark) 82%, transparent)),
		rgba(20, 12, 8, .35);
	pointer-events: none;
}
.sede__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.sede__title {
	font-size: clamp(1.8rem, 4.6vw, 3rem);
	font-weight: 800;
	margin: 0 0 .3em;
	letter-spacing: -.01em;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
	overflow-wrap: break-word;
}
.sede__subtitle {
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	margin: 0 auto 1.5em;
	max-width: 640px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 13px 30px;
	border-radius: var(--radius);
	transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--cta {
	background: var(--btn-bg);
	color: var(--btn-ink) !important;
}
.btn--cta:hover { background: var(--btn-bg-hover); color: var(--btn-ink) !important; }
.btn--teal { background: var(--teal); color: var(--white) !important; }
.btn--teal:hover { background: var(--teal-dark); color: var(--white) !important; }

/* Generic content spacing (placeholder sections) */
/*
 * padding-block, not the `56px 0` shorthand: templates that put `container`
 * and `section` on the same element (the archives) would otherwise have the
 * shorthand zero out .container's padding-inline and go edge-to-edge on phones.
 */
.section { padding-block: 56px; }
.section__title {
	text-align: center;
	font-size: 1.8rem;
	color: var(--heading-accent);
	margin-bottom: 1.2em;
}

/* =========================================================
   5b. Rotating banner slider
   ========================================================= */
.banner-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--ink);
}
.banner-slider__track {
	position: relative;
	/* Responsive slide height */
	height: clamp(280px, 42vw, 520px);
}
.banner-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: var(--red);
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
}
.banner-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}
.banner-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18));
}
.banner-slide__content {
	position: relative;
	z-index: 2;
	color: #fff;
	max-width: 720px;
}
.banner-slide__title {
	font-size: clamp(1.5rem, 4vw, 2.8rem);
	font-weight: 800;
	margin: 0 0 .35em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.banner-slide__subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	margin: 0 0 1.2em;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

/* Prev / next arrows */
.banner-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .4);
	color: #fff;
	cursor: pointer;
	transition: background .15s ease;
}
.banner-slider__nav:hover { background: var(--btn-bg); color: var(--btn-ink); }
.banner-slider__nav .icon { font-size: 1.5rem; }
.banner-slider__prev { left: 16px; }
.banner-slider__next { right: 16px; }

/* -----------------------------------------------------------------
   Mini-box picker — the slides that are NOT in the hero right now.
   Tapping one promotes it; the outgoing hero drops into the last box.
   Order is set inline by JS, so these are plain flex children.
   ----------------------------------------------------------------- */
.banner-thumbs-wrap {
	background: var(--white);
	padding: 12px 0 2px;
}
.banner-thumbs {
	display: flex;
	gap: 10px;
	align-items: stretch;
}
.banner-thumb {
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
	border: 1px solid var(--gray-light);
	border-radius: var(--radius);
	background: var(--gray-lighter);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.banner-thumb[hidden] { display: none; }
.banner-thumb:hover,
.banner-thumb:focus-visible {
	border-color: var(--red);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}
.banner-thumb__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--gray-light);
}
.banner-thumb__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.banner-thumb__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray);
	font-size: 1.4rem;
}

/* Older browsers without aspect-ratio still get a usable box. */
@supports not (aspect-ratio: 1) {
	.banner-thumb__media { height: 74px; }
}

/* =========================================================
   5c. Shared section head (app-style)
   ========================================================= */
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}
.section-head__title {
	margin: 0;
	font-size: 1.15rem;
	letter-spacing: -.01em;
	color: var(--ink);
}
.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: .78rem;
	font-weight: 700;
	color: var(--heading-accent);
	white-space: nowrap;
}
.section-head__more .icon { font-size: .9rem; }
.section-head__more:hover { color: var(--btn-bg-hover); }

/* Tighter vertical rhythm for the app-style stacked sections */
.section--actions { padding: 34px 0 8px; }
.section--avisos { padding: 26px 0 8px; }
.section--conquistas-strip { padding: 30px 0 46px; }

/* =========================================================
   5c-i. Quick-actions grid (bank-app tiles)
   ========================================================= */
.quick-actions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.quick-action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	padding: 14px 6px;
	border-radius: 14px;
	text-align: center;
	color: var(--ink);
	transition: background .15s ease, transform .12s ease;
}
.quick-action:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.quick-action:active { transform: scale(.97); }
.quick-action__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: color-mix(in srgb, var(--heading-accent) 12%, var(--white));
	color: var(--heading-accent);
}
.quick-action__icon .icon { font-size: 1.55rem; }
.quick-action--green .quick-action__icon {
	background: color-mix(in srgb, var(--green) 15%, var(--white));
	color: var(--green);
}
.quick-action__label { font-size: .76rem; font-weight: 600; line-height: 1.2; }

/* =========================================================
   5c-ii. Avisos (WhatsApp-style list)
   ========================================================= */
.avisos-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow);
}
.aviso-item + .aviso-item .aviso-link { border-top: 1px solid var(--gray-light); }
.aviso-link {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 13px 16px;
	color: var(--ink);
	/* Rendered as a <button> — strip the control chrome, keep the row look. */
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.aviso-link:hover,
.aviso-link:focus-visible { background: var(--card-2, #f7f9fc); color: var(--ink); }
.aviso-chevron {
	flex: none;
	display: inline-flex;
	color: var(--gray);
	font-size: 1.05rem;
}
.aviso-link:hover .aviso-chevron { color: var(--red); }
.aviso-avatar {
	position: relative;
	flex: none;
	width: 46px; height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.aviso-avatar .icon { font-size: 1.35rem; }
.aviso-avatar.is-online::after {
	content: "";
	position: absolute; right: 0; bottom: 2px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--green);
	border: 2px solid var(--white);
}
.aviso-body { flex: 1; min-width: 0; }
.aviso-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.aviso-name { font-weight: 700; font-size: .92rem; }
.aviso-time { font-size: .72rem; color: var(--gray); flex: none; font-variant-numeric: tabular-nums; }
.aviso-msg {
	display: block;
	font-size: .85rem;
	color: var(--gray);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}

/* -----------------------------------------------------------------
   Aviso modal — the full notice, with a large "Voltar" above it.
   Styled so it looks the same whether it was opened with showModal()
   (top layer) or the plain `open` attribute on older browsers.
   ----------------------------------------------------------------- */
.aviso-modal {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	max-height: none;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.aviso-modal:not([open]) { display: none; }
.aviso-modal::backdrop { background: rgba(20, 14, 12, .6); }
/* Fallback backdrop for the non-showModal path, which has no ::backdrop. */
.aviso-modal[open] { background: rgba(20, 14, 12, .6); }
@supports selector(dialog::backdrop) {
	.aviso-modal[open] { background: transparent; }
}

.aviso-modal__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: min(560px, 100%);
	margin-inline: auto;
	padding: 18px 16px 32px;
	min-height: 100%;
	/*
	 * Short notices sit centred; long ones start at the top. Plain `center`
	 * would clip the head of an overflowing notice out of reach, so `safe`
	 * does the work — and browsers without it keep the flex-start fallback.
	 */
	justify-content: flex-start;
	justify-content: safe center;
}

/* The "voltar grande" — full-width, unmissable, sits above the notice.
   Sticky so it stays reachable while reading a long one. */
.aviso-modal__back {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 56px;
	padding: 14px 20px;
	border: 0;
	border-radius: 14px;
	background: var(--btn-bg);
	color: var(--btn-ink);
	font-size: 1.05rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	cursor: pointer;
	box-shadow: var(--shadow-lg);
	transition: background .15s ease, transform .15s ease;
}
.aviso-modal__back:focus-visible {
	outline: 3px solid var(--white);
	outline-offset: 3px;
}
.aviso-modal__back .icon { font-size: 1.4rem; }
.aviso-modal__back:hover { background: var(--btn-bg-hover); }
.aviso-modal__back:active { transform: scale(.985); }

.aviso-modal__card {
	background: var(--white);
	border-radius: 16px;
	padding: 20px 20px 24px;
	box-shadow: var(--shadow-lg);
}
.aviso-modal__head {
	display: flex;
	align-items: center;
	gap: 13px;
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--gray-light);
}
.aviso-modal__meta { min-width: 0; }
.aviso-modal__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.25;
	color: var(--ink);
}
.aviso-modal__date {
	display: block;
	margin-top: 3px;
	font-size: .78rem;
	color: var(--gray);
	font-variant-numeric: tabular-nums;
}
.aviso-modal__text {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	/* Keep the paragraph breaks the author typed in the admin. */
	white-space: pre-line;
	overflow-wrap: anywhere;
}
.aviso-modal__cta {
	display: inline-flex;
	margin-top: 18px;
}
.aviso-modal__cta[hidden] { display: none; }

/*
 * The header drawer only locks scrolling under 861px, but the modal opens at
 * every width — so the lock is promoted out of that breakpoint here.
 */
body.drawer-lock { overflow: hidden; }

/* =========================================================
   5c-iii. Conquistas strip (horizontal scroll)
   ========================================================= */
.conquista-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(240px, 1fr);
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.conquista-chip {
	scroll-snap-align: start;
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-top: 3px solid var(--green);
	border-radius: 12px;
	padding: 16px 16px 18px;
	box-shadow: var(--shadow);
}
.conquista-chip__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--green) 15%, var(--white));
	color: var(--green);
	margin-bottom: 10px;
}
.conquista-chip__badge .icon { font-size: 1.1rem; }
.conquista-chip__date {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 4px;
}
.conquista-chip__title { font-size: 1rem; margin: 0 0 6px; color: var(--ink); line-height: 1.25; }
.conquista-chip__text { margin: 0; font-size: .86rem; color: var(--gray); }

/* =========================================================
   5c-iii-b. Lutas e Conquistas (three colour-coded cards)
   ========================================================= */
.section--lutas { padding: 26px 0 8px; }

.luta-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/*
 * --luta: the card's accent, set per modifier below and then reused for the
 * top rule, badge and date so a card only ever names its colour once.
 */
.luta-card {
	--luta: var(--green);
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-top: 3px solid var(--luta);
	border-radius: 12px;
	padding: 14px 16px 18px;
	box-shadow: var(--shadow);
}
.luta-card--conquista { --luta: var(--green); }
.luta-card--alerta    { --luta: var(--gold); }
.luta-card--urgente   { --luta: var(--red); }

.luta-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.luta-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px; height: 30px;
	border-radius: 9px;
	background: color-mix(in srgb, var(--luta) 16%, var(--white));
	color: var(--luta);
}
.luta-card__badge .icon { font-size: 1rem; }
.luta-card__date {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--luta);
}
.luta-card__title {
	font-size: 1.02rem;
	line-height: 1.28;
	margin: 0 0 8px;
}
.luta-card__title a { color: var(--ink); }
.luta-card__title a:hover { color: var(--luta); }
.luta-card__excerpt {
	margin: 0;
	font-size: .88rem;
	color: var(--gray);
}

/* color-mix is recent — fall back to a flat tint where it is missing. */
@supports not (background: color-mix(in srgb, red 50%, white)) {
	.luta-card__badge { background: var(--gray-lighter); }
}

/* -----------------------------------------------------------------
   Lutas e Conquistas — archive page (tabs + full list)
   ----------------------------------------------------------------- */
.section--lutas-archive { padding-block: 34px 56px; }

.lutas-intro {
	max-width: 68ch;
	margin: 0 0 22px;
	color: var(--gray);
	font-size: 1rem;
	line-height: 1.6;
}

.lutas-tabs { margin-bottom: 22px; }
.lutas-tabs__list {
	display: flex;
	gap: 8px;
	/* Narrow screens swipe the row instead of wrapping it into a block. */
	overflow-x: auto;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--gray-light);
	scrollbar-width: thin;
}
.luta-tab {
	--luta: var(--gray);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	padding: 11px 15px;
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	background: transparent;
	color: var(--gray);
	font: inherit;
	font-size: .88rem;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	border-radius: 8px 8px 0 0;
	transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.luta-tab--conquista { --luta: var(--green); }
.luta-tab--alerta    { --luta: var(--gold); }
.luta-tab--urgente   { --luta: var(--red); }

.luta-tab .icon { font-size: 1.05rem; color: var(--luta); }
.luta-tab:hover { color: var(--ink); background: var(--gray-lighter); }
.luta-tab.is-active {
	color: var(--luta);
	border-bottom-color: var(--luta);
}
/* "Todas" has no type colour of its own — borrow the heading accent. */
.luta-tab.is-active:not([class*="luta-tab--"]) {
	color: var(--heading-accent);
	border-bottom-color: var(--heading-accent);
}
.luta-tab__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
	height: 20px;
	border-radius: 10px;
	background: var(--gray-light);
	color: var(--gray);
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
}
.luta-tab.is-active .luta-tab__count {
	background: color-mix(in srgb, var(--luta) 18%, var(--white));
	color: var(--luta);
}
.luta-tab.is-active:not([class*="luta-tab--"]) .luta-tab__count {
	background: color-mix(in srgb, var(--heading-accent) 15%, var(--white));
	color: var(--heading-accent);
}

.lutas-panel:focus { outline: none; }
.lutas-panel .luta-card[hidden] { display: none; }

/*
 * Archive cards carry a visible type label and a read-more affordance.
 * Scoped to the panel so the homepage cards — badge + date only — keep
 * their own tighter layout.
 */
.luta-card__tag {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--luta);
	padding: 2px 8px;
	border-radius: 99px;
	background: color-mix(in srgb, var(--luta) 12%, var(--white));
}
.lutas-panel .luta-card__date {
	margin-left: auto;
	color: var(--gray);
}
.luta-card__more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 12px;
	font-size: .8rem;
	font-weight: 700;
	color: var(--luta);
}
.luta-card__more .icon { font-size: .95rem; }
.luta-card:hover .luta-card__more { gap: 6px; }

.lutas-empty {
	margin: 26px 0;
	text-align: center;
	color: var(--gray);
}

/* -----------------------------------------------------------------
   Lutas e Conquistas — single entry
   ----------------------------------------------------------------- */
.luta-single { --luta: var(--green); }
.luta-single--conquista { --luta: var(--green); }
.luta-single--alerta    { --luta: var(--gold); }
.luta-single--urgente   { --luta: var(--red); }

.luta-single__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 2px solid color-mix(in srgb, var(--luta) 35%, var(--gray-light));
}
.luta-single__date {
	margin-left: auto;
	font-size: .82rem;
	font-weight: 700;
	color: var(--gray);
	font-variant-numeric: tabular-nums;
}
.luta-single__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	/* It sits inside .page-content, which underlines prose links. */
	text-decoration: none;
	padding: 11px 18px;
	border-radius: 10px;
	background: var(--gray-lighter);
	color: var(--ink);
	font-size: .88rem;
	font-weight: 700;
	transition: background .15s ease, color .15s ease;
}
.luta-single__back:hover { background: var(--luta); color: #fff; }

.luta-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 26px;
}
.luta-nav__link {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 16px;
	border: 1px solid var(--gray-light);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.luta-nav__link:hover { border-color: var(--heading-accent); box-shadow: var(--shadow); }
.luta-nav__link--next { text-align: right; }
/* A lone "next" keeps to the right-hand column. */
.luta-nav__link--next:only-child { grid-column: 2; }
.luta-nav__dir {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--heading-accent);
}
.luta-nav__title { font-size: .9rem; font-weight: 600; line-height: 1.3; }

/* =========================================================
   5c-iii-c. Vídeos (YouTube facades)
   ========================================================= */
.section--videos { padding: 26px 0 8px; }

.video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.video-card { margin: 0; }
.video-card__frame {
	display: block;
	position: relative;
	width: 100%;
	padding: 0;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--gray-light);
	border-radius: 12px;
	overflow: hidden;
	background: var(--ink);
	cursor: pointer;
}
.video-card__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.video-card__poster {
	width: 100%;
	height: 100%;
	/*
	 * hqdefault is 480x360 holding a 480x270 frame between two 45px bars.
	 * `cover` into a 16:9 box trims exactly those bars — no extra zoom, or
	 * the titles burned into the thumbnails get cut off.
	 */
	object-fit: cover;
	transition: opacity .2s ease;
}
.video-card__play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .58);
	color: #fff;
	font-size: 1.6rem;
	transition: background .15s ease, transform .15s ease;
}
.video-card__frame:hover .video-card__play,
.video-card__frame:focus-visible .video-card__play {
	background: var(--red);
	transform: translate(-50%, -50%) scale(1.08);
}
.video-card__frame:hover .video-card__poster { opacity: .88; }
.video-card__label {
	margin-top: 8px;
	font-size: .86rem;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
	/* YouTube titles run long and shouty — cap them so the grid stays even. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@supports not (aspect-ratio: 1) {
	.video-card__frame { height: 0; padding-bottom: 56.25%; }
}

/* The middle block sits on a tint so three video rows don't read as one. */
.section--videos-tinted {
	background: var(--gray-lighter);
	padding-block: 34px;
	margin-block: 8px;
}

/* Centred call-to-action closing a homepage block ("Mais vídeos"). */
.section-cta {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}
.btn--outline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 26px;
	border: 2px solid var(--heading-accent);
	border-radius: 99px;
	background: transparent;
	color: var(--heading-accent);
	font-size: .9rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn--outline:hover {
	background: var(--heading-accent);
	color: var(--white);
	transform: translateY(-1px);
}
.btn--outline .icon { font-size: 1.05rem; }

/* -----------------------------------------------------------------
   Vídeos e Notícias page
   ----------------------------------------------------------------- */
.section--midia { padding-block: 34px 56px; }
.midia-section { margin-top: 40px; }
.midia-section:first-of-type { margin-top: 26px; }
/* Anchor jumps shouldn't tuck the heading under the sticky header. */
.midia-section { scroll-margin-top: 90px; }

.midia-jump {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	border-bottom: 2px solid var(--gray-light);
}
.midia-jump__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 99px;
	background: var(--gray-lighter);
	color: var(--ink);
	font-size: .86rem;
	font-weight: 700;
	transition: background .15s ease, color .15s ease;
}
.midia-jump__link .icon { color: var(--heading-accent); font-size: 1rem; }
.midia-jump__link:hover { background: var(--heading-accent); color: var(--white); }
.midia-jump__link:hover .icon { color: currentColor; }

.home-placeholder {
	text-align: center;
	color: var(--gray);
	padding: 30px 0;
}
.home-placeholder .icon { font-size: 2.4rem; color: var(--heading-accent); opacity: .55; }
.home-placeholder p { margin: 12px 0 0; }

/* =========================================================
   5c-iv. Números / impact stats band
   ========================================================= */
.section--stats {
	color: #fff;
	padding: 52px 0;
	position: relative;
	overflow: hidden;
	background-image: var(--stats-bg);
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
}
/* Red overlay over the photo so the numbers stay legible */
.section--stats::before {
	content: "";
	position: absolute; inset: 0;
	background:
		linear-gradient(135deg,
			color-mix(in srgb, var(--red) 90%, transparent),
			color-mix(in srgb, var(--red-dark) 86%, transparent));
	pointer-events: none;
}
.section--stats::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--green) 40%, transparent), transparent 45%),
		radial-gradient(circle at 8% 90%, color-mix(in srgb, var(--blue) 40%, transparent), transparent 42%);
	opacity: .45;
	pointer-events: none;
}
.stats-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.stat {
	text-align: center;
	padding: 10px 8px;
	border-radius: var(--radius-lg);
}
.stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 14px;
	margin-bottom: 10px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
}
.stat--green .stat__icon { background: color-mix(in srgb, var(--green) 85%, #000); }
.stat--blue .stat__icon { background: color-mix(in srgb, var(--blue) 80%, #000); }
.stat__icon .icon { font-size: 1.5rem; }
.stat__value {
	display: block;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}
.stat__label {
	display: block;
	margin-top: 6px;
	font-size: .86rem;
	opacity: .92;
}

/* =========================================================
   5c-v. Sobre / Quem somos band
   ========================================================= */
.section--about { padding: 60px 0; }
.about-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 44px;
	align-items: center;
}
.about-media {
	display: flex;
	align-items: center;
	justify-content: center;
}
.about-media img {
	width: 100%;
	max-width: 300px;
	height: auto;
	filter: drop-shadow(0 12px 26px rgba(30, 20, 15, .18));
}
.about-eyebrow {
	display: inline-block;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 10px;
}
.about-title {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	color: var(--ink);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}
.about-text { color: var(--gray); font-size: 1.02rem; margin: 0 0 1.2em; max-width: 60ch; }
.about-points {
	list-style: none;
	margin: 0 0 1.6em;
	padding: 0;
	display: grid;
	gap: 10px;
}
.about-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--ink);
}
.about-points .icon {
	flex: none;
	width: 34px; height: 34px;
	padding: 7px;
	border-radius: 9px;
	background: var(--red-tint);
	color: var(--red);
	box-sizing: border-box;
	font-size: 1.25rem;
}
.about-points li:nth-child(2) .icon { background: var(--blue-tint); color: var(--blue); }
.about-points li:nth-child(3) .icon { background: var(--green-tint); color: var(--green); }
.about-cta { text-transform: none; }

/* =========================================================
   5f. Fixed bottom tab bar (mobile/tablet only)
   ========================================================= */
.mobile-tabbar { display: none; }

@media (max-width: 860px) {
	.mobile-tabbar {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		align-items: flex-end;
		justify-content: space-around;
		background: color-mix(in srgb, var(--white) 94%, transparent);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--gray-light);
		padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
		box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
	}
	.mtab {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		padding: 4px 0;
		font-size: .66rem;
		font-weight: 600;
		color: var(--gray);
	}
	.mtab .icon { font-size: 1.3rem; }
	.mtab.is-active { color: var(--heading-accent); }
	.mtab--fab { flex: 0 0 auto; margin-top: -26px; }
	.mtab__fab {
		display: grid;
		place-items: center;
		width: 56px; height: 56px;
		border-radius: 50%;
		background: linear-gradient(135deg, var(--red), var(--red-dark));
		color: #fff;
		border: 3px solid var(--white);
		box-shadow: 0 8px 20px color-mix(in srgb, var(--red) 45%, transparent);
	}
	.mtab--fab .icon { font-size: 1.5rem; }

	/* Keep content clear of the fixed bar */
	body { padding-bottom: 68px; }
	.site-footer { margin-bottom: 0; }
}

/* Section head with a "ver todas" link */
.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 1.2em;
}
.section__head .section__title { margin-bottom: 0; text-align: left; }
.section__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .3px;
	color: var(--heading-accent);
	white-space: nowrap;
}
.section__more .icon { font-size: .9rem; }
.section__more:hover { color: var(--btn-bg-hover); }

/* =========================================================
   5d. Latest-news module
   ========================================================= */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 22px;
}
/* Featured card spans two columns and both rows */
.news-card--featured {
	grid-column: span 2;
	grid-row: span 2;
}
.news-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.news-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: color-mix(in srgb, var(--heading-accent) 8%, var(--gray-light));
	overflow: hidden;
}
.news-card--featured .news-card__media { aspect-ratio: 16 / 10; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
	color: var(--heading-accent);
	opacity: .35;
}
.news-card__placeholder .icon { font-size: 3rem; }
.news-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.news-card__date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .75rem;
	color: var(--gray);
	font-weight: 600;
}
.news-card__date .icon { color: var(--heading-accent); font-size: .85rem; }
.news-card__title {
	font-size: 1rem;
	line-height: 1.3;
	margin: 0;
}
.news-card--featured .news-card__title { font-size: 1.5rem; }
.news-card__title a { color: var(--ink); }
.news-card__title a:hover { color: var(--heading-accent); }
.news-card__excerpt { color: var(--gray); font-size: .95rem; margin: 0; }

/* =========================================================
   5e. Conquistas timeline
   ========================================================= */
.section--conquistas { background: color-mix(in srgb, var(--heading-accent) 5%, var(--white)); }
.timeline {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 760px;
	position: relative;
}
.timeline::before {
	content: "";
	position: absolute;
	left: 19px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: color-mix(in srgb, var(--heading-accent) 30%, transparent);
}
.timeline__item {
	position: relative;
	display: flex;
	gap: 18px;
	padding-bottom: 26px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
	flex: none;
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--heading-accent);
	color: #fff;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--heading-accent) 12%, transparent);
}
.timeline__marker .icon { font-size: 1.1rem; }
.timeline__content {
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: var(--shadow);
	flex: 1;
}
.timeline__date {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	color: var(--heading-accent);
	text-transform: uppercase;
	letter-spacing: .4px;
	margin-bottom: 4px;
}
.timeline__title { font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.timeline__text { margin: 0; color: var(--gray); font-size: .92rem; }

/* =========================================================
   6. Footer
   ========================================================= */
.site-footer {
	position: relative;
	background: var(--red);
	color: var(--on-main);
	margin-top: 60px;
	padding-top: 90px;   /* room for the diagonal cut */
	padding-bottom: 30px;
}
/* Diagonal white cut across the top edge */
.site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 70px;
	background: var(--white);
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.site-footer a { color: var(--on-main); }
.site-footer a:hover { color: color-mix(in srgb, var(--on-main) 78%, transparent); }

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 36px;
}
.footer-col h3 {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 1em;
	padding-bottom: .5em;
	border-bottom: 2px solid rgba(255, 255, 255, .3);
}

/* Col 1 — branding */
.footer-logo {
	display: block;
	max-height: 196px;
	width: auto;
	margin-bottom: 16px;
	/* The color badge (green map + red cross) reads poorly on red, so seat it
	   on a white chip rather than knocking it out to a flat silhouette. */
	background: var(--white);
	padding: 8px;
	border-radius: 5%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.footer-contact p { margin: 0 0 10px; display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; }
.footer-contact .icon { margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	font-size: 1.15rem;
}
.footer-social a:hover { background: var(--white); color: var(--red); }

/* Col 2 — feature cards */
.feature-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 92px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background-size: cover;
	background-position: center;
	background-color: var(--red-dark);
	color: var(--white);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	overflow: hidden;
	margin-bottom: 16px;
}
.feature-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.2));
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card .icon { font-size: 1.8rem; }
.feature-card:hover { color: var(--white); transform: translateY(-2px); transition: transform .15s ease; }

/* Col 3 — footer link list */
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 9px; }
.footer-menu a { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; }
.footer-menu .icon { font-size: .85rem; opacity: .85; }

/* Col 4 — affiliation logos */
.affiliation-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.affiliation-logo {
	width: 84px; height: 84px;
	background: rgba(255, 255, 255, .12);
	border: 1px dashed rgba(255, 255, 255, .45);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .7rem;
	text-align: center;
	color: rgba(255, 255, 255, .8);
	padding: 6px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .25);
	margin-top: 40px;
	padding-top: 20px;
	text-align: center;
	font-size: .82rem;
	opacity: .9;
}

/* =========================================================
   6b. Inner pages — shell (title band, breadcrumb, layout, sidebar)
   ========================================================= */
.page-hero {
	background: linear-gradient(135deg, var(--red), var(--red-dark));
	color: #fff;
	padding: 30px 0 34px;
	position: relative;
	overflow: hidden;
}
.page-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--green) 34%, transparent), transparent 45%);
	opacity: .55; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__title {
	margin: 0;
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
	letter-spacing: -.01em;
	text-wrap: balance;
}
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: .82rem;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, .85);
}
.breadcrumb a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 5px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { font-size: .9rem; }
.breadcrumb__sep .icon { font-size: .7rem; opacity: .7; }
.breadcrumb__current { color: #fff; font-weight: 600; }

.inner-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding-block: 46px;
	align-items: start;
}
.page-content { font-size: 1.02rem; color: var(--ink); }
.page-content > * + * { margin-top: 1em; }
.page-content h2 { font-size: 1.5rem; color: var(--red); margin-top: 1.4em; }
.page-content h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.2em; }
.page-content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.page-content img { border-radius: var(--radius-lg); }
.page-content blockquote {
	margin: 1.5em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--green);
	background: var(--green-tint);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.page-content blockquote cite { display: block; margin-top: 8px; font-size: .85rem; color: var(--gray); font-style: normal; font-weight: 700; }
.page-content__media { margin-bottom: 1.5em; }
.page-content__media img { width: 100%; }

/* Figures with caption inside page content */
.page-figure {
	margin: 1.8em 0;
}
.page-figure img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	display: block;
}
.page-figure figcaption,
.filiacao-photo figcaption {
	margin-top: 10px;
	font-size: .85rem;
	color: var(--gray);
	font-style: italic;
	border-left: 3px solid var(--red);
	padding-left: 10px;
}

/* Filie-se banner photo (wider, immersive) */
.filiacao-photo {
	position: relative;
	margin: 0 0 1.6em;
}
.filiacao-photo img {
	width: 100%;
	height: clamp(200px, 30vw, 320px);
	object-fit: cover;
	object-position: center 30%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	display: block;
}

/* Sidebar */
.inner-sidebar { display: grid; gap: 20px; position: sticky; top: 20px; }
.side-card {
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow);
}
.side-card__title {
	font-size: 1rem;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--red-tint);
	color: var(--ink);
}
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 8px;
	color: var(--ink);
	font-weight: 600;
	font-size: .92rem;
}
.side-links a:hover { background: var(--red-tint); color: var(--red); }
.side-links a > .icon:first-child { color: var(--red); font-size: 1.15rem; flex: none; }
.side-links a > .icon:last-child { margin-left: auto; font-size: .8rem; opacity: .5; }
.side-card--contact { background: var(--gray-lighter); }
.side-contact { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: .92rem; }
.side-contact .icon { color: var(--green); flex: none; }
.side-cta { width: 100%; justify-content: center; margin-top: 8px; text-transform: none; }

/* Download card (e.g. PNAB PDF) — usable inside page content */
.page-content .download-card {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--gray-lighter);
	border: 1px solid var(--gray-light);
	border-left: 5px solid var(--red);
	border-radius: var(--radius-lg);
	padding: 18px 20px;
	margin: 1.6em 0;
}
.download-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 12px;
	background: var(--red);
	color: #fff;
	font-weight: 800;
	font-size: .8rem;
	letter-spacing: .05em;
}
.download-card__body { flex: 1; min-width: 0; }
.download-card__title { margin: 0 0 2px; font-size: 1.1rem; color: var(--ink); }
.download-card__meta { margin: 0; font-size: .82rem; color: var(--gray); }
.download-card__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--red);
	color: #fff !important;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: var(--radius);
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .15s ease;
}
.download-card__btn:hover { background: var(--red-dark); color: #fff !important; }

/* Child-page navigation cards (parent section index, e.g. "A Categoria") */
.subpages {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 2em;
}
.subpage-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.subpage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--red); color: var(--ink); }
.subpage-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 10px;
	background: var(--red-tint);
	color: var(--red);
}
.subpage-card__title { display: block; font-weight: 800; font-size: 1.02rem; }
.subpage-card__excerpt { display: block; margin-top: 4px; font-size: .88rem; color: var(--gray); }

/* Filie-se page */
.filiacao-lead {
	background: linear-gradient(135deg, var(--green-tint), var(--white));
	border: 1px solid color-mix(in srgb, var(--green) 25%, transparent);
	border-left: 5px solid var(--green);
	border-radius: var(--radius-lg);
	padding: 22px 24px;
	margin-bottom: 1.5em;
}
.filiacao-lead h2 { margin: 0 0 .4em; color: var(--green-dark); font-size: 1.4rem; }
.filiacao-lead p { margin: 0 0 .5em; }
.filiacao-slogan { font-weight: 800; color: var(--red); font-size: 1.15rem; margin: 0 !important; }

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 1.6em 0;
}
.benefit {
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: var(--radius-lg);
	padding: 18px;
	box-shadow: var(--shadow);
}
.benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--red-tint);
	color: var(--red);
	margin-bottom: 10px;
}
.benefit:nth-child(2) .benefit__icon { background: var(--blue-tint); color: var(--blue); }
.benefit:nth-child(3) .benefit__icon { background: var(--green-tint); color: var(--green); }
.benefit:nth-child(4) .benefit__icon { background: var(--red-tint); color: var(--red); }
.benefit__icon .icon { font-size: 1.4rem; }
.benefit__title { margin: 0 0 4px; font-size: 1.05rem; color: var(--ink); }
.benefit__text { margin: 0; font-size: .9rem; color: var(--gray); }

.filiacao-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 1.8em;
}
.filiacao-actions .btn { text-transform: none; }

/* =========================================================
   6c. Parcerias archive — chips + partner cards
   ========================================================= */
.parceiros-intro {
	text-align: center;
	color: var(--gray);
	max-width: 60ch;
	margin: 0 auto 24px;
}
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 32px;
}
.chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid var(--gray-light);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.parceiro-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.parceiro-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--gray-light);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.parceiro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.parceiro-card__logo {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--gray-lighter);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.parceiro-card__logo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.parceiro-card__ph { color: var(--red); opacity: .35; }
.parceiro-card__ph .icon { font-size: 3rem; }
.parceiro-card__cat {
	position: absolute; top: 12px; left: 12px;
	background: var(--green);
	color: #fff;
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 999px;
}
.parceiro-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.parceiro-card__title { font-size: 1.1rem; margin: 0; color: var(--ink); }
.parceiro-card__benefit {
	display: flex;
	gap: 8px;
	margin: 0;
	font-size: .9rem;
	font-weight: 600;
	color: var(--green-dark);
	background: var(--green-tint);
	padding: 8px 10px;
	border-radius: 8px;
}
.parceiro-card__benefit .icon { color: var(--green); flex: none; }
.parceiro-card__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--gray); }
.parceiro-card__meta li { display: flex; gap: 7px; align-items: flex-start; }
.parceiro-card__meta .icon { color: var(--red); flex: none; margin-top: 2px; }
.parceiro-card__meta a { color: var(--gray); }
.parceiro-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	font-size: .85rem;
	color: var(--red);
}
.parceiro-card__link:hover { color: var(--red-dark); }
.parceiro-empty { text-align: center; color: var(--gray); padding: 30px 0; }

/* WP pagination */
.pagination { display: flex; justify-content: center; margin-top: 34px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--gray-light);
	color: var(--ink); font-weight: 700; font-size: .88rem;
}
.pagination .page-numbers.current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }

/* =========================================================
   7. Responsive
   ========================================================= */
@media (max-width: 980px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.quick-actions { grid-template-columns: repeat(4, 1fr); }
	.inner-layout { grid-template-columns: 1fr; }
	.inner-sidebar { position: static; grid-template-columns: 1fr 1fr; }
	.parceiro-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.about-grid { grid-template-columns: 220px 1fr; gap: 30px; }
	.news-grid { grid-template-columns: repeat(2, 1fr); }
	.news-card--featured { grid-column: span 2; grid-row: auto; }
	.news-card--featured .news-card__title { font-size: 1.25rem; }
	.video-grid { grid-template-columns: repeat(2, 1fr); }
	.luta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	/* --- One-line mobile header: logo (left) + toggle (right) --- */
	.utility-bar__inner {
		justify-content: space-between;
		align-items: center;
		padding-block: 8px;
		gap: 12px;
	}
	.site-branding img,
	.custom-logo { max-height: 44px; width: auto; max-width: 62vw; }

	.mobile-header-toggle { display: inline-flex; }

	/* Drawer content: hidden until opened */
	.utility-nav-wrap {
		display: none;
		width: 100%;
		order: 3;
		align-items: stretch;
		padding: 8px 0 12px;
		border-top: 1px solid var(--gray-light);
		margin-top: 8px;
	}
	.utility-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
	.utility-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.utility-menu li { width: 100%; }
	.utility-menu a {
		width: 100%;
		padding: 12px 8px;
		border-bottom: 1px solid var(--gray-light);
		font-size: .9rem;
	}
	.utility-menu .util-cta > a { justify-content: center; border-bottom: 0; margin-top: 6px; }
	.site-clock { justify-content: center; order: -1; padding: 4px 0 8px; }
	.theme-toggle { align-self: center; margin-top: 6px; }

	/* The red nav becomes part of the (white) drawer */
	.main-nav { display: none; background: var(--white); }
	.menu-toggle { display: none; } /* old in-nav toggle no longer used on mobile */
	.primary-menu {
		display: flex;
		flex-direction: column;
		width: 100%;
		background: transparent;
	}
	.primary-menu > li { border-left: 0; }
	.primary-menu > li + li { border-top: 1px solid var(--gray-light); }
	.primary-menu a {
		padding: 13px 8px;
		width: 100%;
		color: var(--ink);
	}
	.primary-menu a:hover,
	.primary-menu .current-menu-item > a { background: color-mix(in srgb, var(--red) 8%, transparent); color: var(--red); }
	.primary-menu .icon { color: var(--red); }
	.primary-menu ul { position: static; box-shadow: none; display: block; background: color-mix(in srgb, var(--red) 5%, transparent); }
	.primary-menu ul a { color: var(--ink); }

	/* --- Open state --- */
	.utility-bar__inner { flex-wrap: wrap; }
	.site-header.is-drawer-open .utility-nav-wrap { display: flex; flex-direction: column; }
	.site-header.is-drawer-open .main-nav {
		display: block;
		width: 100%;
		border-top: 1px solid var(--gray-light);
	}
	.site-header.is-drawer-open .main-nav__inner { padding-block: 0; }

	body.drawer-lock { overflow: hidden; }
}

@media (max-width: 620px) {
	.footer-grid { grid-template-columns: 1fr; }
	.quick-actions { grid-template-columns: repeat(4, 1fr); gap: 4px; }
	.quick-action { padding: 12px 2px; }
	.quick-action__icon { width: 52px; height: 52px; border-radius: 16px; }
	.quick-action__label { font-size: .7rem; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.parceiro-grid { grid-template-columns: 1fr; }
	.inner-sidebar { grid-template-columns: 1fr; }
	.inner-layout { padding-block: 30px; gap: 26px; }
	.subpages { grid-template-columns: 1fr; }
	.benefits-grid { grid-template-columns: 1fr; }
	.filiacao-actions .btn { width: 100%; justify-content: center; }
	.page-content .download-card { flex-wrap: wrap; }
	.download-card__btn { width: 100%; justify-content: center; }
	.about-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
	.about-media { order: -1; }
	.about-media img { max-width: 200px; }
	.about-text { margin-inline: auto; }
	.about-points { justify-items: start; max-width: 30ch; margin-inline: auto; }
	.news-grid { grid-template-columns: 1fr; }
	.news-card--featured { grid-column: auto; }
	.utility-menu { justify-content: center; }
	.sede { padding: 56px 18px; background-attachment: scroll; }
	.banner-slider__nav { width: 38px; height: 38px; }
	.banner-slider__prev { left: 8px; }
	.banner-slider__next { right: 8px; }

	/* The three mini boxes stay side by side on phones — that row IS the control. */
	.banner-thumbs { gap: 8px; }

	/* Cards stack so the colour rule and symbol stay readable. */
	.luta-grid { grid-template-columns: 1fr; gap: 12px; }
	.video-grid { grid-template-columns: 1fr; }
	.luta-nav { grid-template-columns: 1fr; }
	.luta-nav__link--next { text-align: left; }
	.luta-nav__link--next:only-child { grid-column: auto; }
	.luta-single__back { width: 100%; justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
