
:root {
  --ink: #243441;
  --ink-soft: #62707a;
  --primary: #2f4958;
  --primary-2: #466474;
  --accent: #b58956;
  --mist: #eef2f3;
  --mist-2: #f7f8f6;
  --paper: #fbfbfa;
  --white: #ffffff;
  --line: #dce3e4;
  --shadow: 0 22px 60px rgba(31, 49, 60, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; color: var(--ink-soft); font-size: 1.05rem; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; background: #fff; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 14px; z-index: 1000; }
.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; }
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(251,251,250,.86); border-bottom: 1px solid rgba(220,227,228,.8); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-size: .98rem; }
.brand small { display: block; color: var(--ink-soft); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 1.2rem; box-shadow: 0 12px 24px rgba(47,73,88,.18); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; color: var(--ink-soft); font-weight: 600; }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--mist); color: var(--ink); }
.nav-cta { background: var(--primary); color: #fff !important; padding-inline: 18px !important; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--primary-2) !important; }
.menu-toggle { display: none; }
.hero {
  padding: 72px 0 32px;
  background: linear-gradient(135deg, #f7f8f7 0%, #eef2f3 55%, #fbfbfa 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(300px, .78fr); gap: 40px; align-items: center; }
.card, .card-soft { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.card-body { padding: 32px; }
.card-soft { padding: 14px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; border-radius: 22px; display: block; }
.eyebrow, .section-kicker { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .12em; font-size: .92rem; color: var(--primary-2); font-weight: 800; }
h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 4.2vw, 3.85rem); line-height: .98; letter-spacing: -.045em; color: var(--primary); }
h1 span { display: block; }
h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.7vw, 3.05rem); line-height: 1.03; letter-spacing: -.05em; color: var(--primary); }
h3 { margin-bottom: 10px; font-size: 1.42rem; line-height: 1.2; letter-spacing: -.03em; }
.lead { max-width: 640px; font-size: clamp(1.12rem, 1.8vw, 1.3rem); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--primary); color: #fff; }
.button.secondary { background: #fff; color: var(--primary); border-color: var(--line); }
.button.light { background: #fff; color: var(--primary); }
.button.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero-note { margin-top: 28px; display: grid; gap: 12px; }
.hero-note div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-note div:last-child { border-bottom: 0; }
.hero-note span { color: var(--ink-soft); }
.hero-note strong { color: var(--primary); text-align: right; }
.info-strip { padding: 0 0 20px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.info-grid article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: 0 10px 28px rgba(31,49,60,.06); }
.info-grid span { display: block; font-size: .88rem; color: var(--ink-soft); margin-bottom: 5px; }
.info-grid strong { display: block; color: var(--primary); }
.section { padding: 84px 0; }
.section-tint { background: var(--mist-2); }
.section-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.section-intro p, .section-text, .schedule-note, .name-reference { color: var(--ink-soft); }
.name-reference { margin: 0 0 20px; padding: 14px 16px; background: var(--mist-2); border-radius: 14px; border: 1px solid var(--line); }
.timeline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline-list li { position: relative; padding-left: 24px; }
.timeline-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 5px rgba(181,137,86,.16); }
.heading-centre { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.areas-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.area-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--mist); color: var(--primary); font-weight: 800; margin-bottom: 18px; }
.area-card p { color: var(--ink-soft); }
.align-centre { align-items: center; }
.schedule-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.schedule-row:last-of-type { border-bottom: 0; }
.schedule-row span { color: var(--ink-soft); }
.schedule-row strong { color: var(--primary); font-size: clamp(1.25rem, 2.6vw, 1.85rem); letter-spacing: -.04em; }
.contact-stack { display: grid; gap: 14px; }
.inline-card { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.inline-card span { color: var(--ink-soft); }
.inline-card strong { color: var(--primary); text-align: right; overflow-wrap: anywhere; }
.faq-layout { grid-template-columns: .75fr 1.25fr; }
.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: 0 8px 20px rgba(31,49,60,.05); }
summary { cursor: pointer; padding: 20px 0; font-weight: 800; color: var(--primary); }
details p { margin: 0 0 20px; color: var(--ink-soft); }
.cta-band { padding: 54px 0; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.privacy { padding: 42px 0; }
.privacy-box { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy h2 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 10px; }
.privacy p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 10px; }
.footer { padding: 28px 0; color: var(--ink-soft); }
.footer-content { display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: .92rem; }
.footer p { margin: 0; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-copy { order: 2; }
  .hero-photo {
    order: 1;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero-photo img {
    aspect-ratio: 1.08 / 1;
    object-position: 50% 22%;
  }
  .menu-toggle { display: inline-grid; gap: 4px; width: 44px; height: 44px; align-content: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--primary); border-radius: 2px; }
  .nav-links { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .section-grid, .faq-layout, .areas-grid, .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 54px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .hero {
    padding: 32px 0 20px;
  }
  .hero-grid {
    gap: 20px;
  }
  .hero-photo {
    max-width: 245px;
  }
  .hero-photo.card-soft {
    padding: 10px;
    border-radius: 22px;
  }
  .hero-photo img {
    border-radius: 16px;
  }
  h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
    line-height: 1;
    letter-spacing: -0.055em;
    margin-bottom: 14px;
  }
  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }
  h3 {
    font-size: 1.18rem;
  }
  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }
  .eyebrow,
  .section-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.11em;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-note {
    margin-top: 20px;
  }
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 48px 0; }
  .hero-actions .button { width: 100%; min-height: 44px; padding: 11px 16px; }
  .hero-note div, .inline-card, .schedule-row { grid-template-columns: 1fr; display: grid; }
  .hero-note strong, .inline-card strong { text-align: left; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}


