:root {
  --paper: #f7f7fb;
  --paper-2: #eeebf8;
  --surface: #ffffff;
  --surface-2: #f3f1fa;
  --ink: #000000;
  --ink-2: #1a1823;
  --muted: #5d5a68;
  --line: rgba(52, 28, 114, 0.15);
  --line-strong: rgba(52, 28, 114, 0.28);
  --accent: #5129bc;
  --accent-strong: #341c72;
  --accent-soft: #ebe6fb;
  --dark: #341c72;
  --dark-2: #25104f;
  --dark-text: #ffffff;
  --dark-muted: rgba(255, 255, 255, 0.76);
  --success: #1d7b4d;
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 42px;
  --shadow: 0 28px 64px -42px rgba(52, 28, 114, 0.55);
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(33, 29, 32, 0.014) 0, rgba(33, 29, 32, 0.014) 1px, transparent 1px, transparent 5px);
  content: "";
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(118, 83, 106, 0.42);
  outline-offset: 4px;
}

img,
video {
  max-width: 100%;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - var(--wrap)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.045em;
  z-index: 1;
}

.brand::before {
  width: 17px;
  height: 17px;
  border: 5px solid var(--accent);
  border-right-color: var(--ink);
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav > a:not(.button) {
  position: relative;
  padding: 29px 0;
}

.nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav > a:not(.button):hover {
  color: var(--ink);
}

.nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: max-content;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent-strong);
  box-shadow: 0 16px 34px -22px rgba(70, 42, 59, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  background: #432d3b;
  box-shadow: 0 20px 42px -22px rgba(70, 42, 59, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.985);
}

.menu-toggle {
  position: relative;
  z-index: 1;
  display: none;
  place-content: center;
  gap: 6px;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.28s ease;
}

.preview-switcher {
  position: fixed;
  right: 50%;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(33, 28, 32, 0.94);
  box-shadow: 0 18px 50px rgba(33, 28, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  transform: translateX(50%);
  backdrop-filter: blur(16px);
}

.preview-mark {
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  white-space: nowrap;
}

.preview-switcher a {
  padding: 8px 11px;
  border-radius: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.preview-switcher a:hover,
.preview-switcher a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100dvh - 82px));
  display: grid;
  align-items: center;
  padding: clamp(76px, 9vw, 128px) 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
}

.hero::before {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(118, 83, 106, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 88px rgba(118, 83, 106, 0.025), 0 0 0 176px rgba(118, 83, 106, 0.018);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  column-gap: clamp(50px, 7vw, 98px);
  row-gap: 0;
  width: min(100%, var(--wrap));
  margin: 0 auto;
}

.hero-inner > :not(.hero-visual, .seo-note) {
  grid-column: 1;
}

.hero-inner > .eyebrow {
  align-self: end;
  margin: 0 0 18px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-inner > p:not(.eyebrow, .byline) {
  max-width: 650px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.local-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.68);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
}

.local-proof + .button {
  margin-top: 28px;
}

.seo-note {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 7;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--dark);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.11);
  color: var(--dark-text);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}

.hero-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-location {
  margin-right: auto;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0;
  text-transform: none;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #79a58f;
  box-shadow: 0 0 0 5px rgba(121, 165, 143, 0.12);
  animation: breathe 2.8s ease-in-out infinite;
}

.signal-map {
  position: relative;
  height: 330px;
  margin: 26px 0 18px;
}

.signal {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 650;
}

.signal-a { top: 22px; left: 0; }
.signal-b { top: 22px; right: 0; }
.signal-c { top: 132px; left: 50%; color: #fff; transform: translateX(-50%); }
.signal-d { bottom: 28px; left: 0; }
.signal-e { bottom: 28px; left: 50%; transform: translateX(-50%); }
.signal-f { right: 0; bottom: 28px; }

.signal-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(195, 160, 182, 0.38);
  transform-origin: left;
}

.line-a { top: 64px; left: 92px; width: 118px; transform: rotate(28deg); }
.line-b { top: 64px; right: 92px; width: 118px; transform: rotate(152deg); transform-origin: right; }
.line-c { top: 178px; left: 50%; width: 110px; transform: rotate(125deg); }
.line-d { top: 178px; left: 50%; width: 105px; transform: rotate(90deg); }
.line-e { top: 178px; left: 50%; width: 110px; transform: rotate(55deg); }

.proof-strip {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-strip img {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
}

.proof-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.45;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: #fff;
  font-size: 14px;
}

.section {
  position: relative;
  padding: clamp(88px, 9vw, 138px) 24px;
}

.section > * {
  width: min(100%, var(--wrap));
  margin-right: auto;
  margin-left: auto;
}

.light {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section.light:nth-of-type(even) {
  background: var(--paper);
}

.dark {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dark);
  color: var(--dark-text);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 36px;
  align-items: end;
  max-width: var(--wrap);
  margin-bottom: clamp(46px, 6vw, 76px);
  text-align: left;
}

.section-head h2 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}

.section-head h2 span {
  color: var(--accent);
}

.dark .section-head h2 span {
  color: #c7a9bb;
}

.section-head p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.dark .section-head p {
  color: var(--dark-muted);
}

