/* =====================================================================
   AeroHow — estilos do tema (site e editor)
   Cores e fontes vêm do theme.json (Aparência > Editor > Estilos).
   ===================================================================== */

:root {
	--ah-navy: var(--wp--preset--color--navy);
	--ah-navy-deep: var(--wp--preset--color--navy-deep);
	--ah-navy-soft: var(--wp--preset--color--navy-soft);
	--ah-green: var(--wp--preset--color--green);
	--ah-green-deep: var(--wp--preset--color--green-deep);
	--ah-bg: var(--wp--preset--color--bg);
	--ah-bg-alt: var(--wp--preset--color--bg-alt);
	--ah-panel: var(--wp--preset--color--panel);
	--ah-border: var(--wp--preset--color--border);
	--ah-text: var(--wp--preset--color--text);
	--ah-text-2: var(--wp--preset--color--text-secondary);
	--ah-muted: var(--wp--preset--color--text-muted);
	--ah-display: var(--wp--preset--font-family--space-grotesk);
	--ah-light-text: #cfe0eb;
	--ah-grid: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}

body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--ah-green);
	outline-offset: 3px;
}

/* Seções encostadas umas nas outras (sem o espaçamento padrão entre blocos) */
.wp-site-blocks.wp-site-blocks > *,
main.ah-main.ah-main,
.ah-sections.ah-sections > *,
.ah-main.ah-main > * { margin-block: 0; }

/* ===== Utilitários de texto ===== */
.ah-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--ah-navy-soft);
}
.ah-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--ah-green); flex-shrink: 0; }
.ah-eyebrow-light, .ah-eyebrow-light a { color: var(--ah-green); }
:where(.ah-eyebrow) + * { margin-block-start: 0.7rem !important; }
.ah-lede { font-size: 1.08rem; max-width: 56ch; }
.ah-small { font-size: 0.9rem; color: var(--ah-text-2); }
.ah-tag { font-size: 0.72rem; font-weight: 600; color: var(--ah-navy-soft); letter-spacing: 0.01em; }

.ah-note {
	padding: 18px 22px;
	border-left: 3px solid var(--ah-green);
	background: var(--ah-bg-alt);
	font-size: 0.92rem;
	color: var(--ah-text-2);
	margin-block-start: 28px !important;
}
.ah-note strong { color: var(--ah-navy-deep); }
.ah-section-alt .ah-note { background: var(--ah-panel); }

/* ===== Botões ===== */
.wp-element-button, .wp-block-button__link { transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.wp-block-button.is-style-ah-accent .wp-block-button__link { background: var(--ah-green); color: var(--ah-navy-deep); }
.wp-block-button.is-style-ah-accent .wp-block-button__link:hover { background: var(--ah-green-deep); color: #fff; }
.wp-block-button.is-style-ah-ghost .wp-block-button__link { background: transparent; color: var(--ah-navy-deep); border-color: var(--ah-border); }
.wp-block-button.is-style-ah-ghost .wp-block-button__link:hover { border-color: var(--ah-navy); background: transparent; color: var(--ah-navy-deep); }
.wp-block-button.is-style-ah-ghost-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.wp-block-button.is-style-ah-ghost-light .wp-block-button__link:hover { border-color: #fff; background: transparent; }

/* ===== Cabeçalho ===== */
.ah-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--ah-border);
}
/* O desfoque fica numa camada própria: aplicado direto no cabeçalho, ele
   prenderia o menu do celular (position: fixed) dentro do cabeçalho. */
.ah-site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(246, 248, 249, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.admin-bar .ah-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .ah-site-header { top: 0; } }
.ah-header-inner { min-height: 84px; gap: 24px; }
.ah-logo { margin: 0; flex-shrink: 0; }
.ah-logo img { height: 34px; width: auto; display: block; }
.ah-nav { flex: 1; }
.ah-nav .wp-block-navigation__container { gap: 22px; }
.ah-nav .wp-block-navigation-item__content { position: relative; padding: 4px 0; color: var(--ah-text); }
.ah-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: -2px;
	height: 2px;
	background: var(--ah-green);
	transition: right 0.2s ease;
}
.ah-nav .wp-block-navigation-item__content:hover::after,
.ah-nav .current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.ah-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--ah-navy-deep); }
.ah-header-cta { flex-shrink: 0; }

