/* Gerado pelo pipeline (lib/v3-fonts.mjs): 6 ficheiros woff2 de Newsreader, Public Sans, licença livre do Google Fonts (OFL/Apache/UFL). Os ficheiros estão em fonts/ (pasta do site). */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader-normal-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader-normal-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader-italic-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader-italic-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/public-sans-normal-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/public-sans-normal-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  --primary: #2f7bbf;
  --secondary: #10263a;
  --accent: #9bca3e;
  --page-bg: #eef3f6;
  --surface: #ffffff;
  --text: #10263a;
  --text-2: #3d5468;
  --border: #c9d5df;
  --cta-bg: #1f5f99;
  --cta-text: #ffffff;
  --cta-hover: #174a78;
  --focus: #1f5f99;
  --navy-rgb: 16, 38, 58;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--surface); color: var(--text); padding: 0 16px;
}
.skip:focus { top: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background-color: var(--secondary);
  background-image:
    linear-gradient(to top,
      rgba(var(--navy-rgb), .97) 0%,
      rgba(var(--navy-rgb), .9) 30%,
      rgba(var(--navy-rgb), .62) 58%,
      rgba(var(--navy-rgb), .22) 82%,
      rgba(var(--navy-rgb), .38) 100%),
    linear-gradient(to right,
      rgba(var(--navy-rgb), .25) 0%,
      rgba(var(--navy-rgb), 0) 38%,
      rgba(var(--navy-rgb), 0) 62%,
      rgba(var(--navy-rgb), .35) 100%),
    url("img/ia-7045a93dd1-hero.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, 0% 30%;
  background-repeat: no-repeat;
}

/* nav */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px var(--gutter) 0;
}
.nav__menu {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
  padding: 0 8px;
  background: none; border: 0; cursor: pointer;
}
.nav__menu span { display: block; height: 2px; background: #fff; }
.nav__brand {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
}
.nav__panel {
  position: absolute; top: 76px; left: var(--gutter);
  display: flex; flex-direction: column;
  min-width: 240px; padding: 8px 0;
  background: var(--secondary); border: 1px solid rgba(255,255,255,.25);
}
.nav__panel[hidden] { display: none; }
.nav__panel a {
  padding: 12px 20px; text-decoration: none;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
}
.nav__panel a:hover { background: rgba(255,255,255,.08); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.btn-outline {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 22px;
  border: 1px solid #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--secondary); }
.langs { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.langs a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  font-size: 13px; letter-spacing: .12em; text-decoration: none;
}
.langs a[aria-current] { border: 1px solid rgba(255,255,255,.7); }

/* body */
.hero__body {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  padding: 20px var(--gutter) 40px;
}
.hero__kicker {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 100px);
  line-height: .98;
  letter-spacing: -.018em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__support {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 18px; line-height: 1.55;
}

/* ponto de partida */
.start { margin-top: 28px; }
.start__label {
  margin: 0 0 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.start__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px;
}
.start__list li { display: flex; align-items: center; }
.start__list li + li::before {
  content: "·"; padding-right: 6px; opacity: .7;
}
.start__opt {
  min-height: 44px;
  padding: 0 10px;
  background: none; border: 0; cursor: pointer;
  font-size: 18px; letter-spacing: .04em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: rgba(255,255,255,.55);
}
.start__opt:hover { text-decoration-color: #fff; }
.start__opt[aria-pressed="true"] {
  font-weight: 700;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--accent);
}

.next {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px;
}
.next__steps { margin: 0; font-size: 16px; }
.next__lead { color: #d6e2ec; margin-right: 6px; }
.next__lead::after { content: ":"; }
.next__steps i { font-style: normal; color: var(--accent); padding: 0 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--cta-bg); color: var(--cta-text);
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .2s;
}
.btn:hover { background: var(--cta-hover); }

.hero__note {
  position: absolute; right: var(--gutter); bottom: 18px; margin: 0;
  font-size: 14px; color: #d6e2ec;
}

/* ---------- secção seguinte ---------- */
.route {
  padding: 30px var(--gutter) 72px;
  background: var(--page-bg);
}
.route__head {
  display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 24px;
  align-items: baseline;
}
.route__kicker {
  margin: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cta-bg);
}
.route h2 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: 40px; line-height: 1.1; letter-spacing: -.01em;
}
.route__list {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr));
  border-top: 2px solid var(--secondary);
}
.route__list li {
  padding: 14px 12px 0 0;
  font-size: 15px; font-weight: 600; line-height: 1.3;
}
.route__list span {
  display: block; margin-bottom: 6px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--cta-bg);
}