.hairline {
  display: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.copy-stack {
  display: grid;
}

.copy-block {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.copy-block + .copy-block {
  padding-top: 28px;
}

.copy-block h3,
.market h3,
.metrics-panel h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.copy-block p,
.copy-block li,
.market p {
  color: var(--muted);
}

.copy-block ul {
  margin: 0;
  padding-left: 20px;
}

.metrics-panel {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: var(--dark);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--dark-text);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric {
  min-height: 142px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metric strong,
.market-card strong,
.method-promise strong,
.team-stat strong {
  display: block;
  color: #d5bdcb;
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 9px;
  color: var(--dark-muted);
  font-size: 13px;
}

.market {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 30px 76px;
  align-items: start;
  margin-top: 78px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.market > p {
  margin-top: 0;
}

.market-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1px;
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
}

.market-card {
  padding: 28px;
  background: var(--surface);
}

.market-card strong {
  color: var(--accent-strong);
}

.market-card p {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  grid-column: span 6;
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:nth-child(1),
.service-card:nth-child(6) {
  grid-column: span 7;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  grid-column: span 5;
}

.service-card:hover {
  border-color: rgba(213, 189, 203, 0.32);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-4px);
}

.service-card h3,
.phase h3,
.result-card h3,
.team-panel h3,
.testimonial h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 29px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.service-card .sub,
.phase .week,
.result-card > span {
  display: block;
  margin-bottom: 13px;
  color: #c7a9bb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card p,
.service-card li,
.phase p,
.phase li,
.team-panel p,
.team-panel li {
  color: var(--dark-muted);
}

.service-card ul,
.phase ul,
.team-panel ul {
  padding-left: 18px;
}

.cta-band,
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 32px;
  align-items: center;
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.cta-band h3,
.cta-panel h3 {
  margin: 0;
  font-size: 26px;
}

.cta-band p,
.cta-panel p {
  grid-column: 1;
  margin: 0;
  color: var(--dark-muted);
}

.cta-band .button,
.cta-panel .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: var(--surface);
  color: var(--ink);
}

.method-promise {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: end;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.method-promise strong {
  color: #d5bdcb;
}

.method-promise span {
  padding-bottom: 4px;
  color: var(--dark-muted);
}

.method-promise p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--dark-muted);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.phase {
  min-height: 295px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.phase:nth-child(1) { grid-column: 1 / span 5; }
.phase:nth-child(2) { grid-column: 6 / span 7; }
.phase:nth-child(3) { grid-column: 3 / span 8; }

.phase .quote {
  min-height: 52px;
  color: #d5bdcb;
  font-style: normal;
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.result-card {
  grid-column: span 4;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.result-card:nth-child(1),
.result-card:nth-child(5) {
  grid-column: span 7;
  grid-row: auto;
  min-height: 230px;
  background: var(--accent-soft);
}

.result-card:nth-child(2),
.result-card:nth-child(6) {
  grid-column: span 5;
}

.result-card > span {
  color: var(--accent-strong);
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.team-stat {
  padding: 30px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: none;
  text-align: left;
}

.team-stat:last-child {
  border-right: 0;
}

.team-stat strong {
  color: #d5bdcb;
  font-size: 30px;
}

.team-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-top: 48px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.commit {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.video-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  content: "";
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--dark);
  object-fit: cover;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.18em;
}

.testimonial blockquote,
.testimonial .quote {
  margin: 24px 0;
  color: var(--ink-2);
  font-size: clamp(24px, 3vw, 36px);
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.result-box {
  margin: 24px 0;
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  max-width: var(--wrap);
  padding: clamp(36px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
}

.contact-panel > p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.contact-panel > .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.contact-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: 24px 24px 0 0;
  border-right: 1px solid var(--line);
}

.contact-card + .contact-card {
  padding-left: 24px;
}

.contact-card:last-child {
  border-right: 0;
}

.index-support,
.related-local {
  background: var(--paper-2);
}

.crawl-directory {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.crawl-directory > summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 24px;
  min-height: 108px;
  cursor: pointer;
  list-style: none;
}

.crawl-directory > summary::-webkit-details-marker {
  display: none;
}

.crawl-directory > summary span {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.crawl-directory > summary strong {
  grid-column: 1;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.crawl-directory > summary i {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.crawl-directory[open] > summary {
  border-bottom: 1px solid var(--line);
}

.crawl-directory[open] > summary i {
  color: var(--accent-strong);
}

.crawl-directory-content {
  padding-top: 56px;
}

.crawl-directory-content > .section-head {
  margin-right: 0;
  margin-left: 0;
}

.index-grid,
.related-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.index-card,
.related-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 250, 247, 0.8);
}

.index-card h3,
.related-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.index-card p,
.index-card li,
.related-card p {
  color: var(--muted);
}

.index-card a,
.related-card a {
  display: block;
  margin: 10px 0;
  color: var(--accent-strong);
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-item strong {
  display: block;
  margin-bottom: 5px;
}

.footer {
  padding: 62px 24px 100px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  width: min(100%, var(--wrap));
  margin: 0 auto;
}

.footer h4,
.footer strong {
  color: var(--ink);
}

.footer a,
.footer p {
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: var(--accent-strong);
}

.footer a.button {
  display: inline-flex;
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Conteúdo editorial */
.page-content .hero {
  min-height: auto;
  padding-top: clamp(84px, 10vw, 132px);
  padding-bottom: clamp(64px, 8vw, 104px);
  background: var(--surface);
}

.page-content .hero-inner {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  padding-left: clamp(24px, 5vw, 74px);
  border-left: 1px solid var(--line-strong);
}

.page-content .hero h1 {
  max-width: 930px;
  font-size: clamp(40px, 6vw, 68px);
}

.page-content .breadcrumbs {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.page-content .breadcrumbs a {
  color: var(--accent-strong);
}

.page-content .lead {
  max-width: 800px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.byline {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.page-content .section {
  padding: clamp(64px, 8vw, 104px) 24px;
  background: var(--paper);
}

.article {
  max-width: 820px;
}

.article > p:first-child {
  color: var(--ink-2);
  font-size: 19px;
}

.article h2 {
  margin: 72px 0 18px;
  color: var(--ink);
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.article h3 {
  margin: 42px 0 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.article p,
.article li {
  color: #4f494c;
  font-size: 18px;
  line-height: 1.74;
}

.article li {
  margin: 9px 0;
  padding-left: 4px;
}

.article a:not(.button) {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(118, 83, 106, 0.35);
  text-underline-offset: 3px;
}

.notice {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-2);
}

.notice.answer {
  margin-bottom: 34px;
  padding: 28px 30px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--dark);
  box-shadow: var(--shadow);
  color: var(--dark-muted);
  font-size: 19px;
}

.notice.answer strong {
  color: #fff;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin: 0 0 54px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(251, 250, 247, 0.82);
  box-shadow: none;
}

.card strong {
  color: var(--ink);
}

.toc ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.toc li {
  margin: 6px 0;
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 19px 18px 19px 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.steps li::before {
  position: absolute;
  top: 19px;
  left: 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  content: "0" counter(step);
  counter-increment: step;
}

.faq details {
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  list-style-position: outside;
}

.faq details p {
  margin-bottom: 0;
}

.related {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.related a {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none !important;
  transition: border-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.related a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.author-box {
  margin-top: 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.author-box p {
  margin-bottom: 0;
  font-size: 16px;
}

.article section {
  scroll-margin-top: 104px;
}

.formula {
  overflow: auto;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: var(--dark-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

/* Relatório */
.page-analysis {
  min-height: 100dvh;
  padding-bottom: 100px;
}

.analysis-shell {
  width: min(calc(100% - 48px), var(--wrap));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 110px) 0;
}

.analysis-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.analysis-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.analysis-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.analysis-head h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.analysis-card {
  grid-column: span 6;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.analysis-card:first-child {
  grid-column: span 7;
  background: var(--dark);
  color: var(--dark-text);
}

.analysis-card:nth-child(2) {
  grid-column: span 5;
}

.analysis-card.wide {
  grid-column: 1 / -1;
}

.analysis-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.analysis-card p,
.analysis-card li {
  color: var(--muted);
}

.analysis-card:first-child p,
.analysis-card:first-child li {
  color: var(--dark-muted);
}

.analysis-card ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.screen-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.screen-links a {
  display: flex;
  min-height: 86px;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-weight: 650;
  transition: border-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-links a:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--success);
  font-weight: 700;
}

.check-line::before {
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "OK";
  font-size: 9px;
  letter-spacing: -0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  0%,
  100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.28); opacity: 1; }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .hero-inner > :not(.hero-visual, .seo-note),
  .hero-visual {
    grid-column: 1;
  }

  .hero-visual {
    grid-row: auto;
    width: 100%;
    min-height: 470px;
    margin-top: 48px;
  }

  .section-head,
  .analysis-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-head p,
  .method-promise {
    grid-column: 1;
  }

  .about-grid,
  .team-panel,
  .testimonial {
    grid-template-columns: 1fr;
  }

  .market {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-column: 1;
  }

  .phase:nth-child(1),
  .phase:nth-child(2),
  .phase:nth-child(3) {
    grid-column: span 12;
  }

  .result-card,
  .result-card:nth-child(1),
  .result-card:nth-child(2),
  .result-card:nth-child(5),
  .result-card:nth-child(6) {
    grid-column: span 6;
    min-height: 190px;
  }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-inner > :nth-child(4) {
    grid-column: 2;
  }

  .screen-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .top {
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: grid;
  }

  .top .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .top.menu-open .nav {
    display: flex;
  }

  .top.menu-open .menu-toggle span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .top.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .nav > a:not(.button) {
    padding: 12px 10px;
  }

  .nav > a:not(.button)::after {
    display: none;
  }

  .nav .button {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 62px 18px 72px;
  }

  .hero::before {
    right: -380px;
  }

  .hero h1,
  .page-content .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-inner {
    column-gap: 0;
    row-gap: 0;
  }

  .hero-visual {
    min-height: 430px;
    margin-top: 40px;
    padding: 19px;
    border-radius: 24px;
  }

  .signal-map {
    height: 286px;
  }

  .signal {
    min-height: 38px;
    padding: 0 10px;
    font-size: 10px;
  }

  .line-a,
  .line-b {
    width: 88px;
  }

  .section {
    padding: 72px 18px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .section-head p {
    font-size: 16px;
  }

  .about-grid {
    gap: 38px;
  }

  .metrics-panel,
  .team-panel,
  .contact-panel {
    padding: 26px;
    border-radius: 24px;
  }

  .metric {
    min-height: 120px;
    padding: 20px;
  }

  .market {
    gap: 20px;
    margin-top: 56px;
  }

  .market-grid,
  .services-grid,
  .phase-grid,
  .result-grid,
  .team-stats,
  .contact-grid,
  .index-grid,
  .related-grid,
  .editorial-grid,
  .related,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(5),
  .service-card:nth-child(6),
  .result-card,
  .result-card:nth-child(1),
  .result-card:nth-child(2),
  .result-card:nth-child(5),
  .result-card:nth-child(6),
  .analysis-card,
  .analysis-card:first-child,
  .analysis-card:nth-child(2),
  .analysis-card.wide {
    grid-column: 1;
  }

  .cta-band,
  .cta-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .cta-band .button,
  .cta-panel .button,
  .contact-panel > .button {
    grid-column: 1;
    grid-row: auto;
  }

  .team-stats {
    border-bottom: 0;
  }

  .team-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .contact-grid {
    display: block;
  }

  .contact-card,
  .contact-card + .contact-card {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-content .hero {
    padding: 58px 18px 66px;
  }

  .page-content .hero-inner {
    padding-left: 20px;
  }

  .page-content .section {
    padding: 60px 18px 84px;
  }

  .article p,
  .article li {
    font-size: 17px;
  }

  .article h2 {
    margin-top: 58px;
  }

  .footer {
    padding: 48px 18px 112px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > :nth-child(4) {
    grid-column: 1;
  }

  .footer-bottom {
    display: block;
  }

  .analysis-shell {
    width: min(calc(100% - 36px), var(--wrap));
    padding-top: 68px;
  }

  .analysis-head h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .screen-links {
    grid-template-columns: 1fr 1fr;
  }

  .preview-switcher {
    bottom: 10px;
    max-width: calc(100vw - 20px);
    overflow-x: auto;
  }

  .preview-mark {
    display: none;
  }
}

@media (max-width: 430px) {
  .metrics-grid,
  .market-grid,
  .screen-links {
    grid-template-columns: 1fr;
  }

  .signal-b,
  .signal-f {
    right: -4px;
  }

  .signal-a,
  .signal-d {
    left: -4px;
  }

  .proof-strip span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Awwwards motion lab: every movement is preview-only and uses transforms/opacity. */
.home-scroll-lab .page-home {
  overflow-x: clip;
}

.home-scroll-lab .page-home .home-scroll-stage {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stage, 0) * 55ms);
  will-change: transform, opacity;
}

.home-scroll-lab .page-home .home-scroll-stage.is-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-scroll-lab .page-home .home-scroll-item {
  opacity: 0;
  transform: translate3d(0, 36px, 0) rotateX(-8deg);
  transition: opacity 720ms cubic-bezier(0.16, 1, 0.3, 1), transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--item, 0) * 75ms + 90ms);
}

.home-scroll-lab .page-home .home-scroll-stage.is-in-view .home-scroll-item {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

.home-scroll-lab .page-home .hero {
  min-height: min(890px, 100dvh);
}

.home-scroll-lab .page-home .hero-inner > :not(.hero-visual, .seo-note) {
  animation: hero-copy-in 1000ms both cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-lab .page-home .hero-inner > :nth-child(1) { animation-delay: 80ms; }
.home-scroll-lab .page-home .hero-inner > :nth-child(2) { animation-delay: 150ms; }
.home-scroll-lab .page-home .hero-inner > :nth-child(3) { animation-delay: 230ms; }
.home-scroll-lab .page-home .hero-inner > :nth-child(4) { animation-delay: 300ms; }
.home-scroll-lab .page-home .hero-inner > :nth-child(5) { animation-delay: 370ms; }

.home-scroll-lab .page-home .home-journey {
  transform-origin: 82% 40%;
}

.home-scroll-lab .page-home #about {
  min-height: 105dvh;
}

.home-scroll-lab .page-home #about::after {
  position: absolute;
  top: 15%;
  right: -16vw;
  width: 42vw;
  min-width: 400px;
  aspect-ratio: 1;
  border: 1px solid rgba(81, 41, 188, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(81, 41, 188, 0.025), 0 0 0 16vw rgba(81, 41, 188, 0.018);
  content: "";
  transform: scale(0.7);
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.home-scroll-lab .page-home #about:has(.home-scroll-stage.is-in-view)::after {
  opacity: 1;
  transform: scale(1);
}

.home-scroll-lab .page-home #about .about-grid {
  perspective: 1100px;
}

.home-scroll-lab .page-home #about .metrics-panel {
  transform: rotateY(-3deg) translateZ(0);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-lab .page-home #about .about-grid.is-in-view .metrics-panel {
  transform: rotateY(0deg) translateZ(0);
}

.home-scroll-lab .page-home #services {
  min-height: 135dvh;
}

.home-scroll-lab .page-home #services .services-grid {
  perspective: 1200px;
}

.home-scroll-lab .page-home #services .service-card:nth-child(odd) {
  transform-origin: left center;
}

.home-scroll-lab .page-home #services .service-card:nth-child(even) {
  transform-origin: right center;
}

.home-scroll-lab .page-home #services .services-grid.is-in-view .service-card:nth-child(odd) {
  transform: translate3d(0, 0, 0) rotateY(0deg) !important;
}

.home-scroll-lab .page-home #services .services-grid.is-in-view .service-card:nth-child(even) {
  transform: translate3d(0, 0, 0) rotateY(0deg) !important;
}

.home-scroll-lab .page-home #services .service-card.home-scroll-item:nth-child(odd) {
  transform: translate3d(-42px, 42px, 0) rotateY(10deg);
}

.home-scroll-lab .page-home #services .service-card.home-scroll-item:nth-child(even) {
  transform: translate3d(42px, 42px, 0) rotateY(-10deg);
}

.home-scroll-lab .page-home #methodology {
  min-height: 120dvh;
}

.home-scroll-lab .page-home #methodology .phase-grid {
  perspective: 1300px;
}

.home-scroll-lab .page-home #methodology .phase.home-scroll-item:nth-child(1) { transform: translate3d(-8vw, 44px, 0) rotateY(12deg); }
.home-scroll-lab .page-home #methodology .phase.home-scroll-item:nth-child(2) { transform: translate3d(0, 58px, 0) rotateY(0deg); }
.home-scroll-lab .page-home #methodology .phase.home-scroll-item:nth-child(3) { transform: translate3d(8vw, 44px, 0) rotateY(-12deg); }

.home-scroll-lab .page-home #methodology .phase-grid.is-in-view .phase {
  transform: translate3d(0, 0, 0) rotateY(0deg) !important;
}

.home-scroll-lab .page-home #results {
  min-height: 118dvh;
}

.home-scroll-lab .page-home #results .result-grid {
  perspective: 1200px;
}

.home-scroll-lab .page-home #results .result-card.home-scroll-item:nth-child(3n + 1) { transform: translate3d(-34px, 54px, 0) rotateZ(-3deg); }
.home-scroll-lab .page-home #results .result-card.home-scroll-item:nth-child(3n + 2) { transform: translate3d(0, 70px, 0) rotateZ(0deg); }
.home-scroll-lab .page-home #results .result-card.home-scroll-item:nth-child(3n) { transform: translate3d(34px, 54px, 0) rotateZ(3deg); }

.home-scroll-lab .page-home #results .result-grid.is-in-view .result-card {
  transform: translate3d(0, 0, 0) rotateZ(0deg) !important;
}

.home-scroll-lab .page-home #team {
  min-height: 104dvh;
}

