@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fontes/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fontes/outfit-latin.woff2") format("woff2");
}

:root {
  --navy: #0C1E36;
  --navy-2: #16304F;
  --ink: #14263C;
  --sand: #C6A36A;
  --sand-2: #E7D3AE;
  --paper: #F6F3EE;
  --white: #FFFcf8;
  --muted: #5E6D7C;
  --line: #E3DCD1;
  --shadow: 0 18px 50px rgba(12, 30, 54, 0.08);
  --max: 1120px;
  --radius: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 420;
  font-size: 1rem;
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 40;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-140%);
}
.skip:focus { transform: none; }

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  padding-bottom: 0;
  min-height: auto;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: -2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(12, 30, 54, 0.88) 0%,
      rgba(12, 30, 54, 0.62) 32%,
      rgba(12, 30, 54, 0.55) 58%,
      rgba(12, 30, 54, 0.76) 100%
    );
}

.nav { position: relative; z-index: 3; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.7rem;
  border-bottom: 1px solid rgba(231, 211, 174, 0.22);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  text-decoration: none;
  color: var(--paper);
  line-height: 1;
  min-width: 0;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  min-width: 0;
}

.logo-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.58rem;
  font-weight: 520;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}

/* Menu do site (hamburger ≤1100px, ligações em desktop), sobre o hero */
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(231, 211, 174, 0.55);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: 520 0.9rem Outfit, "Segoe UI", sans-serif;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

.menu-btn::before {
  content: "";
  width: 18px;
  height: 12px;
  background:
    linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
}

.menu-btn[aria-expanded="true"]::before {
  background:
    linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%);
  height: 18px;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  border-color: var(--sand);
  color: var(--sand-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 520;
  min-width: 0;
}

.nav-links > a,
.nav-links > .nav-sim > .nav-sim-a {
  text-decoration: none;
  color: rgba(246, 243, 238, 0.92);
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-links > a[aria-current],
.nav-links > .nav-sim > .nav-sim-a:hover,
.nav-links > .nav-sim > .nav-sim-a:focus-visible,
.nav-links > .nav-sim > .nav-sim-a[aria-current] {
  color: var(--sand-2);
}

.nav-links a:has(.nav-hint) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  text-align: center;
}

.nav-links .nav-hint {
  display: block;
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(246, 243, 238, 0.62);
}

.nav-links a:hover .nav-hint,
.nav-links a[aria-current] .nav-hint {
  color: inherit;
}

.nav-cta {
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 0.35rem 0.8rem !important;
  color: var(--sand-2) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(198, 163, 106, 0.16);
}

/* Dropdown «Simuladores» (igual ao do resto do site) */
.nav-sim { position: relative; display: inline-flex; align-items: center; }
.nav-sim > .nav-sim-a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}
.nav-sim-m {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 60;
  min-width: 270px;
  padding: 8px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(12, 30, 54, 0.14);
}
.nav-sim-m::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-sim:hover .nav-sim-m,
.nav-sim:focus-within .nav-sim-m { display: block; }
.nav-links .nav-sim-m a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 520;
  white-space: nowrap;
  text-decoration: none;
}
.nav-links .nav-sim-m a small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 400;
}
.nav-links .nav-sim-m a:hover,
.nav-links .nav-sim-m a[aria-current] {
  background: #FBF7EF;
  color: #8A6A33;
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-links.open { display: none !important; }
  .menu-btn { display: inline-flex; }
}

