/* Horizon Agency: estilos globais
   Tokens e medidas extraídos do protótipo de design. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #123c3c;
  --ink-deep: #0b2b2b;
  --paper: #faf7f2;
  --sand: #f2ede4;
  --amber: #e8a33d;
  --muted: #3f5f5f;
  --line: rgba(18, 60, 60, 0.16);
  --line-strong: rgba(18, 60, 60, 0.26);
  --ph-a: #ede7dc;
  --ph-b: #f4efe7;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 150px);
  --header-h: 84px;          /* altura do cabeçalho (reserva de espaço no topo de <main>) */
  --header-offset: 84px;     /* deslocamento das âncoras: altura do cabeçalho já compacto */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-reveal: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  -webkit-text-size-adjust: 100%;
  font-variant-numeric: lining-nums;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

::selection { background: var(--ink); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
main { overflow-x: clip; padding-top: var(--header-h); }

/* ---------- Tipografia ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow--center::after { content: ""; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }

.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.01em;
  text-wrap: balance;
}
.display em, .hero-title em, .page-title em, .cta__title em { font-weight: 400; }

.page-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 7.5vw, 112px); line-height: 0.96; letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead { font-size: 19px; line-height: 1.65; font-weight: 300; text-wrap: pretty; }
.lead--sm { font-size: 18px; }

.italic-num { font-family: var(--serif); font-size: 20px; font-style: italic; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 13px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--paper); background: var(--ink);
  padding: 19px 30px; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--lg { padding: 20px 34px; }
.btn--sm { padding: 14px 24px; font-size: 12.5px; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); color: var(--paper); }
  .btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
}

.link-under {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 6px; transition: opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .link-under:hover { opacity: 0.7; } }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* linha inferior num pseudo-elemento, para acompanhar o cabeçalho quando encolhe */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(18, 60, 60, 0.14);
  opacity: 0; transition: opacity 300ms ease, transform 300ms var(--ease-in-out);
}
.site-header.is-scrolled::after, .site-header.is-open::after { opacity: 1; }

