/* ============================================================
   Vizer's Consultores — Homepage 2.0 (protótipo)
   Tema: dark editorial | bg #080b17 | acento #95ca7f | teal #019e96
   ============================================================ */

:root {
  --bg: #080b17;
  --bg-alt: #0b101f;
  --surface: #0e1424;
  --text: #f2f4f8;
  --muted: #aab4c6;
  --accent: #95ca7f;
  --teal: #019e96;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-soft: rgba(255, 255, 255, 0.06);
  --footer-bg: #f4f6f9;
  --footer-text: #131a2c;
  --font-sans: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0b101f; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Tipografia ---------- */
.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker-dark { color: #0e3a24; }

.section-title {
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.section-title em, .hero-title em, .final-title em, .ladder-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0;
}
.section-intro {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 22px;
  font-size: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-pill { border-radius: 999px; padding: 13px 26px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-light { background: #ffffff; color: #0b101f; }
.btn-light:hover { background: var(--accent); color: #0b101f; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: #0b101f; color: #ffffff; }
.btn-dark:hover { background: #0e3a24; color: #ffffff; }
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(0.98); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(8, 11, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
  transition: transform 0.3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-actions .btn { padding: 11px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform 0.25s ease;
}

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 11, 23, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-nav a { font-size: 26px; font-weight: 500; color: var(--text); }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav a.btn-light { color: #0b101f; font-size: 16px; }
.mobile-nav a.btn-light:hover { background: var(--accent); color: #0b101f; }
.mobile-nav .btn { font-size: 16px; justify-content: center; margin-top: 10px; }
.mobile-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none; border: none;
  color: var(--text);
  font-size: 38px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad) 90px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--pad);
  pointer-events: none;
}
.grid-lines i {
  width: 1px;
  background: var(--hairline-soft);
}
.slash {
  position: absolute;
  top: -12%;
  right: 6%;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent, var(--accent) 30%, var(--teal) 70%, transparent);
  transform: rotate(18deg);
  opacity: 0.55;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-title {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 10px 0 30px;
}
.hero-title .line { display: block; }
.hero-sub {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 56ch;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 60ch; }

.orbit-badge {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: 48px;
  width: 172px; height: 172px;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
}
.orbit-badge svg {
  width: 100%; height: 100%;
  animation: orbitSpin 44s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-ring { fill: none; stroke: rgba(149, 202, 127, 0.38); stroke-width: 1; }
.orbit-text {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  fill: rgba(244, 246, 251, 0.85);
}
.orbit-dot { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .orbit-badge svg { animation: none; }
}

/* ---------- Declaração full-bleed ---------- */
.statement {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-top: 1px solid var(--hairline-soft);
}
.statement-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.statement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 23, 0.55) 0%, rgba(8, 11, 23, 0.18) 40%, rgba(8, 11, 23, 0.88) 100%);
}
.statement-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad) clamp(56px, 8vw, 110px);
}
.statement-line {
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 20ch;
  text-shadow: 0 2px 24px rgba(8, 11, 23, 0.6);
}
.statement-line em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ---------- Secções base ---------- */
.section { padding: clamp(80px, 11vw, 150px) var(--pad); position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.section-head { max-width: var(--maxw); margin: 0 auto 60px; }

/* ---------- Dores (lista editorial) ---------- */
.pain-list { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hairline); }
.pain {
  display: grid;
  grid-template-columns: minmax(220px, 5fr) 7fr;
  gap: 24px 60px;
  padding: 38px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.pain:hover { background: rgba(149, 202, 127, 0.03); padding-left: 14px; }
.pain h3 { font-size: clamp(21px, 2.3vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.pain p { color: var(--muted); max-width: 52ch; }

/* ---------- Fases ---------- */
.met-figure {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  position: relative;
}
.met-figure img {
  width: 100%;
  height: clamp(260px, 38vw, 480px);
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.met-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 26px;
  font-size: 13.5px;
  color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(8, 11, 23, 0.82) 45%);
}

.phases {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.phase { background: var(--bg-alt); padding: 40px 34px 46px; }
.phase-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 44px;
}
.phase h3 { font-size: 23px; font-weight: 600; margin-bottom: 14px; }
.phase p { color: var(--muted); font-size: 15.5px; }

/* ---------- Escada de valor ---------- */
.ladder-wrap { max-width: var(--maxw); margin: 110px auto 0; }
.ladder-title { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 50px; max-width: 24ch; }
.ladder { list-style: none; display: flex; flex-direction: column; }
.ladder li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  border: 1px solid var(--hairline);
  border-bottom: none;
  background: var(--surface);
  margin-left: calc(var(--i) * clamp(0px, 6vw, 84px));
  transition: border-color 0.25s ease, background 0.25s ease;
}
.ladder li:last-child { border-bottom: 1px solid var(--hairline); }
.ladder li:hover { border-color: rgba(149, 202, 127, 0.5); background: #101a2e; }
.ladder li span { font-size: clamp(17px, 2vw, 22px); font-weight: 600; }
.ladder li small { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Soluções (bandas) ---------- */
.brands { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hairline); }
.brand-row {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) 3fr 5fr;
  gap: 18px 48px;
  align-items: baseline;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
}
.brand-row h3 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.015em; }
.brand-row h3 strong { font-weight: 700; color: var(--accent); }
.brand-scope { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.brand-row > p:last-child { color: var(--muted); font-size: 15.5px; }

/* ---------- Avaliação ---------- */
.avaliacao { padding-top: 0; }
.avaliacao-panel {
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(135deg, #bfe3ae 0%, #95ca7f 55%, #7ab863 100%);
  color: #0e2417;
  border-radius: 18px;
  padding: clamp(44px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}
.avaliacao-panel::after {
  content: "";
  position: absolute;
  top: -30%; right: -6%;
  width: 2px; height: 160%;
  background: rgba(8, 11, 23, 0.35);
  transform: rotate(18deg);
}
.avaliacao-title {
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 40px;
}
.avaliacao-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 42px; max-width: 780px; }
.av-card {
  border: 1px solid rgba(8, 11, 23, 0.28);
  border-radius: 12px;
  padding: 24px 26px;
}
.av-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.av-card p { font-size: 14.5px; color: rgba(14, 36, 23, 0.82); }
.av-note { margin-top: 18px; font-size: 13px; color: rgba(14, 36, 23, 0.75); }

/* ---------- Prova ---------- */
.metrics {
  max-width: var(--maxw);
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.metric strong {
  display: block;
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.metric span { display: block; margin-top: 12px; color: var(--muted); font-size: 14.5px; }

.quotes {
  max-width: var(--maxw);
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--text);
}
.quote footer { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--text); }
.quote footer span { color: var(--muted); font-weight: 400; }

.case { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hairline); padding-top: 60px; }
.case-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-top: 30px;
}
.case-figure {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.case-figure img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.case-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.case h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.case p { color: var(--muted); max-width: 46ch; }

/* ---------- CTA final ---------- */
.final-cta { text-align: left; overflow: hidden; }
.final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.final-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 23, 0.92) 0%, rgba(8, 11, 23, 0.72) 48%, rgba(8, 11, 23, 0.42) 100%);
}
.final-cta .grid-lines { opacity: 0.7; }
.final-title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
}
.final-sub { color: var(--muted); max-width: 54ch; margin-top: 28px; font-size: 18px; position: relative; }
.final-cta .hero-ctas { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px var(--pad) 50px;
  display: grid;
  grid-template-columns: 3.4fr 1.8fr 1.9fr 1.6fr 1.6fr;
  gap: 40px;
}
.footer-logo { height: 86px; width: auto; display: block; }
.footer-tag { margin-top: 16px; color: #5a6478; font-size: 14.5px; max-width: 30ch; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a93a8;
  margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 15px; color: var(--footer-text); padding: 5px 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-col p { font-size: 15px; color: #5a6478; padding-top: 5px; }
.footer-base {
  border-top: 1px solid #dde2ea;
  padding: 22px var(--pad);
  text-align: center;
  font-size: 13px;
  color: #8a93a8;
}

/* ---------- Páginas interiores ---------- */
.page-hero {
  position: relative;
  padding: clamp(170px, 22vh, 230px) var(--pad) clamp(60px, 8vw, 100px);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-soft);
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; }
.page-title {
  font-size: clamp(42px, 6.6vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.page-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.page-intro { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; margin-top: 28px; }
.page-intro strong { color: var(--text); }

/* Blocos alternados texto / imagem */
.split {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split.reverse figure { order: -1; }
.split figure {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.split img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block; }
.brand-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  display: block;
}
.split h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.split h3 strong { color: var(--accent); font-weight: 700; }
.split p { color: var(--muted); }
.svc-list { list-style: none; margin: 26px 0 30px; }
.svc-list li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--text);
  font-size: 15.5px;
  position: relative;
}
.svc-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* Cartões de valores / princípios */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.pillar { background: var(--bg); padding: 40px 34px 46px; }
.section-alt .pillar { background: var(--bg-alt); }
.pillar h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.pillar .num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 30px;
  display: block;
  margin-bottom: 26px;
}

