/* =========================================================================
   Associação Aquabilibiza: folha de estilo (mobile first)
   Identidade: gota #0F5C72 + folha #8FBF3F, Archivo, «Juntos pela
   Segurança Alimentar». Valores retirados do design aprovado (opção 2a).

   Estrutura: os estilos base descrevem o telemóvel. Os blocos
   @media (min-width: …) acrescentam o comportamento de tablet e desktop.
   ========================================================================= */

:root {
  --teal-900: #0f5c72;
  --teal-500: #0f8fa8;
  --green: #8fbf3f;
  --green-ink: #213500;
  --green-soft: #cde79c;
  --ink: #12303b;
  --ink-900: #0d2530;
  --sand: #fbfaf7;
  --sand-200: #f1efe8;
  --body: #3a4f58;
  --muted: #4a5e66;
  --hairline: rgba(18, 48, 59, 0.09);
  --wrap: 1200px;
  --gutter: 5vw;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto é obrigatório: as imagens levam atributos width/height no HTML
   (para reservar espaço e evitar saltos de layout) e sem esta regra o browser
   usa a altura do atributo em vez da proporção real. */
img { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: pretty; }

a { color: var(--teal-900); text-decoration: none; }
a:hover { color: var(--teal-500); }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; background: var(--teal-900); color: #fff;
  font-weight: 700; font-size: 14px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------- símbolo */

.mark {
  position: relative; width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.mark__drop {
  position: absolute; inset: 2px; background: var(--teal-900);
  border-radius: 0 50% 50% 50%; transform: rotate(45deg);
}
.mark__leaf {
  position: relative; width: 13px; height: 13px; background: var(--green);
  border-radius: 0 50% 0 50%; transform: rotate(45deg);
}
.mark--inverse .mark__drop { background: #fff; }
.mark--sm { width: 26px; height: 26px; }
.mark--sm .mark__drop { inset: 1px; }
.mark--sm .mark__leaf { width: 10px; height: 10px; }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  padding: 12px var(--gutter);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 48, 59, 0.08);
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
/* «AQUA» no azul de destaque, «BILIBIZA» no escuro da marca. */
.brand__word {
  font-weight: 900; font-size: 16px; letter-spacing: 0.4px; color: var(--teal-500);
  white-space: nowrap;
}
.brand__word span { color: var(--ink); }
.brand:hover .brand__word { color: var(--teal-500); }

/* Navegação: painel deslizante no telemóvel, barra horizontal no desktop. */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch;
  padding: 6px var(--gutter) 18px;
  background: var(--sand);
  border-bottom: 1px solid rgba(18, 48, 59, 0.08);
  box-shadow: 0 16px 30px rgba(18, 48, 59, 0.12);
  font-weight: 600; font-size: 15px;
}
.site-header.nav-open .site-nav { display: flex; }
.site-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(18, 48, 59, 0.08); }
.site-nav__cta {
  margin-top: 14px; padding: 13px 20px; border-bottom: none;
  background: var(--green); color: var(--green-ink);
  border-radius: 99px; font-weight: 700; text-align: center;
}
.site-nav__cta:hover { color: var(--green-ink); }

/* No telemóvel o selector de idioma vive dentro do painel do menu, para a
   barra do topo não ficar apertada. No desktop volta para junto da navegação. */
.lang {
  display: flex; align-items: center; gap: 4px; padding: 3px;
  align-self: flex-start; margin: 6px 0 10px;
  background: rgba(18, 48, 59, 0.07); border-radius: 99px;
}
.lang button {
  padding: 7px 15px; border: none; border-radius: 99px;
  font: 700 13px Archivo, sans-serif; cursor: pointer;
  background: transparent; color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--teal-900); color: #fff; }

.site-header .header__cta { display: none; }

