/* =====================================================================
   GO ON Services
   Paleta tirada do logótipo e das publicações da marca:
   azul-marinho do "go", turquesa das publicações, ciano do "on".
   Um só acento (turquesa) em toda a página.
   Raios: botões em pílula, cartões e imagens a 20px, campos a 12px.
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* marca */
  /* Cores do logótipo (medidas no ficheiro):
     azul-marinho do "go" e azul-claro do "on". O azul-claro tem pouco
     contraste sobre branco (2,2:1), por isso texto e ícones usam a versão
     funda do mesmo azul (--sky-ink, 4,4:1); o claro fica para fundos e detalhes. */
  --navy-900: #062744;
  --navy-800: #08345b;
  --navy-700: #0a3e6c;   /* "go" */
  --sky-500: #64b9e1;    /* "on" */
  --sky-400: #81c9e9;
  --sky-ink: #1a7fb3;    /* o azul do "on" com contraste para texto */
  --sky-50: #eef7fc;
  --sky-100: #dff0f9;
  --teal-600: var(--sky-ink);
  --teal-500: var(--sky-500);
  --cyan-300: var(--sky-500);

  /* superfícies (tema claro) */
  --bg: #fcfdfd;
  --bg-2: #f3f5f6;
  --surface: #ffffff;
  --ink: #0b2236;
  --ink-2: #47596a;
  --line: #e1e6e9;
  --accent: var(--sky-ink);
  --accent-ink: #ffffff;
  --accent-soft: var(--sky-100);
  --deep: var(--navy-800);
  --deep-ink: #eef6f9;
  --shadow: 0 1px 2px rgb(11 34 54 / 0.06), 0 12px 32px -18px rgb(11 34 54 / 0.22);

  /* Regra de forma (única): botões e campos 4px, cartões e imagens 6px. */
  --radius: 6px;
  --radius-sm: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;

  /* camadas */
  --z-nav: 20;
  --z-skip: 30;
}

@media not all /* modo escuro desligado: a marca é branca */ {
  :root {
    --bg: #071a2b;
    --bg-2: #0a2236;
    --surface: #0d2a40;
    --ink: #e7f1f6;
    --ink-2: #a7bfcd;
    --line: #1c3a52;
    --accent: #5cc8dc;
    --accent-ink: #062033;
    --accent-soft: #0f3a4c;
    --deep: #0b2b45;
    --deep-ink: #eef6f9;
    --shadow: 0 24px 60px -28px rgb(0 0 0 / 0.6);
  }
}

* { box-sizing: border-box; }
/* Sem scroll-behavior: smooth. O scroll suave é feito pelo Lenis; os dois
   juntos prendem a roda do rato (cada passo do Lenis vira um scroll nativo
   "suave" que o anula). */
html { scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

/* CSS oficial do Lenis (lenis.css 1.1) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* o mapa continua utilizável: só ganha o rato depois de um clique */
.zones__map.is-active iframe { pointer-events: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 767px) { .wrap { padding-inline: 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- tipografia ---------- */
.display {
  font-weight: 850;
  font-stretch: 72%;
  font-variation-settings: "wdth" 72;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--navy-700);
}
@media not all /* modo escuro desligado: a marca é branca */ { .display { color: var(--ink); } }
.h2 { font-size: clamp(38px, 5.4vw, 72px); max-width: 16ch; }
.h3 { font-size: clamp(30px, 3vw, 40px); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

/* ---------- botões ---------- */
.btn {
  --pad: 13px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 1.1em; }
.btn--lg { --pad: 17px 26px; font-size: 16px; letter-spacing: 0.01em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy-700); color: #ffffff; }
.btn--primary:hover { box-shadow: none; }
.btn--primary:hover i.ph-arrow-right { transform: translateX(3px); }
.btn i { transition: transform 0.25s var(--ease); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--light { background: #ffffff; color: var(--navy-800); }


/* ---------- navegação ---------- */
#topo { position: absolute; top: 0; height: 8px; width: 1px; }
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo { flex: none; display: block; transition: transform 0.4s var(--ease); }

.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-inline: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav__phone i { color: var(--accent); font-size: 18px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }
.menu { display: grid; gap: 4px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.menu[hidden] { display: none; }
.menu a { padding: 14px 4px; text-decoration: none; font-weight: 700; font-size: 20px; border-bottom: 1px solid var(--line); }
.menu .menu__phone { display: flex; gap: 10px; align-items: center; color: var(--accent); border: 0; }

@media (max-width: 1023px) {
  .nav__links, .nav__phone { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
}
@media (min-width: 1024px) { .menu { display: none !important; } }
@media (max-width: 479px) { .nav__actions .btn { display: none; } }

/* ---------- hero: cena 3D de ecrã inteiro, fixa durante o scroll ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  height: 210dvh;               /* 1 ecrã de cena + ~1 ecrã de scroll com ela fixa */
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
}
.hero__pin {
  position: sticky; top: 0;
  height: 100dvh; overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; transform-origin: 50% 60%; }
/* base da cena a fundir-se com a página (ajuda a cortina dos serviços) */
.hero__pin::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 22%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 70%, transparent));
}
.hero__scene canvas { display: block; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--ease); }
.hero.is-ready .hero__scene canvas { opacity: 1; }
/* véu para o texto ler bem por cima da cena */
.hero__pin::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 92%, transparent) 0%, color-mix(in srgb, var(--bg-2) 55%, transparent) 55%, transparent 100%);
}
.hero__copy {
  position: relative; z-index: 2;
  padding-top: calc(var(--nav-h) + clamp(28px, 6vh, 64px));
  display: flex; flex-direction: column; align-items: center; text-align: center;
  will-change: transform, opacity;
}
.hero__title { font-size: clamp(40px, 6vw, 92px); }
.hero__title .line { display: block; } /* sem máscara: os acentos (Ê, Í, Ó) nunca são cortados */
@media (min-width: 640px) { .hero__title .line { white-space: nowrap; } }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--accent); }
.hero__sub { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); }
.hero__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 767px) { .hero { height: 190dvh; } .hero__ctas .btn--ghost { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero { height: 100dvh; } }

/* a carregar: três bolhas a saltar */
.hero__loading { position: absolute; inset: 55% 0 auto 0; display: flex; justify-content: center; gap: 10px; pointer-events: none; transition: opacity 0.4s; z-index: 1; }
.hero__loading .bubble { position: relative; width: 22px; height: 22px; animation: load-bob 1.1s ease-in-out infinite; }
.hero__loading .bubble:nth-child(2) { animation-delay: 0.15s; }
.hero__loading .bubble:nth-child(3) { animation-delay: 0.3s; }
@keyframes load-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero.is-ready .hero__loading, .hero.is-failed .hero__loading { opacity: 0; }

/* entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: rise 1s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
  .hero__sub { animation: fade-up 0.9s var(--ease) 0.3s both; }
  .hero__ctas { animation: fade-up 0.9s var(--ease) 0.42s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drive-in { from { opacity: 0; transform: translateX(8%); } to { opacity: 1; transform: none; } }

/* ---------- secções ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }

/* revelação ao entrar no ecrã (classe aplicada pelo JS com IntersectionObserver) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- pilares (bento 3) ---------- */
.pillars__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}
.pillar {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  text-decoration: none; color: #fff;
  display: flex; align-items: flex-end;
  min-height: 300px;
  background: var(--navy-800);
}
.pillar--big { grid-row: span 2; min-height: 560px; }
.pillar img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 0.9s var(--ease);
}
.pillar::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgb(7 28 46 / 0.86) 100%);
}
.pillar--water::after { background: linear-gradient(180deg, rgb(100 185 225 / 0.18) 10%, rgb(8 52 91 / 0.9) 100%); }
.pillar--dark::after { background: linear-gradient(160deg, rgb(11 42 68 / 0.55), rgb(7 28 46 / 0.92)); }
.pillar:hover img { transform: scale(1.05); }
.pillar__body { padding: 28px; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: end; }
.pillar__body .h3 { color: #fff; grid-column: 1; }
.pillar__body p { grid-column: 1; max-width: 40ch; color: rgb(255 255 255 / 0.86); font-size: 16px; }
.pillar__go {
  grid-column: 2; grid-row: 1 / span 2;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-size: 20px;
  background: #fff; color: var(--navy-800);
  transition: background-color 0.3s, color 0.3s;
}
.pillar:hover .pillar__go { background: var(--accent); color: #fff; }

@media (max-width: 767px) {
  .pillars__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .pillar--big { grid-row: auto; min-height: 420px; }
  .pillar { min-height: 300px; }
  .pillar__body { padding: 22px; }
}

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__text { font-size: clamp(40px, 6.4vw, 92px); max-width: 18ch; margin-inline: auto; }
.manifesto__text .w { display: inline-block; }
.manifesto__body { margin: 32px auto 0; max-width: 56ch; color: var(--ink-2); font-size: 18px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* cada palavra acende à medida que a frase passa no ecrã */
    .manifesto__text .w {
      color: color-mix(in srgb, currentColor 22%, transparent);
      animation: word-on linear both;
      animation-timeline: view();
      animation-range: cover calc(10% + var(--k) * 3.2%) cover calc(18% + var(--k) * 3.2%);
    }
  }
}
@keyframes word-on { to { color: var(--accent); } }

/* ---------- galeria (fixa + desliza na horizontal) ---------- */
.gallery { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.gallery__pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); padding-block: calc(var(--nav-h) + 8px) 32px; }
.gallery__head { display: grid; gap: 16px; }
.gallery__head p { color: var(--ink-2); max-width: 52ch; }
.gallery__viewport { overflow: hidden; }
.gallery__track {
  --h: clamp(340px, 58vh, 560px);
  display: flex; gap: 14px;
  height: var(--h);
  padding-inline: max(24px, calc((100vw - 1320px) / 2 + 24px));
  width: max-content;
  will-change: transform;
}
.tile-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; width: calc(var(--h) * 0.62); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); min-height: 0; }
.tile--tall { width: calc(var(--h) * 0.56); }
.tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.tile.is-in img, .no-gsap .tile img { transform: scale(1); }
.tile--info { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 22px; color: #fff; }
.tile--info i { font-size: 40px; }
.tile--info .display { color: #fff; font-size: clamp(24px, 2.2vw, 32px); }
.tile--navy { background: var(--navy-800); }
.tile--navy i { color: var(--cyan-300); }
.tile--teal { background: linear-gradient(160deg, var(--sky-500), var(--sky-ink)); }
.tile--sky { background: linear-gradient(160deg, var(--sky-500) 0%, var(--navy-700) 100%); }
.tile__count { font-weight: 850; font-stretch: 72%; font-variation-settings: "wdth" 72; font-size: clamp(56px, 6vw, 88px); line-height: 0.9; color: #fff; }
.tile--navy p:not(.tile__count) { color: rgb(238 246 249 / 0.82); margin-top: 8px; max-width: 18ch; }
/* sem pin (telemóvel ou sem GSAP): faixa com scroll horizontal nativo */
@media (max-width: 767px) {
  .gallery__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__viewport::-webkit-scrollbar { display: none; }
  .gallery__track { --h: 420px; padding-inline: 16px; }
  .gallery__track > * { scroll-snap-align: start; }
  .tile img { transform: none; }
}

/* ---------- processo ---------- */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.process__steps li { border-top: 2px solid var(--ink) !important; padding-top: 22px !important; }
.process__steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.process__steps li { padding: 8px 28px 8px 0; position: relative; }
.process__steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process__icon {
  display: block; color: var(--accent); font-size: 30px; line-height: 1;
}

.process__steps h3 { margin-top: 20px; font-size: 22px; font-weight: 750; line-height: 1.2; }
.process__steps p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1023px) {
  .process__steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process__steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 559px) {
  .process__steps { grid-template-columns: 1fr; gap: 32px; }
  .process__steps li, .process__steps li + li { padding: 0; border-left: 0; }
}

/* ---------- catálogo ---------- */
.catalog__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.catalog__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.catalog__preview {
  margin-top: 36px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow);
}
.catalog__preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s var(--ease), transform 0.6s var(--ease); }
.catalog__preview img.is-swapping { opacity: 0; transform: scale(1.03); }
.catalog__list { list-style: none; margin: 0; padding: 0; columns: 1; }
.catalog__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px;
  text-decoration: none;
  font-weight: 800; font-stretch: 78%; font-variation-settings: "wdth" 78; text-transform: uppercase;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}