/* Ajuste final mobile/tablet: fotografia mais pequena, menos vertical e melhor proporção */
@media (max-width: 920px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .hero-copy {
    order: 2;
  }

  .hero-photo {
    order: 1;
    width: min(74vw, 300px) !important;
    max-width: 300px !important;
    margin-inline: auto !important;
    padding: 8px !important;
    border-radius: 22px !important;
  }

  .hero-photo picture {
    display: block;
    width: 100%;
  }

  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.12 / 1 !important;
    object-fit: cover !important;
    object-position: 50% 20% !important;
    border-radius: 16px !important;
  }

  h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
    margin-bottom: 12px !important;
  }

  .lead {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .hero-actions {
    margin-top: 18px !important;
  }

  .hero-note {
    margin-top: 18px !important;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-photo {
    width: min(68vw, 245px) !important;
    max-width: 245px !important;
  }

  .hero-photo img {
    aspect-ratio: 1.18 / 1 !important;
  }

  .hero {
    padding-top: 28px !important;
  }

  h1 {
    font-size: clamp(1.72rem, 8.8vw, 2rem) !important;
  }
}


/* Ajuste universal v3: foto menos vertical, cortar topo e preservar zona do bolso */
@media (max-width: 920px) {
  .hero-photo {
    width: min(70vw, 280px) !important;
    max-width: 280px !important;
    padding: 8px !important;
  }
  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.18 / 1 !important;
    object-fit: cover !important;
    object-position: 50% 76% !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 430px) {
  .hero-photo {
    width: min(64vw, 220px) !important;
    max-width: 220px !important;
  }
  .hero-photo img {
    aspect-ratio: 1.22 / 1 !important;
    object-position: 50% 74% !important;
  }
}


/* Ajustes v4: áreas de interesse num único bloco */
.areas-single {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-inline: auto;
}

.area-card-combined {
  min-height: auto;
}

.area-combined-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.area-subsection + .area-subsection {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.area-subsection h3 {
  margin-bottom: 10px;
}

.area-subsection p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .area-combined-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .area-subsection + .area-subsection {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }
}


/* Ajustes v6: no computador, aproximação visual ao telemóvel */
@media (min-width: 921px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 26px;
  }

  .hero-photo {
    width: min(100%, 326px);
    justify-self: end;
  }

  .hero-copy {
    max-width: 700px;
  }

  .lead {
    max-width: 560px;
  }

  .hero-note {
    max-width: 560px;
  }
}

/* Garantir que o símbolo da Cruz Vermelha aparece e a foto não fica demasiado alta */
@media (max-width: 920px) {
  .hero-photo {
    width: min(76vw, 300px) !important;
    max-width: 300px !important;
  }

  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.24 / 1 !important;
    object-fit: cover !important;
    object-position: 50% 79% !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 430px) {
  .hero-photo {
    width: min(70vw, 235px) !important;
    max-width: 235px !important;
  }

  .hero-photo img {
    aspect-ratio: 1.28 / 1 !important;
    object-position: 50% 80% !important;
  }
}


/* Versão v8: mostrar a fotografia inteira, sem cortar nada */
@media (min-width: 921px) {
  .hero-photo {
    width: min(100%, 330px);
    justify-self: end;
  }
  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (max-width: 920px) {
  .hero-photo {
    width: min(74vw, 290px) !important;
    max-width: 290px !important;
    margin-inline: auto !important;
  }
  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 430px) {
  .hero-photo {
    width: min(72vw, 240px) !important;
    max-width: 240px !important;
  }
  .hero-photo img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}
