/* ── Cabeçalho e rodapé (todas as páginas) — à escala da mockup (1280 unidades de largura) ── */
@font-face { font-family: 'AzoSansUber'; src: url('../fonts/AzoSansUberRegular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
/* A Azo (versão de teste) não tem acentos, ç, ·, —, & ... : esses caracteres vêm de uma letra geométrica parecida (Figtree),
   para o texto ficar uniforme. Quando tiveres a Azo completa, apaga este bloco. */
@font-face { font-family: 'AzoSans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); unicode-range: U+0021-002B,U+002D,U+002F,U+003A-0040,U+005B-0060,U+007B-007E,U+00A1-00AC,U+00AE-00FF,U+0102,U+0131,U+0152-0153,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+20AC; }
@font-face { font-family: 'AzoSans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-500-normal.woff2') format('woff2'); unicode-range: U+0021-002B,U+002D,U+002F,U+003A-0040,U+005B-0060,U+007B-007E,U+00A1-00AC,U+00AE-00FF,U+0102,U+0131,U+0152-0153,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+20AC; }
@font-face { font-family: 'AzoSans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2'); unicode-range: U+0021-002B,U+002D,U+002F,U+003A-0040,U+005B-0060,U+007B-007E,U+00A1-00AC,U+00AE-00FF,U+0102,U+0131,U+0152-0153,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+20AC; }
@font-face { font-family: 'AzoSans'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-900-normal.woff2') format('woff2'); unicode-range: U+0021-002B,U+002D,U+002F,U+003A-0040,U+005B-0060,U+007B-007E,U+00A1-00AC,U+00AE-00FF,U+0102,U+0131,U+0152-0153,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+20AC; }
@font-face { font-family: 'AzoSuper'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/figtree-latin-900-normal.woff2') format('woff2'); unicode-range: U+0021-002B,U+002D,U+002F,U+003A-0040,U+005B-0060,U+007B-007E,U+00A0-00AC,U+00AE-00FF,U+0102,U+0131,U+0152-0153,U+2013-2014,U+2018-2019,U+201C-201D,U+2022,U+2026,U+20AC; }
body { background: #E8E8E8; }

.hm-head { container-type: inline-size; max-width: 2200px; margin: 0 auto; position: relative; z-index: 300; }
.hm-head-in { --u: calc(100cqw / 1280); position: relative; width: 100%; aspect-ratio: 1280 / 234; }
.hm-socbar { position: absolute; left: 0; top: 0; width: 100%; height: calc(53 * var(--u)); background: var(--blue); }
.hm-soc { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); color: var(--yellow); display: block; }
.hm-soc svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.hm-logo { position: absolute; left: calc(91 * var(--u)); top: calc(92.4 * var(--u)); width: calc(277.7 * var(--u)); height: calc(105 * var(--u)); display: block; }
.hm-logo-box { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-logo-img { position: absolute; left: calc(49 * var(--u)); top: 50%; width: calc(180 * var(--u)); height: auto; transform: translateY(-50%); }
.hm-nav a { position: absolute; top: calc(137 * var(--u)); font: 400 calc(12 * var(--u))/calc(14 * var(--u)) 'AzoSans', sans-serif; color: #1E1E1E; text-decoration: none; white-space: nowrap; }
.hm-nav a:nth-child(1) { left: calc(442 * var(--u)); }
.hm-nav a:nth-child(2) { left: calc(553 * var(--u)); }
.hm-nav a:nth-child(3) { left: calc(671 * var(--u)); }
.hm-nav a:nth-child(4) { left: calc(856 * var(--u)); }
.hm-nav a:hover, .hm-nav a[aria-current] { color: var(--blue); }
.hm-burger { display: none; }          /* o hambúrguer só existe no telemóvel */
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .hm-head-in { aspect-ratio: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 5vw 3vw; }
  .hm-socbar { position: static; order: 0; flex: 0 0 calc(100% + 10vw); height: auto; margin: 0 -5vw 4vw; padding: 2.6vw 5vw; display: flex; gap: 4vw; }
  .hm-soc { position: static; width: 4vw; height: 4vw; min-width: 14px; min-height: 14px; }
  .hm-logo { position: relative; left: auto; top: auto; width: 50vw; height: 19vw; }
  .hm-logo-img { left: 17.7%; width: 64.8%; }
  .hm-nav { display: none; }
  .hm-burger { display: block; position: relative; width: 24vw; height: 13.5vw; border: 0; background: none; cursor: pointer; padding: 0; }
  .hm-burger img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hm-burger .lines { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 4px; }
  .hm-burger .lines i { display: block; width: 20px; height: 2px; background: var(--yellow); }
  .mobile-menu { flex: 0 0 100%; flex-direction: column; background: #E8E8E8; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font: 400 14px 'AzoSans', sans-serif; letter-spacing: .5px; color: #1E1E1E; text-decoration: none; padding: 14px 2px; border-bottom: 1px solid rgba(0,0,0,.12); }
}

/* ── Rodapé ── */
.hf { container-type: inline-size; position: relative; z-index: 5; background: var(--blue); color: #E8E8E8; }
.hf-in { --u: calc(100cqw / 1280); position: relative; width: 100%; aspect-ratio: 1280 / 289; }
.hf-t { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); font: 400 calc(var(--s) * var(--u))/1.25 'AzoSans', sans-serif; color: #E8E8E8; white-space: nowrap; text-decoration: none; margin: 0; }
.hf-t a { color: inherit; text-decoration: none; }
.hf-r { font-size: 1.78em; }
.hf-logo { position: absolute; left: calc(93 * var(--u)); top: calc(34 * var(--u)); width: calc(132 * var(--u)); height: auto; }
.hf-form { position: static; }
.hf-input { position: absolute; left: calc(94 * var(--u)); top: calc(141 * var(--u)); width: calc(333 * var(--u)); height: calc(45 * var(--u)); border: 1px solid #ced0d3; border-radius: calc(23 * var(--u)); background: #fff; padding: 0 calc(21 * var(--u)); font: 400 calc(12 * var(--u)) 'AzoSans', sans-serif; color: var(--blue); outline: none; }
.hf-input::placeholder { color: var(--blue); opacity: 1; }
.hf-submit { position: absolute; left: calc(447 * var(--u)); top: calc(141 * var(--u)); width: calc(142 * var(--u)); height: calc(40 * var(--u)); border: 0; border-radius: calc(20 * var(--u)); background: var(--yellow); color: var(--blue); font: 400 calc(18.4 * var(--u)) 'AzoSansUber', sans-serif; cursor: pointer; }
.hf-s { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); color: #fff; display: block; }
.hf-s svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.hf-linha { position: absolute; left: calc(93 * var(--u)); top: calc(235 * var(--u)); width: calc(1091 * var(--u)); height: 1px; background: #ced0d3; }

@media (max-width: 900px) {
  .hf-in { --u: calc(100cqw / 430); aspect-ratio: auto; padding: 8vw 7vw 6vw; display: flex; flex-direction: column; gap: 14px; }
  .hf-in > *, .hf-in nav, .hf-in address, .hf-in .hf-social, .hf-in .hf-legal { position: static; }
  .hf-logo, .hf-t, .hf-s, .hf-input, .hf-submit, .hf-linha { position: static; }
  .hf-logo { width: 38vw; }
  .hf-t { font-size: max(13px, calc(var(--s) * var(--u))); white-space: normal; }
  .hf-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .hf-input { width: 100%; height: 44px; padding: 0 18px; font-size: 14px; }
  .hf-submit { width: auto; height: 40px; padding: 0 28px; font-size: 16px; }
  .hf-nav, .hf-contactos, .hf-legal { display: flex; flex-direction: column; gap: 8px; }
  .hf-social { display: flex; gap: 18px; }
  .hf-s { width: 22px; height: 22px; }
  .hf-linha { width: 100%; }
  .hf-legal { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
}