.site-header__bar {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__compact { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand__lockup { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 0.01em; }
.brand__sub { font-size: 9.5px; letter-spacing: 0.46em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0; transition: opacity 200ms ease;
}
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
}
@media (hover: hover) and (pointer: fine) { .nav__link:hover { opacity: 0.7; } }

/* Desktop: lockup completo (letras da palavra com ~11 px). Ao fazer scroll, o cabeçalho encolhe para uma
   versão compacta só com clip-path, transform e opacity: não mexe no layout, por isso não há layout shift. */
@media (min-width: 960px) {
  :root {
    --header-h: 130px;
    --header-h-compact: 72px;
    --header-offset: var(--header-h-compact);
    --header-shrink: calc(var(--header-h) - var(--header-h-compact));
  }
  .site-header { clip-path: inset(0); transition: clip-path 300ms var(--ease-in-out); }
  .site-header.is-compact { clip-path: inset(0 0 var(--header-shrink) 0); }
  .site-header.is-compact::after { transform: translateY(calc(var(--header-shrink) * -1)); }

  .brand { position: relative; display: block; width: 179px; height: 110px; }
  .brand__lockup {
    display: block; width: 179px; height: 110px;
    background: url("../img/logo-ha-lockup.svg") no-repeat center / contain;
    transition: opacity 200ms ease;
  }
  .brand__compact {
    position: absolute; left: 0; top: 50%; opacity: 0; transform: translateY(-50%);
    transition: transform 300ms var(--ease-in-out), opacity 200ms ease;
  }
  .nav { transition: transform 300ms var(--ease-in-out); }

  .site-header.is-compact .brand__lockup { opacity: 0; }
  .site-header.is-compact .brand__compact { opacity: 1; transform: translateY(calc(-50% - var(--header-shrink) / 2)); }
  .site-header.is-compact .nav { transform: translateY(calc(var(--header-shrink) / -2)); }

  /* sem animação no carregamento (por exemplo, ao recarregar a meio da página) */
  .site-header.no-anim, .site-header.no-anim *, .site-header.no-anim::after { transition: none !important; }
}

.menu-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.97); }
.menu-btn__icon { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.menu-btn__icon path {
  transform-box: fill-box; transform-origin: center;
  transition: transform 240ms var(--ease-out), opacity 160ms ease-out;
}
/* estado aberto: as barras de cima e de baixo cruzam-se num X e a do meio desaparece */
.menu-btn[aria-expanded="true"] .menu-btn__icon path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon path:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu {
  display: none;
  border-top: 1px solid rgba(18, 60, 60, 0.14); background: var(--paper);
  padding: 24px var(--gutter) 36px; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overflow-y: auto; flex-direction: column; gap: 4px;
}
.menu a:not(.btn) { font-family: var(--serif); font-size: 40px; text-decoration: none; padding: 6px 0; }
.menu .btn { margin-top: 24px; padding: 18px 24px; }

@media (max-width: 959px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; display: flex; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s linear 200ms; }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Placeholders de fotografia ---------- */

.ph {
  position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 1px, var(--ph-b) 1px 12px);
  border: 1px solid rgba(18, 60, 60, 0.12);
  display: flex; padding: 16px;
}
.ph--sand { background: repeating-linear-gradient(135deg, #e6dfd2 0 1px, #eee8de 1px 12px); }
.ph--dark {
  background: repeating-linear-gradient(135deg, #1b4747 0 1px, #154141 1px 12px);
  border-color: rgba(250, 247, 242, 0.18);
}
.ph__tag {
  font: 400 11px/1.4 var(--mono); color: var(--muted); background: var(--paper); padding: 5px 9px;
}
.ph--dark .ph__tag { color: var(--paper); background: transparent; border: 1px solid rgba(250, 247, 242, 0.35); }

/* ---------- HOME: hero ---------- */

.hero { padding-top: clamp(24px, 3vw, 40px); }
.hero__top { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(28px, 3vw, 44px); }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5vw, 72px); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance;
}

.hl {
  display: inline; padding: 0 0.08em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C60 6 140 9 220 7 S360 5 396 10 L394 30 C330 35 250 31 170 34 S50 35 6 31 Z' fill='%23E8A33D' fill-opacity='.85'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% 62%; background-position: 0 78%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Faixas e blocos de secção ---------- */

.start { padding-bottom: clamp(56px, 7vw, 96px); }
.start__box {
  background: var(--sand); border: 1px solid rgba(18, 60, 60, 0.14);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.start__box .display { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; }
.stack { display: flex; flex-direction: column; }
.stack--22 { gap: 22px; } .stack--24 { gap: 24px; } .stack--26 { gap: 26px; } .stack--28 { gap: 28px; }
.start__note {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border-top: 1px solid rgba(18, 60, 60, 0.25); padding-top: 18px;
}
.start__box .btn { align-self: flex-start; }

.marquee {
  width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
  border-block: 1px solid var(--line); padding: 26px 0;
}
.marquee--sm { padding: 22px 0; }
.marquee__track {
  display: flex; width: max-content;
  animation: hzMarquee var(--marquee-speed, 40s) linear infinite;
}
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; flex-shrink: 0; }
.marquee--sm .marquee__group { gap: 44px; padding-right: 44px; }
.marquee__item {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); font-weight: 400; line-height: 1; white-space: nowrap;
}
.marquee--sm .marquee__item { font-size: clamp(34px, 4vw, 56px); }
.marquee__item:nth-child(4n+3) { font-style: italic; }
.marquee__dot { width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--ink); flex-shrink: 0; }
.marquee--sm .marquee__dot { width: 20px; height: 10px; }
@keyframes hzMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(88px, 11vw, 140px); }
.section--nt { padding-top: 0; }
.narrow { max-width: 780px; }
.narrow--860 { max-width: 860px; }
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.split--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 6vw, 96px); }