/* Fases detalhadas (metodologia) */
.phase-detail { max-width: var(--maxw); margin: 0 auto; border-top: 1px solid var(--hairline); }
.phase-row {
  display: grid;
  grid-template-columns: minmax(180px, 3fr) 5fr 4fr;
  gap: 24px 56px;
  padding: 46px 0;
  border-bottom: 1px solid var(--hairline);
}
.phase-row .phase-tag { margin-bottom: 14px; }
.phase-row h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
.phase-row .desc { color: var(--muted); }
.phase-row .recebe h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.phase-row .recebe ul { list-style: none; }
.phase-row .recebe li {
  color: var(--muted);
  font-size: 14.5px;
  padding: 7px 0 7px 20px;
  position: relative;
}
.phase-row .recebe li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-size: 12px; top: 9px; }

/* Contacto */
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-card {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 38px 36px 42px;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-card:hover { border-color: rgba(149, 202, 127, 0.5); transform: translateY(-3px); }
.contact-card h3 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.contact-card .big {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: block;
}
.contact-card p { color: var(--muted); font-size: 15px; margin: 12px 0 22px; flex: 1; }
.contact-card a.big:hover { color: var(--accent); }
.contact-card .btn { margin-top: 4px; }

/* Telefones no CTA final */
.final-phones { margin-top: 26px; font-size: 14.5px; color: var(--muted); position: relative; }
.final-phones a { color: var(--text); border-bottom: 1px solid var(--hairline); transition: color 0.2s ease, border-color 0.2s ease; }
.final-phones a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Vistas (router por hash) ---------- */
.view { display: none; }
.view.active { display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arrow, .main-nav a, .pain, .ladder li { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions { margin-left: 0; }
  .brand-row { grid-template-columns: 1fr; gap: 10px; }
  .phases { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .case-figure img { min-height: 0; height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse figure { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .phase-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-actions .btn { display: none; }
  .brand-logo { height: 28px; }
  .pain { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .pain:hover { padding-left: 0; }
  .avaliacao-cards, .quotes { grid-template-columns: 1fr; gap: 36px; }
  .metrics { grid-template-columns: 1fr; gap: 34px; }
  .ladder li { flex-direction: column; gap: 4px; align-items: flex-start; }
  .orbit-badge { width: 108px; height: 108px; right: 16px; bottom: 20px; opacity: 0.85; }
  .slash { right: -4%; }
  .statement { min-height: 64vh; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo { height: 72px; }
  .hero { padding-top: 120px; }
}

/* ---------- Documentos legais ---------- */
.legal-doc { max-width: 780px; margin: 0 auto; }
.legal-doc h3 { margin: 46px 0 12px; font-size: 21px; }
.legal-doc h3:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--muted); line-height: 1.8; font-size: 16px; }
.legal-doc ul { padding-left: 22px; margin: 12px 0; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: var(--accent); }
.legal-doc strong { color: var(--text); }
.legal-doc code { background: var(--surface); padding: 2px 7px; border-radius: 6px; font-size: 14px; }

/* ---------- Formulário de contacto ---------- */
.contact-form { max-width: 820px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field > span small { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 13px 16px; color: var(--text); font: inherit; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form-full { margin-top: 22px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.form-consent input { margin-top: 3px; accent-color: var(--accent); }
.form-consent a { color: var(--accent); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: 15px; margin: 0; }
.form-note.ok { color: var(--accent); }
.form-note.warn a { color: var(--accent); }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