.home-scroll-lab .page-home #team::after {
  animation: none;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease;
  transform: scale(0.5) rotate(-20deg);
  opacity: 0;
}

.home-scroll-lab .page-home #team:has(.home-scroll-stage.is-in-view)::after {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.home-scroll-lab .page-home #team .team-panel {
  transform: translate3d(0, 50px, 0) scale(0.97);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 800ms ease;
}

.home-scroll-lab .page-home #team .team-panel.is-in-view {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.home-scroll-lab .page-home #testimonials {
  min-height: 102dvh;
}

.home-scroll-lab .page-home #testimonials .testimonial {
  transform-origin: 50% 65%;
}

.home-scroll-lab .page-home #testimonials .video-frame {
  clip-path: inset(12% 12% 12% 12% round 36px);
  transform: scale(0.84) rotate(-3deg);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-lab .page-home #testimonials .testimonial.is-in-view .video-frame {
  clip-path: inset(0 round 36px);
  transform: scale(1) rotate(0deg);
}

.home-scroll-lab .page-home #contact {
  min-height: 98dvh;
}

.home-scroll-lab .page-home #contact .contact-panel {
  clip-path: inset(0 49% 0 49% round 34px);
  transform: translate3d(0, 40px, 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-lab .page-home #contact .contact-panel.is-in-view {
  clip-path: inset(0 0 0 0 round 34px);
  transform: translate3d(0, 0, 0);
}