/* Problema */
.trio {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin-top: 72px; border-top: 1px solid var(--ink);
}
.trio__item { padding: 32px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
.trio__item:first-child { padding-left: 0; }
.trio__item:last-child { padding-right: 0; border-right: 0; }
.trio__item h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.trio__item p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Bloco escuro */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow::before { background: var(--paper); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; margin-top: 80px; }
.fact { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(250, 247, 242, 0.25); padding-top: 28px; }
.fact__num {
  font-family: var(--serif); font-weight: 500; color: var(--amber);
  font-size: clamp(88px, 9vw, 128px); line-height: 0.85; font-variant-numeric: lining-nums;
}
.facts--md .fact__num { font-size: clamp(80px, 8vw, 120px); }
/* Reserva a largura do valor final: o contador não faz o texto à volta saltar (CLS 0) */
.fact__num [data-count] { display: inline-grid; grid-template-rows: auto 0; justify-items: start; }
.fact__num [data-count]::after { content: attr(data-count); grid-area: 2 / 1; height: 0; overflow: hidden; visibility: hidden; }
.fact__num small { font-size: 0.4em; font-style: italic; }
.fact p { font-size: 17px; line-height: 1.6; }
.fact cite { font-size: 13px; opacity: 0.85; font-style: normal; }

/* Serviços (cartões) */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.svc {
  position: relative; min-height: 440px; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 36px;
  text-decoration: none; color: var(--paper); overflow: hidden; isolation: isolate;
  background: repeating-linear-gradient(135deg, #1b4747 0 1px, var(--ink) 1px 14px);
  transition: transform 350ms var(--ease-out);
}
.svc a, .svc { color: var(--paper); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc__n { font-family: var(--serif); font-size: 88px; line-height: 0.8; font-weight: 400; }
/* fotografia de fundo com véu verde-escuro para o texto claro continuar legível */
.svc__bg { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 60, 60, 0.55) 0%, rgba(18, 60, 60, 0.72) 45%, rgba(18, 60, 60, 0.9) 100%);
}
.svc__body { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.svc__body h3 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; }
.svc__body p { font-size: 16px; line-height: 1.6; }
.svc__more { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 8px; }
.svc__more span { display: inline-block; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { transform: translateY(-6px); }
  .svc:hover .svc__more span { transform: translateX(5px); }
}
.svc:focus-visible { outline-color: var(--ink); outline-offset: 4px; }

/* Porquê */
.grid-cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-top: 64px;
}
.cell { background: var(--paper); padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 16px; }
@supports (grid-template-rows: subgrid) {
  /* número, título e parágrafo partilham as linhas do grelha: começam à mesma altura nos três cartões */
  .cell { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; }
}
.cell > span { font-size: 12px; letter-spacing: 0.2em; }
.cell h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.cell p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Processo */
.sand { background: var(--sand); }
.process__head { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; margin-top: 80px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.step__arch {
  width: 88px; height: 44px; border: 1px solid var(--ink); border-bottom: 0; border-radius: 88px 88px 0 0;
  display: flex; align-items: flex-end; justify-content: center; font-family: var(--serif); font-size: 24px;
}
.step__line { width: 100%; height: 1px; background: var(--ink); margin-top: -18px; transform-origin: left center; }
.step h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 34px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 320px; }
.center-row { display: flex; justify-content: center; margin-top: 64px; }

/* Cenário */
.scenario { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.scenario__pic { position: relative; overflow: hidden; min-height: 560px; border-radius: 999px 999px 0 0; background: var(--ph-a); }
.scenario__pic img, .banner img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.scenario__copy .stack p { font-size: 18px; line-height: 1.65; font-weight: 300; text-wrap: pretty; }
.scenario__copy strong { font-weight: 500; }

/* CTA final */
.cta { border-top: 1px solid var(--line); }
.cta__inner {
  max-width: 1100px; margin-inline: auto; padding: clamp(96px, 12vw, 170px) var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px;
}
.cta__inner > img { height: 72px; width: auto; }
.cta__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.015em; text-wrap: balance;
}
.cta--sub .cta__inner { padding-block: clamp(96px, 12vw, 160px); gap: 32px; }
.cta--sub .cta__title { font-size: clamp(44px, 5.6vw, 80px); }
.cta--none { border-top: 0; }

/* ---------- Rodapé ---------- */

.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a:not(.btn) { color: var(--paper); text-decoration: none; }
.site-footer__in { padding-block: clamp(72px, 9vw, 120px) 40px; }
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(250, 247, 242, 0.18);
}
.site-footer__lead { display: flex; flex-direction: column; gap: 28px; max-width: 720px; }
.site-footer__lead img { height: 64px; width: auto; align-self: flex-start; }
.site-footer__lead p { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; text-wrap: balance; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 56px 0; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col .site-footer__title { font: 400 11.5px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.8; margin-bottom: 2px; max-width: none; }
.site-footer__col p, .site-footer__col a, .site-footer__col span { font-size: 15px; line-height: 1.6; }
.site-footer__col p { max-width: 260px; }
.site-footer__col a { transition: opacity 200ms ease; width: fit-content; }
@media (hover: hover) and (pointer: fine) { .site-footer__col a:hover { opacity: 0.7; } }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(250, 247, 242, 0.18); font-size: 13px; opacity: 0.85;
}

/* ---------- SERVIÇOS ---------- */

.page-top { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.page-top__copy { display: flex; flex-direction: column; gap: 28px; max-width: 1000px; }
.page-top__copy > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; font-weight: 300; max-width: 600px; }

.jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 64px; border-top: 1px solid var(--ink); }
.jump a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 24px 20px 24px 0;
  text-decoration: none; border-bottom: 1px solid var(--line); transition: opacity 200ms ease;
}
.jump a span:first-child { font-family: var(--serif); font-size: 28px; }
.jump a small { font: 400 12px var(--sans); letter-spacing: 0.16em; margin-right: 14px; }
.jump__arrow { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .jump a:hover { opacity: 0.7; } }