.catalog__list a > span { transition: transform 0.35s var(--ease); }
.catalog__list a:hover > span, .catalog__list a:focus-visible > span, .catalog__list a.is-active > span { transform: translateX(14px); }
.catalog__list li:first-child a { border-top: 1px solid var(--line); }
.catalog__list a i { font-size: 24px; opacity: 0; transform: translateX(-10px); transition: opacity 0.25s, transform 0.35s var(--ease); color: var(--accent); }
.catalog__list a:hover, .catalog__list a:focus-visible, .catalog__list a.is-active { color: var(--ink); }
.catalog__list a:hover i, .catalog__list a:focus-visible i, .catalog__list a.is-active i { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .catalog__grid { grid-template-columns: 1fr; gap: 32px; }
  .catalog__head { position: static; }
  .catalog__preview { display: none; }
  .catalog__list a i { opacity: 1; transform: none; }
}

/* ---------- avaliações ---------- */
.reviews { background: var(--bg); }
.reviews__grid { margin-top: 48px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.review {
  background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column; gap: 24px; justify-content: space-between;
  border: 1px solid var(--line);
}
.review--lead { background: var(--deep); color: var(--deep-ink); border-color: transparent; }
.review__stars { display: flex; gap: 4px; color: #f2b632; font-size: 20px; }
.review blockquote { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; font-weight: 600; }
.review--lead blockquote { font-size: clamp(24px, 2.4vw, 34px); }
.review figcaption { display: grid; gap: 2px; font-size: 15px; }
.review figcaption span { color: var(--ink-2); }
.review--lead figcaption span { color: rgb(238 246 249 / 0.72); }
@media (max-width: 767px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- zonas ---------- */
.zones__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.zones__copy p { margin-top: 20px; color: var(--ink-2); max-width: 46ch; }
.zones address { margin-top: 32px; font-style: normal; display: grid; gap: 14px; }
.zones address > * { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; font-weight: 600; }
.zones address i { color: var(--accent); font-size: 22px; flex: none; margin-top: 1px; }
.zones__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); }
.zones__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media not all /* modo escuro desligado: a marca é branca */ { .zones__map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); } }
@media (max-width: 1023px) { .zones__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- orçamento ---------- */
.quote { background: var(--surface); border-top: 1px solid var(--line); }
.quote__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.quote__intro > p { margin-top: 20px; color: var(--ink-2); max-width: 42ch; }
.quote__img { margin-top: 36px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; }
.form { display: grid; gap: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--ink-2) 45%, transparent);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #c2362f; }
.field__error { color: #b42318; font-size: 14px; font-weight: 600; }
@media not all /* modo escuro desligado: a marca é branca */ { .field__error { color: #ff9b8f; } .field [aria-invalid="true"] { border-color: #ff9b8f; } }
.field__help { color: var(--ink-2); font-size: 14px; }
.form__status { font-weight: 600; color: var(--accent); min-height: 1.4em; }
@media (max-width: 1023px) { .quote__grid { grid-template-columns: 1fr; gap: 32px; } .quote__img { display: none; } }
@media (max-width: 559px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- recrutamento ---------- */
.recruit { background: var(--navy-800); color: var(--deep-ink); padding-block: clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.recruit::before {
  content: none;
}
.recruit__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: center; }
.recruit .display { color: #fff; }
.recruit p { color: rgb(238 246 249 / 0.8); max-width: 40ch; }
@media (max-width: 1023px) { .recruit__inner { grid-template-columns: 1fr; gap: 20px; justify-items: start; } }

/* ---------- rodapé ---------- */
.footer { background: var(--navy-900); color: rgb(231 241 246 / 0.78); padding-top: 72px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.8fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer p + p { margin-top: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: inline-block; }
.footer__logo img { height: 56px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid rgb(255 255 255 / 0.2); display: grid; place-items: center; font-size: 20px; color: #fff; transition: background-color 0.2s; }
.footer__social a:hover { background: rgb(255 255 255 / 0.1); text-decoration: none; }
.footer__base { margin-top: 56px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 14px; }
@media (max-width: 1023px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   BOLHAS (marca): usadas no ecrã de entrada, no hero e no clique dos botões
   ===================================================================== */
.bubble {
  position: absolute; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.95) 0 5%, rgb(255 255 255 / 0) 13%),
    radial-gradient(circle at 70% 76%, rgb(255 255 255 / 0.55) 0 3%, rgb(255 255 255 / 0) 9%),
    radial-gradient(circle at 50% 50%, rgb(100 185 225 / 0.07) 55%, rgb(100 185 225 / 0.4) 68%, rgb(255 255 255 / 0.9) 71%, rgb(26 127 179 / 0.45) 73%, rgb(255 255 255 / 0) 75%);
  box-shadow: inset -6px -8px 18px rgb(26 127 179 / 0.16), inset 4px 6px 12px rgb(255 255 255 / 0.35);
}

/* ---------- ecrã de entrada ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 50%, #ffffff 0%, #f4f9fc 55%, #e3f1f9 100%);
  animation: loader-out 0.9s var(--ease) 5.2s forwards; /* sem JS sai sozinho */
}
@media not all /* modo escuro desligado: a marca é branca */ {
  .loader { background: radial-gradient(70% 60% at 50% 55%, #0e2f48, #071a2b 75%); }
}
.loader__bubbles { position: absolute; inset: 0; }
.loader__bubbles .bubble { bottom: -160px; animation: bubble-rise var(--d, 4.5s) cubic-bezier(0.37, 0, 0.3, 1) var(--delay, 0s) both; }
.loader__logo { position: relative; width: min(480px, 76vw); aspect-ratio: 960 / 408; }
/* cada parte é o logo inteiro recortado na zona de uma letra (medido no ficheiro) */
.loader__part { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 85%; }
.loader__part--g        { clip-path: inset(0 72.3% 0 0); }
.loader__part--o1       { clip-path: inset(0 46.7% 34.7% 27.7%); }
.loader__part--o2       { clip-path: inset(0 26.2% 34.7% 53.3%); }
.loader__part--n        { clip-path: inset(0 0 34.7% 73.8%); }
.loader__part--services { clip-path: inset(65.3% 0 0 25.7%); }
@media (prefers-reduced-motion: no-preference) {
  .loader__part { animation: letter-rise 1s cubic-bezier(0.34, 1.32, 0.64, 1) both; }
  .loader__part--g  { animation-delay: 0.45s; }
  .loader__part--o1 { animation-delay: 0.6s; }
  .loader__part--o2 { animation-delay: 0.75s; }
  .loader__part--n  { animation-delay: 0.9s; }
  .loader__part--services { animation: word-slide 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.25s both; }
}
@keyframes letter-rise {
  0% { opacity: 0; transform: translateY(38%) scale(0.72); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes word-slide {
  0% { opacity: 0; transform: translateX(-6%); }
  100% { opacity: 1; transform: none; }
}
/* reflexo: faixa de luz que percorre só o desenho do logo (máscara) */
.loader__shine {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask: url("assets/img/site/goon-logo-960.webp") center / 100% 100% no-repeat;
          mask: url("assets/img/site/goon-logo-960.webp") center / 100% 100% no-repeat;
}
.loader__shine::before {
  content: ""; position: absolute; inset: -10% auto -10% 0; width: 35%;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / 0.75) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-12deg);
}
@media (prefers-reduced-motion: no-preference) {
  .loader__shine::before { animation: shine-sweep 1.2s cubic-bezier(0.45, 0, 0.25, 1) 2.05s both; }
}
@keyframes shine-sweep { to { transform: translateX(340%) skewX(-12deg); } }

/* =====================================================================
   SAÍDA COM RODO: uma lâmina atravessa o ecrã (ligeiramente inclinada,
   como quem limpa um vidro) e "puxa" o ecrã de entrada; atrás dela fica o
   site com um brilho húmido. O recorte (clip-path) e o rodo (transform)
   usam a mesma duração e curva, por isso andam colados.
   ===================================================================== */
.loader.is-done { animation: wipe-clip var(--wipe-t, 1.35s) var(--wipe-ease, cubic-bezier(0.62, 0, 0.3, 1)) forwards; }
.loader.is-done .loader__bubbles { animation: bubbles-pop 0.5s ease-out forwards; }
@keyframes wipe-clip {
  /* a aresta esquerda do que resta vai de fora do ecrã até ao fim, inclinada 12vh */
  from { clip-path: polygon(-14vh 0, 110vw 0, 110vw 100%, -26vh 100%); }
  to   { clip-path: polygon(calc(110vw + 12vh) 0, 110vw 0, 110vw 100%, 110vw 100%); visibility: hidden; }
}
@keyframes bubbles-pop { to { opacity: 0; transform: scale(1.06); } }

.wiper {
  position: fixed; inset: 0; z-index: 101; pointer-events: none; overflow: hidden;
  visibility: hidden;
}
.wiper.is-wiping { visibility: visible; }
.wiper__blade {
  position: absolute; top: -2vh; bottom: -2vh; left: 0; width: 14px;
  transform-origin: 50% 0;
  transform: translateX(-14vh) skewX(-6.84deg);   /* tg(6,84º) = 12vh / 100vh */
  background: linear-gradient(90deg, var(--navy-800) 0 55%, var(--sky-500) 55% 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35), 6px 0 18px rgb(10 62 108 / 0.25);
  border-radius: 3px;
}
/* brilho húmido no lado já limpo (à esquerda da lâmina) */
.wiper__blade::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 120px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55) 75%, rgb(223 240 249 / 0.9));
}
.wiper.is-wiping .wiper__blade { animation: wipe-blade var(--wipe-t, 1.35s) var(--wipe-ease, cubic-bezier(0.62, 0, 0.3, 1)) forwards; }
@keyframes wipe-blade {
  from { transform: translateX(-14vh) skewX(-6.84deg); }
  to   { transform: translateX(calc(110vw + 12vh)) skewX(-6.84deg); }
}
@media (prefers-reduced-motion: reduce) { .wiper { display: none; } }
@keyframes logo-leave { to { transform: translateY(-14px) scale(0.97); } }
@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.85); opacity: 0; }
  18% { opacity: 0.9; }
  55% { transform: translate3d(var(--sway, 20px), -60vh, 0) scale(1); }
  100% { transform: translate3d(calc(var(--sway, 20px) * -0.5), -125vh, 0) scale(1.02); opacity: 0.75; }
}
@keyframes logo-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes loader-out {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
/* o hero espera pelo fim do ecrã de entrada */
.is-loading .hero *, .is-loading .hero { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .loader { animation: loader-fade 0.4s ease 0.6s forwards; }
  .loader__bubbles { display: none; }
  .loader__logo img { animation: none; }
  .loader.is-done { animation: loader-fade 0.3s ease forwards; }
  @keyframes loader-fade { to { opacity: 0; visibility: hidden; } }
}

/* ---------- faixa de serviços ---------- */
.reel { overflow: hidden; background: var(--surface); color: var(--navy-700); padding-block: 20px; border-block: 1px solid var(--line); }
.reel__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.reel__track span { font-weight: 850; font-stretch: 72%; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 48px); line-height: 1; white-space: nowrap; }
.reel__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.reel__dot { width: 22px; height: 22px; position: relative; flex: none; display: block; border-radius: 50%; }
.reel__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #fff 0 12%, transparent 26%), radial-gradient(circle, transparent 55%, rgb(135 222 241 / 0.9) 70%, transparent 76%); }

/* ---------- títulos palavra a palavra ---------- */
.split-word { display: inline-block; vertical-align: top; } /* sem máscara: acentos nunca cortados */
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- imagens que se revelam (clip) ---------- */
.js [data-clip] { clip-path: inset(0 0 0 0 round 6px); }

/* =====================================================================
   BOTÕES COM CARÁCTER
   - fundo que enche a partir do ponto onde o rato entra (onda)
   - texto que rola para cima no hover
   - ícone que sai e volta a entrar
   - bolhas a saltar no clique
   ===================================================================== */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: var(--fill-size, 420px); height: var(--fill-size, 420px); border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--fill, var(--navy-800));
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn--primary { --fill: var(--sky-ink); }
.btn--primary:hover { color: #fff; }
@media not all /* modo escuro desligado: a marca é branca */ { .btn--primary { --fill: #ffffff; } .btn--primary:hover { color: var(--navy-800); } }
.btn--ghost { --fill: var(--accent); }
.btn--ghost:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn--light { --fill: var(--sky-400); }

.btn__roll { display: inline-grid; overflow: hidden; height: 1.15em; line-height: 1.15; }
.btn__roll > span { grid-area: 1 / 1; transition: transform 0.45s var(--ease); }
.btn__roll > span + span { transform: translateY(110%); }
.btn:hover .btn__roll > span:first-child, .btn:focus-visible .btn__roll > span:first-child { transform: translateY(-110%); }
.btn:hover .btn__roll > span + span, .btn:focus-visible .btn__roll > span + span { transform: none; }

.btn__icon {
  display: inline-grid; place-items: center; overflow: hidden; position: relative; margin-left: 2px;
}
.btn__icon i { transition: transform 0.45s var(--ease); }
.btn:hover .btn__icon i { animation: icon-swap 0.55s var(--ease); }
@keyframes icon-swap { 0% { transform: none; } 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: none; } }

.btn-burst { position: fixed; z-index: 90; pointer-events: none; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) {
  .btn::before { transition: none; }
  .btn__roll > span { transition: none; }
  .btn:hover .btn__icon i { animation: none; }
}

/* o efeito magnético é feito pelo GSAP: não deixar a transição CSS lutar com ele */
[data-magnetic] { transition-property: background-color, color, box-shadow, border-color; }
/* manifesto em modo GSAP: sem a animação CSS por cima */
.manifesto__text.is-scrubbed .w { animation: none; color: var(--accent); }

/* pilares: o botão redondo também enche */
.pillar__go { overflow: hidden; }

/* ---------- 404 ---------- */
.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 24px; }
.notfound .display { font-size: clamp(44px, 8vw, 96px); }
.notfound p { margin-top: 16px; color: var(--ink-2); }
.notfound .btn { margin-top: 28px; }
.gallery__head .h2 { max-width: 24ch; font-size: clamp(36px, 4.4vw, 64px); }

/* ---------- ajustes do redesign (menos decorativo) ---------- */
@media not all /* modo escuro desligado: a marca é branca */ { .reel { color: var(--ink); } }
.process__steps li + li { border-left: 0 !important; }
.process__steps { gap: 0 32px !important; }
@media (max-width: 1023px) { .process__steps { gap: 40px 32px !important; } }
.review { border-radius: var(--radius); }

/* ---------- auditoria: sem CTA repetido no primeiro ecrã ---------- */
/* Enquanto o título do hero está visível, o telefone e o "Pedir orçamento"
   da barra de cima ficam escondidos (já estão no hero). O main.js liga isto. */
.nav__actions.is-hidden-in-hero .nav__phone,
.nav__actions.is-hidden-in-hero > .btn { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.nav__actions .nav__phone, .nav__actions > .btn { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; }

/* ---------- orçamento: título em cima, formulário largo por baixo ---------- */
.quote__grid { grid-template-columns: 1fr !important; gap: 40px !important; }
.quote__intro { max-width: 640px; }
.form { grid-template-columns: 1fr 1fr; column-gap: 20px; max-width: 980px; }
.form > .field, .form > .form__row { grid-column: span 1; }
.form > .field:first-child { grid-column: 1 / -1; }
.form > .field:has(textarea), .form > button, .form > .form__status { grid-column: 1 / -1; }
.form > button { justify-self: start; }
@media (max-width: 767px) { .form { grid-template-columns: 1fr; } .form > * { grid-column: 1 / -1 !important; } .form > button { justify-self: stretch; } }


/* ---------- gradientes brancos subtis (sem cor, só luz) ---------- */
/* a secção seguinte sobe por cima do fim do hero (cortina), a nascer transparente */
.pillars {
  position: relative; z-index: 3;
  margin-top: -30dvh;
  padding-top: calc(16dvh + clamp(32px, 4vw, 56px));
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent) 0, var(--bg) 14dvh, #ffffff calc(14dvh + 30%), var(--bg) 100%);
}
@media (prefers-reduced-motion: reduce) { .pillars { margin-top: 0; padding-top: clamp(80px, 11vw, 140px); background: var(--bg); } }
.process { background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%) !important; }
.catalog { background: radial-gradient(70% 60% at 85% 20%, #ffffff 0%, transparent 70%), var(--bg); }
.reviews { background: linear-gradient(180deg, var(--bg) 0%, #f4f7f8 100%) !important; }
.quote { background: radial-gradient(60% 70% at 15% 0%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #f8fafb, #f2f5f6) !important; }
.form { background: #ffffff; box-shadow: 0 1px 2px rgb(11 34 54 / 0.04), 0 24px 48px -32px rgb(11 34 54 / 0.18); }


/* ---------- mais azul do logo, mantendo o branco como base ---------- */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--sky-50) 100%) !important; }
.process { background: linear-gradient(180deg, #ffffff 0%, var(--sky-50) 100%) !important; }
.process__steps li { border-top-color: var(--navy-700) !important; }
.process__steps li:nth-child(even) { border-top-color: var(--sky-500) !important; }
.catalog { background: radial-gradient(60% 55% at 90% 15%, var(--sky-50) 0%, transparent 70%), var(--bg) !important; }
.catalog__list a:hover, .catalog__list a:focus-visible, .catalog__list a.is-active { color: var(--navy-700) !important; }
.reviews { background: linear-gradient(180deg, var(--bg) 0%, var(--sky-50) 100%) !important; }
.review--lead { background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy-900) 100%) !important; }
.review__stars { color: var(--sky-500) !important; }
.zones__map { border-color: var(--sky-100) !important; }
.quote { background: radial-gradient(55% 60% at 10% 0%, var(--sky-100) 0%, transparent 70%), linear-gradient(180deg, #ffffff, var(--sky-50)) !important; }
.recruit { background: linear-gradient(120deg, var(--navy-700) 0%, var(--navy-800) 55%, #0d4f86 100%) !important; }
.footer { background: var(--navy-900) !important; }
.hero__title .line--accent { color: var(--sky-ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky-ink) !important; box-shadow: 0 0 0 4px rgb(100 185 225 / 0.28) !important; }