.burger {
  display: flex; width: 42px; height: 38px; padding: 9px 8px;
  background: rgba(18, 48, 59, 0.07); border: none; border-radius: 10px;
  cursor: pointer; flex-direction: column; justify-content: space-between; flex: none;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ----------------------------------------------------------------- botões */

.btn {
  display: inline-block; border: none; border-radius: 99px; cursor: pointer;
  font-family: Archivo, sans-serif; text-align: center;
  padding: 10px 20px; font-weight: 700; font-size: 13px;
  transition: filter .15s, background-color .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn--green { background: var(--green); color: var(--green-ink); }
.btn--green:hover { color: var(--green-ink); }
.btn--teal { background: var(--teal-900); color: #fff; }
.btn--teal:hover { color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn--lg { padding: 13px 24px; font-size: 14px; font-weight: 800; }
.btn--ghost.btn--lg { font-weight: 700; }
.btn--block { display: block; width: 100%; padding: 14px; font-size: 14px; font-weight: 800; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  background: url("/assets/img/hero-camponeses.jpg") center 55% / cover;
}
/* Gradiente em três paragens: a fotografia é clara e o texto ocupa a metade
   inferior, por isso escurece progressivamente para garantir contraste. */
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(18, 48, 59, 0.34) 0%,
    rgba(18, 48, 59, 0.58) 42%,
    rgba(13, 37, 48, 0.93) 100%);
}
.hero__inner {
  position: relative; padding: 0 var(--gutter) 52px; max-width: 820px; color: #fff;
}
.hero h1, .hero__text { text-shadow: 0 2px 16px rgba(13, 37, 48, 0.45); }
/* Em telemóvel a etiqueta cai sobre a zona clara da fotografia, por isso leva
   um fundo verde-escuro opaco. Em ecrãs maiores volta ao verde translúcido
   do design, onde o contraste já é suficiente. */
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 6px 13px; background: rgba(45, 74, 12, 0.78);
  border: 1px solid rgba(143, 191, 63, 0.6); border-radius: 99px;
  font-weight: 600; font-size: 11.5px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--green-soft);
}
.hero h1 {
  margin: 16px 0 12px; font-weight: 900;
  font-size: clamp(30px, 8vw, 34px); line-height: 1.08;
}
.hero__text {
  margin: 0 0 24px; font-size: 16.5px; line-height: 1.65; max-width: 600px;
  color: rgba(255, 255, 255, 0.92);
}
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- secções */

.section {
  padding: 58px var(--gutter);
  max-width: var(--wrap); margin: 0 auto; width: 100%;
}
.section__head { max-width: 640px; }

.eyebrow {
  margin: 0; font-weight: 700; font-size: 12px; letter-spacing: 2.2px;
  color: var(--teal-500); text-transform: uppercase;
}
.eyebrow--green { color: var(--green); }

.section h2, .projectos h2, .apoiar h2 {
  margin: 12px 0 16px; font-weight: 900; font-size: 28px; line-height: 1.15;
}
.lead { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--body); }
.lead:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ sobre */