/* =================================================================
   Corpo do site (abaixo do primeiro ecrã)
   ================================================================= */
.route__list li { position: relative; }
.route__list li small {
  display: block; margin-top: 8px;
  font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--text-2);
}
.route__list li::before {
  content: ""; position: absolute; left: 0; right: 12px; top: -2px; height: 2px;
  background: transparent; transition: background .25s, height .25s;
}
.route__list li.is-on::before { background: var(--accent); height: 5px; top: -3px; }
.route__list li:not(.is-on) small { color: #556a7c; }
.route__foot {
  margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
}
.route__foot p { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; max-width: 34ch; }
.route__foot b { font-style: italic; font-weight: 400; font-size: 1.15em; color: var(--cta-bg); }
.route__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.route__more { display: inline-flex; align-items: center; min-height: 44px; color: var(--cta-bg); font-weight: 600; text-underline-offset: 4px; }

.btn--lime { background: var(--accent); color: var(--secondary); border-color: var(--accent); }
.btn--lime:hover { background: #b2db5e; }
.btn--wide { width: 100%; justify-content: center; border: 0; cursor: pointer; }

/* --- No terreno: plano grande sobre navy --- */
.field {
  position: relative;
  padding: 0 var(--gutter) 104px;
  background: var(--secondary);
  color: #fff;
}
.field__top {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  margin: 0 calc(-1 * var(--gutter));
}
.field__photo {
  position: relative; min-height: 560px;
  background-color: var(--secondary);
  background-image:
    linear-gradient(180deg, rgba(31, 95, 153, .18), rgba(var(--navy-rgb), .28)),
    url("img/ia-7045a93dd1-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover, 290% auto;
  background-position: 0 0, 0% 4%;
}
.field__note {
  position: absolute; left: 16px; bottom: 14px;
  padding: 3px 8px; background: rgba(var(--navy-rgb), .85);
  font-size: 14px; color: #d6e2ec;
}
.field__intro { align-self: end; padding: 104px var(--gutter) 64px 64px; }
.field__kicker { margin: 0 0 20px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.field__title {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.015em;
  max-width: 12ch;
}
.field__lead { margin: 28px 0 0; max-width: 40ch; font-size: 19px; line-height: 1.55; color: #fff; }
.field__body {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 56px; align-items: center; margin-top: 72px;
}
.field__plan { margin: 0; }
.field__plan img { display: block; width: 100%; height: auto; }
.field__plan figcaption { margin-top: 12px; font-size: 14px; color: #c6d4e0; }
.legend { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 0; counter-reset: none; }
.legend li {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 16px; line-height: 1.45; color: #d6e2ec;
}
.legend li:first-child { border-top: 0; padding-top: 0; }
.legend b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--secondary);
  font-family: var(--serif); font-size: 28px; font-weight: 500;
}
.legend strong { display: block; margin-bottom: 2px; color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.15; }
.field__bg {
  position: absolute; inset: -40px; z-index: 0;
  background: url("img/ia-7045a93dd1-hero.jpg") 0% 28% / cover no-repeat;
  filter: blur(16px) saturate(.55);
  opacity: .32;
}

/* --- O seu caso: citação grande + desenho --- */
.case { padding: 104px var(--gutter) 96px; background: var(--page-bg); }
.case__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.case h2, .team h2, .contact h2 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.01em;
}
.case__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.case__tab {
  min-height: 44px; padding: 0 18px; cursor: pointer;
  background: transparent; border: 1px solid #8fa3b5; color: var(--text);
  font-size: 15px; font-weight: 600;
}
.case__tab:hover { border-color: var(--secondary); }
.case__tab[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.case__body {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px; align-items: center; margin-top: 56px;
}
.case__quote { margin: 0; }
.case__quote blockquote { margin: 0; }
.case__quote p {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 3.5vw, 50px); line-height: 1.12; letter-spacing: -.01em;
  text-wrap: balance;
}
.case__quote figcaption { margin-top: 26px; font-size: 16px; }
.case__quote figcaption strong { display: block; font-size: 18px; }
.case__quote figcaption span { color: var(--text-2); }
.case__fig { margin: 0; position: relative; }
.case__fig img {
  display: block; width: 100%; height: auto;
  box-shadow: 18px 18px 0 var(--accent);
}
.case__fig figcaption { margin-top: 30px; font-size: 15px; color: var(--text-2); }
.case__projects {
  margin: 72px 0 0; padding-top: 28px; border-top: 2px solid var(--secondary);
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.4; max-width: 1100px;
}
.case__projects span {
  display: block; margin-bottom: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--cta-bg);
}

/* --- Quem vai ao terreno --- */
.team {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px;
  padding: 104px var(--gutter) 96px; background: var(--surface);
}
.team__intro p { margin: 18px 0 0; font-size: 18px; color: var(--text-2); max-width: 36ch; }
.team__map { margin: 36px 0 0; max-width: 380px; }
.team__map img { display: block; width: 100%; height: auto; }
.team__map figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.team__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.team__list li { max-width: 620px; padding: 0 0 44px; }
.team__list li:nth-child(2) { margin-left: 12%; }
.team__list li:nth-child(3) { margin-left: 24%; padding-bottom: 0; }
.team__list h3 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05;
}
.team__role { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--cta-bg); }
.team__list p:last-child { margin: 8px 0 0; font-size: 17px; color: var(--text-2); }
.team__more { grid-column: 2; margin: 0; padding-top: 24px; border-top: 1px solid var(--border); font-size: 16px; color: var(--text-2); }
.team__more a, .contact a, .form__note a { color: var(--cta-bg); font-weight: 600; text-underline-offset: 4px; }