.home-scroll-lab .page-home .related-local {
  min-height: 80dvh;
}

.home-scroll-lab .page-home .related-local .crawl-directory {
  clip-path: inset(0 0 100% 0 round 28px);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-scroll-lab .page-home .related-local .crawl-directory.is-in-view {
  clip-path: inset(0 0 0 0 round 28px);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 760px) {
  .home-scroll-lab .page-home .hero,
  .home-scroll-lab .page-home #about,
  .home-scroll-lab .page-home #services,
  .home-scroll-lab .page-home #methodology,
  .home-scroll-lab .page-home #results,
  .home-scroll-lab .page-home #team,
  .home-scroll-lab .page-home #testimonials,
  .home-scroll-lab .page-home #contact,
  .home-scroll-lab .page-home .related-local {
    min-height: auto;
  }

  .home-scroll-lab .page-home #services .service-card.home-scroll-item,
  .home-scroll-lab .page-home #methodology .phase.home-scroll-item,
  .home-scroll-lab .page-home #results .result-card.home-scroll-item {
    transform: translate3d(0, 34px, 0) rotateY(0deg) rotateZ(0deg);
  }

  .home-scroll-lab .page-home #about::after,
  .home-scroll-lab .page-home #team::after {
    display: none;
  }
}

/* Reset the home laboratory. The only interaction left is the services flip. */
.page-home .reveal,
.page-home .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-home .home-journey-steps li,
.page-home .home-journey-steps li::after,
.page-home #about::before,
.page-home #services::before,
.page-home #methodology .phase-grid::before,
.page-home #results::before,
.page-home #team::after,
.page-home #testimonials .testimonial::after,
.page-home #contact::before {
  animation: none !important;
}

.page-home #about::before,
.page-home #services::before,
.page-home #methodology .phase-grid::before,
.page-home #results::before,
.page-home #team::after,
.page-home #testimonials .testimonial::after,
.page-home #contact::before,
.page-home #services .service-card::after {
  display: none !important;
}

.page-home #about .about-grid > *,
.page-home #about .about-grid > *:hover,
.page-home #methodology .phase,
.page-home #methodology .phase:hover,
.page-home #results .result-card,
.page-home #results .result-card:hover,
.page-home #team .team-stat,
.page-home #team .team-stat:hover,
.page-home #testimonials video,
.page-home #testimonials .video-frame,
.page-home #testimonials .testimonial:hover video,
.page-home #testimonials .testimonial:hover .video-frame,
.page-home #contact .cta-panel,
.page-home #contact .contact-panel,
.page-home #contact .cta-panel:hover,
.page-home #contact .contact-panel:hover,
.page-home .related-local .crawl-directory,
.page-home .related-local .crawl-directory:hover {
  box-shadow: none;
  transform: none;
  transition: none;
}

.page-home #services .service-card {
  position: relative;
  min-height: 286px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1200px;
  cursor: pointer;
  transform: none !important;
  transition: none;
}

.page-home #services .service-card:focus-visible {
  outline: 2px solid #b8edff;
  outline-offset: 5px;
}

.service-flip-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-flip-front {
  align-items: center;
  background:
    radial-gradient(circle at 86% 12%, rgba(117, 208, 241, 0.25), transparent 30%),
    rgba(255, 255, 255, 0.075);
  text-align: center;
}

.service-flip-front h3 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.service-flip-back {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  overflow: auto;
  background: #f8f6ff;
  color: #29194b;
  transform: rotateY(180deg);
}

.service-flip-back .sub {
  margin: 0;
  color: #5129bc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-flip-back p:not(.sub),
.service-flip-back li {
  color: #514d60;
  font-size: 13px;
  line-height: 1.45;
}

.service-flip-back p:not(.sub) {
  margin: 0;
}

.service-flip-back ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 17px;
}

.page-home #services .service-card:hover .service-flip-inner,
.page-home #services .service-card:focus .service-flip-inner,
.page-home #services .service-card:focus-within .service-flip-inner {
  transform: rotateY(180deg);
}