.sobre { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.sobre__media { position: relative; margin: 0; order: -1; }
.sobre__media img {
  width: 100%; height: auto; border-radius: 14px; display: block;
  box-shadow: 0 18px 40px rgba(18, 48, 59, 0.18);
}
.sobre__badge {
  position: absolute; left: 12px; bottom: -18px;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; background: var(--teal-900); color: #fff;
  border-radius: 12px; box-shadow: 0 10px 24px rgba(18, 48, 59, 0.25);
  font-weight: 700; font-size: 12.5px; line-height: 1.3;
}

/* -------------------------------------------------- missão, visão, valores */

.mvv { background: var(--teal-900); color: #fff; padding: 54px var(--gutter); }
.mvv__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
.mvv__card {
  padding: 24px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px;
}
.mvv__card h3 { margin: 0 0 12px; font-weight: 800; font-size: 19px; color: var(--green); }
.mvv__card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }

/* ------------------------------------------------------- áreas de actuação */

.areas { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.area {
  padding: 20px; background: #fff; border: 1px solid var(--hairline);
  border-radius: 12px; display: flex; flex-direction: column; gap: 10px;
}
.area__icon {
  width: 32px; height: 32px; border: 3px solid var(--cor); background: transparent;
  border-radius: 0 50% 50% 50%; transform: rotate(45deg); flex: none;
}
.area h3 { margin: 4px 0 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.area p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* -------------------------------------------------------------- projectos */

.projectos { background: var(--sand-200); padding: 58px var(--gutter); }
.projectos__title { margin: 12px 0 26px; }
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(18, 48, 59, 0.08);
}
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin: 0 0 8px; font-weight: 800; font-size: 17px; }
.card__body p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------- notícias */

.noticias__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.noticias__head h2 { margin: 0; }
.noticias__hint { margin: 0; font-size: 13px; color: #7a8a90; }
.cards-3--flat { margin-top: 24px; }
.noticia {
  padding: 22px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px;
}
.noticia__data {
  margin: 0; font-weight: 600; font-size: 12px; letter-spacing: 1.5px;
  color: var(--teal-500); text-transform: uppercase;
}
.noticia h3 { margin: 10px 0 8px; font-weight: 800; font-size: 16.5px; line-height: 1.35; }
.noticia p:last-child { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ------------------------------------------------------------ como apoiar */

.apoiar { background: var(--ink); color: #fff; padding: 58px var(--gutter); }
.apoiar__top { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.apoiar__top h2 { margin: 12px 0 14px; }
.apoiar__lead { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); }
.apoiar__list { display: flex; flex-direction: column; gap: 14px; }
.apoiar__item {
  padding: 20px 22px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
}
.apoiar__item h3 { margin: 0 0 6px; font-weight: 800; font-size: 16px; color: var(--green); }
.apoiar__item p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }

/* Um único cartão de apoio, centrado, com doação e parceria no mesmo sítio. */
.apoiar__bottom { margin-top: 34px; }
.apoiar__bottom > .form-card { max-width: 760px; margin: 0 auto; }

/* ------------------------------------------------------------ formulários */

.form-card {
  padding: 24px; background: #fff; border: 1px solid rgba(18, 48, 59, 0.1);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(18, 48, 59, 0.07);
}
.form-card--dark {
  padding: 22px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; box-shadow: none;
}
.form-card--dark h3 { margin: 0 0 14px; font-weight: 800; font-size: 18px; color: #fff; }

/* Cartão de apoio: doação e parceria no mesmo formulário. */
.form-card--apoiar {
  background: rgba(143, 191, 63, 0.1); border-color: rgba(143, 191, 63, 0.35);
}
.form-card--apoiar h3 { margin-bottom: 8px; color: var(--green); }
.form-card__intro {
  margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.82);
}
.form-card__nota {
  margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.55);
}

/* Selector entre doação e parceria */
.escolha {
  display: flex; gap: 4px; padding: 4px; margin: 0 0 18px;
  background: rgba(13, 37, 48, 0.35); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
}
.escolha__btn {
  flex: 1; padding: 11px 12px; border: none; border-radius: 99px; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, 0.78);
  font: 700 13.5px Archivo, sans-serif;
  transition: background-color .15s, color .15s;
}
.escolha__btn:hover { color: #fff; }
.escolha__btn[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }

.form-hint {
  margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.62);
}
.form .field[hidden] { display: none; }

.form { display: flex; flex-direction: column; gap: 12px; }
.field-row { display: flex; flex-direction: column; gap: 12px; }
.field { flex: 1; min-width: 0; }

.form input, .form textarea {
  width: 100%; padding: 13px 15px; background: var(--sand);
  border: 1px solid rgba(18, 48, 59, 0.15); border-radius: 8px;
  /* 16px evita o zoom automático do Safari em iOS ao focar o campo. */
  font: 400 16px Archivo, sans-serif; color: var(--ink); outline: none;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--teal-500); }
