/* ==========================================================================
   GOTI — Site público
   Minimalista: fundo branco, tipografia forte, espaços generosos.
   Monocromático (preto, branco e cinzas). O logo é sempre branco: o header
   fica escuro (vidro) ao fazer scroll e todas as páginas abrem com um hero escuro.
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;
  --muted: #6b6b6b;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --line: rgba(10, 10, 10, 0.09);
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg-alt: #f5f5f4;
  --silver: #c9ccd2;
  --danger: #b91c1c;
  --success: #15803d;

  --container: 1280px;
  --gutter: 64px;
  --header-h: 92px;

  --head: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.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: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--black);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tipografia utilitária ---------- */
.label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.dark .label, .label-light { color: var(--muted-dark); }

.num {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.6;
}

.muted { color: var(--muted); }

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 16px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}

.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:disabled { opacity: .55; cursor: wait; }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--silver); }
.btn-outline { border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--black); }
.dark .btn-outline { border-color: var(--line-dark); }
.dark .btn-outline:hover { border-color: var(--white); }

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  border-bottom-color: rgba(127, 127, 127, 0.45);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color .4s;
}

.link-line:hover { border-bottom-color: currentColor; }
.link-line .i { transition: transform .3s var(--ease); }
.link-line:hover .i { transform: translateX(4px); }

/* ==========================================================================
   HEADER — identidade GOTI: navegação em texto normal com hover em pílula,
   slogan ao lado do logo e botão de contacto sempre visível.
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--white);
  transition: background .5s var(--ease), box-shadow .5s;
}

.site-header.is-solid,
.site-header.mega-open {
  background: rgba(10, 10, 10, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  transition: height .5s var(--ease);
}

.is-solid .header-inner { height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

/* Proporção fixa do logo (744×228): nunca deforma */
.brand img {
  display: block;
  width: auto;
  height: 24px;
  max-width: none;
  aspect-ratio: 744 / 228;
}

.brand-tag {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted-dark);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; height: 100%; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  font-size: 15px;
}

.nav-list > li { height: 100%; display: flex; align-items: center; }

.nav-list > li > a,
.nav-list > li > button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: background .3s, color .3s;
}

.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li > [aria-expanded="true"] { background: rgba(255, 255, 255, 0.09); color: var(--white); }

/* Página activa: ponto por baixo do texto */
.nav-list > li > [aria-current="page"] { color: var(--white); }
.nav-list > li > [aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}

.nav-list .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-list [aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-extra { display: flex; align-items: center; gap: 20px; margin-left: 28px; }

.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.lang a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; opacity: .45; transition: opacity .3s; }
.lang a:hover { opacity: .8; }
.lang a[aria-current] { opacity: 1; font-weight: 600; }
.lang span { opacity: .3; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .3s;
}

.btn-nav .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-nav:hover { background: var(--silver); }
.btn-nav:hover .i { transform: translateX(3px); }

/* ---------- Mega-menu (painel escuro, contínuo com o header) ---------- */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0d0d0d;
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 30px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.mega.is-open { opacity: 1; visibility: visible; transform: none; }

.mega-grid {
  display: grid;
  grid-template-columns: 4fr 4fr 3fr;
  padding-top: 52px;
  padding-bottom: 60px;
}

.mega-intro { padding-right: 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mega-intro h2 { font-size: 40px; font-weight: 300; }
.mega-intro p { color: var(--muted-dark); font-size: 15px; font-weight: 300; margin-bottom: 14px; }

.mega-col { padding: 0 48px; border-left: 1px solid var(--line-dark); }

.mega-col h3 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.mega-col h3:not(:first-child) { margin-top: 34px; }
.mega-col li + li { margin-top: 4px; }

.mega-col a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 -12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: background .2s, color .2s;
}

.mega-col a .i { width: 16px; height: 16px; opacity: .35; transition: opacity .2s, transform .2s; }
.mega-col a:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.mega-col a:hover .i { opacity: 1; transform: translate(2px, -2px); }
.mega-muted a { color: rgba(255, 255, 255, 0.62); }


/* ---------- Menu móvel ---------- */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.burger { position: relative; width: 26px; height: 14px; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:first-child { top: 2px; }
.burger span:last-child { top: 11px; }
.menu-open .burger span:first-child { top: 6.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 6.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { background: var(--black); }

.mobile-menu .container { display: flex; flex: 1; flex-direction: column; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }

.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--head);
  font-size: 32px;
  letter-spacing: -0.02em;
}