@media (max-width: 760px) {
  .page-home #services .service-card {
    min-height: 264px;
  }

  .service-flip-face {
    padding: 24px;
  }
}

/* Fixed contrast for the numbers panel on the light About section. */
.page-home #about .metrics-panel {
  border-color: rgba(52, 28, 114, 0.2);
  background: linear-gradient(145deg, #32186f, #5129bc);
  color: #fff;
}

.page-home #about .metrics-panel h3 {
  color: #fff;
}

.page-home #about .metrics-grid {
  border-top-color: rgba(255, 255, 255, 0.22);
  border-left-color: rgba(255, 255, 255, 0.22);
}

.page-home #about .metric {
  border-right-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.page-home #about .metric strong {
  color: #b8edff;
}

.page-home #about .metric span {
  color: rgba(255, 255, 255, 0.74);
}

/* Mercado Digital Atual: the two statistics open from the center as the section enters view. */
.page-home #about .market-scroll-reveal .market-grid {
  overflow: hidden;
  background: transparent;
}

.page-home #about .market-scroll-reveal .market-card {
  position: relative;
  overflow: hidden;
  will-change: clip-path, transform;
}

.page-home #about .market-scroll-reveal .market-card:first-child {
  clip-path: inset(0 0 0 100%);
  transform: translate3d(18px, 0, 0);
  transition: clip-path 860ms cubic-bezier(0.16, 1, 0.3, 1), transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #about .market-scroll-reveal .market-card:last-child {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-18px, 0, 0);
  transition: clip-path 860ms cubic-bezier(0.16, 1, 0.3, 1), transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #about .market-scroll-reveal.is-open .market-card {
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
}

.page-home #about .market-scroll-reveal .market-card strong {
  display: inline-block;
  opacity: 0;
  transform: scale(0.58);
  transform-origin: left center;
  transition: opacity 520ms ease 560ms, transform 720ms cubic-bezier(0.16, 1, 0.3, 1) 560ms;
  will-change: transform, opacity;
}

.page-home #about .market-scroll-reveal.is-open .market-card strong {
  opacity: 1;
  transform: scale(1);
}

.page-home #about .market-scroll-reveal .market-card p {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 460ms ease 650ms, transform 620ms cubic-bezier(0.16, 1, 0.3, 1) 650ms;
}

.page-home #about .market-scroll-reveal.is-open .market-card p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 760px) {
  .page-home #about .market-scroll-reveal .market-card:first-child {
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 14px, 0);
  }

  .page-home #about .market-scroll-reveal .market-card:last-child {
    clip-path: inset(100% 0 0 0);
    transform: translate3d(0, -14px, 0);
  }
}