.form input::placeholder, .form textarea::placeholder { color: #7a8a90; }

.form-card--dark .form input, .form-card--dark .form textarea {
  padding: 12px 14px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff;
}
.form-card--dark .form input::placeholder,
.form-card--dark .form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.form-card--dark .form input:focus, .form-card--dark .form textarea:focus { border-color: var(--green); }

.form [aria-invalid="true"] { border-color: #c0442f; }

.form-error { margin: 0; font-size: 13.5px; line-height: 1.5; color: #c0442f; font-weight: 600; }
.form-card--dark .form-error { color: #ffb4a2; }

.form-ok {
  padding: 18px; background: rgba(143, 191, 63, 0.14);
  border: 1px solid rgba(143, 191, 63, 0.5); border-radius: 10px;
  font-size: 14.5px; line-height: 1.6; color: #3d5c12;
}
.form-ok--dark {
  background: rgba(143, 191, 63, 0.15); border-color: rgba(143, 191, 63, 0.45);
  color: var(--green-soft);
}

/* honeypot anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- partilha */

.partilha {
  margin-top: 34px; padding: 24px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px;
}
.partilha h3 { margin: 0 0 6px; font-weight: 800; font-size: 17px; color: var(--green); }
.partilha p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.partilha__row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%; color: #fff; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.share-btn svg { width: 19px; height: 19px; fill: currentColor; }
.share-btn:hover { background: var(--green); border-color: var(--green); color: var(--green-ink); transform: translateY(-2px); }
.share-btn--copy { position: relative; }
.share-feedback {
  margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--green-soft);
}

/* -------------------------------------------------------------- contactos */

.contactar { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.contactar h2 { margin: 12px 0 14px; }
.contactar .lead { margin-bottom: 20px; }
.contactos { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.contactos > div { display: flex; flex-direction: column; gap: 2px; }
.contactos dt { font-weight: 800; color: var(--teal-900); min-width: 74px; }
.contactos dd { margin: 0; color: var(--body); }

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--ink-900); color: #fff; padding: 48px var(--gutter) 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.brand--footer { margin-bottom: 14px; }
/* No rodapé escuro, «BILIBIZA» passa a branco porque o azul-escuro
   da marca não se leria sobre o fundo. */
.brand--footer .brand__word { font-size: 17px; color: var(--teal-500); }
.brand--footer .brand__word span { color: #fff; }
.site-footer__lema {
  margin: 0 0 14px; font-weight: 600; font-size: 12px; letter-spacing: 2.5px;
  color: var(--green); text-transform: uppercase;
}
.site-footer__desc {
  margin: 0; font-size: 13.5px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.65); max-width: 380px;
}
.site-footer__t { margin: 0 0 14px; font-weight: 800; font-size: 14px; }
.site-footer__t--social { margin-top: 22px; }

.social { display: flex; gap: 10px; }
.social__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%; color: rgba(255, 255, 255, 0.85);
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.social__btn svg { width: 18px; height: 18px; fill: currentColor; }
.social__btn:hover {
  background: var(--green); border-color: var(--green);
  color: var(--green-ink); transform: translateY(-2px);
}
.site-footer__links {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.75);
}
.site-footer__links p { margin: 0; }
.site-footer__links a { color: rgba(255, 255, 255, 0.75); }
.site-footer__links a:hover { color: #fff; }
.linkish {
  background: none; border: none; padding: 0; text-align: left;
  font: 400 13.5px Archivo, sans-serif; color: rgba(255, 255, 255, 0.75); cursor: pointer;
}
.linkish:hover { color: #fff; }
.site-footer__bar {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; color: rgba(255, 255, 255, 0.45);
}
.site-footer__bar p { margin: 0; }
.site-footer__bar a { color: rgba(255, 255, 255, 0.7); }

/* ----------------------------------------------------------------- modais */

.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(13, 37, 48, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal[hidden] { display: none; }
.modal__panel {
  max-width: 680px; max-height: 88vh; overflow: auto; background: #fff;
  border-radius: 16px; padding: 26px 22px;
}
.modal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal__head h2 { margin: 0; font-weight: 900; font-size: 20px; color: var(--ink); flex: 1; }
.modal__close {
  background: rgba(18, 48, 59, 0.07); border: none; width: 34px; height: 34px;
  border-radius: 50%; font: 700 15px Archivo, sans-serif; color: var(--ink);
  cursor: pointer; flex: none;
}
.modal__body {
  font-size: 14px; line-height: 1.75; color: var(--body);
  display: flex; flex-direction: column; gap: 12px;
}
.modal__body p { margin: 0; }
body.is-locked { overflow: hidden; }

/* =========================================================================
   ≥ 600px: telemóvel grande / tablet vertical
   ========================================================================= */

@media (min-width: 600px) {
  .hero { min-height: 78vh; }
  .hero__inner { padding-bottom: 64px; }
  .hero__text { font-size: 17px; }
  .pill {
    font-size: 12.5px; letter-spacing: 2px; padding: 6px 14px;
    background: rgba(143, 191, 63, 0.22); border-color: rgba(143, 191, 63, 0.55);
  }
  .btn--lg { padding: 14px 28px; font-size: 14.5px; }

  /* A partir daqui a escala tipográfica é exactamente a do design aprovado. */
  .hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; }
  .section h2, .projectos h2, .apoiar h2 { font-size: 34px; }
  .eyebrow { font-size: 12.5px; letter-spacing: 2.5px; }
  .lead, .apoiar__lead { font-size: 15.5px; }
  .mvv__card h3 { font-size: 20px; }

  .field-row { flex-direction: row; gap: 14px; }
  .form { gap: 14px; }

  .contactos > div { flex-direction: row; gap: 10px; }

  .site-footer__bar { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
}

/* =========================================================================
   ≥ 768px: tablet
   ========================================================================= */

@media (min-width: 768px) {
  .section, .projectos, .apoiar { padding-top: 72px; padding-bottom: 72px; }
  .mvv { padding-top: 66px; padding-bottom: 66px; }

  .mvv__grid, .cards-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .areas { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  /* Texto e fotografia lado a lado já em tablet, como no design. */
  .sobre { grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
  .sobre__media { order: 0; }
  .sobre__badge { left: -14px; bottom: -18px; }
  .apoiar__top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .form-card { padding: 28px; }
  .form-card--dark, .partilha { padding: 26px; }
  .modal__panel { padding: 32px 34px; max-height: 84vh; }
  .modal__head h2 { font-size: 23px; }
}

/* =========================================================================
   ≥ 960px: desktop, navegação horizontal e grelhas completas
   ========================================================================= */

@media (min-width: 960px) {
  html { scroll-padding-top: 84px; }

  .site-header { gap: 14px; padding: 14px var(--gutter); }
  .brand { margin-right: 0; }
  .brand .mark { width: 38px; height: 38px; }
  .brand .mark__leaf { width: 14px; height: 14px; }
  .brand__word { font-size: 17px; }

  .burger { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    margin-left: auto; gap: 26px; padding: 0;
    background: none; border: none; box-shadow: none; font-size: 13.5px;
  }
  .site-nav a { padding: 0; border-bottom: none; }
  .site-nav__cta { display: none; }
  /* Entre os 960 e os 1120px o cabeçalho tem de acomodar o menu, quatro
     idiomas e o botão verde, por isso o espaçamento é mais apertado. */
  .lang { order: 1; align-self: auto; margin: 0 0 0 -8px; gap: 2px; }
  .lang button { padding: 6px 7px; font-size: 11.5px; }
  .site-nav { gap: 14px; }
  .site-header .header__cta { display: inline-block; margin-left: 8px; }

  .section, .projectos, .apoiar { padding-top: 88px; padding-bottom: 88px; }
  .mvv { padding-top: 76px; padding-bottom: 76px; }
  .section h2, .projectos h2, .apoiar h2 { margin: 12px 0 18px; }

  .sobre { gap: 48px; }
  .sobre__badge { left: -18px; padding: 14px 20px; font-size: 13px; }

  .mvv__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .card img { height: 190px; }
  .areas { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
  .area { padding: 22px; }

  .apoiar__top { gap: 48px; }
  .apoiar__item { padding: 22px 26px; }
  .apoiar__bottom { margin-top: 48px; }
  .form-card--dark, .partilha { padding: 28px; }
  .form-card { padding: 32px; }
  .form input, .form textarea { font-size: 14px; }

  .contactar { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }

  .site-footer { padding: 64px var(--gutter) 32px; }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
  .site-footer__bar { margin-top: 40px; }

  .modal { padding: 24px; }
  .modal__panel { padding: 36px 40px; max-height: 80vh; }
  .modal__head h2 { font-size: 24px; }
}

/* =========================================================================
   ≥ 1120px: respiro final
   ========================================================================= */

@media (min-width: 1120px) {
  .sobre, .apoiar__top, .contactar { gap: 56px; }
  .site-nav { gap: 24px; }
  .brand__word { font-size: 18px; }
  .lang { margin-left: -10px; gap: 4px; }
  .lang button { padding: 6px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