/* Menu "hambúrguer" até 900px (o padrão do WordPress seria só até 600px) */
@media (max-width: 899px) {
	.ah-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ah-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.ah-nav { justify-content: flex-end; }
	.ah-header-cta { display: none !important; }
}
.ah-nav .wp-block-navigation__responsive-container-open,
.ah-nav .wp-block-navigation__responsive-container-close {
	border: 1px solid var(--ah-border);
	border-radius: 4px;
	padding: 8px;
	color: var(--ah-navy-deep);
}
.ah-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--ah-bg) !important;
	color: var(--ah-text) !important;
	padding: 24px clamp(16px, 4vw, 32px);
}
.ah-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.ah-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; }
.ah-nav .is-menu-open .wp-block-navigation__container { gap: 20px; font-size: 1.25rem; padding-top: 24px; }
.ah-nav .is-menu-open .wp-block-navigation-item__content { padding: 6px 0; }

/* ===== Hero e cabeçalhos azuis ===== */
.ah-hero, .ah-page-header, .ah-cta, .ah-stat-band {
	position: relative;
	overflow: hidden;
	color: #fff;
}
.ah-hero, .ah-page-header, .ah-cta { background: var(--ah-navy); }
.ah-hero::before, .ah-page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--ah-grid);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
	pointer-events: none;
}
.ah-hero > *, .ah-page-header > * { position: relative; z-index: 1; }
.ah-hero :where(h1, h2, h3), .ah-page-header :where(h1, h2, h3, .wp-block-post-title, .wp-block-query-title),
.ah-cta :where(h1, h2, h3) { color: #fff; }
.ah-hero p:not(.ah-eyebrow), .ah-page-header p:not(.ah-eyebrow), .ah-page-header .wp-block-term-description,
.ah-cta p { color: var(--ah-light-text); }
.ah-page-header .wp-block-post-date, .ah-page-header .ah-post-terms, .ah-page-header .ah-post-terms a { color: var(--ah-green); font-size: 0.82rem; }

.ah-hero { padding-block: 80px 96px; }
.ah-hero-columns { gap: 48px; }
.ah-hero .wp-block-buttons { margin-block-start: 2em !important; }
.ah-hero-art {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ah-hero-art::before, .ah-hero-art::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.ah-hero-art::before { inset: 6%; border: 1px solid rgba(255,255,255,0.14); }
.ah-hero-art::after { inset: 20%; border: 1px dashed rgba(119,201,0,0.45); animation: ah-spin 60s linear infinite; }
.ah-hero-mark { margin: 0; width: 78%; position: relative; z-index: 1; }
.ah-hero-mark img { width: 100%; filter: brightness(0) invert(1); opacity: 0.94; }
@keyframes ah-spin { to { transform: rotate(360deg); } }
@media (max-width: 781px) {
	.ah-hero { padding-block: 64px 72px; }
	.ah-hero-art { display: none !important; }
}

.ah-page-header { padding-block: 64px 56px; }
.ah-page-header .wp-block-buttons { margin-block-start: 1.8em !important; }

/* ===== Seções ===== */
.ah-section { padding-block: 88px; }
.ah-section-alt { background: var(--ah-bg-alt); }
@media (max-width: 781px) { .ah-section { padding-block: 64px; } }

.ah-section-head { margin-block-end: 48px !important; }
.ah-section-head > * { max-width: 680px; }
.ah-section-head p:not(.ah-eyebrow) { color: var(--ah-text-2); }
.ah-section-head.is-centered { text-align: center; }
.ah-section-head.is-centered > * { margin-inline: auto; }
.ah-section-head.is-centered .ah-eyebrow { justify-content: center; }

p { color: inherit; }
.ah-section p:not([class]), .ah-card p, .ah-pillar p { color: var(--ah-text-2); }

/* ===== Pilares ===== */
.ah-pillars.ah-pillars { gap: 0; border-top: 1px solid var(--ah-border); }
.ah-pillar { padding: 34px 30px; border-right: 1px solid var(--ah-border); }
.ah-pillar:first-child { padding-left: 0; }
.ah-pillar:last-child { border-right: 0; }
.ah-pillar.ah-pillar > * { margin-block: 0; }
.ah-pillar h3 { margin-block: 0 0.5em !important; }
.ah-pillar p { font-size: 0.95rem; }
.ah-pillar-index { font-family: var(--ah-display); font-size: 0.78rem; font-weight: 600; color: var(--ah-green-deep); margin-block-end: 14px !important; }
@media (max-width: 781px) {
	.ah-pillar { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--ah-border); }
}

/* ===== Cards ===== */
.ah-card-grid.ah-card-grid {
	gap: 1px;
	background: var(--ah-border);
	border: 1px solid var(--ah-border);
}
@media (max-width: 781px) { .ah-card-grid.ah-card-grid { grid-template-columns: minmax(0, 1fr); } }
.ah-card {
	background: var(--ah-panel);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ah-card.ah-card > * { margin-block: 0; }
.ah-card h3 { margin: 0; }
.ah-card p { font-size: 0.94rem; }
.ah-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--ah-text-2); font-size: 0.9rem; }
.ah-card li { margin-bottom: 4px; }
.ah-card-cta { font-size: 0.88rem; font-weight: 600; }
.ah-card .ah-card-cta { margin-top: auto !important; padding-top: 14px; }
.ah-card-cta a { color: var(--ah-navy-soft); text-decoration: none; }
.ah-card-cta a:hover { color: var(--ah-green-deep); }
.ah-after-grid { margin-block-start: 36px !important; }