/* Identidade HELPU - aplicada a partir do manual de marca local. */
@font-face {
  font-family: "Brinnan";
  src: url("/assets/brand/Brinnan-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Brinnan";
  src: url("/assets/brand/Brinnan-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

body {
  background: var(--paper);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  opacity: 0;
}

:focus-visible {
  outline-color: rgba(81, 41, 188, 0.58);
}

.top {
  min-height: 72px;
  border-bottom-color: rgba(52, 28, 114, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 26px -24px rgba(52, 28, 114, 0.42);
}

.brand {
  width: 158px;
  gap: 0;
}

.brand::before {
  display: none;
}

.brand-logo {
  display: block;
  width: 152px;
  height: auto;
}

.brand > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav {
  color: #514d60;
  font-size: 13px;
  font-weight: 700;
}

.nav > a:not(.button) {
  padding-top: 24px;
  padding-bottom: 24px;
}

.nav > a:not(.button)::after {
  bottom: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 28px -22px rgba(52, 28, 114, 0.72);
  font-weight: 700;
}

.button:hover {
  background: var(--accent-strong);
  box-shadow: 0 18px 30px -22px rgba(52, 28, 114, 0.82);
}

.hero {
  min-height: min(780px, calc(100dvh - 72px));
  border-bottom: 0;
  background: linear-gradient(118deg, #341c72 0%, #5129bc 58%, #6541c8 100%);
  isolation: isolate;
}

.hero::before {
  top: -260px;
  right: -250px;
  width: 850px;
  height: 850px;
  border: 0;
  background: radial-gradient(circle at center, rgba(117, 208, 241, 0.42) 0 1%, rgba(117, 208, 241, 0.16) 24%, transparent 65%);
  box-shadow: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(52, 28, 114, 0.48), rgba(81, 41, 188, 0.08));
  content: "";
  mix-blend-mode: screen;
  opacity: 0.38;
}

.hero-inner {
  z-index: 1;
}

.hero-inner > .eyebrow,
.eyebrow {
  color: #b8edff;
}

.hero h1 {
  color: #fff;
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-inner > p:not(.eyebrow, .byline) {
  color: rgba(255, 255, 255, 0.84);
}

.hero .pill,
.hero .tag {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero .button {
  background: #fff;
  box-shadow: 0 18px 30px -22px rgba(11, 4, 38, 0.65);
  color: var(--accent-strong);
}

.hero .button:hover {
  background: #ece8ff;
  color: var(--accent-strong);
}

.hero-visual {
  min-height: 538px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 42px 42px 42px 14px;
  background: linear-gradient(142deg, rgba(52, 28, 114, 0.72), rgba(81, 41, 188, 0.52));
  box-shadow: 0 36px 72px -36px rgba(15, 6, 48, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.hero-visual::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.hero-visual-top,
.hero-location {
  color: rgba(255, 255, 255, 0.83);
}

.hero-location {
  border-left-color: rgba(255, 255, 255, 0.35);
}

.status i {
  background: #75d0f1;
  box-shadow: 0 0 0 5px rgba(117, 208, 241, 0.2);
}

.signal {
  border-color: rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 20px -18px rgba(25, 11, 69, 0.64);
  color: var(--accent-strong);
  font-weight: 700;
}

.signal-c {
  border-color: transparent;
  background: var(--accent-strong);
  color: #fff;
}

.signal-line {
  height: 2px;
  background: rgba(197, 241, 255, 0.78);
}

.proof-strip {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.proof-strip p {
  color: rgba(255, 255, 255, 0.8);
}

.proof-strip strong {
  color: #fff;
}

.section-head h2,
.article h2,
.article h3,
.analysis-head h1,
.analysis-card h2,
.copy-block h3,
.market h3,
.metrics-panel h3,
.service-card h3,
.phase h3,
.result-card h3,
.team-panel h3,
.testimonial h3,
.contact-panel h3 {
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-weight: 700;
}

.light {
  background: #fff;
}

.section.light:nth-of-type(even),
.index-support,
.related-local {
  background: #f5f3fb;
}

.section-head h2 span,
.market-card strong,
.result-card > span,
.crawl-directory > summary span,
.index-card a,
.related-card a,
.footer a:hover,
.article a:not(.button) {
  color: var(--accent);
}

.dark {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #341c72 0%, #25104f 72%, #1b083c 100%);
}

.dark .section-head h2 span,
.service-card .sub,
.phase .week,
.result-card > span,
.metric strong,
.market-card strong,
.method-promise strong,
.team-stat strong,
.phase .quote {
  color: #75d0f1;
}

.metrics-panel {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.service-card,
.phase,
.team-panel {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
}

.service-card:hover {
  border-color: rgba(117, 208, 241, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.cta-band,
.cta-panel {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
}

.cta-band .button,
.cta-panel .button {
  background: #fff;
  color: var(--accent-strong);
}

.market-grid,
.result-card,
.index-card,
.related-card,
.card,
.related a,
.author-box,
.notice,
.contact-panel,
.analysis-card {
  border-radius: 22px;
}

.result-card:nth-child(1),
.result-card:nth-child(5),
.result-box {
  background: #e9e4fb;
}

.notice.answer,
.formula {
  background: linear-gradient(135deg, #341c72, #5129bc);
}

.notice.answer strong {
  color: #b8edff;
}

.article a:not(.button) {
  text-decoration-color: rgba(81, 41, 188, 0.42);
}

.page-content .hero {
  min-height: auto;
  border-bottom: 1px solid rgba(52, 28, 114, 0.1);
  background: linear-gradient(180deg, #fff 0%, #f7f5ff 100%);
}

.page-content .hero::before {
  top: -310px;
  right: -150px;
  width: 690px;
  height: 690px;
  background: radial-gradient(circle, rgba(117, 208, 241, 0.48) 0%, rgba(81, 41, 188, 0.14) 39%, transparent 68%);
}

.page-content .hero::after {
  display: none;
}

.page-content .hero-inner {
  border-left: 5px solid var(--accent);
}

.page-content .hero h1 {
  color: var(--ink);
}

.page-content .hero .eyebrow,
.page-content .breadcrumbs a {
  color: var(--accent);
}

.page-content .lead,
.page-content .byline {
  color: #514d60;
}

.page-content .hero .hero-inner > p.lead {
  color: #514d60 !important;
}

.page-content .section {
  background: #fff;
}

.footer {
  border-top: 0;
  background: #25104f;
  color: rgba(255, 255, 255, 0.68);
}

.footer h4,
.footer strong {
  color: #fff;
}

.footer a:hover {
  color: #75d0f1;
}

.footer a.button {
  background: #fff;
  color: var(--accent-strong);
}

.analysis-head {
  border-bottom-color: rgba(52, 28, 114, 0.16);
}

.analysis-kicker {
  color: var(--accent);
}

.analysis-card:first-child {
  border: 0;
  background: linear-gradient(135deg, #341c72, #5129bc);
}

.screen-links a {
  border-radius: 18px;
  background: #f0ecfc;
}

.screen-links a:hover {
  border-color: var(--accent);
  background: #e8e1fb;
}

.preview-switcher {
  border-color: rgba(117, 208, 241, 0.24);
  border-radius: 999px;
  background: rgba(37, 16, 79, 0.94);
}

@media (max-width: 760px) {
  .brand {
    width: 134px;
  }

  .brand-logo {
    width: 128px;
  }

  .top .nav {
    border-color: rgba(52, 28, 114, 0.15);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .hero::before {
    top: -360px;
    right: -460px;
  }

  .hero-visual {
    min-height: 430px;
    border-radius: 30px 30px 30px 12px;
  }

  .page-content .hero {
    padding-top: 66px;
  }

  .page-content .hero-inner {
    border-left-width: 4px;
  }
}

/* City proof: the copy explains the work; this surface shows a real outcome. */
.page-city .hero::before {
  z-index: 0;
}

.page-city .hero-inner {
  z-index: 1;
}

.city-case-card {
  display: grid;
  grid-template-columns: minmax(172px, 0.74fr) minmax(0, 1.26fr);
  align-self: center;
  min-height: 448px;
  padding: 0;
  overflow: hidden;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 42px 42px 42px 14px;
  background: #2b1264;
  box-shadow: 0 36px 72px -36px rgba(15, 6, 48, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.city-case-card::before {
  display: none;
}

.city-case-media {
  position: relative;
  min-height: 448px;
  overflow: hidden;
  background: #170735;
}

.city-case-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 5, 53, 0.04), rgba(18, 5, 53, 0.76));
  content: "";
}

.city-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
  transform: scale(1.22);
  transform-origin: 50% 64%;
}

.city-case-media span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(37, 16, 79, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.city-case-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 26px 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(117, 208, 241, 0.22), transparent 34%),
    linear-gradient(145deg, #341c72, #5129bc);
}

.city-case-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.city-case-meta span:last-child,
.city-case-result span {
  color: #b8edff;
}

.city-case-content blockquote {
  max-width: 15ch;
  margin: 22px 0;
  color: #fff;
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.city-case-person strong,
.city-case-person span,
.city-case-result span,
.city-case-result strong {
  display: block;
}

.city-case-person strong {
  color: #fff;
  font-size: 14px;
}

.city-case-person span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.city-case-result {
  width: 100%;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.city-case-result span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.city-case-result strong {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}

@media (max-width: 760px) {
  .city-case-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .city-case-media {
    min-height: 210px;
  }

  .city-case-content {
    min-height: 320px;
    padding: 24px 21px 22px;
  }
}

/* Goiânia preview: the city itself becomes the local proof. */
.city-photo-visual {
  align-self: center;
  min-height: 438px;
  padding: 0;
  overflow: hidden;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 42px 42px 42px 14px;
  background: #2b1264;
  box-shadow: 0 36px 72px -36px rgba(15, 6, 48, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.city-photo-visual::before {
  display: none;
}

.city-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
}

.city-photo-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 8, 60, 0.12) 10%, rgba(27, 8, 60, 0.76) 100%),
    linear-gradient(90deg, rgba(52, 28, 114, 0.2), rgba(52, 28, 114, 0));
  content: "";
}

.city-photo-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 438px;
  padding: 26px 27px 24px;
}

.city-photo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.city-photo-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  background: #fff;
  color: var(--accent-strong);
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.city-photo-place {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(37, 16, 79, 0.54);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.city-photo-bottom strong,
.city-photo-bottom span {
  display: block;
}

.city-photo-bottom strong {
  color: #fff;
  font-family: "Brinnan", "Montserrat", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.city-photo-bottom span {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .city-photo-visual,
  .city-photo-overlay {
    min-height: 360px;
  }

  .city-photo-overlay {
    padding: 22px 21px 20px;
  }

  .city-photo-bottom strong {
    font-size: 48px;
  }
}

/* Home laboratory: one clearly different visual treatment per existing section. */
.page-home .hero-visual.home-journey {
  align-self: center;
  min-height: 450px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 42px 42px 42px 14px;
  background:
    radial-gradient(circle at 98% 4%, rgba(117, 208, 241, 0.3), transparent 34%),
    linear-gradient(145deg, #371e79, #24104e);
  box-shadow: 0 36px 72px -36px rgba(15, 6, 48, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.page-home .home-journey::before {
  display: none;
}

.home-journey-head,
.home-journey-end {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-journey-head span:last-child {
  color: #b8edff;
}

.home-journey-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 22px;
  padding: 0;
  list-style: none;
}

.home-journey-steps::before {
  position: absolute;
  top: 50%;
  left: 13%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 237, 255, 0.72), transparent);
  content: "";
  transform: translateY(-50%);
}

.home-journey-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  backdrop-filter: blur(8px);
  animation: home-step-enter 720ms both cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: calc(var(--step, 0) * 90ms);
}

.home-journey-steps li:nth-child(1) { --step: 0; }
.home-journey-steps li:nth-child(2) { --step: 1; }
.home-journey-steps li:nth-child(3) { --step: 2; }
.home-journey-steps li:nth-child(4) { --step: 3; }
.home-journey-steps li:nth-child(5) { --step: 4; }
.home-journey-steps li:nth-child(6) { --step: 5; }

.home-journey-steps li::after {
  position: absolute;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75d0f1;
  box-shadow: 0 0 0 5px rgba(117, 208, 241, 0.12);
  content: "";
  animation: home-status 2.2s ease-in-out infinite;
}

.home-journey-steps b {
  color: #b8edff;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.home-journey-steps span {
  font-size: 14px;
  font-weight: 700;
}

.home-journey-end {
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-journey-end i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #75d0f1;
  box-shadow: 0 0 0 6px rgba(117, 208, 241, 0.12);
}

.page-home #about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-home #about::before {
  position: absolute;
  top: -220px;
  left: -160px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 208, 241, 0.27), transparent 68%);
  content: "";
  animation: about-orbit 12s ease-in-out infinite alternate;
}

.page-home #about .about-grid > * {
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #about .about-grid > *:hover {
  box-shadow: 0 28px 42px -32px rgba(58, 33, 129, 0.5);
  transform: translateY(-8px) rotate(-0.45deg);
}

.page-home #services {
  position: relative;
  overflow: hidden;
}

.page-home #services::before {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(184, 237, 255, 0.58) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  animation: service-grid-drift 16s linear infinite;
  pointer-events: none;
}

.page-home #services .wrap {
  position: relative;
}

.page-home #services .service-card {
  position: relative;
  overflow: hidden;
  transition: border-color 300ms ease, background 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #services .service-card::after {
  position: absolute;
  inset: -80% 30% auto -40%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(184, 237, 255, 0.24), transparent);
  content: "";
  opacity: 0;
  transform: rotate(23deg) translateX(-180%);
  transition: opacity 260ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home #services .service-card:hover {
  transform: translateY(-8px);
}

.page-home #services .service-card:hover::after {
  opacity: 1;
  transform: rotate(23deg) translateX(520%);
}

.page-home #methodology {
  position: relative;
  overflow: hidden;
}

.page-home #methodology .phase-grid {
  position: relative;
}

.page-home #methodology .phase-grid::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 2px;
  background: linear-gradient(#75d0f1 0 0) 0 0 / 100% 0% no-repeat, rgba(255, 255, 255, 0.14);
  content: "";
  animation: methodology-line 2.4s ease-out forwards;
}

.page-home #methodology .phase {
  position: relative;
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), background 360ms ease;
}

.page-home #methodology .phase:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(12px);
}