.mobile-menu li a span { font-family: var(--body); font-size: 11px; letter-spacing: 0.2em; opacity: .4; }
.mobile-menu li a[aria-current="page"] { color: var(--silver); }

.mobile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 40px;
  font-size: 14px;
  color: var(--muted-dark);
}

/* ==========================================================================
   HERO — slider da página inicial
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s ease-in-out, visibility 1.4s;
}

.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.media-bg { position: absolute; inset: 0; overflow: hidden; }

.media-bg img,
.media-bg picture {
  width: 100%;
  height: 100%;
}

.media-bg img {
  object-fit: cover;
  opacity: .55;
  filter: grayscale(1) contrast(1.2);
}

.slide .media-bg img { transform: scale(1.08); transition: transform 9s linear; }
.slide.is-active .media-bg img { transform: scale(1); }

.media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.slide-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 200px;
}

.slide-body > .container > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.slide.is-active .slide-body > .container > * { opacity: 1; transform: none; }
.slide.is-active .slide-body h1,
.slide.is-active .slide-body h2 { transition-delay: .12s; }
.slide.is-active .slide-body p { transition-delay: .24s; }
.slide.is-active .slide-body .link-line { transition-delay: .36s; }

.slide-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 24px;
}

/* Títulos do slider: mais contidos */
.slide-title {
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1.06;
  max-width: 16ch;
  margin-bottom: 24px;
}

.slide-text {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

/* Separadores do slider: número + título de cada solução, com barra de progresso */
.hero-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.tabs-inner {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), 1fr);
}

.tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 92px;
  padding: 28px 24px 32px 0;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.45);
  transition: color .3s;
}

.tab + .tab { padding-left: 28px; }
.tab:hover { color: rgba(255, 255, 255, 0.8); }
.tab.is-active { color: var(--white); }

.tab-num { font-size: 12px; letter-spacing: 0.16em; font-variant-numeric: tabular-nums; }
.tab-title { font-family: var(--head); font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }

.tab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.tab.is-active::before { animation: progress var(--slide-time, 7s) linear forwards; }
.hero.is-paused .tab.is-active::before { animation-play-state: paused; }

@keyframes progress { to { transform: scaleX(1); } }

/* ==========================================================================
   HERO das páginas interiores
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: max(68svh, 540px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
}

.page-hero.is-short { min-height: max(48svh, 420px); }
.page-hero > .container { position: relative; z-index: 1; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 40px;
}

.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: .4; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

.page-hero .label { margin-bottom: 24px; }

.page-title {
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 300;
  max-width: 17ch;
}

.page-hero .lead {
  max-width: 600px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ==========================================================================
   SECÇÕES
   ========================================================================== */
.section { padding: 136px 0; }
.section + .section:not(.alt):not(.dark) { border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--black); color: var(--white); }
.section.tight { padding: 96px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 72px;
}

.section-head h2,
.h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; }

.section-head .head-side { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head .head-side p { max-width: 440px; color: var(--muted); font-weight: 300; }
.dark .section-head .head-side p { color: var(--muted-dark); }

/* Intro / frase de destaque */
.grid-1-3 { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }

.statement {
  font-family: var(--head);
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 21ch;
}

.statement em { font-style: normal; color: var(--muted); }

.mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 88px;
}

.mv article { border-top: 1px solid var(--black); padding-top: 28px; }
.mv h3 { font-size: 28px; font-weight: 500; margin: 18px 0 14px; }
.mv p { color: var(--muted); font-weight: 300; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.stats li { padding: 28px 24px 0 0; }
.stats strong { display: block; font-family: var(--head); font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 15px; }

/* Banner */
.banner { height: 70vh; min-height: 380px; max-height: 760px; overflow: hidden; background: var(--black); }
.banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .85; }

/* Divisão imagem + texto */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-media { overflow: hidden; background: var(--black); aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform 1.2s var(--ease); }
.split:hover .split-media img { transform: scale(1.03); }

.split-body h2 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 300; margin: 20px 0 28px; }
.split-body p { color: var(--muted); font-weight: 300; }
.split-body p + p { margin-top: 18px; }
.dark .split-body p { color: var(--muted-dark); }
.split-body .btn, .split-body .link-line { margin-top: 40px; }