.svc-block__pic { min-height: 580px; flex-direction: column; justify-content: space-between; padding: 24px; }
.svc-block__pic .big { font-family: var(--serif); font-size: 120px; line-height: 0.8; }
.svc-block__pic .ph__tag { align-self: flex-start; }
.svc-block h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.01em; }
.svc-block .intro { font-size: 20px; line-height: 1.6; font-weight: 300; text-wrap: pretty; }

.checklist { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.checklist__title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 18px 0 6px; }
.checklist li { list-style: none; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist ul { margin: 0; padding: 0; }
.dark .checklist { border-top-color: rgba(250, 247, 242, 0.6); }
.dark .checklist li { border-bottom-color: rgba(250, 247, 242, 0.18); }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.pair div { display: flex; flex-direction: column; gap: 8px; }
.pair b { font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.pair span { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.dark .pair span { color: var(--paper); }
.svc-block .btn { align-self: flex-start; }

.svc-seo__left { display: flex; flex-direction: column; gap: 40px; }
.svc-seo__left .big { font-family: var(--serif); font-size: 120px; line-height: 0.8; display: block; }
.svc-seo__left .kick { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-top: 20px; }
.svc-seo__left .fact p { max-width: 380px; }
.svc-seo__left .ph { min-height: 260px; aspect-ratio: 3 / 2; padding: 0; }
.svc-block__pic { padding: 0; }
.svc-block__pic img, .svc-seo__left .ph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-block__num { position: absolute; left: 20px; bottom: 20px; font: 400 12px/1 var(--mono); letter-spacing: 0.16em; color: var(--ink); background: var(--paper); padding: 8px 12px; border-radius: 999px; }
.pic-arch-b .svc-block__num { left: 50%; bottom: 28px; transform: translateX(-50%); }

.pic-arch { border-radius: 999px 999px 0 0; align-items: center; padding: 56px 24px 24px; }
.pic-arch-b { border-radius: 0 0 999px 999px; align-items: center; padding: 24px 24px 72px; }
.pic-arch .big, .pic-arch-b .big { align-self: auto; }
.pic-arch { justify-content: space-between; }
.pic-arch-b .big { align-self: flex-start; }

.ask { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: clamp(80px, 10vw, 130px); }
.ask__copy { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.ask__copy p { font-size: 18px; line-height: 1.6; font-weight: 300; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- SOBRE ---------- */

.banner { position: relative; overflow: hidden; height: clamp(320px, 48vw, 640px); background: var(--ph-a); border-block: 1px solid rgba(18, 60, 60, 0.12); }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; font-weight: 300; padding-top: 8px; }
.prose .prose__lead { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.prose .prose__closing { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.3; padding-top: 22px; border-top: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px; margin-top: 64px; }
.principle { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 24px; }
.principle > span { font-size: 12px; letter-spacing: 0.2em; }
.principle h3 { font-family: var(--serif); font-weight: 500; font-size: 34px; }
.principle p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.nots { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nots li { padding: 22px 0; border-top: 1px solid rgba(250, 247, 242, 0.25); font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.nots li:last-child { border-bottom: 1px solid rgba(250, 247, 242, 0.25); }

/* ---------- METODOLOGIA ---------- */

.method-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(32px, 6vw, 96px); align-items: end; }
.timeline { display: flex; flex-wrap: wrap; margin-top: 64px; border-block: 1px solid var(--ink); }
.timeline > div { flex: 1 1 200px; padding: 20px 0; display: flex; flex-direction: column; gap: 4px; }
.timeline b { font-size: 12px; font-weight: 400; letter-spacing: 0.16em; }
.timeline span:nth-child(2) { font-family: var(--serif); font-size: 26px; }
.timeline span:nth-child(3) { font-size: 13.5px; color: var(--muted); }
.phases { padding-block: clamp(48px, 6vw, 80px) clamp(88px, 11vw, 140px); }
.phase {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 64px); padding: 56px 0; border-bottom: 1px solid var(--line);
}
.phase__n { font-family: var(--serif); font-size: clamp(88px, 9vw, 132px); line-height: 0.8; font-weight: 400; display: block; margin-bottom: 14px; }
.phase__time {
  display: inline-block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 999px; padding: 8px 14px;
}
.phase h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin-bottom: 14px; }
.phase .goal { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; }
.phase .tasks { margin: 0; padding: 0; list-style: none; }
.phase .tasks-title { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding-bottom: 8px; display: block; }
.phase .tasks li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.phase .receive { background: var(--sand); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; margin-top: 22px; }
.phase .receive b { font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.phase .receive span { font-size: 16px; line-height: 1.5; }
.fineprint { margin-top: 32px; font-size: 14.5px; color: var(--muted); max-width: 640px; line-height: 1.6; }
.cta--sub p.lead { max-width: 560px; }

/* ---------- FAQ ---------- */

.faq { padding-block: clamp(56px, 8vw, 112px) clamp(88px, 11vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-block: clamp(72px, 10vw, 140px) clamp(96px, 12vw, 160px); min-height: 60vh; }
.notfound .page-title { font-size: clamp(48px, 7vw, 104px); max-width: 14ch; }
.notfound > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; font-weight: 300; max-width: 460px; }
.faq__intro { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 120px; }
.faq__intro .page-title { font-size: clamp(52px, 6.4vw, 96px); }
.faq__intro p:not(.eyebrow) { font-size: 17px; line-height: 1.6; font-weight: 300; max-width: 420px; }
.faq__intro .btn { align-self: flex-start; }
@media (max-width: 800px) { .faq__intro { position: static; } }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list details { border-bottom: 1px solid rgba(18, 60, 60, 0.2); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.2;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i {
  flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: 300 18px/1 var(--sans);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}
.faq__list summary i::before { content: "+"; }
.faq__list details[open] summary i::before { content: "\2212"; }
@media (hover: hover) and (pointer: fine) { .faq__list summary:hover i { background: var(--ink); color: var(--paper); } }
.faq__list summary:active i { transform: scale(0.94); }
.faq__a { padding: 0 60px 28px 0; font-size: 17px; line-height: 1.7; font-weight: 300; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .faq__list details[open] .faq__a { animation: faqIn 260ms var(--ease-out); }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .faq__a { padding-right: 0; } }

/* ---------- CONTACTO ---------- */

.contact { padding-block: clamp(56px, 8vw, 112px) clamp(88px, 11vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 32px; }
.contact__copy .page-title { font-size: clamp(56px, 8vw, 120px); line-height: 0.94; }
.contact__copy > p:not(.eyebrow) { font-size: 19px; line-height: 1.6; font-weight: 300; max-width: 460px; }
.channels { display: flex; flex-direction: column; border-top: 1px solid var(--ink); margin-top: 8px; }
.channel {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 26px 0;
  border-bottom: 1px solid rgba(18, 60, 60, 0.2); text-decoration: none; transition: opacity 200ms ease;
}
.channel b { font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.channel span { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); }
@media (hover: hover) and (pointer: fine) { a.channel:hover { opacity: 0.7; } }

.form { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.form h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.form > div > p { font-size: 15.5px; line-height: 1.6; margin-top: 10px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.field input, .field textarea {
  font: 400 17px/1.4 var(--sans); letter-spacing: 0; text-transform: none; padding: 14px 0;
  background: transparent; border: 0; border-bottom: 1px solid rgba(250, 247, 242, 0.45); color: var(--paper);
  border-radius: 0; outline: none; resize: vertical; transition: border-color 200ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(250, 247, 242, 0.62); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--paper); box-shadow: 0 1px 0 var(--paper); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chips legend { padding: 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; font-size: 14px; padding: 11px 18px; min-height: 44px; border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, 0.5); transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip input:active + span { transform: scale(0.97); }
.chip input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.form .btn { margin-top: 8px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.5em; font-size: 15px; line-height: 1.5; }
.form__status:empty { min-height: 0; }
.field input:user-invalid { border-bottom-color: #f2b8a6; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }

.details { padding-block: 0 clamp(88px, 11vw, 140px); }
.details__in { border-top: 1px solid var(--ink); padding-top: 20px; }
.details__label { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; margin-top: clamp(40px, 6vw, 80px); }
.details h2 { font: 500 clamp(18px, 1.8vw, 22px)/1.2 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }
.details a, .details p { display: block; margin-top: 28px; font-size: 15px; line-height: 1.7; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
a.details__next { margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .details a:hover { opacity: 0.7; } }
.form small { font-size: 13px; line-height: 1.5; }

/* ---------- Movimento (só com JS e sem preferência de movimento reduzido) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js [data-hero]:not(.is-in) { opacity: 0; }
  .js .hl:not(.is-in) { background-size: 0% 62%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .menu, .menu-btn, .menu-btn__icon path, .btn, .svc, .svc__more span,
  .site-header, .site-header::after, .brand__lockup, .brand__compact, .nav { transition: none; }
}