.page-home #results {
  position: relative;
  overflow: hidden;
}

.page-home #results::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 420px;
  height: 100%;
  background: linear-gradient(120deg, transparent 25%, rgba(117, 208, 241, 0.18) 50%, transparent 75%);
  content: "";
  transform: translateX(-160%);
  animation: results-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

.page-home #results .result-card {
  transform-origin: center bottom;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms ease;
}

.page-home #results .result-card:hover {
  box-shadow: 0 24px 44px -32px rgba(58, 33, 129, 0.52);
  transform: translateY(-10px) scale(1.015);
}

.page-home #team {
  position: relative;
  overflow: hidden;
}

.page-home #team::after {
  position: absolute;
  right: -80px;
  bottom: -150px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(184, 237, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(184, 237, 255, 0.04), 0 0 0 88px rgba(184, 237, 255, 0.025);
  content: "";
  animation: team-breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.page-home #team .team-stat {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background 320ms ease;
}

.page-home #team .team-stat:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-7px);
}

.page-home #testimonials {
  position: relative;
  overflow: hidden;
}

.page-home #testimonials .testimonial {
  position: relative;
  overflow: hidden;
}

.page-home #testimonials .testimonial::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(81, 41, 188, 0.2);
  border-radius: inherit;
  content: "";
  animation: testimonial-ring 3.6s ease-in-out infinite;
  pointer-events: none;
}

.page-home #testimonials video,
.page-home #testimonials .video-frame {
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease;
}

.page-home #testimonials .testimonial:hover video,
.page-home #testimonials .testimonial:hover .video-frame {
  filter: saturate(1.14);
  transform: scale(1.025);
}

.page-home #contact {
  position: relative;
  overflow: hidden;
}

.page-home #contact::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(76vw, 960px);
  aspect-ratio: 1;
  border: 1px solid rgba(81, 41, 188, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(81, 41, 188, 0.035), 0 0 0 84px rgba(81, 41, 188, 0.025);
  content: "";
  transform: translate(-50%, -50%) scale(0.9);
  animation: contact-ripple 5.5s ease-in-out infinite;
  pointer-events: none;
}

.page-home #contact .cta-panel,
.page-home #contact .contact-panel {
  position: relative;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 350ms ease;
}

.page-home #contact .cta-panel:hover,
.page-home #contact .contact-panel:hover {
  box-shadow: 0 28px 48px -36px rgba(58, 33, 129, 0.48);
  transform: translateY(-7px);
}

.page-home .related-local .crawl-directory {
  border: 1px solid rgba(81, 41, 188, 0.13);
  border-radius: 28px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.page-home .related-local .crawl-directory:hover {
  border-color: rgba(81, 41, 188, 0.36);
  box-shadow: 0 26px 46px -38px rgba(58, 33, 129, 0.42);
}

@keyframes home-step-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-status {
  50% { box-shadow: 0 0 0 8px rgba(117, 208, 241, 0.02); transform: scale(1.14); }
}

@keyframes about-orbit {
  to { transform: translate(90px, 50px) scale(1.12); }
}

@keyframes service-grid-drift {
  to { background-position: 88px 88px; }
}

@keyframes methodology-line {
  to { background-size: 100% 100%, 100% 100%; }
}

@keyframes results-sweep {
  0%, 24% { transform: translateX(-160%); }
  58%, 100% { transform: translateX(260%); }
}

@keyframes team-breathe {
  50% { opacity: 0.42; transform: scale(1.08); }
}

@keyframes testimonial-ring {
  50% { border-color: rgba(117, 208, 241, 0.74); box-shadow: inset 0 0 0 8px rgba(117, 208, 241, 0.04); }
}

@keyframes contact-ripple {
  50% { opacity: 0.55; transform: translate(-50%, -50%) scale(1.04); }
}

@media (max-width: 760px) {
  .page-home .hero-visual.home-journey {
    min-height: 406px;
    padding: 21px;
  }

  .home-journey-steps {
    gap: 8px;
    margin: 21px 0 18px;
  }

  .home-journey-steps li {
    min-height: 50px;
    padding: 9px 10px;
  }

  .home-journey-steps li::after {
    display: none;
  }

  .home-journey-steps span {
    font-size: 12px;
  }

  .page-home #methodology .phase-grid::before {
    left: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Serviços: nove itens compactos, sem card isolado e com verso estruturado. */
.page-home #services {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
}

.page-home #services .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}

.page-home #services .service-card,
.page-home #services .service-card:nth-child(1),
.page-home #services .service-card:nth-child(2),
.page-home #services .service-card:nth-child(5),
.page-home #services .service-card:nth-child(6) {
  grid-column: span 1 !important;
  min-height: 0;
  height: 100%;
}