/* --- Contacto --- */
.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px;
  padding: 104px var(--gutter); background: var(--page-bg);
}
.contact h2 { font-style: italic; font-size: clamp(36px, 4.4vw, 60px); max-width: 10ch; }
.contact__side > p { margin: 20px 0 0; font-size: 18px; color: var(--text-2); max-width: 40ch; }
.contact__fig { margin: 40px 0 0; }
.contact__fig img { display: block; width: 100%; height: auto; }
.contact__fig figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.form {
  background: var(--surface); border: 1px solid var(--border);
  padding: 40px; display: grid; gap: 20px; align-self: start;
}
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend, .form label { font-size: 15px; font-weight: 700; }
.form legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  border: 1px solid #8fa3b5; font-weight: 600; cursor: pointer;
}
.chips label::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 2px solid #8fa3b5; background: #fff;
}
.chips label:has(input:checked) { border-color: var(--cta-bg); background: #e1ecf6; }
.chips label:has(input:checked)::before { border-color: var(--cta-bg); background: var(--cta-bg); box-shadow: inset 0 0 0 3px #fff; }
.chips label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.form__row { display: grid; gap: 6px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #8fa3b5; border-radius: 0; background: #fff; color: var(--text);
  font: inherit; font-size: 16px;
}
.form textarea { resize: vertical; }
.form__note { margin: 0; font-size: 14px; color: var(--text-2); }
.form__done { margin: 0; padding: 12px 14px; background: #e6f1d6; color: #23461a; font-size: 15px; }

/* --- Rodapé --- */
.foot {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px;
  padding: 64px var(--gutter) 40px; background: var(--secondary); color: #fff;
}
.foot__name { margin: 0; font-family: var(--serif); font-size: 28px; }
.foot__brand p:last-child { margin: 8px 0 0; color: #c6d4e0; max-width: 40ch; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 28px; align-content: start; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; }
.foot__nav a:hover { text-decoration: underline; }
.foot__small { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; color: #c6d4e0; }
.foot__small a { color: #fff; }

/* =================================================================
   Páginas interiores
   ================================================================= */
.page-head {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-rows: auto 1fr;
  min-height: 600px;
  background: var(--secondary); color: #fff;
}
.page-head .nav { grid-column: 1 / -1; padding-bottom: 12px; }
.page-head__text { padding: 48px var(--gutter) 64px; align-self: center; }
.page-head__kicker { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--accent); }
.page-head h1 {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.015em; max-width: 13ch;
}
.page-head__lead { margin: 22px 0 30px; font-size: 18px; line-height: 1.55; color: #d6e2ec; max-width: 46ch; }
.page-head__fig { margin: 0; align-self: stretch; position: relative; min-height: 380px; }
.page-head__fig { overflow: hidden; }
.page-head__fig .ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 30%; filter: saturate(.7); }
.page-head__fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(var(--navy-rgb), .92) 0%, rgba(var(--navy-rgb), .55) 45%, rgba(var(--navy-rgb), .35) 100%);
}
.page-head__fig .ph-draw {
  position: absolute; z-index: 1; left: 8%; right: 8%; top: 50%; transform: translateY(-50%);
  width: 84%; height: auto; max-height: 82%; object-fit: contain;
}
.page-head__fig figcaption { z-index: 2; }
.page-head__fig figcaption {
  position: absolute; right: var(--gutter); bottom: 14px; font-size: 14px; color: #d6e2ec;
}
.page-head .nav__panel { top: 76px; }

.wrap { padding: 96px var(--gutter); }
.wrap--white { background: var(--surface); }
.wrap--navy { background: var(--secondary); color: #fff; }
.sec-title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.01em; max-width: 22ch;
}
.sec-lead { margin: 16px 0 0; font-size: 18px; color: var(--text-2); max-width: 60ch; }
.wrap--navy .sec-lead { color: #d6e2ec; }

/* serviços: fases */
.phase { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 56px 0; border-top: 2px solid var(--secondary); }
.phase:first-of-type { border-top: 0; padding-top: 0; }
.phase__name { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; }
.phase__when { margin: 12px 0 0; font-size: 16px; color: var(--text-2); max-width: 34ch; }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.svc h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.svc h3 span { display: block; margin-bottom: 6px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; color: var(--cta-bg); }
.svc p { margin: 10px 0 0; font-size: 16px; color: var(--text-2); }
.svc .svc__get { color: var(--text); }

/* para quem */
.band {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  margin: 24px calc(-1 * var(--gutter)) 64px; padding: 72px var(--gutter);
  background: var(--secondary); color: #fff;
}
.band > :not(.field__bg) { position: relative; z-index: 1; }
.band__text { margin: 0; max-width: 28ch; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.12; }
.band + .prof { border-top: 0; padding-top: 0; }
.prof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--border); }
.prof:first-of-type { border-top: 0; padding-top: 0; }
.prof__fig { margin: 0; }
.prof__fig img { display: block; width: 100%; height: auto; }
.prof h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.prof__path { margin: 14px 0 0; font-size: 16px; color: var(--text-2); }
.prof__path b { color: var(--text); }
.prof blockquote { margin: 22px 0 0; padding-left: 20px; border-left: 4px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; }
.prof blockquote footer { margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 15px; color: var(--text-2); }
.prof .btn { margin-top: 26px; }

/* ativos */
.assets { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.assets th { text-align: left; font-size: 14px; font-weight: 700; color: var(--text-2); padding: 0 16px 12px 0; border-bottom: 2px solid var(--secondary); }
.assets td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.assets td:first-child { font-family: var(--serif); font-size: 24px; line-height: 1.2; width: 38%; }
.assets td small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 15px; color: var(--text-2); }
.assets .price { font-family: var(--serif); font-style: italic; font-size: 24px; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 10px; background: #e6f1d6; color: #23461a; font-size: 14px; font-weight: 700; }
.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }

/* equipa */
.people { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; }
.people h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.people .role { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--cta-bg); }
.wrap--navy .people .role { color: var(--accent); }
.people p { margin: 10px 0 0; font-size: 16px; color: var(--text-2); }
.wrap--navy .people p { color: #d6e2ec; }
.people--lead li:first-child { grid-column: 1 / -1; max-width: 760px; }
.people--lead li:first-child h3 { font-size: 46px; font-style: italic; }

.langs-list { margin: 20px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.5; }
.prose { max-width: 70ch; font-size: 17px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 40px 0 0; }
.prose p, .prose li { color: var(--text-2); }

/* ---------- telemóvel ---------- */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    background-image:
      linear-gradient(to bottom,
        rgba(var(--navy-rgb), .35) 0px,
        rgba(var(--navy-rgb), .05) 70px,
        rgba(var(--navy-rgb), .1) 180px,
        rgba(var(--navy-rgb), .85) 300px,
        rgba(var(--navy-rgb), 1) 390px),
      url("img/ia-7045a93dd1-hero.jpg");
    background-size: 100% 390px, auto 390px;
    background-position: 0 0, 14% 0;
  }
  .nav { padding-top: 10px; gap: 6px; padding-left: 8px; }
  .nav__brand { font-size: 21px; }
  .nav__right { gap: 0; }
  .btn-outline { display: none; }
  .langs__more { display: none; }
  .hero__body {
    align-items: stretch; text-align: left;
    justify-content: flex-start;
    padding: 132px 16px 28px;
  }
  .hero__kicker { font-size: 12px; letter-spacing: .14em; margin-bottom: 10px; }
  .hero__title { font-size: 40px; line-height: 1.02; max-width: none; }
  .hero__support { font-size: 16px; margin-top: 14px; }
  .start { margin-top: 20px; }
  .start__label { margin-bottom: 8px; }
  .start__list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  }
  .start__list li + li::before { content: none; }
  .start__opt {
    width: 100%; min-height: 46px; text-align: left;
    padding: 0 12px;
    font-size: 15px; letter-spacing: .01em;
    border: 1px solid rgba(255,255,255,.35);
    text-underline-offset: 6px;
  }
  .start__opt[aria-pressed="true"] { border-color: var(--accent); }
  .next { margin-top: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .next__steps { font-size: 14px; }
  .btn { justify-content: space-between; }
  .hero__note { top: 64px; right: 12px; bottom: auto; padding: 4px 8px; background: rgba(var(--navy-rgb), .8); }
  .route { padding: 36px 16px 56px; }
  .route__head { grid-template-columns: 1fr; gap: 10px; }
  .route h2 { font-size: 30px; }
  /* nove serviços: um painel com a paisagem por baixo, película navy, uma linha por serviço */
  .route__panel {
    margin: 24px -16px 0;
    color: #fff;
    background-color: var(--secondary);
    background-image:
      linear-gradient(180deg, rgba(var(--navy-rgb), .62) 0%, rgba(var(--navy-rgb), .74) 45%, rgba(var(--navy-rgb), .9) 100%),
      linear-gradient(180deg, rgba(31, 95, 153, .35), rgba(31, 95, 153, .35)),
      url("img/ia-7045a93dd1-hero.jpg");
    background-repeat: no-repeat;
    background-size: cover, cover, auto 1500px;
    background-position: 0 0, 0 0, 0% 0%;
  }
  .route__list { display: block; margin: 0; border-top: 0; padding: 8px 0 0; }
  .route__list li {
    display: grid; grid-template-columns: 62px 1fr; column-gap: 12px;
    padding: 18px 16px 18px 16px;
    border-top: 1px solid rgba(255,255,255,.22);
    font-size: 19px; font-weight: 700; line-height: 1.25; color: #fff;
    text-shadow: 0 1px 2px rgba(var(--navy-rgb), .6);
  }
  .route__list li:first-child { border-top: 0; }
  .route__list span {
    grid-row: 1 / span 2; margin: 0;
    font-size: 44px; line-height: .9; color: #fff;
  }
  .route__list li.is-on span { color: var(--accent); }
  .route__list li::before { left: 0; right: auto; top: 18px; bottom: 18px; width: 4px; height: auto; }
  .route__list li.is-on::before { top: 18px; height: auto; width: 4px; }
  .route__list li small, .route__list li:not(.is-on) small {
    margin-top: 4px; font-size: 15px; color: #e3ecf3;
  }
  .route__foot {
    display: block; margin: 0; padding: 28px 16px 32px;
    border-top: 1px solid rgba(255,255,255,.22);
  }
  .route__foot p { font-size: 22px; color: #fff; }
  .route__foot b { color: var(--accent); }
  .route__actions { display: grid; gap: 4px; margin-top: 20px; }
  .route__actions .btn { width: 100%; justify-content: space-between; }
  .route__more { color: #fff; }
}

@media (max-width: 760px) {
  .field { padding: 0 16px 56px; }
  .field__top { grid-template-columns: 1fr; margin: 0 -16px; }
  .field__photo { min-height: 300px; background-size: cover, 270% auto; background-position: 0 0, 0% 6%; }
  .field__note { left: 12px; bottom: 10px; }
  .field__intro { padding: 32px 16px 0; }
  .field__kicker { font-size: 13px; margin-bottom: 14px; }
  .field__title { font-size: 38px; }
  .field__lead { font-size: 17px; margin-top: 18px; }
  .field__body { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .field__plan { margin: 0 -16px; }
  .field__plan figcaption { padding: 0 16px; }
  .legend li { grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; }
  .legend b { width: 46px; height: 46px; font-size: 24px; }
  .legend strong { font-size: 23px; }
  .field .btn { width: 100%; justify-content: space-between; }

  .case { padding: 56px 16px; }
  .case__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .case__tab { padding: 0 6px; font-size: 14px; }
  .case__body { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .case__quote p { font-size: 28px; }
  .case__fig { margin-right: 18px; }
  .case__projects { margin-top: 48px; font-size: 20px; }

  .team { grid-template-columns: 1fr; gap: 36px; padding: 56px 16px; }
  .team__map { max-width: 240px; margin-top: 24px; }
  .team__list li, .team__list li:nth-child(2), .team__list li:nth-child(3) { margin-left: 0; padding-bottom: 28px; }
  .team__list li:nth-child(2) { padding-left: 24px; border-left: 4px solid var(--accent); }
  .team__more { grid-column: 1; }

  .contact { grid-template-columns: 1fr; gap: 32px; padding: 56px 16px; }
  .contact__fig { margin-top: 24px; }
  .form { padding: 20px 16px; }
  .form__grid { grid-template-columns: 1fr; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chips label { padding: 0 10px; font-size: 15px; }

  .foot { grid-template-columns: 1fr; padding: 48px 16px 32px; }
  .foot__nav { gap: 0 20px; }

  .page-head { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .page-head__fig { order: 0; min-height: 0; height: 250px; }
  .page-head__text { order: 1; padding: 24px 16px 36px; }
  .page-head .nav { order: -1; }
  .page-head h1 { font-size: 38px; }
  .page-head__lead { font-size: 16px; margin: 14px 0 20px; }
  .page-head .btn { width: 100%; justify-content: space-between; }
  .page-head__fig figcaption { right: 12px; bottom: 8px; background: rgba(var(--navy-rgb), .8); padding: 2px 6px; }

  .wrap { padding: 56px 16px; }
  .phase { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .prof { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .assets thead { display: none; }
  .assets, .assets tbody, .assets tr, .assets td { display: block; width: 100%; }
  .assets tr { padding: 20px 0; border-bottom: 1px solid var(--border); }
  .assets td { padding: 4px 0; border: 0; }
  .assets td:first-child { width: 100%; }
  .split2 { grid-template-columns: 1fr; gap: 36px; }
  .people { grid-template-columns: 1fr; gap: 32px; }
  .people--lead li:first-child h3 { font-size: 34px; }
}