/* ===== Faixa de números ===== */
.ah-stat-band { background: var(--ah-navy-deep); padding-block: 56px; }
.ah-stats.ah-stats { gap: 24px; }
.ah-stat { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 22px; }
.ah-stat.ah-stat > * { margin-block: 0; }
.ah-stat-num { font-family: var(--ah-display); font-size: 2.4rem; line-height: 1.1; color: var(--ah-green); margin-block-end: 6px !important; }
.ah-stat p:not(.ah-stat-num) { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
@media (max-width: 781px) {
	.ah-stat { border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); padding: 16px 0 0; }
}

/* ===== Academy e Produtos (2 cards) ===== */
.ah-paths.ah-paths { gap: 24px; }
.ah-path-card {
	background: var(--ah-panel);
	border: 1px solid var(--ah-border);
	border-top: 3px solid var(--ah-green);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.ah-path-card:hover { border-color: var(--ah-navy-soft); border-top-color: var(--ah-green); transform: translateY(-2px); }
.ah-path-card.ah-path-card > * { margin-block: 0; }
.ah-path-card .ah-card-cta { margin-top: auto !important; padding-top: 8px; }

/* ===== Caixa com botão ===== */
.ah-banner.ah-banner {
	background: var(--ah-panel);
	border: 1px solid var(--ah-border);
	padding: 40px;
	gap: 32px;
}
.ah-banner p:not(.ah-eyebrow) { color: var(--ah-text-2); }
.ah-banner-action .wp-block-buttons { justify-content: flex-end; }
@media (max-width: 781px) {
	.ah-banner.ah-banner { padding: 28px 22px; }
	.ah-banner-action .wp-block-buttons { justify-content: flex-start; }
}

/* ===== Texto + imagem ===== */
.ah-split.ah-split { gap: 56px; }
.ah-framed img { border: 1px solid var(--ah-border); padding: 40px; background: #fff; }
.ah-portrait img { border: 1px solid var(--ah-border); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.ah-check-list, .wp-block-list.is-style-ah-check { list-style: none; padding: 0; margin-block-start: 24px; }
.ah-check-list li, .is-style-ah-check li {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ah-border);
	color: var(--ah-text-2);
	font-size: 0.95rem;
	break-inside: avoid;
}
.ah-check-list li::before, .is-style-ah-check li::before {
	content: "";
	width: 6px; height: 6px;
	margin-top: 9px;
	background: var(--ah-green);
	flex-shrink: 0;
}
.ah-two-cols { columns: 2; column-gap: 40px; }
@media (max-width: 781px) { .ah-two-cols { columns: 1; } }

/* ===== Processo ===== */
.ah-process { border-top: 1px solid var(--ah-border); }
.ah-process.ah-process > * { margin-block: 0; }
.ah-process-item {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 24px;
	padding: 26px 0;
	border-bottom: 1px solid var(--ah-border);
}
.ah-process-item.ah-process-item > *, .ah-step-body.ah-step-body > * { margin-block: 0; }
.ah-step-body h3 { margin-block-end: 6px !important; }
.ah-step { font-family: var(--ah-display); color: var(--ah-muted); font-size: 0.85rem; }
@media (max-width: 781px) { .ah-process-item { grid-template-columns: 50px 1fr; gap: 12px; } }

/* ===== Perguntas frequentes ===== */
.ah-faq { max-width: 860px; margin-inline: auto !important; border-top: 1px solid var(--ah-border); }
.ah-faq.ah-faq > * { margin-block: 0; }
.ah-faq .wp-block-details { border-bottom: 1px solid var(--ah-border); }
.ah-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 40px 20px 0;
	position: relative;
	font-family: var(--ah-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--ah-navy-deep);
}
.ah-faq summary::-webkit-details-marker { display: none; }
.ah-faq summary::marker { content: ""; }
.ah-faq summary::after {
	content: "+";
	position: absolute;
	right: 4px; top: 16px;
	font-size: 1.4rem;
	color: var(--ah-green-deep);
	transition: transform 0.2s ease;
}
.ah-faq details[open] summary::after { transform: rotate(45deg); }
.ah-faq details > :not(summary) { margin: 0 0 20px; color: var(--ah-text-2); }
.ah-faq details a { text-decoration: underline; }

/* ===== Chamada final ===== */
.ah-cta { padding-block: 64px; text-align: center; }
.ah-cta p { max-width: 62ch; margin-inline: auto !important; }

/* ===== Carrossel ===== */
.ah-carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border: 1px solid var(--ah-border);
	background: var(--ah-panel);
}
.ah-carousel-track::-webkit-scrollbar { display: none; }
.ah-carousel-track.ah-carousel-track > *, .ah-carousel.ah-carousel > * { margin-block: 0; }
.ah-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	min-height: 380px;
}
.ah-slide.ah-slide > * { margin: 0; }
.ah-slide-art {
	background-color: var(--ah-navy);
	background-image: var(--ah-grid);
	background-size: 40px 40px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.ah-slide-art img { width: 100%; max-width: 420px; height: auto; }
.ah-slide-body {
	padding: 48px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}
.ah-slide-body.ah-slide-body > * { margin: 0; }
.ah-slide-body h3 { font-size: 1.6rem; }
.ah-slide-body p:not([class]) { color: var(--ah-text-2); }
.ah-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.ah-carousel-btn {
	width: 44px; height: 44px;
	border: 1px solid var(--ah-border);
	border-radius: 50%;
	background: var(--ah-panel);
	color: var(--ah-navy-deep);
	font-size: 1.1rem;
	cursor: pointer;
	transition: border-color 0.15s ease, opacity 0.15s ease;
}
.ah-carousel-btn:hover:not(:disabled) { border-color: var(--ah-navy); }
.ah-carousel-btn:disabled { opacity: 0.35; cursor: default; }
.ah-carousel-dots { display: flex; gap: 8px; }
.ah-carousel-dots button {
	width: 10px; height: 10px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: var(--ah-border);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}
.ah-carousel-dots button[aria-selected="true"] { width: 26px; background: var(--ah-green); }
@media (max-width: 781px) {
	.ah-slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.ah-slide-art { padding: 16px; aspect-ratio: 4 / 3; }
	.ah-slide-art img { max-width: 320px; }
	.ah-slide-body { padding: 26px 22px 30px; }
	.ah-slide-body h3 { font-size: 1.3rem; }
}
/* No editor, os slides aparecem um abaixo do outro para facilitar a edição */
.editor-styles-wrapper .ah-carousel-track { display: block; overflow: visible; border: 0; background: none; }
.editor-styles-wrapper .ah-slide { border: 1px solid var(--ah-border); background: var(--ah-panel); margin-block-end: 24px !important; }

/* ===== Contato ===== */
.ah-contact.ah-contact { gap: 48px; }
.ah-form-panel { background: var(--ah-panel); border: 1px solid var(--ah-border); padding: 40px; }
@media (max-width: 781px) { .ah-form-panel { padding: 26px 20px; } }
.ah-contact-info.ah-contact-info > * { margin-block-start: 0; }
.ah-contact-line { padding: 18px 0; border-bottom: 1px solid var(--ah-border); }
.ah-contact-line.ah-contact-line > * { margin: 0; }
.ah-label { font-size: 0.78rem; color: var(--ah-muted); }
.ah-value { color: var(--ah-navy-deep); font-weight: 600; margin-top: 4px !important; }
.ah-value a { color: inherit; text-decoration: none; }
.ah-value a:hover { color: var(--ah-green-deep); }

.ah-form-row { margin-bottom: 20px; }
.ah-form-row label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ah-navy-deep); margin-bottom: 8px; }
.ah-form-row input, .ah-form-row select, .ah-form-row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ah-border);
	border-radius: 4px;
	font: inherit;
	font-size: 0.95rem;
	background: #fff;
	color: var(--ah-text);
	box-sizing: border-box;
}
.ah-form-row input:focus, .ah-form-row select:focus, .ah-form-row textarea:focus { border-color: var(--ah-navy-soft); box-shadow: 0 0 0 3px rgba(10,75,122,0.15); outline: none; }
.ah-form-row textarea { resize: vertical; min-height: 130px; }
.ah-optional { font-weight: 400; color: var(--ah-muted); }
.ah-consent { display: flex; gap: 10px; align-items: flex-start; }
.ah-consent input { width: auto; margin-top: 4px; flex-shrink: 0; }
.ah-consent label { font-weight: 400; font-size: 0.85rem; color: var(--ah-text-2); margin: 0; }
.ah-consent a { text-decoration: underline; }
.ah-hp { position: absolute !important; left: -9999px; }
.ah-submit { cursor: pointer; }
.ah-submit:disabled { opacity: 0.7; cursor: wait; }
.ah-form-status { font-size: 0.9rem; margin: 14px 0 0; display: none; }
.ah-form-status.is-ok { color: var(--ah-green-deep); display: block; }
.ah-form-status.is-err { color: #b03a2e; display: block; }

/* ===== Rodapé ===== */
.ah-footer { background: var(--ah-navy-deep); color: rgba(255,255,255,0.7); padding-block: 56px 28px; }
.ah-footer-grid.ah-footer-grid { gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ah-footer-logo { margin: 0 0 16px !important; }
.ah-footer-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.ah-footer p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.ah-footer .ah-footer-title { color: #fff; font-size: 0.85rem; font-weight: 600; margin-block-end: 16px !important; }
.ah-footer-links { list-style: none; padding: 0; margin: 0; }
.ah-footer-links li { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 10px; }
.ah-footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; }
.ah-footer-links a:hover { color: var(--ah-green); }
.ah-footer-bottom { padding-top: 24px; font-size: 0.82rem; }
.ah-footer .ah-footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 0; }

/* ===== Blog ===== */
.ah-post-grid.ah-post-grid { gap: 24px; }
@media (max-width: 781px) { .ah-post-grid.ah-post-grid { grid-template-columns: minmax(0, 1fr); } }
.ah-post-card { padding: 0 0 24px; border: 1px solid var(--ah-border); overflow: hidden; height: 100%; }
.ah-post-card > :not(.wp-block-post-featured-image) { padding-inline: 24px; }
.ah-post-card .wp-block-post-featured-image { margin: 0 0 8px; }
.ah-post-card .wp-block-post-title { font-size: 1.15rem; }
.ah-post-card .wp-block-post-title a { color: var(--ah-navy-deep); text-decoration: none; }
.ah-post-card .wp-block-post-title a:hover { color: var(--ah-navy-soft); }
.ah-post-card .wp-block-post-excerpt__more-link { font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.wp-block-query-pagination { margin-top: 40px !important; gap: 12px; }
.ah-prose-section { padding-block: 56px 88px; }
.ah-prose h2 { margin-block-start: 2em; }
.ah-prose a { text-decoration: underline; }
.ah-featured { margin-block-end: 32px; }
.ah-search { max-width: 520px; margin-block-start: 24px !important; }
.ah-search .wp-block-search__input { border: 0; border-radius: 4px 0 0 4px; padding: 12px 14px; }
.ah-search .wp-block-search__button { background: var(--ah-green); color: var(--ah-navy-deep); border: 0; margin-left: 0; }

/* ===== WhatsApp e aviso de privacidade ===== */
.ah-whatsapp {
	position: fixed;
	right: 24px; bottom: 24px;
	z-index: 200;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.25);
	transition: transform 0.15s ease;
}
.ah-whatsapp:hover { transform: scale(1.06); }
@media (max-width: 781px) { .ah-whatsapp { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

.ah-cookie {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 300;
	background: var(--ah-navy-deep);
	color: #fff;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.ah-cookie p { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.86rem; max-width: 760px; }
.ah-cookie a { color: #fff; text-decoration: underline; }
.ah-cookie button { background: var(--ah-green); color: var(--ah-navy-deep); border: 0; flex-shrink: 0; }
.ah-cookie button:hover { background: var(--ah-green-deep); color: #fff; }
@media (max-width: 640px) { .ah-cookie { flex-direction: column; align-items: flex-start; padding: 16px 20px; } }

/* ===== Animação de entrada (só no site, respeita "reduzir movimento") ===== */
.ah-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ah-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html, .ah-carousel-track { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ah-reveal { opacity: 1; transform: none; }
}