.page-home #services .service-flip-face {
  padding: 21px;
  border-radius: 22px;
}

.page-home #services .service-flip-front h3 {
  max-width: 13ch;
  font-size: clamp(23px, 2vw, 30px);
}

.page-home #services .service-flip-back {
  gap: 7px;
  padding: 18px 19px;
  overflow: hidden;
}

.page-home #services .service-flip-back .sub {
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(81, 41, 188, 0.16);
  font-size: 9px;
  letter-spacing: 0.075em;
  line-height: 1.25;
}

.page-home #services .service-flip-back p:not(.sub),
.page-home #services .service-flip-back li {
  font-size: 10.5px;
  line-height: 1.32;
}

.page-home #services .service-flip-back ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-top: 1px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(81, 41, 188, 0.11);
  list-style: none;
}

.page-home #services .service-flip-back li {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.page-home #services .service-flip-back li::before {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  margin-top: 5px;
  border-radius: 50%;
  background: #75d0f1;
  content: "";
}

@media (max-width: 760px) {
  .page-home #services .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 234px;
  }

  .page-home #services .service-flip-face {
    padding: 22px;
  }
}

/* Metodologia: editorial fotográfico, mantendo integralmente a estrutura e a copy. */
.page-home #methodology {
  padding-top: clamp(76px, 8vw, 116px);
  padding-bottom: clamp(76px, 8vw, 116px);
  background: #25104f;
}

.page-home #methodology .phase-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-rows: 390px 360px;
  gap: 16px;
}

.page-home #methodology .phase,
.page-home #methodology .phase:hover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(24px, 2.5vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background-color: #1b0b38;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  isolation: isolate;
  transform: none;
}

.page-home #methodology .phase::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, rgba(20, 8, 47, 0.97) 0%, rgba(28, 11, 61, 0.88) 47%, rgba(28, 11, 61, 0.3) 100%);
  content: "";
}

.page-home #methodology .phase:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  background-image: none;
  background-position: 66% center;
}

.page-home #methodology .phase:nth-child(1)::before {
  background: linear-gradient(180deg, rgba(20, 8, 47, 0.2) 0%, rgba(20, 8, 47, 0.9) 42%, rgba(20, 8, 47, 0.98) 100%);
}

.page-home #methodology .phase:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  background-image: none;
  background-position: center;
}

.page-home #methodology .phase:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  background-image: none;
  background-position: center;
}

.page-home #methodology .phase:nth-child(3)::before {
  background: linear-gradient(248deg, rgba(20, 8, 47, 0.98) 0%, rgba(28, 11, 61, 0.9) 51%, rgba(28, 11, 61, 0.3) 100%);
}

.page-home #methodology .phase:nth-child(2),
.page-home #methodology .phase:nth-child(3) {
  padding: 24px 30px;
}

.page-home #methodology .phase:nth-child(2) .week,
.page-home #methodology .phase:nth-child(3) .week {
  margin-bottom: 8px;
}

.page-home #methodology .phase:nth-child(2) h3,
.page-home #methodology .phase:nth-child(3) h3 {
  margin-bottom: 8px;
}

.page-home #methodology .phase:nth-child(2) .quote,
.page-home #methodology .phase:nth-child(3) .quote {
  margin: 0 0 13px;
}

.page-home #methodology .phase:nth-child(2) p,
.page-home #methodology .phase:nth-child(2) li,
.page-home #methodology .phase:nth-child(3) p,
.page-home #methodology .phase:nth-child(3) li {
  font-size: 14px;
  line-height: 1.34;
}

.page-home #methodology .phase:nth-child(2) ul,
.page-home #methodology .phase:nth-child(3) ul {
  margin-bottom: 0;
  padding-top: 10px;
}

.page-home #methodology .phase .week,
.page-home #methodology .phase .quote {
  color: #aee6f7;
}

.page-home #methodology .phase h3 {
  max-width: 17ch;
  color: #fff;
  font-size: clamp(23px, 2.2vw, 31px);
}

.page-home #methodology .phase p,
.page-home #methodology .phase li {
  color: rgba(255, 255, 255, 0.82);
}

.page-home #methodology .phase .quote {
  min-height: 0;
  margin-bottom: 24px;
  font-weight: 700;
}

.page-home #methodology .phase ul {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
  .page-home #methodology .phase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .page-home #methodology .phase:nth-child(1),
  .page-home #methodology .phase:nth-child(2),
  .page-home #methodology .phase:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
    min-height: 420px;
  }

  .page-home #methodology .phase:nth-child(1) {
    background-position: 66% center;
  }

  .page-home #methodology .phase:nth-child(3) {
    background-position: 36% center;
  }
}


body[data-country="PT"] .brand{width:158px}
body[data-country="PT"] .brand::after{position:absolute;left:51px;bottom:5px;color:#341c72;content:"Portugal";font-size:10px;font-weight:800;letter-spacing:.04em;line-height:1;text-transform:uppercase}
body[data-country="PT"] .brand>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.page-content .hero .hero-inner>p:not(.eyebrow,.byline){color:#514d60!important}
.page-content .hero .pill,.page-content .hero .tag{border-color:rgba(52,28,114,.18)!important;background:#fff!important;color:#341c72!important}
.city-hero{position:relative!important;isolation:isolate;overflow:hidden;background:#21104d!important}
body.page-city .city-hero:before{content:"";position:absolute;inset:0;z-index:1;width:auto;height:auto;border:0;border-radius:0;background:linear-gradient(90deg,rgba(15,7,39,.93) 0%,rgba(22,9,55,.78) 46%,rgba(24,8,57,.2) 100%);box-shadow:none;pointer-events:none}
.city-hero .hero-inner{position:relative;z-index:2}
.city-hero h1,.city-hero h2,.city-hero .eyebrow{color:#fff!important}
.city-hero p,.city-hero .lead{color:rgba(255,255,255,.88)!important}
.city-hero .pill{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.27)!important;color:#fff!important;backdrop-filter:blur(8px)}
.city-hero .button{box-shadow:none}
.city-hero-media{position:absolute;inset:0;z-index:auto;margin:0}
.city-hero-media img{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center}
.city-hero-media figcaption{position:absolute;right:14px;bottom:12px;z-index:3;display:flex;gap:.35rem;max-width:calc(100% - 28px);padding:.34rem .55rem;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(14,7,34,.62);color:rgba(255,255,255,.94);font:600 11px/1.2 Montserrat,system-ui,sans-serif;backdrop-filter:blur(10px)}
.city-hero-media figcaption a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){body[data-country="PT"] .brand{width:134px}body[data-country="PT"] .brand::after{left:43px;bottom:7px;font-size:8px}body.page-city .city-hero:before{background:linear-gradient(180deg,rgba(15,7,39,.9),rgba(20,8,48,.68))}.city-hero-media figcaption{font-size:9px;bottom:8px;right:8px}}
@media(max-width:560px){.form-grid{grid-template-columns:1fr}}