@media (min-width: 1101px) {
  .nav-links { gap: clamp(10px, 1.2vw, 22px); }
  .nav-links > a,
  .nav-links > .nav-sim > .nav-sim-a { font-size: 0.86rem; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-links { gap: 8px; }
  .nav-links > a,
  .nav-links > .nav-sim > .nav-sim-a { font-size: 0.74rem; }
  .nav-links .nav-hint { font-size: 0.58rem; }
}

.hero-copy {
  padding: 2.1rem 0 1.4rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  width: min(var(--max), calc(100% - 2rem));
}

.hero-copy h1 {
  font-size: clamp(1.7rem, 1rem + 4.2vw, 2.85rem);
  color: #fff;
  max-width: 18ch;
}

.lead {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(246, 243, 238, 0.88);
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  width: 100%;
  max-width: 24.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 3.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 560;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.btn-gold {
  background: var(--sand);
  color: var(--navy);
  border: 1px solid transparent;
  box-shadow: 0 8px 22px -12px rgba(12, 30, 54, 0.55);
}

.btn-gold:hover {
  background: var(--sand-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(12, 30, 54, 0.6);
}

.btn-gold:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px -4px rgba(12, 30, 54, 0.35);
}

.btn-ghost {
  background: rgba(12, 30, 54, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 243, 238, 0.72);
  color: #fff;
  box-shadow: 0 8px 22px -14px rgba(12, 30, 54, 0.45);
}

.btn-ghost:hover {
  background: rgba(12, 30, 54, 0.58);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn:focus-visible,
.nav a:focus-visible,
.sim-grid a:focus-visible,
.mapa a:focus-visible,
.press a:focus-visible,
.follow a:focus-visible,
.foot a:focus-visible,
.mais a:focus-visible,
.hot-chips a:focus-visible,
.sims-all:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* —— Simulators —— */
.sims {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
  background: var(--paper);
  border-radius: 1.4rem 1.4rem 0 0;
  padding: 1.45rem 0 0.5rem;
}

.sims h2,
.mapa h2,
.press h2 {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem);
  color: var(--navy);
  margin: 0 0 1rem;
}

.hot { margin: 0 0 1.1rem; }

.hot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 520;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hot-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  margin: 0 0 1.35rem;
  padding: 0;
}

.hot-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.15rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 520;
}

.hot-chips a:hover { border-color: var(--sand); }

.hot-kicker::-webkit-details-marker { display: none; }
.hot-kicker::marker { content: ""; }
.hot-kicker::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.hot[open] > .hot-kicker::after { transform: translateY(1px) rotate(-135deg); }
.hot-kicker:hover { color: var(--navy); }
.hot-kicker:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
.hot[open] .hot-chips { margin: 0.45rem 0 0.3rem; }
@media (prefers-reduced-motion: reduce) { .hot-kicker::after { transition: none; } }

.sims-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
}

.sims-head h2 { margin: 0; }

.sims-all {
  color: var(--navy);
  font-weight: 520;
  font-size: 0.95rem;
  text-underline-offset: 3px;
}

.sim-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sim-grid > li { min-width: 0; }

.sim-grid a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 1px;
  padding: 11px 14px;
  min-height: 0;
  background: #0c1e36;
  color: #fff;
  border: 1px solid #c6a36a;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 24px -16px rgba(12, 30, 54, 0.45), 0 2px 0 #8E6A30, inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .sim-grid a:hover,
  .sim-grid a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 11px 20px -8px rgba(0, 0, 0, 0.6), 0 4px 0 #C6A36A, inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

.sim-grid a:focus-visible {
  outline: 2px solid #C6A36A;
  outline-offset: 2px;
}

.sim-grid a:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #8E6A30, inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sim-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff0d;
  color: #e1c99f;
  display: grid;
  place-items: center;
}

.sim-ico svg { width: 21px; height: 21px; }

.sim-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sim-body strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.sim-body span {
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  margin: 4px 0 2px;
}

.sim-go { display: none; }

/* —— Map —— */
.mapa {
  position: relative;
  z-index: 1;
  padding: 1.6rem 0 2.3rem;
  color: var(--paper);
}

.mapa h2 {
  margin-bottom: 0.45rem;
  max-width: 22ch;
  color: #fff;
}

.mapa-sub {
  margin: 0 0 1.1rem;
  color: rgba(246, 243, 238, 0.88);
  font-size: 1rem;
  max-width: 38ch;
  line-height: 1.45;
}

.mapa-copy,
.mapa-visual { display: contents; }

@media (max-width: 899px) {
  .mapa .wrap {
    display: flex;
    flex-direction: column;
  }
  .mapa-more { order: 20; }
}

.mapa-srch {
  display: flex;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 0 0 1.15rem;
}

