/*
Theme Name: FPCP
Theme URI: https://fpcp.pt
Author: BW
Description: Tema da Federação Portuguesa de Concessionários de Praia, com a identidade do manual de marca e da revista PRAIA.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fpcp
*/

:root {
	--navy: #1B1643;
	--sea: #2F307A;
	--royal: #194B95;
	--sky: #AED1EE;
	--mist: #CFE9F7;
	--sand: #FFFCE2;
	--ink: #1B1643;
	--muted: #4F5379;
	--line: #E1E9F2;
	--soft: #F3F8FC;
	--white: #FFFFFF;
	--f-display: "Jost", "Futura PT", Futura, "Helvetica Neue", Arial, sans-serif;
	--f-body: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--f-mast: "Abhaya Libre", Georgia, serif;
	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(56px, 7vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--royal); }
a:hover { color: var(--sea); }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: var(--section); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Títulos ao estilo da revista */
.eyebrow { font-family: var(--f-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.title-2 { font-size: clamp(32px, 3.4vw, 48px); color: var(--sea); line-height: 1.08; }
.title-2 .lt { color: var(--royal); font-weight: 300; opacity: .82; }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.2; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--sea); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy); }
.btn--ghost-light { border-color: var(--white); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--sea); color: var(--sea); }
.btn--outline:hover { background: var(--sea); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 500; text-decoration: none; color: var(--royal); }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Barra de topo */
.topbar { background: var(--navy); color: var(--mist); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar a { color: var(--mist); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar__reserved { display: inline-flex; align-items: center; gap: 6px; color: var(--white) !important; }
@media (max-width: 760px) { .topbar__claim { display: none; } .topbar__inner { justify-content: flex-end; } }

/* Cabeçalho */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: clamp(68px, 6vw, 86px); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: clamp(40px, 3.6vw, 52px); width: auto; display: block; }
.nav-primary { flex: 1; display: flex; justify-content: center; }
.nav-primary .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-primary .menu > li { position: relative; }
.nav-primary .menu > li > a { display: block; padding: 10px 11px; font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.nav-primary .menu > li > a:hover, .nav-primary .menu > li.current-menu-item > a, .nav-primary .menu > li.current-menu-ancestor > a, .nav-primary .menu > li.current-page-ancestor > a { color: var(--royal); }
.nav-primary .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(27, 22, 67, .12); display: none; z-index: 60; }
.nav-primary .menu > li:hover > .sub-menu, .nav-primary .menu > li:focus-within > .sub-menu { display: block; }
.nav-primary .sub-menu a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 15.5px; border-radius: 4px; }
.nav-primary .sub-menu a:hover, .nav-primary .sub-menu .current-menu-item > a { background: var(--soft); color: var(--royal); }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 44px; height: 44px; border: 1px solid #D5DFEA; border-radius: 999px; background: var(--white); color: var(--sea); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--sea); }
.menu-toggle { display: none; }
@media (max-width: 1180px) {
	.nav-primary { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__inner { justify-content: space-between; }
}
.search-panel { border-top: 1px solid var(--line); background: var(--soft); padding-block: 18px; }
.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form__field { flex: 1; min-width: 0; }
.search-form input[type=search] { width: 100%; height: 48px; border: 1px solid #C9D6E4; padding: 0 16px; font: inherit; color: var(--ink); background: var(--white); }
.mobile-panel { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - 80px); overflow-y: auto; }
.mobile-panel .menu-mobile { list-style: none; margin: 0; padding: 12px 0 8px; }
.mobile-panel .menu-mobile > li { border-bottom: 1px solid var(--line); }
.mobile-panel .menu-mobile > li > a { display: block; padding: 14px 0; font-family: var(--f-display); font-weight: 500; font-size: 19px; color: var(--ink); text-decoration: none; }
.mobile-panel .sub-menu { list-style: none; margin: 0 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--mist); }
.mobile-panel .sub-menu a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: 16px; }
.mobile-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 0 24px; }