/* Lista de soluções (linhas) */
.service-list { border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }

.service-list a {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.4fr auto;
  align-items: center;
  gap: 32px;
  padding: 44px 0;
  transition: padding .4s var(--ease), background .4s, color .4s;
}

.service-list h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 400; }
.service-list p { color: var(--muted); font-size: 15px; font-weight: 300; transition: color .4s; }
.service-list .i { width: 24px; height: 24px; transition: transform .4s var(--ease); }

.service-list a:hover { background: var(--black); color: var(--white); padding-left: 28px; padding-right: 28px; }
.service-list a:hover p, .service-list a:hover .num { color: var(--muted-dark); }
.service-list a:hover .i { transform: translate(3px, -3px); }

/* Grelha de soluções com imagem (página Soluções) */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); }

.service-card { position: relative; background: var(--white); }
.service-card a { display: flex; flex-direction: column; height: 100%; }
.service-card figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .9; transition: transform 1.2s var(--ease), opacity .4s; }
.service-card a:hover figure img { transform: scale(1.04); opacity: 1; }
.service-card .card-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 36px 40px 44px; }
.service-card h3 { font-size: clamp(24px, 2.4vw, 32px); }
.service-card p { color: var(--muted); font-weight: 300; }
.service-card .link-line { align-self: flex-start; margin-top: auto; padding-top: 16px; }

/* Valores */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.values-grid li {
  padding: 44px 40px 52px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}

.values-grid li:hover { background: var(--white); }
.values-grid .num { margin-bottom: 44px; }
.values-grid h3 { font-size: 26px; font-weight: 500; margin-bottom: 12px; }
.values-grid p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Etapas do processo */
.steps {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 40px;
}

.steps li { border-top: 1px solid currentColor; padding-top: 28px; }
.dark .steps li { border-top-color: var(--line-dark); }
.steps .num { margin-bottom: 40px; }
.dark .steps .num { color: var(--muted-dark); }
.steps h3 { font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 15px; font-weight: 300; }
.dark .steps p { color: var(--muted-dark); }

/* Plataforma — dois modelos */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 56px 52px;
  border: 1px solid var(--line);
  background: var(--white);
}