.mapa-srch input {
  flex: 1;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  font: 420 1rem Outfit, sans-serif;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.mapa-srch input:focus {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

.mapa-srch button {
  border: 1.5px solid var(--sand);
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 0 1.15rem;
  font: 520 0.95rem Outfit, sans-serif;
  cursor: pointer;
  min-height: 2.85rem;
}

.conc-map {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.85rem 0.7rem 0.55rem;
  background: rgba(12, 30, 54, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 211, 174, 0.3);
  border-radius: 16px;
}

.conc-map svg { width: 100%; height: auto; }
.conc-map a path { stroke: #fff; stroke-width: 0.9; }
.conc-map a:hover path,
.conc-map a:focus path { fill: var(--sand) !important; }
.conc-map a:focus { outline: none; }
.conc-map a:focus-visible path { stroke: var(--sand-2); stroke-width: 2; }
.conc-map .inset { fill: none; stroke: rgba(231, 211, 174, 0.55); stroke-width: 1; }
.conc-map .lbl {
  font: 520 8.5px Outfit, sans-serif;
  fill: rgba(246, 243, 238, 0.88);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-label {
  margin: 1rem 0 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 520;
  color: rgba(246, 243, 238, 0.92);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.75rem;
  color: rgba(246, 243, 238, 0.82);
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.legend-note {
  flex-basis: 100%;
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.85;
}

.mapa-src {
  margin: 0.7rem auto 0;
  max-width: 40rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(246, 243, 238, 0.7);
  text-align: center;
}

.mapa-more {
  margin: 0.85rem 0 0;
  text-align: center;
  font-weight: 520;
}

.mapa-more a {
  color: var(--sand-2);
  text-underline-offset: 3px;
}

.mapa-also {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(246, 243, 238, 0.85);
}
.mapa-also a { color: var(--sand-2); text-underline-offset: 3px; }
@media (max-width: 899px) { .mapa-also { order: 21; } }
@media (min-width: 900px) { .mapa-also { text-align: left; text-shadow: 0 1px 12px rgba(12, 30, 54, 0.65); } }

@media (max-width: 899px) {
  .conc-map {
    background: rgba(12, 30, 54, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-color: rgba(231, 211, 174, 0.34);
  }
  .conc-map .inset { stroke: rgba(231, 211, 174, 0.75); }
  .conc-map .lbl { fill: rgba(246, 243, 238, 0.95); }

  .legend-label,
  .legend,
  .legend-note,
  .mapa-src {
    text-shadow: 0 1px 10px rgba(12, 30, 54, 0.7);
  }
  .legend-label { color: rgba(246, 243, 238, 0.96); }
  .legend { color: rgba(246, 243, 238, 0.92); }
  .mapa-src { color: rgba(246, 243, 238, 0.85); }
}

/* —— Official figure —— */
.dato {
  padding: 1.1rem 0 0.4rem;
}

.dato-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.1rem;
  padding: 1.15rem 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dato-num {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}

.dato-copy { margin: 0; flex: 1 1 14rem; }
.dato-copy p { margin: 0; }
.dato-copy .src {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.mais { padding: 1.3rem 0 0.2rem; }
.mais p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 520;
  color: var(--navy);
}
.mais a { text-underline-offset: 3px; }

/* —— Press —— */
.press { padding: 2rem 0 0.5rem; }

.press-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.press-head h2 { margin: 0; }

.press-nav { display: none; gap: 0.4rem; }

.press-nav button {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.press-nav button svg { width: 1.05rem; height: 1.05rem; }

.press-nav button:hover { border-color: var(--sand); }

.press-nav button:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.press-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.press-track {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0.15rem 0 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.press-track::-webkit-scrollbar { display: none; }

.press-track > li {
  flex: 0 0 80%;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}

.press-track a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 10.5rem;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.press-track a:hover { border-color: var(--sand-2); }

.press-track a:hover .press-t { color: var(--navy-2); }

.press-outlet {
  display: block;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.press-date {
  display: block;
  margin: 0.25rem 0 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.press-t {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--navy);
}

.press-sala a {
  justify-content: center;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
  color: var(--paper);
}

.press-sala a:hover { border-color: var(--sand); }

.press-sala a:hover .press-t { color: #fff; }

.press-sala-kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 520;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sand-2);
}

.press-sala .press-t {
  color: #fff;
  font-size: 1.15rem;
}

/* —— Follow + footer —— */
.follow {
  margin-top: 2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.follow-inner p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.follow-links {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.45rem !important;
  font-weight: 520;
  color: var(--navy);
}

.foot {
  padding: 0 0 2.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.foot-note {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.foot-explore {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--navy);
}
.foot-explore a { text-underline-offset: 2px; }

.foot-legal { margin: 0 0 0.4rem; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin: 0 0 0.85rem;
  color: var(--navy);
}
.foot-links a { text-underline-offset: 2px; }

.foot-photo { margin: 0; font-size: 0.72rem; }

@media (max-width: 639px) {
  .nav-inner { padding-bottom: 0.6rem; }
  .logo-name { font-size: 1rem; }
}

@media (min-width: 640px) {
  .press-nav { display: flex; }
  .press-track > li { flex-basis: calc((100% - 0.75rem) / 2.2); }
  .logo-name { font-size: 1.2rem; }
  .logo-mark { width: 2.15rem; height: 2.15rem; }
  .hero-copy {
    padding: 3.1rem 0 2.2rem;
    margin-left: 0;
    max-width: 44rem;
  }
  .hero-copy h1 { max-width: 18ch; }
  .hero-actions { max-width: 26rem; }
  .conc-map { max-width: 24rem; }
}

@media (min-width: 960px) {
  .wrap { width: min(var(--max), calc(100% - 3rem)); }
  .hero-copy { padding: 3.4rem 0 2.6rem; }
  .sim-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .sim-grid a {
    grid-template-columns: 1fr;
    justify-items: start;
    align-content: start;
    gap: 0.55rem;
    padding: 20px;
    min-height: 9.2rem;
    border-radius: 18px;
  }
  .sim-ico { width: 44px; height: 44px; border-radius: 12px; }
  .sim-ico svg { width: 25px; height: 25px; }
  .sim-body strong { font-size: 1.15rem; }
  .mapa { padding-top: 2rem; }
  .conc-map { max-width: 26rem; }
  .press-track > li { flex-basis: calc((100% - 1.5rem) / 3); }
}

@media (min-width: 900px) {
  :root {
    --max: 1200px;
    --gutter: 1.5rem;
  }

  .hero-scrim {
    background:
      linear-gradient(
        90deg,
        rgba(12, 30, 54, 0.82) 0%,
        rgba(12, 30, 54, 0.52) 36%,
        rgba(12, 30, 54, 0.28) 68%,
        rgba(12, 30, 54, 0.18) 100%
      ),
      linear-gradient(
        180deg,
        rgba(12, 30, 54, 0.78) 0%,
        rgba(12, 30, 54, 0.18) 24%,
        rgba(12, 30, 54, 0.16) 78%,
        rgba(12, 30, 54, 0.48) 100%
      );
  }

  .wrap,
  .hero-copy {
    width: min(var(--max), calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy,
  .mapa .wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .hero-copy {
    max-width: none;
    padding: 96px 0;
  }

  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .hero-actions {
    grid-column: 1 / span 5;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 2.1rem + 1.4vw, 3.25rem);
  }

  .hero-copy .lead {
    font-size: 1.12rem;
    color: rgba(246, 243, 238, 0.94);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    max-width: none;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
    padding: 0.85rem 1.4rem;
  }

  .sim-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .sim-grid a {
    grid-template-columns: 1fr;
    justify-items: start;
    align-content: start;
    gap: 0.55rem;
    padding: 20px;
    min-height: 9.2rem;
    border-radius: 18px;
  }

  .sim-ico { width: 44px; height: 44px; border-radius: 12px; }
  .sim-ico svg { width: 25px; height: 25px; }
  .sim-body strong { font-size: 1.15rem; }

  .sims { margin-top: 0; }

  .mapa { padding: 0 0 96px; }

  .mapa-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1 / span 5;
    grid-row: 1;
    min-width: 0;
  }

  .mapa h2 {
    max-width: none;
    margin-bottom: 0.7rem;
    font-size: clamp(2.05rem, 1.7rem + 1vw, 2.55rem);
    color: #fff;
  }

  .mapa-sub {
    max-width: none;
    margin-bottom: 1.25rem;
    font-size: 1.12rem;
    line-height: 1.5;
    color: rgba(246, 243, 238, 0.96);
    text-shadow: 0 1px 14px rgba(12, 30, 54, 0.55);
  }

  .mapa-srch {
    max-width: none;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .mapa-more {
    margin: 0.15rem 0 0;
    text-align: left;
  }

  .mapa-more a {
    color: #E7D3AE;
    font-size: 1.02rem;
    text-shadow: 0 1px 12px rgba(12, 30, 54, 0.65);
  }

  .mapa-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 6 / span 7;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    padding: 1rem 1.15rem 1.05rem;
    background: rgba(12, 30, 54, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(231, 211, 174, 0.34);
    border-radius: 16px;
  }

  .conc-map {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .conc-map svg {
    width: min(100%, calc(620px * 426 / 502));
    height: auto;
  }

  .conc-map .inset { stroke: rgba(231, 211, 174, 0.75); }
  .conc-map .lbl { fill: rgba(246, 243, 238, 0.95); }

  .mapa-visual .legend-label,
  .mapa-visual .legend,
  .mapa-visual .legend-note,
  .mapa-visual .mapa-src {
    text-align: center;
    color: rgba(246, 243, 238, 0.92);
  }

  .mapa-visual .legend-label {
    margin: 0.55rem 0 0.3rem;
    color: rgba(246, 243, 238, 0.96);
  }

  .mapa-visual .legend {
    justify-content: center;
    margin: 0;
    color: rgba(246, 243, 238, 0.9);
  }

  .mapa-visual .legend i {
    border-color: rgba(255, 255, 255, 0.45);
  }

  .mapa-visual .mapa-src {
    margin: 0.45rem 0 0;
    max-width: 44rem;
    color: rgba(246, 243, 238, 0.82);
  }

  .dist-list {
    width: 100%;
    margin: 0.7rem 0 0;
    background: rgba(255, 252, 248, 0.94);
  }

  .press-track > li {
    flex-basis: calc((100% - 1.5rem) / 3);
  }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .press-track { scroll-behavior: auto; }
  .btn,
  .btn:hover,
  .btn:active,
  .sim-grid a,
  .sim-grid a:hover,
  .sim-grid a:focus-visible,
  .sim-grid a:active {
    transition: none;
    transform: none;
  }
}

/* —— Search suggestions + district list (direct to full page) —— */
.mapa-srch { position: relative; }

.conc-suggest {
  position: absolute;
  left: 0;
  right: 4.5rem;
  top: calc(100% + 6px);
  z-index: 15;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 16rem;
  overflow: auto;
}

.conc-suggest[hidden] { display: none; }

.conc-suggest a {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 520;
}

.conc-suggest a:hover,
.conc-suggest a:focus { background: var(--paper); }

.conc-suggest small {
  font-weight: 420;
  color: var(--muted);
  font-size: 0.8rem;
}

.dist-list {
  margin: 1.15rem 0 0.2rem;
  padding: 1rem 1rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.dist-list[hidden] { display: none; }

.dist-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 520;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
}

.dist-list h3 {
  margin: 0.2rem 0 0.25rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.dist-sub {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.dist-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.dist-list li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
  font-weight: 520;
  min-height: 2.75rem;
}

.dist-list .pv {
  font-weight: 420;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* —— Concelho page —— */
.nav-solid {
  background: var(--navy);
  color: var(--paper);
}

.nav-solid .nav-inner { border-bottom-color: rgba(231, 211, 174, 0.18); }

.ficha-hero {
  background: var(--navy);
  color: var(--paper);
  padding: 1.4rem 0 2rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  color: rgba(246, 243, 238, 0.7);
}

.crumbs a { color: var(--sand-2); text-underline-offset: 2px; }

.ficha-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 520;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.ficha-hero h1 {
  font-size: clamp(1.55rem, 1rem + 2.8vw, 2.4rem);
  color: #fff;
  max-width: 20ch;
}

.ficha-hero .lead {
  margin-top: 0.7rem;
  max-width: 34ch;
}

.figs { padding: 0; }

.fig-grid {
  list-style: none;
  margin: -1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  position: relative;
  z-index: 2;
}

.fig-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.fig-l {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 520;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.fig-v {
  margin: 0.25rem 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.fig-v small {
  font-size: 0.55em;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--muted);
}

.fig-v.down { color: var(--navy); }

.fig-x {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.fig-extra {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.ficha-src {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.ficha-sims {
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 2rem 0 0.4rem;
}

.sims-sub {
  margin: -0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.vizinhos { padding: 2rem 0 0.4rem; }

.vizinhos h2 { margin-bottom: 0.7rem; }

.viz-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.viz-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy);
  font-weight: 520;
}

.viz-list a span {
  font-weight: 420;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

@media (min-width: 640px) {
  .fig-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .fig-grid { grid-template-columns: repeat(4, 1fr); margin-top: -1.4rem; }
  .ficha-hero { padding: 1.8rem 0 2.4rem; }
  .viz-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .viz-list li:nth-child(odd) a { padding-right: 1.2rem; }
  .viz-list li:nth-child(even) a { padding-left: 1.2rem; }
}

/* —— Contacto (formulário do site) —— */
.contacto { padding: 2.6rem 0 2.4rem; }
.contacto-inner { max-width: 640px; }
.contacto h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
.contacto .h-sub { margin: .5rem 0 1.2rem; color: var(--muted); }
.h-f { display: grid; gap: .85rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.h-f label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 520; color: var(--ink); }
.h-f input[type=text], .h-f input[type=email], .h-f select, .h-f textarea { font: inherit; font-weight: 420; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .65rem .75rem; width: 100%; }
.h-f input:focus-visible, .h-f select:focus-visible, .h-f textarea:focus-visible { outline: 2px solid var(--sand); outline-offset: 1px; border-color: var(--sand); }
.h-f .check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 420; font-size: .86rem; color: var(--muted); }
.h-f .check input { margin-top: .2rem; }
.h-f button { justify-self: start; font: inherit; font-weight: 600; letter-spacing: .01em; color: var(--navy); background: var(--sand); border: 0; border-radius: 999px; padding: .75rem 1.6rem; cursor: pointer; }
.h-f button:hover { background: var(--sand-2); }
.h-f button:disabled { opacity: .6; cursor: wait; }
.h-f .note { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.2em; }
@media (min-width: 700px) { .h-f { grid-template-columns: 1fr 1fr; } .h-f label:has(textarea), .h-f .check, .h-f button, .h-f .note, .h-f label:has(select) { grid-column: 1 / -1; } }

/* Submenu dos simuladores no menu mobile (#mnav) */
.mnav-list > li.mnav-sim {
  border: 1px solid rgba(198, 163, 106, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  padding: 4px;
}
.mnav-list > li.mnav-sim > a { border: 0; background: transparent; box-shadow: none; }
.mnav-list > li.mnav-sim > a .mnav-label { font-weight: 620; }
.mnav-sub { list-style: none; margin: 0; padding: 0 6px 6px; display: grid; gap: 6px; }
.mnav-sub li { margin: 0; padding: 0; }
.mnav-list .mnav-sub a {
  min-height: 48px;
  padding: 9px 12px 9px 14px;
  border-radius: 12px;
  font-size: 0.98rem;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(12, 30, 54, 0.08);
  box-shadow: none;
}
.mnav-list .mnav-sub a .mnav-label { white-space: normal; line-height: 1.2; }
.mnav-list .mnav-sub a .mnav-label small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(12, 30, 54, 0.6);
  margin-top: 2px;
}
.mnav-list .mnav-sub a[aria-current] { border-color: #C6A36A; background: #FFFCF7; }