/* Hero da página inicial */
.hero { position: relative; min-height: clamp(560px, 58vw, 780px); display: flex; align-items: flex-end; background: var(--navy); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(32px, 5vw, 72px); }
.hero__panel { max-width: 660px; background: var(--royal); color: var(--white); padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.hero__panel .eyebrow { color: var(--sky); }
.hero__title { font-weight: 300; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.01em; }
.hero__title span { display: block; color: var(--sky); }
.hero__text { font-size: clamp(17px, 1.3vw, 19px); color: #E3EEF9; max-width: 52ch; }
.hero__credit { position: absolute; right: clamp(12px, 2vw, 28px); bottom: 12px; font-size: 12px; color: var(--white); background: rgba(27, 22, 67, .55); padding: 3px 9px; }
@media (max-width: 700px) {
	.hero { display: block; min-height: 0; background: var(--royal); }
	.hero__img { position: relative; height: 300px; }
	.hero__inner { padding: 0; }
	.hero__panel { max-width: none; }
	.hero__credit { top: 270px; bottom: auto; right: 8px; font-size: 11px; }
}

/* Números */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--sky); padding-left: 18px; }
.stat__n { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px, 3.6vw, 54px); line-height: 1; color: var(--sea); font-variant-numeric: tabular-nums; }
.stat__l { font-size: 15px; color: var(--muted); }
.stats__source { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* Áreas de atuação */
.bg-soft { background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card-service { background: var(--white); border: 1px solid #DCE6F0; padding: 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.card-service:hover { border-color: var(--royal); color: var(--ink); transform: translateY(-2px); }
.card-service__icon { width: 48px; height: 48px; border-radius: 999px; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; }
.card-service__title { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.card-service__text { font-size: 15.5px; color: var(--muted); }
.card-service--cta { background: var(--royal); border-color: var(--royal); color: var(--white); justify-content: space-between; gap: 24px; }
.card-service--cta:hover { color: var(--white); background: var(--sea); }
.card-service--cta .card-service__title { font-weight: 400; font-size: 24px; }
.card-service--cta .link-arrow { color: var(--sky); }

/* Dossiê */
.dossier { background: var(--royal); color: var(--white); }
.dossier__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
.dossier__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.dossier .eyebrow { color: var(--sky); }
.dossier__title { font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.dossier__title span { display: block; color: var(--sky); }
.dossier__text { font-size: 18px; color: #E3EEF9; max-width: 56ch; }
.dossier .link-arrow { color: var(--white); }
.dossier__quote { flex: 1 1 360px; min-width: 0; margin: 0; border-top: 1px solid rgba(174, 209, 238, .5); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.dossier__quote-mark { font-family: var(--f-display); font-weight: 300; font-size: 88px; line-height: .6; color: var(--sky); height: 40px; }
.dossier__quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.dossier__quote figcaption { font-size: 14.5px; color: var(--sky); }

/* Notícias */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 28px; }
.news-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.news-card:hover { color: var(--ink); }
.news-card:hover .news-card__title { color: var(--royal); }
.news-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--mist); }
.news-card__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.tag { background: var(--mist); color: var(--navy); padding: 2px 10px; border-radius: 999px; font-family: var(--f-display); font-weight: 500; font-size: 13px; }
.news-card__title { font-family: var(--f-display); font-weight: 500; font-size: 21px; line-height: 1.25; transition: color .15s; }
.news-card__excerpt { font-size: 15.5px; color: var(--muted); }

/* Rede */
.network { background: var(--mist); }
.network__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: center; }
.network__main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.network .eyebrow { color: var(--sea); }
.network__text { font-size: 18px; color: #2C2F5E; }
.regions { border-top: 1px solid #9FC4E4; }
.region { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid #9FC4E4; flex-wrap: wrap; }
.region__name { font-family: var(--f-display); font-weight: 500; font-size: 18px; min-width: 190px; }
.region__name span { font-weight: 400; color: var(--royal); }
.region__list { flex: 1 1 240px; font-size: 15px; color: #2C2F5E; }
.network__map { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.network__map svg { width: 100%; max-width: 470px; height: auto; }

/* Revista */
.magazine__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
.magazine__cover-wrap { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cover { position: relative; aspect-ratio: 210 / 297; width: 100%; overflow: hidden; background: var(--royal); box-shadow: 0 18px 40px rgba(27, 22, 67, .18); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__top { position: absolute; top: 0; left: 0; right: 0; padding: 26px 26px 0; display: flex; justify-content: space-between; align-items: flex-start; color: var(--white); }
.cover__mast { font-family: var(--f-mast); font-weight: 700; font-size: clamp(48px, 5vw, 64px); line-height: .9; letter-spacing: .04em; }
.cover__issue { font-family: var(--f-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: right; padding-top: 8px; }
.cover__foot { position: absolute; left: 26px; right: 26px; bottom: 24px; font-family: var(--f-display); font-size: 13px; color: var(--white); line-height: 1.35; }
.note { font-size: 12.5px; color: var(--muted); }
.magazine__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.toc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc-list__label { font-family: var(--f-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 0 6px; }
.toc-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

/* Agenda e parceiros */
.split { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); }
.split > * { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.title-3 { font-size: clamp(28px, 2.6vw, 36px); color: var(--sea); }
.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; gap: 18px; align-items: center; }
.event__date { width: 76px; flex: none; background: var(--mist); color: var(--navy); text-align: center; padding: 10px 0; font-family: var(--f-display); line-height: 1.1; }
.event__date--hi { background: var(--royal); color: var(--white); }
.event__m { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.event__date--hi .event__m { color: var(--sky); }
.event__d { font-size: 22px; }
.event__title { font-family: var(--f-display); font-weight: 500; font-size: 18px; display: block; }
.event__place { font-size: 15px; color: var(--muted); }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner { border: 1px solid #DCE6F0; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 12px; }
.partner__name { font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.partner__role { font-size: 12.5px; color: var(--muted); }

/* Aderir e newsletter */
.join { background: var(--sand); }
.join__inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.join__main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.join__text { font-size: 18px; color: #3B3F6B; max-width: 54ch; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; }
.checks svg { flex: none; margin-top: 3px; color: var(--royal); }
.newsletter { flex: 1 1 380px; min-width: 0; background: var(--white); border: 1px solid #EFE7B5; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.newsletter h3 { font-weight: 500; font-size: 22px; }
.newsletter p { font-size: 15.5px; color: var(--muted); }
.field-label { font-size: 14px; font-weight: 600; }
.field { height: 48px; border: 1px solid #C9D6E4; padding: 0 14px; font: inherit; color: var(--ink); width: 100%; }
.check-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check-label input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.btn-block { height: 48px; background: var(--royal); color: var(--white); border: 0; font-family: var(--f-display); font-weight: 500; font-size: 16px; cursor: pointer; }
.btn-block:hover { background: var(--sea); }
.btn-block:disabled { opacity: .55; cursor: not-allowed; }

/* Formulários */
.fpcp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fpcp-form-wrap { scroll-margin-top: 120px; }
.fpcp-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.fpcp-form legend { font-family: var(--f-display); font-weight: 500; font-size: 20px; color: var(--sea); margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.fpcp-form .field { font-family: var(--f-body); font-size: 16px; background: var(--white); border-radius: 0; }
.fpcp-form .field:focus { outline: 3px solid var(--sky); outline-offset: 0; border-color: var(--royal); }
.field--area { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; line-height: 1.5; }
.check-group { display: flex; flex-direction: column; gap: 10px; }
.check-group--row { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
.fpcp-form .check-label { font-size: 15.5px; color: var(--ink); line-height: 1.45; margin-top: 12px; }
.check-group .check-label { margin-top: 0; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 24px 0 0; }
.form-msg { padding: 16px 20px; margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
.form-msg--ok { background: #E3F4EA; border: 1px solid #9FD3B2; color: #14532D; }
.form-msg--erro { background: #FDECEC; border: 1px solid #F2B8B8; color: #7F1D1D; }
.fpcp-form--news { display: flex; flex-direction: column; gap: 14px; }
.fpcp-form--news .check-label { margin-top: 0; }
.prose .fpcp-form-wrap { max-width: 760px; }
.prose .form-actions .btn { color: var(--white); }

/* Leitor da revista */
.reader { background: var(--navy); color: var(--white); padding: 16px clamp(12px, 2vw, 24px) 18px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 110px; }
.reader__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.reader__title { font-family: var(--f-display); font-weight: 500; font-size: 17px; }
.reader .icon-btn { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .35); }
.reader .icon-btn:hover { border-color: var(--white); }
.reader__nav { display: flex; align-items: center; gap: 10px; }
.reader__count { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 150px; text-align: center; }
.reader__tools { display: flex; gap: 10px; align-items: center; }
.reader .reader__pdf, .prose .reader .reader__pdf { color: var(--white); background: var(--royal); }
.reader .reader__pdf:hover { background: var(--sea); }
.reader__stage { display: flex; justify-content: center; }
.reader__book { width: 100%; max-width: min(1100px, calc((100vh - 230px) * 1.414)); margin: 0 auto; }
@media (max-width: 760px) { .reader__book { max-width: 100%; } }
.reader__page { background: var(--white); }
.reader__page img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; }
.reader__hint, .reader__nojs { font-size: 13px; color: var(--sky); text-align: center; margin: 0; }
.reader__nojs a { color: var(--white); }
.reader:fullscreen { justify-content: center; padding: 16px 24px; }
.reader:fullscreen .reader__book { max-width: calc((100vh - 140px) * 1.414); }
@media (max-width: 600px) { .reader__count { min-width: 0; } .reader__title { width: 100%; } .reader__hint { display: none; } }
.prose:has(.reader) { max-width: none; }
.page-layout:has(.reader) .page-layout__aside { display: none; }

/* Rodapé */
.site-footer { background: var(--navy); color: var(--mist); }
.site-footer__inner { padding-top: clamp(48px, 5vw, 72px); padding-bottom: 28px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.site-footer__about { display: flex; flex-direction: column; gap: 16px; }
.site-footer__about img { height: 56px; width: auto; align-self: flex-start; }
.site-footer__about p { font-size: 14.5px; color: var(--sky); max-width: 32ch; }
.site-footer h2 { font-weight: 500; color: var(--white); font-size: 16px; padding-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom { border-top: 1px solid #34306A; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--sky); }
.site-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 18px; font-size: 13.5px; }
.site-footer__bottom a { color: var(--sky); }

/* Páginas interiores */
.page-hero { background: var(--royal); color: var(--white); }
.page-hero__inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero__title { font-weight: 300; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; max-width: 22ch; }
.page-hero__lede { font-size: 19px; color: #E3EEF9; max-width: 62ch; }
.breadcrumbs { font-size: 14px; color: var(--sky); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--sky); }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-body { padding-block: clamp(40px, 5vw, 80px); }
.page-layout { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.page-layout__content { flex: 999 1 560px; min-width: 0; }
.page-layout__aside { flex: 1 1 260px; min-width: 0; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 12px; }
.subnav { border: 1px solid var(--line); padding: 18px 20px; }
.subnav h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.subnav a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15.5px; }
.subnav li:last-child a { border-bottom: 0; }
.subnav a:hover, .subnav .is-current a { color: var(--royal); }
.subnav .is-current a { font-weight: 600; }

/* Texto editorial (conteúdo do editor de blocos) */
.prose { max-width: 72ch; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); color: var(--sea); margin-top: 1.8em; }
.prose h3 { font-size: 22px; font-weight: 500; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 18px; font-weight: 500; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote, .prose .wp-block-quote { margin-left: 0; margin-right: 0; border-left: 0; padding: 24px 28px; background: var(--sand); font-family: var(--f-display); font-weight: 300; font-size: 22px; line-height: 1.4; color: var(--navy); }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--f-body); font-size: 14px; font-style: normal; color: var(--muted); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-display); font-weight: 500; background: var(--soft); }
.prose .wp-block-table { overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose .wp-block-button__link { font-family: var(--f-display); font-weight: 500; border-radius: 999px; background: var(--sea); color: var(--white); padding: 13px 24px; text-decoration: none; }
.prose .has-drop-cap:not(:focus)::first-letter, .prose--article > p:first-of-type::first-letter { font-family: var(--f-display); float: left; font-size: 4.6em; line-height: .82; margin: 6px 12px 0 0; color: var(--royal); font-weight: 400; }
.prose .callout { background: var(--soft); border: 1px solid var(--line); padding: 20px 24px; }
.prose .timeline { list-style: none; padding: 0; border-left: 2px solid var(--sky); }
.prose .timeline li { padding: 0 0 18px 22px; position: relative; margin: 0; }
.prose .timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--royal); }
.prose .timeline strong { font-family: var(--f-display); font-weight: 500; color: var(--sea); font-size: 19px; display: block; }
.placeholder { background: #FFF6D6; border: 1px dashed #D9C46A; padding: 14px 18px; font-size: 15.5px; color: #5C4A00; }

.children { margin-top: clamp(40px, 5vw, 64px); }
.children__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* Artigo */
.article-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.article-hero__inner { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.article-hero__title { font-size: clamp(34px, 4vw, 54px); color: var(--sea); line-height: 1.08; }
.article-hero .breadcrumbs, .article-hero .breadcrumbs a { color: var(--muted); }
.article-hero .breadcrumbs li + li::before { color: var(--muted); }
.article-figure { margin: 0; }
.article-figure img { width: 100%; max-height: 640px; object-fit: cover; display: block; }
.article-figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.article-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Listagens */
.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; color: var(--ink); padding: 0 12px; }
.pagination .current { background: var(--sea); color: var(--white); border-color: var(--sea); }
.empty { padding: 32px; background: var(--soft); border: 1px solid var(--line); }

/* Utilitários WordPress */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-caption-text { font-size: 13.5px; color: var(--muted); }

@media (max-width: 600px) {
	body { font-size: 16.5px; }
	.prose { font-size: 17px; }
	.region__name { min-width: 0; width: 100%; }
	.partners { grid-template-columns: 1fr; }
}