.plan.is-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.plan .plan-tag { font-family: var(--head); font-size: clamp(48px, 6vw, 84px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.plan h3 { font-size: 26px; font-weight: 500; margin: 28px 0 14px; }
.plan > p { color: var(--muted); font-weight: 300; }
.plan.is-dark > p { color: var(--muted-dark); }

.checklist { margin: 36px 0 44px; border-top: 1px solid var(--line); }
.is-dark .checklist { border-top-color: var(--line-dark); }
.checklist li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.is-dark .checklist li { border-bottom-color: var(--line-dark); }
.checklist .i { width: 18px; height: 18px; margin-top: 3px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* Recursos */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.features li { background: var(--black); padding: 44px 40px 52px; transition: background .4s; }
.features li:hover { background: #151515; }
.features .num { color: var(--muted-dark); margin-bottom: 44px; }
.features h3 { font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.features p { color: var(--muted-dark); font-size: 15px; font-weight: 300; }

/* Público-alvo */
.audience { border-top: 1px solid var(--line); }
.audience li {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.audience h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; }
.audience p { color: var(--muted); font-weight: 300; max-width: 560px; }

/* Chamada final */
.cta-band { background: var(--black); color: var(--white); padding: 136px 0; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: end; }
.cta-band .label { margin-bottom: 28px; }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; max-width: 17ch; }
.cta-band .cta-side p { color: var(--muted-dark); font-weight: 300; margin-bottom: 36px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Insights — cartões */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.posts.two { grid-template-columns: repeat(2, 1fr); }

.post { position: relative; display: flex; flex-direction: column; }
.post figure { aspect-ratio: 3 / 2; overflow: hidden; background: var(--black); margin-bottom: 24px; }
.post figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform 1.2s var(--ease); }
.post:hover figure img { transform: scale(1.04); }
.post .label { margin-bottom: 14px; }
.post h3 { font-size: 24px; font-weight: 400; line-height: 1.2; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post:hover h3 { color: var(--muted); }
.post p { color: var(--muted); font-size: 15px; font-weight: 300; margin-top: 12px; }
.post .meta { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--muted); }

.post-featured { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.post-featured figure { margin: 0; aspect-ratio: 3 / 2; }
.post-featured h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; margin: 16px 0 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color .3s, background .3s, color .3s;
}
.chips a:hover { border-color: var(--black); }
.chips a[aria-current] { background: var(--black); color: var(--white); border-color: var(--black); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 72px; }
.pagination a { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; }
.pagination a:hover { border-color: var(--black); }
.pagination a[aria-current] { background: var(--black); color: var(--white); border-color: var(--black); }

/* Texto longo (artigos e descrição das soluções) */
.prose { font-size: 18px; line-height: 1.75; font-weight: 300; color: #2b2b2b; max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; color: var(--black); margin-top: 1.8em; }
.prose h3 { font-size: 22px; font-weight: 500; color: var(--black); margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-underline-offset: 4px; color: var(--black); }
.prose strong { font-weight: 600; color: var(--black); }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 1px; background: var(--black); }
.prose ol { padding-left: 1.2em; list-style: decimal; }
.prose blockquote { font-family: var(--head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.3; color: var(--black); padding: 8px 0 8px 28px; border-left: 2px solid var(--black); margin: 1.6em 0; }
.prose img { margin: 1.6em 0; }

.article-head .meta { margin-top: 32px; font-size: 13px; color: var(--muted-dark); letter-spacing: 0.04em; }
.article-cover { margin-top: -120px; position: relative; z-index: 2; }
.article-cover figure { aspect-ratio: 16 / 8; overflow: hidden; background: var(--black); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }

.aside-box { position: sticky; top: 110px; padding: 40px; background: var(--black); color: var(--white); }
.aside-box h2, .aside-box h3 { font-size: 24px; font-weight: 400; margin: 14px 0 12px; }
.aside-box p { color: var(--muted-dark); font-size: 15px; font-weight: 300; }
.aside-box .link-line { margin-top: 28px; }

.layout-content { display: grid; grid-template-columns: 7fr 4fr; gap: 96px; align-items: start; }

/* Outras soluções */
.others { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.others a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%;
  padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--head); font-size: 20px; transition: background .3s, color .3s;
}
.others a:hover { background: var(--black); color: var(--white); }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact-strip .label { margin-bottom: 8px; }
.contact-strip a, .contact-strip p { font-family: var(--head); font-size: clamp(18px, 1.7vw, 22px); }
.contact-strip a:hover { color: var(--silver); }

.contact-layout { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; }
.contact-aside h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; margin: 18px 0 18px; }
.contact-aside > p { color: var(--muted); font-weight: 300; }
.contact-aside .steps-mini { margin-top: 56px; border-top: 1px solid var(--line); }
.steps-mini li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps-mini strong { display: block; font-weight: 500; margin-bottom: 4px; }
.steps-mini p { color: var(--muted); font-size: 14px; font-weight: 300; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 56px; background: var(--white); border: 1px solid var(--line); }
.field-group { display: grid; gap: 8px; align-content: start; }
.field-group.full { grid-column: 1 / -1; }
.field-group label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.field-group label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.req { color: var(--muted); }

.field {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.25);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--black);
  transition: border-color .3s;
}

.field:focus { outline: none; border-bottom-color: var(--black); box-shadow: 0 1px 0 var(--black); }
.field[aria-invalid="true"] { border-bottom-color: var(--danger); }
textarea.field { min-height: 140px; resize: vertical; }
select.field { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.field-error { font-size: 13px; color: var(--danger); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.form-status { font-size: 14px; font-weight: 500; }
.form-status.ok { color: var(--success); }
.form-status.erro { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 404 */
.not-found .page-title { max-width: 14ch; }
.not-found .links { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 48px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: var(--muted-dark); border-top: 1px solid var(--line-dark); font-size: 14px; font-weight: 300; }

.footer-top { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 56px; padding: 96px 0 80px; }

.footer-brand img { width: auto; height: 26px; aspect-ratio: 744 / 228; margin-bottom: 24px; }
.footer-brand p { max-width: 320px; }
.footer-brand .link-line { margin-top: 32px; color: var(--white); }

.site-footer h2 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.site-footer li + li { margin-top: 12px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer address > * + * { margin-top: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

/* ==========================================================================
   Entrada suave ao aparecer no ecrã (só com JS; respeita reduced-motion)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .nav-list > li > a, .nav-list > li > button { padding: 0 11px; }
  .brand-tag { display: none; }
  .nav-extra { margin-left: 16px; gap: 14px; }
  .mega-col { padding: 0 32px; }
  .service-list a { grid-template-columns: auto 1fr auto; }
  .service-list p { grid-column: 2; }
  .service-list .i { grid-row: 1; grid-column: 3; }
  .values-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { --cols: 2; row-gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { gap: 64px; }
  .layout-content { gap: 56px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-tag { display: none; }

  .section-head, .grid-1-3, .audience li { grid-template-columns: 1fr; gap: 16px; }
  .section-head .head-side { flex-direction: column; align-items: flex-start; }
  .mv, .cta-grid, .contact-layout, .plans, .split, .post-featured, .layout-content { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
  .split-media { aspect-ratio: 16 / 11; }
  .service-cards, .posts { grid-template-columns: 1fr 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .aside-box { position: static; }
  .article-cover { margin-top: -64px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 72px; }
  body { font-size: 16px; }
  .brand img { height: 20px; }
  .is-solid .header-inner { height: 64px; }
  .menu-toggle .menu-label { display: none; }

  .hero { min-height: 600px; }
  .slide-body { padding-bottom: 120px; }
  .slide-kicker { margin-bottom: 18px; letter-spacing: 0.22em; }
  .slide-title { margin-bottom: 18px; }
  .slide-text { margin-bottom: 28px; }
  .tab { min-height: 64px; padding: 20px 12px 22px 0; }
  .tab + .tab { padding-left: 12px; }
  .tab-title { display: none; }

  .page-hero { padding-bottom: 56px; }
  .crumbs { margin-bottom: 28px; }

  .section, .cta-band { padding: 88px 0; }
  .section.tight { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .mv { margin-top: 56px; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .banner { height: 46vh; }

  .service-list a { grid-template-columns: 1fr auto; gap: 12px; padding: 30px 0; }
  .service-list .num { grid-column: 1 / -1; }
  .service-list h3 { grid-column: 1; }
  .service-list p { grid-column: 1 / -1; grid-row: auto; }
  .service-list .i { grid-row: 2; grid-column: 2; }
  .service-list a:hover { padding-left: 0; padding-right: 0; background: none; color: inherit; }
  .service-list a:hover p, .service-list a:hover .num { color: var(--muted); }

  .values-grid, .features, .service-cards, .posts, .posts.two, .others, .steps { grid-template-columns: 1fr; }
  .values-grid li, .features li { padding: 32px 24px 40px; }
  .values-grid .num, .features .num, .steps .num { margin-bottom: 24px; }
  .service-card .card-body { padding: 28px 24px 36px; }
  .plan { padding: 40px 24px; }

  .contact-strip { grid-template-columns: 1fr; gap: 20px; }
  .form { grid-template-columns: 1fr; padding: 32px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 48px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01s !important; animation-duration: .01s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Ajustes de contexto ---------- */
.spaced { margin-top: 56px; }
.mv.flush { margin-top: 0; }
.dark .mv article { border-top-color: rgba(255, 255, 255, 0.5); }
.dark .mv p, .dark .num { color: var(--muted-dark); }
.dark .checklist { border-top-color: var(--line-dark); }
.dark .checklist li { border-bottom-color: var(--line-dark); }
.dark .checklist strong { font-weight: 600; }
.contact-strip.flat { margin-top: 0; padding-top: 0; border-top: 0; }
.article-head.has-cover { padding-bottom: 176px; }
.page-hero .btn-outline { border-color: var(--line-dark); color: var(--white); }
.page-hero .btn-outline:hover { border-color: var(--white); }
.cta-band .btn-outline { color: var(--white); }
.post-featured h2 a:hover { color: var(--muted); }
.post-featured .meta { margin-top: 24px; font-size: 13px; color: var(--muted); }
.page-hero .label a:hover { color: var(--white); }
@media (max-width: 960px) { .article-head.has-cover { padding-bottom: 120px; } }

.link-line { white-space: nowrap; }
.page-hero .label, .cta-band .label, .aside-box .label { color: var(--muted-dark); }

/* Sobretítulo dos slides com traço inicial */
.slide-kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 14px; vertical-align: middle; background: currentColor; }
