@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root {
  --cream: #f7f5f0;
  --navy: #142d40;
  --copper: #a7522b;
  --line: #dcd3c5;
  --muted: #58616a;
  --serif: 'Libre Caslon Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  border-top: 3px solid var(--copper);
  background: var(--cream);
  color: var(--navy);
  font: 16px/1.55 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--copper);
}
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 {
  font-size: clamp(42px, 4.65vw, 69px);
}
h2 {
  font-size: clamp(32px, 3.6vw, 47px);
  margin-bottom: 20px;
}
h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  height: 105px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  font-size: 39px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -2px;
  white-space: nowrap;
}
.logo span {
  color: var(--copper);
}
.header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  flex: 1;
}
.header nav a {
  font-size: 13px;
  white-space: nowrap;
}
.header nav a[aria-current] {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.search-link {
  display: flex;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 27px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero .lead {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 25px;
}
.hero-art {
  position: relative;
  isolation: isolate;
  margin-right: -14px;
}
.hero-art img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.orbit {
  position: absolute;
  border: 1px solid var(--copper);
  border-radius: 50%;
  width: 83%;
  height: 106%;
  top: -6%;
  left: 9%;
  z-index: -1;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  min-height: 54px;
  overflow: hidden;
}
.search-form > .icon {
  margin-left: 16px;
  color: var(--muted);
  width: 24px;
}
.search-form input {
  width: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 15px 12px;
  color: var(--navy);
}
.search-form input:focus-visible {
  outline-offset: -4px;
}
.search-form button,
.button {
  background: var(--navy);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
.search-form button:hover {
  background: #23475e;
}
.popular {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.popular > span {
  color: var(--muted);
}
.popular a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.discover {
  padding: 12px 0 24px;
}
.discover .eyebrow {
  margin-bottom: 7px;
}
.discover h2 {
  margin-bottom: 16px;
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.discovery-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px 24px;
  position: relative;
  min-height: 177px;
  transition: background 0.2s;
}
.discovery-card:hover {
  background: #eee7dc;
}
.discovery-card > .icon {
  width: 44px;
  height: 44px;
  color: var(--copper);
  margin-bottom: 12px;
}
.discovery-card h3 {
  font-size: 25px;
}
.discovery-card p {
  color: var(--muted);
  font-size: 14px;
  max-width: 190px;
  margin-bottom: 0;
  padding-right: 9px;
}
.arrow {
  position: absolute;
  bottom: 18px;
  right: 20px;
  font-size: 23px;
  color: var(--copper);
}
.history-band {
  background: var(--navy);
  color: var(--cream);
  padding: 27px 0;
  margin: 0 0 30px;
}
.history-grid {
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 25px;
  align-items: center;
}
.history-intro .eyebrow {
  color: #e29a64;
}
.history-intro h2 {
  font-size: 44px;
  line-height: 1.08;
  margin-bottom: 26px;
}
.button.copper {
  background: var(--copper);
  color: #fff;
}
.button.copper:hover {
  background: #874022;
}
.chapters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.chapter {
  border: 1px solid #667784;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chapter-art {
  height: 183px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #c9b797;
}
.chapter-art .icon {
  width: 65px;
  height: 65px;
  opacity: 0.7;
  color: var(--navy);
}
.chapter > span {
  font-family: Georgia, serif;
  font-size: 14px;
  padding: 12px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}
.chapter b {
  color: #e09a67;
  font: 22px var(--sans);
}
.chapter:hover {
  color: #fff;
  border-color: #d2aa86;
}
.press .chapter-art,
.radio .chapter-art {
  background-image:
    linear-gradient(#142d4010, #142d4020), url('/assets/img/hero.png');
  background-size: auto 240px;
  background-position: 20% center;
}
.radio .chapter-art {
  background-position: 45% bottom;
}
.press .icon,
.radio .icon {
  display: none;
}
.trade .chapter-art {
  background:
    repeating-linear-gradient(35deg, transparent 0 17px, #5c482d15 18px 19px),
    #c8b89a;
}
.digital .chapter-art {
  background:
    radial-gradient(circle at 70% 35%, #b8693f 0 10px, transparent 11px),
    radial-gradient(circle at 25% 65%, #bd7a50 0 7px, transparent 8px),
    linear-gradient(130deg, #102739, #477186);
}
.digital .icon {
  color: #e0ad80;
  opacity: 1;
  width: 84px;
  height: 84px;
}
.readings .eyebrow {
  margin-bottom: 7px;
}
.readings h2 {
  margin-bottom: 20px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.article-card {
  background: #ffffff60;
  display: block;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
}
.card-image {
  height: 205px;
  background-color: #e4dac9;
  background-image: url('/assets/img/hero.png');
  background-size: cover;
}
.card-image.history {
  background-position: 30% 80%;
}
.card-image.brand {
  background:
    linear-gradient(90deg, transparent 58%, #a7522b 58% 77%, transparent 77%),
    linear-gradient(
      90deg,
      #d9ccb7 7%,
      #f2ece0 7% 24%,
      #cbb596 24% 26%,
      #eee6d7 26% 50%,
      #f8f3e9 50% 83%,
      #b69d7e 83% 85%,
      #e3d5be 85%
    );
  background-size:
    80% 65%,
    100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 -20px 30px #7d674319;
}
.card-image.goals {
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, #86765b36 22px 23px),
    linear-gradient(115deg, #a3835f, #f1e6cd 24% 77%, #8b6741);
  position: relative;
}
.card-image.goals:after {
  content: 'Objetivo\A Público\A Proposta\A Canais\A Resultados';
  white-space: pre;
  position: absolute;
  left: 27%;
  top: 15%;
  font:
    italic 18px/1.65 Georgia,
    serif;
  transform: rotate(-7deg);
  color: #4e4538;
}
.card-text {
  padding: 15px 17px 20px;
}
.card-text .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.card-text h3 {
  font-size: 23px;
  display: flex;
  gap: 13px;
  justify-content: space-between;
  line-height: 1.16;
  margin: 0;
}
.card-text h3 span {
  color: var(--copper);
  font-family: var(--sans);
  font-size: 22px;
}
.dictionary-call {
  background: #ece4d7;
  margin-top: 24px;
  margin-bottom: 20px;
  border-radius: 4px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.dictionary-call > div {
  display: flex;
  align-items: center;
  gap: 32px;
}
.dictionary-call .icon {
  width: 64px;
  height: 51px;
  color: var(--copper);
  padding-right: 20px;
  border-right: 1px solid #c4b299;
  box-sizing: content-box;
}
.dictionary-call h2 {
  font-size: 33px;
  margin: 0;
}
.footer {
  border-top: 1px solid #c9977a;
  padding: 23px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
.footer > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer .logo {
  font-size: 27px;
  letter-spacing: -1.5px;
}
.footer > span {
  color: var(--muted);
}
.skip {
  position: fixed;
  left: 15px;
  top: -90px;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.interior {
  min-height: 65vh;
  padding-top: 24px;
  padding-bottom: 65px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 38px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-header {
  max-width: 820px;
  margin-bottom: 35px;
}
.section-header h1,
.article-header h1 {
  margin-bottom: 20px;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
}
.article-header {
  max-width: 1000px;
}
.metadata {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 30px 0 40px;
}
.status {
  background: #ece4d7;
  color: #7c3b1d;
  padding: 4px 9px;
  border-radius: 3px;
}
.print-button {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 13px;
  color: var(--navy);
}
.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: 65px;
}
.toc {
  align-self: start;
  position: sticky;
  top: 24px;
  border-left: 2px solid var(--line);
  padding-left: 22px;
}
.toc ol {
  padding-left: 18px;
}
.toc li {
  padding-bottom: 13px;
  font-size: 14px;
}
.prose {
  max-width: 740px;
  font-size: 18px;
  line-height: 1.85;
}
.prose section {
  margin-bottom: 38px;
}
.prose h2 {
  font-size: 35px;
  line-height: 1.12;
  margin-bottom: 17px;
}
.prose a,
.term a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.prose li {
  margin-bottom: 12px;
}
.related {
  margin-top: 55px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.notice {
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 30px;
  background: #eee7dc;
}
.notice h2 {
  font-size: 32px;
}
.notice p {
  margin-bottom: 0;
  color: var(--muted);
}
.terms {
  max-width: 850px;
}
.term {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.term h2 {
  font-size: 37px;
  margin-bottom: 10px;
}
.term p {
  font-size: 18px;
  color: var(--muted);
}
.section-header + .search-form {
  max-width: 780px;
}
.search-result {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  max-width: 800px;
}
.search-result h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.search-result p:last-child {
  color: var(--muted);
  margin: 0;
}
.result-count {
  margin-top: 30px;
}
.interior .article-grid {
  margin-bottom: 20px;
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .hero-art img {
    height: 450px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header {
    gap: 20px;
  }
  .header nav {
    gap: 16px;
  }
  .header nav a {
    font-size: 12px;
  }
  .logo {
    font-size: 34px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .popular {
    gap: 14px;
  }
  .history-grid {
    grid-template-columns: 30% 1fr;
    gap: 18px;
  }
  .history-intro h2 {
    font-size: 36px;
  }
  .chapter-art {
    height: 155px;
  }
  .dictionary-call h2 {
    font-size: 28px;
  }
  .dictionary-call > div {
    gap: 18px;
  }
  .discovery-card {
    padding: 18px;
  }
  .discovery-card h3 {
    font-size: 23px;
  }
}
@media (max-width: 900px) {
  .header {
    height: 85px;
    position: relative;
  }
  .header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--cream);
    z-index: 10;
    border: 1px solid var(--line);
    padding: 15px;
    box-shadow: 0 10px 20px #142d4010;
  }
  .header nav.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .header nav a {
    font-size: 16px;
    padding: 12px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid var(--line);
    padding: 7px 10px;
    background: transparent;
    color: var(--navy);
  }
  .menu-toggle span {
    padding-left: 7px;
  }
  .hero {
    gap: 20px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-art img {
    height: 350px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .search-form button {
    padding: 14px;
  }
  .popular {
    gap: 10px;
    flex-wrap: wrap;
  }
  .discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .history-grid {
    grid-template-columns: 1fr;
  }
  .history-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .history-intro .eyebrow {
    width: 100%;
    margin: 0;
  }
  .history-intro h2 {
    margin: 0;
  }
  .chapter-art {
    height: 160px;
  }
  .article-grid {
    gap: 14px;
  }
  .card-image {
    height: 170px;
  }
  .dictionary-call {
    padding: 20px;
  }
  .dictionary-call .icon {
    display: none;
  }
  .dictionary-call h2 {
    font-size: 29px;
  }
  .footer,
  .footer > div {
    flex-wrap: wrap;
  }
  .article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 30px;
  }
  .prose {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 78px;
    gap: 17px;
  }
  .logo {
    font-size: 31px;
  }
  .search-link .icon {
    width: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero .eyebrow {
    font-size: 11px;
  }
  .hero .lead {
    font-size: 18px;
  }
  .hero-art {
    margin-right: 0;
    margin-top: 0;
  }
  .hero-art img {
    height: auto;
    aspect-ratio: 1.5;
  }
  .orbit {
    height: 108%;
  }
  .popular {
    font-size: 11px;
    gap: 14px;
  }
  .popular > span {
    width: 100%;
  }
  .discover {
    padding-top: 20px;
  }
  .discover-grid {
    gap: 12px;
  }
  .discovery-card {
    padding: 18px 14px;
    min-height: 190px;
  }
  .discovery-card h3 {
    font-size: 24px;
  }
  .discovery-card p {
    font-size: 13px;
    padding-right: 4px;
  }
  .discovery-card > .icon {
    width: 36px;
    height: 36px;
  }
  .arrow {
    bottom: 7px;
    right: 12px;
  }
  .history-band {
    margin-top: 5px;
    padding: 24px 0;
  }
  .history-intro {
    display: block;
  }
  .history-intro .eyebrow {
    margin-bottom: 15px;
  }
  .history-intro h2 {
    font-size: 39px;
    margin-bottom: 22px;
  }
  .chapters {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .chapter-art {
    height: 145px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card-image {
    height: 220px;
  }
  .card-text h3 {
    font-size: 28px;
  }
  .readings h2 {
    font-size: 37px;
  }
  .dictionary-call {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    margin-top: 30px;
  }
  .dictionary-call h2 {
    font-size: 33px;
  }
  .footer {
    padding-top: 22px;
    gap: 19px;
  }
  .footer > div {
    gap: 14px;
  }
  .footer > div > span {
    width: 100%;
  }
  .footer > span {
    margin-left: auto;
  }
  .interior {
    padding-top: 15px;
    padding-bottom: 35px;
  }
  .breadcrumbs {
    margin-bottom: 27px;
  }
  .section-header h1,
  .article-header h1 {
    font-size: 46px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .toc {
    position: static;
  }
  .toc ol {
    columns: 1;
  }
  .prose {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 33px;
  }
  .metadata {
    gap: 12px;
  }
  .print-button {
    margin-left: 0;
  }
  .lead {
    font-size: 18px;
  }
  .related {
    margin-top: 35px;
  }
  .search-result h2 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  body {
    background: white;
    color: #000;
    border: 0;
    font:
      12pt/1.5 Georgia,
      serif;
  }
  .header,
  .footer,
  .toc,
  .related,
  .print-button,
  .skip,
  .breadcrumbs {
    display: none;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .interior {
    padding: 0;
  }
  .article-layout {
    display: block;
  }
  .article-header h1 {
    font-size: 30pt;
  }
  .prose {
    max-width: none;
    font-size: 12pt;
  }
  .prose h2 {
    font-size: 20pt;
    break-after: avoid;
  }
  .prose section {
    margin-bottom: 20pt;
  }
  .metadata {
    font-size: 9pt;
  }
  .prose a {
    color: #000;
  }
  .prose a:after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    overflow-wrap: anywhere;
  }
  .status {
    background: none;
  }
  .article-header {
    max-width: none;
  }
}

/* Página editorial de História: estilos limitados a esta secção. */
.expand {
  color: var(--copper);
  font: 30px/1 var(--sans);
  text-align: center;
}
.expand:before {
  content: '+';
}
details[open] > summary .expand:before {
  content: '−';
}
/* História: atlas de capítulos; os temas permanecem no HTML sem JavaScript. */
.history-page {
  padding-top: 24px;
  padding-bottom: 40px;
}
.history-atlas-intro {
  max-width: 980px;
  padding: 32px 0 48px;
}
.history-atlas-intro h1 {
  font-size: clamp(44px, 6.5vw, 86px);
  line-height: 1.06;
  margin: 0 0 28px;
}
.history-atlas-intro::after {
  content: '';
  display: block;
  width: 160px;
  border-bottom: 2px solid var(--copper);
  margin-top: 32px;
}
.history-lead {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.5;
  max-width: 65ch;
}
.history-context {
  color: var(--muted);
  max-width: 78ch;
}
.history-overview,
.history-chapter-readings a {
  color: var(--copper);
  text-underline-offset: 5px;
}
.history-overview {
  display: inline-flex;
  gap: 16px;
  padding-block: 12px;
}
.history-path,
.history-portugal {
  width: 100%;
  min-width: 0;
}
.history-path {
  padding-block: 12px 40px;
}
.history-path > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.history-path h2 {
  font: 700 13px/1.6 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin: 0;
}
.history-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}
.history-chapter-card {
  grid-column: span 4;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #faf8f3;
  display: flex;
  flex-direction: column;
}
.history-chapter-card:first-child {
  grid-column: span 7;
}
.history-chapter-card:nth-child(2) {
  grid-column: span 5;
}
.history-chapter-card > img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.history-chapter-card:nth-child(-n + 2) > img {
  height: 220px;
}
.history-chapter-card > div {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.history-chapter-card h3 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.history-chapter-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
}
.history-select,
.history-portugal-select {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--copper);
  color: var(--copper);
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.history-select {
  margin-top: auto;
}
.history-page a:focus-visible,
.history-page [tabindex='-1']:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 5px;
}
.history-themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-themes li {
  min-width: 0;
}
.history-theme-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  background: #faf8f3;
}
.history-theme-card > span:first-child {
  min-width: 0;
}
.history-theme-title {
  display: block;
  font: 26px/1.25 var(--serif);
  overflow-wrap: anywhere;
}
.history-theme-status {
  display: block;
  font: 12px/1.5 var(--sans);
  color: var(--muted);
  margin-top: 12px;
}
.history-theme-card > span:last-child {
  color: var(--copper);
  font-size: 24px;
}
.history-theme-card:hover {
  border-color: var(--copper);
}
.history-chapter-readings {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.history-portugal {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  margin-top: 20px;
}
.history-portugal-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 32px;
}
.history-portugal h2 {
  color: var(--copper);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.1;
  margin: 0 0 20px;
}
.history-portugal p {
  line-height: 1.5;
}
.history-portugal figure {
  margin: 0;
  min-width: 0;
}
.history-portugal img {
  width: 100%;
  height: auto;
}
.history-portugal figcaption {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.history-related {
  padding-block: 40px 0;
}
.history-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.history-related-grid > a {
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
  text-decoration: none;
}
.history-related-grid h3 {
  font-size: 25px;
  line-height: 1.2;
}
.history-related-grid > a > span {
  color: var(--copper);
}
@media (max-width: 1000px) {
  .history-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .history-gallery .history-chapter-card {
    grid-column: span 1;
  }
  .history-gallery .history-chapter-card > img {
    height: 180px;
  }
}
@media (max-width: 650px) {
  .history-gallery,
  .history-themes,
  .history-portugal-intro,
  .history-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .history-path > header {
    display: block;
  }
  .history-chapter-card > div,
  .history-theme-card {
    padding: 20px;
  }
  .history-theme-title {
    font-size: 24px;
  }
  .history-portugal {
    padding: 24px 20px;
  }
  .history-atlas-intro {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .history-page * {
    scroll-behavior: auto;
    transition: none;
  }
}
.history-topic .breadcrumbs {
  overflow-wrap: anywhere;
}
.history-topic-back a,
.history-article-returns a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  padding: 10px 0;
}
.history-topic-neighbours {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  max-width: 900px;
}
.history-topic-neighbours a {
  flex: 1;
  min-width: 0;
  font: 25px/1.25 var(--serif);
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.history-topic-neighbours span {
  display: block;
  font: 12px/1.5 var(--sans);
  color: var(--muted);
  margin-bottom: 8px;
}
.history-article-returns {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 25px;
}
.history-article-returns ul {
  padding-left: 20px;
}
.history-topic .notice {
  max-width: 820px;
}
.history-topic .notice p {
  font-size: 14px;
}
@media (max-width: 600px) {
  .history-topic-neighbours {
    flex-direction: column;
    gap: 8px;
  }
  .history-topic .breadcrumbs {
    font-size: 12px;
  }
}

/* Fundamentos: composição e expansões específicas da secção. */
.topic-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 30px;
}
.topic-hero h1 {
  font-size: clamp(44px, 4.6vw, 67px);
  margin-bottom: 20px;
}
.topic-hero .lead {
  max-width: 650px;
  margin-bottom: 24px;
}
.topic-hero img {
  width: 100%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
}
.fundamentals-page .button {
  white-space: normal;
  min-height: 48px;
}
.topic-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 20px 0 26px;
  gap: 20px;
}
.topic-quick a {
  display: flex;
  gap: 16px;
  align-items: center;
  font: 22px/1.2 var(--serif);
  border-right: 1px solid var(--line);
  padding: 8px 15px 8px 0;
}
.topic-quick a:last-child {
  border: 0;
}
.topic-quick span {
  font-size: 30px;
  color: var(--copper);
}
.topic-groups {
  padding-bottom: 28px;
  scroll-margin-top: 28px;
}
.fundamentals-instruction {
  color: var(--muted);
  margin-bottom: 20px;
}
.topic-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
  scroll-margin-top: 28px;
}
.topic-group summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 32px;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  min-height: 104px;
}
.topic-group summary::-webkit-details-marker {
  display: none;
}
.topic-number {
  font: 50px/1 var(--serif);
  color: var(--copper);
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.topic-group-title {
  display: block;
  font: clamp(27px, 3vw, 37px)/1.12 var(--serif);
  letter-spacing: -0.035em;
  margin-bottom: 6px;
}
.topic-group-description {
  display: block;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.45;
}
.topic-group .expand:before {
  content: '+';
}
.topic-group[open] > summary .expand:before {
  content: '−';
}
.topic-group summary:hover .topic-group-title {
  color: var(--copper);
}
.topic-group summary:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}
.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 28px 28px;
}
.topic-card {
  position: relative;
  min-width: 0;
  background: #ffffff85;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 54px 24px 26px;
  min-height: 126px;
}
.topic-card h3 {
  font-size: 29px;
  line-height: 1.18;
  margin-bottom: 14px;
}
.topic-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.topic-card-arrow {
  position: absolute;
  right: 22px;
  top: 28px;
  color: var(--copper);
  font-size: 26px;
}
.topic-start {
  background: var(--navy);
  color: var(--cream);
  padding: 30px 0;
}
.topic-start > .wrap {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.topic-start .eyebrow {
  color: #e5a276;
}
.topic-start h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  margin-bottom: 10px;
}
.topic-start p:last-child {
  margin: 0;
  color: #d4dce0;
}
.topic-start .button {
  flex-shrink: 0;
}
.topic-onward {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 24px 0;
}
.topic-onward > a {
  font: 23px/1.3 var(--serif);
  color: var(--copper);
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--line);
}
.topic-onward > a:last-child {
  border: 0;
}
.topic-onward span {
  display: block;
  font: 10px/1.5 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.topic-onward b {
  font: 22px var(--sans);
}
.fundamentals-back a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  padding: 12px 0;
}
.fundamentals-topic .breadcrumbs {
  overflow-wrap: anywhere;
}
.fundamentals-topic .notice {
  max-width: 820px;
}
.fundamentals-neighbours {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 900px;
}
.fundamentals-neighbours a {
  flex: 1;
  min-width: 0;
  font: 26px/1.25 var(--serif);
  padding: 10px 0;
}
.fundamentals-neighbours span {
  display: block;
  font: 12px/1.5 var(--sans);
  color: var(--muted);
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .topic-hero h1 {
    font-size: 48px;
  }
  .topic-quick {
    gap: 12px;
  }
  .topic-quick a {
    font-size: 19px;
    gap: 10px;
  }
  .topic-start > .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .topic-hero {
    grid-template-columns: 1fr;
    padding-top: 25px;
    gap: 20px;
  }
  .topic-hero h1 {
    font-size: 44px;
  }
  .topic-hero img {
    max-height: 300px;
  }
  .topic-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .topic-quick a:nth-child(2) {
    border: 0;
  }
  .topic-group summary {
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 13px;
    padding: 20px 16px;
  }
  .topic-number {
    font-size: 36px;
    padding-right: 12px;
  }
  .topic-group-title {
    font-size: 28px;
  }
  .topic-group-description {
    font-size: 15px;
  }
  .topic-cards {
    grid-template-columns: 1fr;
    padding: 0 16px 18px;
    gap: 14px;
  }
  .topic-card {
    padding: 22px 45px 22px 20px;
    min-height: 112px;
  }
  .topic-card h3 {
    font-size: 27px;
  }
  .topic-onward {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .topic-onward > a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .fundamentals-neighbours {
    flex-direction: column;
    gap: 10px;
  }
}
.fundamentals-topic-related {
  max-width: 820px;
  margin: 25px 0;
}
.fundamentals-topic-related h2 {
  font-size: 32px;
}
.fundamentals-topic-related a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  padding: 8px 0;
}

/* Estratégias reutiliza os grupos, cartões e regras responsivas de Fundamentos. */
.strategies-breadcrumbs {
  padding-top: 24px;
  margin-bottom: 0;
}
.strategies-hero {
  grid-template-columns: 1fr 1.1fr;
  padding-top: 20px;
}
.strategies-hero h1 {
  font-size: clamp(50px, 6.3vw, 86px);
  max-width: 540px;
}
.strategies-hero .lead {
  max-width: 490px;
  line-height: 1.45;
}
.strategies-hero img {
  max-height: 510px;
}
.strategies-page .button {
  white-space: normal;
  min-height: 48px;
}
.strategies-page .topic-quick {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding-block: 18px;
}
.strategies-page .topic-group-title {
  font-size: clamp(28px, 3vw, 39px);
}
.strategies-page .topic-group[open] > summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.strategies-page .topic-card {
  background: transparent;
}
.strategies-page .topic-card h3 {
  font-size: 28px;
}
.strategies-page .topic-card p {
  font-size: 13px;
  line-height: 1.5;
}
.strategies-page .strategies-featured {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  padding-right: 26px;
}
.strategies-page .strategies-featured p {
  color: #e1d8cc;
  font-size: 12px;
  max-width: 280px;
}
.strategies-featured:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.strategies-read {
  display: block;
  text-align: right;
  margin-top: 12px;
  font: 21px/1.3 var(--serif);
  color: var(--cream);
}
.strategies-start > .wrap {
  gap: 30px;
}
.strategies-start > .wrap > div {
  flex: 1;
}
.strategies-start h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}
.strategies-start p:last-of-type {
  margin-bottom: 22px;
  color: var(--cream);
}
.strategies-start img {
  width: 38%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.strategies-page .strategies-onward {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.strategies-topic .breadcrumbs {
  overflow-wrap: anywhere;
}
.strategies-topic .notice {
  max-width: 820px;
}
.strategies-back a,
.strategies-related a {
  display: inline-block;
  padding: 10px 0;
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.strategies-related {
  max-width: 820px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 25px;
}
.strategies-related h2 {
  font-size: 34px;
}
.strategies-related ul {
  padding-left: 22px;
}
@media (max-width: 900px) {
  .strategies-start > .wrap {
    flex-direction: row;
    align-items: center;
  }
  .strategies-start img {
    width: 32%;
  }
  .strategies-hero h1 {
    font-size: 58px;
  }
}
@media (max-width: 600px) {
  .strategies-hero {
    grid-template-columns: 1fr;
  }
  .strategies-hero h1 {
    font-size: 52px;
  }
  .strategies-hero img {
    max-height: 320px;
  }
  .strategies-page .topic-group-title {
    font-size: 28px;
  }
  .strategies-page .topic-card h3 {
    font-size: 26px;
  }
  .strategies-start > .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .strategies-start img {
    width: 100%;
    max-height: 200px;
  }
  .strategies-page .strategies-onward {
    grid-template-columns: 1fr;
  }
  .strategies-page .topic-quick {
    margin-bottom: 24px;
  }
  .strategies-page .topic-group-description {
    overflow-wrap: anywhere;
  }
}

/* Canais e ferramentas reutiliza os componentes expansíveis aprovados. */
.channels-hero h1 {
  font-size: clamp(43px, 4.7vw, 65px);
  max-width: 650px;
}
.channels-hero {
  grid-template-columns: 1.1fr 1fr;
}
.channels-hero .lead {
  max-width: 570px;
  line-height: 1.5;
}
.channels-hero img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}
.channels-page .topic-group-title {
  font-size: clamp(27px, 2.7vw, 36px);
}
.channels-page .topic-card {
  background: #ffffff85;
  min-height: 110px;
  padding-block: 22px;
}
.channels-page .topic-card h3 {
  font-size: 27px;
  margin-bottom: 10px;
}
.channels-page .topic-card p {
  font-size: 14px;
}
.channels-note {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.channels-note > span {
  font-size: 26px;
  line-height: 1.3;
}
.channels-note p {
  margin: 5px 0;
}
.channels-start h2 {
  max-width: 510px;
}
.channels-start .button {
  flex-shrink: 0;
}
.channels-topic .breadcrumbs {
  overflow-wrap: anywhere;
}
.channels-topic .notice {
  max-width: 820px;
}
.channels-topic .notice p + p {
  margin-top: 12px;
}
.channels-nature {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.channels-page .topic-group-description {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .channels-page .topic-quick a {
    font-size: 19px;
  }
  .channels-page .topic-quick {
    gap: 10px;
  }
  .channels-hero h1 {
    font-size: 45px;
  }
}
@media (max-width: 600px) {
  .channels-hero {
    grid-template-columns: 1fr;
  }
  .channels-hero h1 {
    font-size: 43px;
  }
  .channels-hero img {
    max-height: 310px;
  }
  .channels-page .topic-group-title {
    font-size: 27px;
  }
  .channels-page .topic-card h3 {
    font-size: 26px;
  }
}

/* Casos de estudo: apresentação editorial e exploração progressiva. */
.cases-page .breadcrumb,
.cases-detail .breadcrumb {
  margin: 24px 0 36px;
  color: var(--muted);
  font-size: 14px;
}
.cases-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.cases-hero h1 {
  font-size: clamp(44px, 5.5vw, 78px);
}
.cases-hero img {
  width: 100%;
  border-radius: 8px;
  height: auto;
}
.cases-intro {
  font: 24px/1.4 var(--serif);
  max-width: 38ch;
}
.cases-explore {
  margin-bottom: 48px;
}
.cases-empty {
  padding: 40px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  background: linear-gradient(120deg, #eee6da80, transparent);
}
.cases-empty > span {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.cases-empty h3 {
  font-size: 36px;
  margin: 16px 0;
}
.cases-empty p {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--muted);
}
.cases-method {
  padding: 36px;
  background: #eee6da;
  border-radius: 8px;
  margin-bottom: 40px;
}
.cases-method > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cases-method section + section {
  border-left: 1px solid #cdb9a5;
  padding-left: 28px;
}
.cases-method section > span {
  font: 48px/1.2 var(--serif);
  color: var(--copper);
}
.cases-method h3 {
  margin-bottom: 16px;
}
.cases-method p {
  margin-bottom: 0;
}
.cases-statement {
  padding: 32px 40px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 8px;
}
.cases-statement h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  margin-bottom: 12px;
}
.cases-statement p {
  margin-bottom: 0;
}
.cases-onward {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
  padding: 32px;
  font: 26px/1.3 var(--serif);
}
.cases-onward span {
  color: var(--copper);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.case-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}
.case-card > div {
  padding: 24px;
}
.case-card h3 {
  font-size: 34px;
  overflow-wrap: anywhere;
}
.case-card a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}
.cases-filters select,
.cases-filters button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--cream);
  font: inherit;
  max-width: 100%;
}
.cases-filters label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cases-detail {
  max-width: 960px;
  padding-bottom: 50px;
}
.cases-detail header > img {
  width: 100%;
  height: auto;
  margin: 32px 0;
}
.cases-detail .prose {
  margin: 40px 0;
}
.cases-page [hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .cases-hero {
    gap: 28px;
  }
  .cases-method > div,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cases-method section + section {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 650px) {
  .cases-hero,
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cases-hero {
    margin-bottom: 40px;
  }
  .cases-method,
  .cases-empty,
  .cases-statement {
    padding: 24px;
  }
  .cases-method > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .cases-onward {
    padding-inline: 0;
  }
}

/* Tendências e novidades: publicação editorial e destaques adaptáveis. */
.trends-page {
  padding-top: 24px;
}
.trends-header {
  margin: 40px 0;
}
.trends-header h1 {
  font-size: clamp(42px, 5.5vw, 74px);
  max-width: 22ch;
  margin-bottom: 16px;
}
.trends-header > p:last-child {
  font-size: 21px;
}
.trends-empty {
  padding: 42px;
  border-block: 1px solid var(--line);
  margin-bottom: 48px;
  background: linear-gradient(110deg, #eee6da80, transparent);
}
.trends-empty h2 {
  font-size: 38px;
}
.trends-empty p {
  color: var(--muted);
  max-width: 70ch;
  margin-bottom: 0;
}
.trends-method {
  padding: 32px;
  border-radius: 8px;
  background: #eee6da;
  margin: 40px 0;
}
.trends-method h2 {
  margin-bottom: 12px;
}
.trends-method > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.trends-method section {
  display: flex;
  gap: 20px;
}
.trends-method section + section {
  border-left: 1px solid #cdb9a5;
  padding-left: 28px;
}
.trends-method section > span {
  font: 32px/1 var(--serif);
  color: var(--copper);
}
.trends-method h3 {
  font: 700 17px/1.4 var(--sans);
  letter-spacing: 0;
}
.trends-method section p {
  font-size: 15px;
  margin-bottom: 0;
}
.trends-closing {
  background: var(--navy);
  color: var(--cream);
  padding: 36px 0;
}
.trends-closing h2 {
  margin-bottom: 12px;
}
.trends-closing nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 60px;
  margin-top: 24px;
}
.trends-closing a {
  color: #efb58e;
  font-weight: 700;
}
.trends-closing a:hover {
  text-decoration: underline;
}
.trends-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}
.trends-highlights.has-secondary {
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
}
.trends-main,
.trends-secondary {
  min-width: 0;
}
.trends-secondary {
  display: grid;
  align-content: start;
  gap: 28px;
}
.trends-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.trends-card img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 3px;
}
.trends-card-copy {
  padding-top: 16px;
}
.trends-card .eyebrow {
  font-size: 12px;
  margin-bottom: 10px;
}
.trends-card h3 {
  font-size: clamp(28px, 2.5vw, 36px);
}
.trends-main h3 {
  font-size: clamp(36px, 4.1vw, 58px);
}
.trends-card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.trends-card time {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin: 12px 0;
}
.trends-card-more {
  color: var(--copper);
  font-weight: 700;
}
.trends-secondary .trends-card-summary,
.trends-grid .trends-card-summary,
.trends-secondary .trends-card-more,
.trends-grid .trends-card-more {
  display: none;
}
.trends-more {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-top: 36px;
}
.trends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.trends-filters {
  margin-bottom: 32px;
}
.trends-filters fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}
.trends-filters label {
  position: relative;
  max-width: 100%;
  cursor: pointer;
}
.trends-filters input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.trends-filters span {
  display: block;
  padding: 9px 20px;
  border: 1px solid #b5a087;
  border-radius: 28px;
  font-size: 14px;
}
.trends-filters input:checked + span {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.trends-filters input:focus-visible + span {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}
.trends-page [hidden] {
  display: none !important;
}
.trends-article {
  max-width: 960px;
  padding-block: 24px 48px;
}
.trends-article header {
  margin-top: 36px;
}
.trends-summary {
  font-size: 22px;
}
.trends-article .prose {
  margin: 36px 0;
}
.trends-article figure {
  margin: 32px 0;
}
.trends-article figure img {
  width: 100%;
  height: auto;
}
.trends-article figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 950px) {
  .trends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trends-method > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .trends-method section + section {
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 650px) {
  .trends-highlights.has-secondary,
  .trends-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .trends-empty,
  .trends-method {
    padding: 24px;
  }
  .trends-main h3 {
    font-size: 36px;
  }
}

/* Artigos completos de Fundamentos. */
.fundamentals-article .article-header {
  max-width: 74ch;
}
.fundamentals-article .prose {
  max-width: 70ch;
  min-width: 0;
}
.fundamentals-article section,
.fundamentals-article [id^='fonte-'] {
  scroll-margin-top: 110px;
}
.fundamentals-table {
  max-width: 100%;
  margin: 24px 0;
}
.fundamentals-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
}
.fundamentals-table th,
.fundamentals-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.fundamentals-table th {
  background: #eee7dc;
}
.fundamentals-example {
  padding: 24px;
  border-left: 3px solid var(--copper);
  background: #eee7dc;
}
.fundamentals-article .example-note {
  font-size: 0.9em;
  font-style: italic;
}
.fundamentals-article .source-ref {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .fundamentals-table th,
  .fundamentals-table td {
    padding: 8px;
  }
  .fundamentals-example {
    padding: 16px;
  }
}
@media print {
  .fundamentals-article .toc {
    display: none;
  }
  .fundamentals-table tr {
    break-inside: avoid;
  }
}

.fundamentals-table-scroll {
  overflow-x: auto;
}
.fundamentals-table-scroll table {
  min-width: 640px;
}
.fundamentals-definitions dt {
  font-weight: 700;
  margin-top: 24px;
}
.fundamentals-definitions dd {
  margin: 6px 0 24px;
}
@media print {
  .fundamentals-table-scroll {
    overflow: visible;
  }
  .fundamentals-table-scroll table {
    min-width: 0;
  }
}

/* Comparações textuais: uma única ordem de leitura em todos os ecrãs. */
.fundamentals-article .prose .editorial-comparison,
.fundamentals-article .prose .editorial-decisions {
  list-style: none;
  padding-inline-start: 0;
  padding: 0;
  margin: 28px 0;
}
.prose .comparison-item {
  display: grid;
  grid-template-columns: minmax(0, 28fr) minmax(0, 72fr);
  align-items: start;
  gap: 24px;
  padding: 28px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #faf8f3;
}
.prose .comparison-title {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.comparison-fields {
  min-width: 0;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.comparison-field + .comparison-field {
  margin-top: 20px;
}
.comparison-field dt,
.decision-item dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.comparison-field dd,
.decision-item dd {
  margin: 6px 0 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.comparison-highlight {
  padding: 12px 16px;
  border-radius: 5px;
  background: #eee7dc;
}
.comparison-highlight dt,
.decision-item dt {
  color: var(--copper);
}
.prose .decision-item {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.prose .decision-item:first-child {
  border-top: 1px solid var(--line);
}
.prose .decision-item h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.3;
}
.decision-item dl {
  margin: 0;
}
@media (max-width: 700px) {
  .prose .comparison-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .comparison-fields {
    border-left: 0;
    padding-left: 0;
  }
}
@media print {
  .prose .comparison-item {
    display: block;
    break-inside: avoid;
    padding: 16px;
  }
  .comparison-fields {
    border-left: 0;
    padding: 16px 0 0;
  }
  .decision-item {
    break-inside: avoid;
  }
}

/* Neutralização limitada aos elementos dos componentes. */
.fundamentals-article .prose .editorial-comparison > li,
.fundamentals-article .prose .editorial-decisions > li {
  list-style: none;
  min-width: 0;
}
.fundamentals-article .prose .editorial-comparison > li::marker,
.fundamentals-article .prose .editorial-decisions > li::marker {
  content: '';
}
.fundamentals-article .comparison-fields dt,
.fundamentals-article .comparison-fields dd,
.fundamentals-article .decision-item dt,
.fundamentals-article .decision-item dd {
  padding: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

/* Entradas de capítulo: navegação HTML normal, sem painéis de seleção. */
.history-chapter-card,
.history-legacy-anchor,
.history-portugal {
  scroll-margin-top: 120px;
}
.history-theme-description {
  display: block;
  margin-top: 12px;
  font: 15px/1.6 var(--sans);
  color: var(--muted);
}
.history-chapter-intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-block: 32px 40px;
}
.history-chapter-intro img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.history-chapter-page .history-topic-back {
  margin-top: 32px;
}
.history-other-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.history-other-chapters a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 650px) {
  .history-chapter-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .history-chapter-intro img {
    max-width: 360px;
  }
}

/* Estratégias: entrada por percursos e páginas de grupo. */
.strategy-index,
.strategy-group-page {
  padding-bottom: 80px;
}
.strategy-heading {
  padding-block: 38px 58px;
}
.strategy-heading h1 {
  font-size: clamp(56px, 8.3vw, 114px);
  line-height: 0.96;
  max-width: 900px;
  margin-bottom: 0;
  text-wrap: balance;
}
.strategy-heading h1::after {
  content: '';
  display: block;
  width: 155px;
  height: 2px;
  background: var(--copper);
  margin-top: 28px;
}
.strategy-index .strategy-heading h1 {
  max-width: 900px;
  text-wrap: initial;
  font-size: clamp(42px, 8.3vw, 114px);
}
.strategy-bands {
  display: grid;
}
.strategy-band {
  display: grid;
  grid-template-columns: 55.5% minmax(0, 1fr) 28px;
  align-items: center;
  column-gap: clamp(12px, 3vw, 40px);
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.strategy-band-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}
.strategy-band .strategy-arrow {
  justify-self: end;
}
.strategy-band:first-child {
  padding-top: 0;
}
.strategy-band:last-child {
  border-bottom: 0;
}
.strategy-band > img {
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 3.5 / 1;
  object-fit: cover;
}
.strategy-band h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.1vw, 46px);
  margin-bottom: 14px;
  text-wrap: balance;
}
.strategy-band p {
  color: var(--navy);
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1.35;
  margin-bottom: 0;
}
.strategy-arrow {
  color: var(--copper);
  font-size: 42px;
  font-weight: 400;
  transition: transform 0.18s ease;
}
.strategy-band:hover .strategy-arrow {
  transform: translateX(4px);
}
.strategy-group-page > .breadcrumbs {
  padding-top: 30px;
}
.strategy-group-page .strategy-heading {
  padding-block: 25px 35px;
}
.strategy-group-page .strategy-heading h1 {
  font-size: clamp(48px, 6vw, 82px);
}
.strategy-heading > p {
  font-size: clamp(20px, 2vw, 28px);
  max-width: 760px;
  line-height: 1.4;
  margin: 24px 0 0;
}
.strategy-group-photo img {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}
.strategy-reading {
  margin-top: 55px;
}
.strategy-reading > h2 {
  font-size: clamp(32px, 3vw, 44px);
}
.strategy-rows {
  list-style: none;
  padding: 0;
  margin: 0;
}
.strategy-rows > li {
  border-top: 1px solid var(--line);
}
.strategy-row {
  display: grid;
  grid-template-columns: minmax(150px, 24%) minmax(0, 1fr);
  gap: 35px;
  align-items: center;
  padding-block: 25px;
}
.strategy-row > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.strategy-row h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 10px;
}
.strategy-row p {
  font-size: 19px;
  margin-bottom: 14px;
  max-width: 720px;
}
.strategy-row-action {
  display: inline-block;
  color: var(--copper);
  font-weight: 700;
  margin-right: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.strategy-row-status {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
}
.strategy-return {
  margin-top: 35px;
}
.strategy-return a {
  border-bottom: 1px solid var(--copper);
  padding-bottom: 4px;
}
.strategy-diagnostic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
  margin-top: 35px;
  background: #f1e9df;
}
.strategy-diagnostic p {
  font-size: 20px;
}
.strategy-diagnostic a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.strategy-diagnostic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .strategy-index .strategy-heading {
    padding-block: 25px 40px;
  }
  .strategy-index .strategy-heading h1 {
    font-size: clamp(38px, 10vw, 60px);
  }
  .strategy-band {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 20px;
    padding-block: 25px;
  }
  .strategy-band > img {
    grid-column: 1 / -1;
    aspect-ratio: 2.2 / 1;
  }
  .strategy-band h2 {
    font-size: clamp(28px, 7.5vw, 36px);
  }
  .strategy-band p {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .strategy-group-page .strategy-heading {
    padding-block: 25px 40px;
  }
  .strategy-group-photo img {
    aspect-ratio: 2.2 / 1;
  }
  .strategy-row {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
  }
  .strategy-row h3 {
    font-size: 29px;
  }
  .strategy-row p {
    font-size: 17px;
  }
  .strategy-diagnostic {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
@media (max-width: 440px) {
  .strategy-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .strategy-row > img {
    aspect-ratio: 2 / 1;
  }
  .strategy-heading h1 {
    font-size: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strategy-arrow {
    transition: none;
  }
}

/* Escala compacta da entrada; não afeta as páginas de grupo. */
.strategy-index {
  padding-bottom: 40px;
}
.strategy-index .strategy-heading {
  padding-block: 18px 30px;
}
.strategy-index .strategy-heading h1 {
  font-size: clamp(44px, 4.6vw, 67px);
  line-height: 1.05;
}
.strategy-index .strategy-heading h1::after {
  width: 105px;
  margin-top: 20px;
}
.strategy-index .strategy-band {
  padding-block: 18px;
}
.strategy-index .strategy-band:first-child {
  padding-top: 0;
}
.strategy-index .strategy-band > img {
  aspect-ratio: 4.5 / 1;
}
.strategy-index .strategy-band h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  margin-bottom: 10px;
}
.strategy-index .strategy-band p {
  font-size: clamp(16px, 1.45vw, 20px);
}
.strategy-index .strategy-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  margin-top: 24px;
  color: var(--cream);
  background: var(--navy);
}
.strategy-index .strategy-closing h2 {
  font-size: clamp(30px, 2.7vw, 38px);
  margin-bottom: 8px;
}
.strategy-index .strategy-closing p {
  color: #d4dce0;
  margin: 0;
}
.strategy-index .strategy-closing a {
  flex-shrink: 0;
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.strategy-index .strategy-closing a span {
  color: #e5a276;
  margin-left: 8px;
}
@media (max-width: 760px) {
  .strategy-index .strategy-closing {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .strategy-index .strategy-band > img {
    aspect-ratio: 2.85 / 1;
  }
  .strategy-index .strategy-band h2 {
    font-size: 28px;
  }
  .strategy-index .strategy-band p {
    font-size: 17px;
  }
}

/* Abertura de Estratégias reutiliza o hero de Fundamentos. */
.strategy-index .topic-hero .button {
  white-space: normal;
  min-height: 48px;
}

/* Modelo partilhado dos grupos de Estratégias, isolado da entrada. */
.strategy-group-page .strategy-group-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  margin-block: 24px 44px;
}
.strategy-group-page .strategy-group-hero .strategy-heading {
  min-width: 0;
  padding: 0;
}
.strategy-group-page .strategy-heading h1 {
  font-size: clamp(44px, 4.6vw, 67px);
  line-height: 1.05;
}
.strategy-group-page .strategy-heading h1::after {
  width: 105px;
  margin-top: 20px;
}
.strategy-group-page .strategy-heading > p {
  font-size: clamp(18px, 1.7vw, 23px);
  margin-top: 18px;
}
.strategy-group-page .strategy-group-photo {
  width: 100%;
  max-width: 650px;
  justify-self: end;
}
.strategy-group-page .strategy-group-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.7 / 1;
  object-fit: cover;
}
.strategy-group-page .strategy-reading {
  margin-top: 0;
}
.strategy-group-page .strategy-reading > h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 18px;
}
.strategy-group-page .strategy-reading > h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.strategy-group-page .strategy-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.strategy-group-page .strategy-rows > li::marker {
  content: '';
}
.strategy-group-page .strategy-rows > li:last-child {
  border-bottom: 1px solid var(--line);
}
.strategy-group-page .strategy-row {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr) minmax(125px, 16%);
  align-items: center;
  gap: 28px;
  padding-block: 18px;
}
.strategy-group-page .strategy-row > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
}
.strategy-group-page .strategy-row-copy {
  min-width: 0;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.strategy-group-page .strategy-row h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  margin-bottom: 10px;
}
.strategy-group-page .strategy-row p {
  font-size: 18px;
  margin: 0;
}
.strategy-group-page .strategy-row-end {
  min-width: 0;
  text-align: right;
}
.strategy-group-page .strategy-row-action {
  display: block;
  margin: 0;
  font-size: 18px;
  text-decoration: none;
}
.strategy-group-page .strategy-row-end .strategy-row-status {
  font-size: 14px;
  margin-top: 6px;
}
@media (max-width: 800px) {
  .strategy-group-page .strategy-group-hero {
    gap: 24px;
  }
  .strategy-group-page .strategy-heading h1 {
    font-size: 44px;
  }
  .strategy-group-page .strategy-row {
    grid-template-columns: 25% minmax(0, 1fr) 115px;
    gap: 18px;
  }
  .strategy-group-page .strategy-row-action,
  .strategy-group-page .strategy-row p {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .strategy-group-page .strategy-group-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .strategy-group-page .strategy-group-photo {
    max-width: none;
  }
  .strategy-group-page .strategy-reading > h2 {
    font-size: 32px;
  }
  .strategy-group-page .strategy-row {
    grid-template-columns: 30% minmax(0, 1fr);
    gap: 12px 18px;
  }
  .strategy-group-page .strategy-row > img {
    aspect-ratio: 1.5 / 1;
  }
  .strategy-group-page .strategy-row h3 {
    font-size: 26px;
  }
  .strategy-group-page .strategy-row-end {
    grid-column: 2;
    text-align: left;
  }
}
@media (max-width: 380px) {
  .strategy-group-page .strategy-row {
    grid-template-columns: 1fr;
  }
  .strategy-group-page .strategy-row > img {
    aspect-ratio: 2.4 / 1;
  }
  .strategy-group-page .strategy-row-end {
    grid-column: 1;
  }
}

/* Imagem secundária do artigo de Estratégias. */
.strategy-article .strategy-article-photo {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  margin-top: 24px;
}
.strategy-article .prose li + li {
  margin-top: 10px;
}
.strategy-article .article-header {
  margin-bottom: 36px;
}
