:root {
  --navy: #123d73;
  --navy-900: #09284f;
  --navy-950: #061b37;
  --cyan: #12b8e8;
  --cyan-700: #0f93c1;
  --ink: #102033;
  --muted: #5c6d80;
  --line: #dbe7f0;
  --bg: #f6f9fc;
  --surface-plain: #ffffff;
  --surface-soft: #f2f7fb;
  --surface-steel: #eaf1f7;
  --eyebrow-light: #0d6f95;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 38, 75, 0.14);
  --shadow-strong: 0 34px 90px rgba(5, 25, 51, 0.28);
  --radius: 18px;
  --pill: 999px;
  --font-body: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-rounded: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-heading: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

/* Aplicação final do azul institucional em Posicionamento. */
.section.positioning-section {
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 78% 32%, rgba(66, 201, 244, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(12, 42, 79, 0.98), rgba(21, 58, 108, 0.98));
}

.positioning-section .positioning-copy h2 {
  color: #ffffff;
}

.positioning-section .positioning-copy .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.positioning-section .positioning-copy .eyebrow,
.positioning-section .section-index {
  color: var(--premium-cyan);
}

.positioning-section .positioning-flow article {
  border-color: rgba(66, 201, 244, 0.42);
  background: linear-gradient(145deg, rgba(18, 67, 116, 0.92), rgba(7, 39, 72, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.positioning-section .positioning-flow article:hover {
  border-color: rgba(66, 201, 244, 0.8);
  background: linear-gradient(145deg, rgba(22, 81, 138, 0.96), rgba(8, 47, 86, 0.96));
}

/* Ajuste final dos depoimentos — mantido no fim da cascata. */
section.testimonial-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(60px, 8vw, 150px);
  align-items: start;
  background: radial-gradient(circle at 8% 22%, rgba(45, 191, 234, 0.1), transparent 30%), linear-gradient(145deg, #f7fbfe, #eaf3f9);
}

section.testimonial-section::before { background: none; }

.testimonial-section .section-heading {
  position: sticky;
  top: 150px;
  max-width: 590px;
  margin: 0;
}

.testimonial-section .eyebrow { color: #119dcc; }

.testimonial-section h2 {
  color: #092d56;
  font-size: clamp(3rem, 4.7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: none;
}

.testimonial-section .section-heading > p:last-child {
  max-width: 540px;
  color: #597082;
  font-size: 1.04rem;
  line-height: 1.72;
}

.testimonial-section .testimonial-grid {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(8, 54, 92, 0.18);
}

.testimonial-section .testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 0;
  padding: clamp(38px, 5vw, 72px) 0;
  border: 0;
  border-bottom: 1px solid rgba(8, 54, 92, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform 220ms ease;
}

.testimonial-section .testimonial-card:hover { transform: translateX(8px); }

.testimonial-section .testimonial-mark {
  color: #22bce9;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.72;
  text-shadow: 0 12px 30px rgba(34, 188, 233, 0.18);
}

.testimonial-section .testimonial-card .testimonial-content {
  margin: 0;
  padding: 0;
  border: 0;
}

.testimonial-section .testimonial-card .testimonial-content p {
  max-width: 780px;
  margin: 0;
  color: #0a315d;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.testimonial-section .testimonial-card .testimonial-author {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding: 0;
  border: 0;
}

.testimonial-section .testimonial-card .testimonial-author strong {
  color: #092d56;
  font-size: 0.98rem;
}

.testimonial-section .testimonial-card .testimonial-author span {
  margin: 0;
  color: #6d8292;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  section.testimonial-section { grid-template-columns: 1fr; gap: 52px; }
  .testimonial-section .section-heading { position: static; }
}

@media (max-width: 620px) {
  .testimonial-section .testimonial-card { grid-template-columns: 48px minmax(0, 1fr); }
  .testimonial-section .testimonial-mark { font-size: 4.5rem; }
  .testimonial-section .testimonial-card .testimonial-author { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* Alinha o cabeçalho dos depoimentos ao topo da composição. */
.testimonial-section .section-heading {
  position: static;
  align-self: start;
  top: auto;
  margin-top: 0;
  padding-top: 0;
  transform: translateY(-4px);
}

/* Depoimentos editoriais: leitura ampla, sem aparência de caixas genéricas. */
.testimonial-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(60px, 8vw, 150px);
  align-items: start;
  background:
    radial-gradient(circle at 8% 22%, rgba(45, 191, 234, 0.1), transparent 30%),
    linear-gradient(145deg, #f7fbfe 0%, #eaf3f9 100%);
}

.testimonial-section::before {
  background: none;
}

.testimonial-section .section-heading {
  position: sticky;
  top: 150px;
  max-width: 590px;
  margin: 0;
}

.testimonial-section .eyebrow {
  color: #119dcc;
}

.testimonial-section h2 {
  color: #092d56;
  font-size: clamp(3rem, 4.7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: none;
}

.testimonial-section .section-heading > p:last-child {
  max-width: 540px;
  color: #597082;
  font-size: 1.04rem;
  line-height: 1.72;
}

.testimonial-grid {
  display: block;
  padding-top: 8px;
  border-top: 1px solid rgba(8, 54, 92, 0.18);
}

.testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 0;
  padding: clamp(38px, 5vw, 72px) 0;
  border: 0;
  border-bottom: 1px solid rgba(8, 54, 92, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform 220ms ease;
}

.testimonial-card:hover {
  transform: translateX(8px);
}

.testimonial-mark {
  color: #22bce9;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.72;
  text-shadow: 0 12px 30px rgba(34, 188, 233, 0.18);
}

.testimonial-content {
  padding: 0;
  border: 0;
}

.testimonial-card .testimonial-content p {
  max-width: 780px;
  margin: 0;
  color: #0a315d;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.testimonial-card .testimonial-author {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding: 0;
  border: 0;
}

.testimonial-card .testimonial-author strong {
  color: #092d56;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.testimonial-card .testimonial-author span {
  margin: 0;
  color: #6d8292;
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .testimonial-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .testimonial-section .section-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .testimonial-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .testimonial-mark {
    font-size: 4.5rem;
  }

  .testimonial-card .testimonial-author {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/* Tecnologia: imagem financeira como fundo e painel executivo removido. */
.section.tech-section {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(90deg, rgba(4, 24, 48, 0.94), rgba(9, 47, 86, 0.82)),
    url("assets/hero-market-poster.jpg") center / cover no-repeat;
}

.tech-section .section-heading {
  max-width: 820px;
  margin: 0 0 clamp(48px, 6vw, 76px);
}

.tech-section .section-heading h2 {
  max-width: 800px;
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.tech-section .section-heading .eyebrow,
.tech-section .section-index {
  color: var(--premium-cyan);
}

.tech-section .tech-layout {
  display: block;
}

.tech-section .tech-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  border: 0;
  background: transparent;
}

.tech-section .tech-stack span {
  display: block;
  min-height: 270px;
  padding: clamp(28px, 2.5vw, 38px);
  border: 1px solid rgba(66, 201, 244, 0.3);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(5, 34, 65, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 42px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}

.tech-section .tech-stack span:hover {
  transform: translateY(-7px);
  border-color: rgba(66, 201, 244, 0.7);
  background: rgba(8, 51, 92, 0.9);
}

.tech-section .tech-stack b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(66, 201, 244, 0.42);
  border-radius: 50%;
  color: var(--premium-cyan);
  background: rgba(66, 201, 244, 0.08);
  margin-bottom: 34px;
}

.tech-section .tech-stack strong {
  display: block;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.18rem, 1.45vw, 1.45rem);
  line-height: 1.25;
}

.tech-section .tech-stack small {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .tech-section .tech-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tech-section .tech-stack {
    grid-template-columns: 1fr;
  }
}

/* Por que Ekosin: cidade noturna e diferenciais em grade executiva. */
.section.why {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  isolation: isolate;
  background: #061f3c;
}

.section.why::before {
  display: block;
  position: absolute;
  z-index: 0;
  inset: 0;
  transform: scaleX(-1);
  pointer-events: none;
  background: url("assets/ekosin-city-night-v1.png") center / cover no-repeat;
  content: "";
}

.section.why::after {
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 24, 49, 0.82) 0%, rgba(8, 43, 79, 0.5) 52%, rgba(7, 34, 66, 0.42) 100%);
  content: "";
}

.why h2 {
  max-width: 690px;
  color: #ffffff !important;
  font-size: clamp(3rem, 4.8vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.why .eyebrow,
.why .section-index {
  color: var(--premium-cyan);
}

.why .reason-list {
  counter-reset: ekosin-reason;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.why .reason-list li {
  counter-increment: ekosin-reason;
  position: relative;
  display: grid;
  align-content: center;
  min-height: 104px;
  padding: 24px 14px 22px 54px;
  border: 0;
  border-bottom: 1px solid rgba(66, 201, 244, 0.34);
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(1rem, 1.22vw, 1.2rem);
  font-weight: 650;
  line-height: 1.4;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.why .reason-list li::before {
  display: block;
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--premium-cyan);
  background: transparent;
  content: counter(ekosin-reason, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.why .reason-list li:last-child {
  grid-column: 1 / -1;
  min-height: 104px;
}

.why .reason-list li:hover {
  transform: translateX(6px);
  border-color: rgba(66, 201, 244, 0.8);
  background: linear-gradient(90deg, rgba(66, 201, 244, 0.08), transparent);
}

@media (max-width: 1050px) {
  .section.why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .why .reason-list {
    grid-template-columns: 1fr;
  }

  .why .reason-list li:last-child {
    grid-column: auto;
  }
}

/* Página 1: reprodução fiel da seção da versão anterior. */
.profile-legacy.proof-strip {
  position: relative;
  padding: 88px clamp(20px, 5vw, 88px);
  color: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(18, 61, 115, 0.06);
  background: linear-gradient(180deg, rgba(236, 243, 249, 0.98), rgba(226, 236, 244, 0.96));
}

.profile-legacy.proof-strip::before {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 26%, rgba(18, 184, 232, 0.04) 26% 27%, transparent 27% 68%, rgba(18, 61, 115, 0.03) 68% 69%, transparent 69%);
  content: "";
}

.profile-legacy > * {
  position: relative;
  z-index: 1;
}

.profile-legacy .proof-strip-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.profile-legacy .proof-strip-heading .eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-legacy .proof-strip-heading h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(1.95rem, 3.6vw, 3.12rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.profile-legacy .proof-strip-heading > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.profile-legacy .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-legacy .case-card {
  padding: 28px;
  color: var(--navy-900);
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 184, 232, 0.08), transparent 48%), var(--white);
  box-shadow: 0 22px 56px rgba(8, 38, 75, 0.08);
}

.profile-legacy .case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 184, 232, 0.26);
  box-shadow: 0 24px 60px rgba(8, 38, 75, 0.12);
}

.profile-legacy .case-tag {
  margin-bottom: 14px;
  color: var(--cyan-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-legacy .case-card h3 {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1.35;
}

.profile-legacy .case-card > p:not(.case-tag) {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.profile-legacy .case-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.profile-legacy .case-points li {
  position: relative;
  padding: 0 0 0 24px;
  color: var(--muted);
  border: 0;
  line-height: 1.5;
}

.profile-legacy .case-points li::before {
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(18, 184, 232, 0.45);
  content: "";
}

@media (max-width: 980px) {
  .profile-legacy .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-legacy.proof-strip {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .profile-legacy .proof-strip-heading h2 {
    font-size: 2rem;
  }
}

/* Harmonização final: alternância clara/escura e transições consistentes. */
main > section:not(.hero) {
  border-top: 1px solid rgba(66, 201, 244, 0.18);
}

.proof-strip,
.section-plain,
.section-muted,
.method-section,
.institutional-section,
.contact-section {
  color: var(--navy-900);
}

.section-plain,
.method-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(246, 250, 252, 0.93));
}

.proof-strip,
.section-muted,
.institutional-section {
  background: linear-gradient(180deg, rgba(235, 243, 248, 0.94), rgba(226, 237, 244, 0.94));
}

.essence .section-heading h2,
.method-section .section-heading h2,
.institutional-section .section-heading h2 {
  color: var(--navy-900);
}

.essence .section-heading .eyebrow,
.method-section .section-heading .eyebrow,
.institutional-section .section-heading .eyebrow,
.essence .section-index,
.method-section .section-index,
.institutional-section .section-index {
  color: var(--cyan-700);
}

.method-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.method-grid article {
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 16px;
  color: var(--navy-900);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(8, 38, 75, 0.07);
}

.method-grid article:hover {
  border-color: rgba(18, 184, 232, 0.46);
  background: #ffffff;
}

.method-grid h3 {
  color: var(--navy-900);
}

.method-grid p {
  color: #566c7e;
}

.institutional-grid {
  gap: 20px;
  border: 0;
  background: transparent;
}

.institutional-card {
  border: 1px solid rgba(18, 61, 115, 0.13);
  border-radius: 20px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(8, 38, 75, 0.08);
}

.institutional-card h3 {
  color: var(--navy-900);
}

.institutional-card p {
  color: #566c7e;
}

.client-area.client-bridge {
  color: var(--navy-900);
  border-top: 1px solid rgba(18, 61, 115, 0.1);
  border-bottom: 1px solid rgba(18, 61, 115, 0.1);
  background:
    radial-gradient(circle at 82% 50%, rgba(66, 201, 244, 0.14), transparent 26%),
    linear-gradient(135deg, #f4f9fc, #dfeef6);
}

.client-area.client-bridge h2 {
  color: var(--navy-900);
}

.client-area.client-bridge p {
  color: #536b7d;
}

.client-area.client-bridge .eyebrow {
  color: var(--cyan-700);
}

.client-area.client-bridge .button-primary {
  color: #03203d;
  background: var(--premium-cyan);
  box-shadow: 0 16px 38px rgba(18, 184, 232, 0.22);
}

.contact-section {
  border-top-color: rgba(18, 61, 115, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(18, 184, 232, 0.05) 28% 29%, transparent 29% 64%, rgba(18, 61, 115, 0.04) 64% 65%, transparent 65%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.86), rgba(255, 255, 255, 0.96));
  content: "";
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 78px;
  padding: 14px clamp(28px, 4vw, 72px);
  background: rgba(5, 20, 42, 0.92);
  border-bottom: 1px solid rgba(125, 227, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.24s ease, background 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 20, 42, 0.98);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--white);
}

.brand img {
  width: clamp(142px, 13vw, 198px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
  margin: 0 auto;
  font-size: 0.91rem;
  font-family: var(--font-rounded);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transition: width 0.28s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-rounded);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.header-cta::after,
.button::after {
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  transition: transform 0.55s ease;
}

.header-cta:hover::after,
.button:hover::after {
  transform: translateX(120%) skewX(-20deg);
}

.button-diagnostic,
.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--cyan-700));
  box-shadow: 0 14px 28px rgba(18, 184, 232, 0.24);
}

.button-client {
  color: var(--white);
  border-color: rgba(125, 227, 255, 0.28);
  background: linear-gradient(135deg, #1d5aa4, var(--navy-900));
  box-shadow: 0 14px 28px rgba(9, 40, 79, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section,
.hero,
.client-area,
.final-cta {
  padding: 96px clamp(20px, 5vw, 88px);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 55, 0.99), rgba(18, 61, 115, 0.93)),
    radial-gradient(circle at top right, rgba(18, 184, 232, 0.28), transparent 38%);
}

.section-plain,
.section-soft,
.section-steel,
.proof-strip {
  position: relative;
}

.section-plain {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 254, 0.98));
  border-top: 1px solid rgba(18, 61, 115, 0.06);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(236, 243, 249, 0.98), rgba(226, 236, 244, 0.96));
  border-top: 1px solid rgba(18, 61, 115, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.section-steel {
  background:
    linear-gradient(180deg, rgba(228, 237, 245, 0.98), rgba(240, 246, 251, 0.98));
  border-top: 1px solid rgba(18, 61, 115, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.section-plain::before,
.section-soft::before,
.section-steel::before,
.proof-strip::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 26%, rgba(18, 184, 232, 0.04) 26% 27%, transparent 27% 68%, rgba(18, 61, 115, 0.03) 68% 69%, transparent 69%);
  content: "";
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: -78px;
  padding-top: 174px;
  min-height: calc(88svh - 78px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 20, 42, 0.99) 0%, rgba(5, 20, 42, 0.95) 39%, rgba(5, 20, 42, 0.68) 63%, rgba(5, 20, 42, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 20, 42, 0.96) 0%, rgba(5, 20, 42, 0.18) 46%, rgba(5, 20, 42, 0.42) 100%),
    url("assets/hero-market-poster.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  filter: saturate(1.12) hue-rotate(188deg) contrast(1.08) brightness(0.86);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 14, 31, 0.86) 0%, rgba(5, 20, 42, 0.74) 38%, rgba(5, 20, 42, 0.34) 67%, rgba(5, 20, 42, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 14, 31, 0.68) 0%, rgba(5, 20, 42, 0.16) 46%, rgba(5, 20, 42, 0.38) 100%),
    linear-gradient(120deg, rgba(18, 184, 232, 0.1) 0%, rgba(18, 184, 232, 0) 42%),
    linear-gradient(100deg, rgba(18, 184, 232, 0) 34%, rgba(18, 184, 232, 0.16) 62%, rgba(18, 184, 232, 0.2) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: 8%;
  z-index: 1;
  width: 54vw;
  height: 2px;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(125, 227, 255, 0.42), transparent);
  box-shadow: 0 0 32px rgba(18, 184, 232, 0.28);
  content: "";
  animation: data-sweep 7s ease-in-out infinite;
}

.hero-content,
.positioning-strip,
.positioning-panel > *,
.proof-strip > *,
.client-area > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 2;
  max-width: min(650px, 52vw);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--eyebrow-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5vw, 4.62rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(1.95rem, 3.6vw, 3.12rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1.35;
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--white);
}

.section-dark .eyebrow {
  color: #7de3ff;
}

.hero-lead,
.section-heading p,
.split-section p,
.contact-copy p,
.final-cta p,
.client-area p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark p,
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
}

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

.proof-strip h3,
.case-card h3 {
  display: block;
  margin-bottom: 10px;
}

.positioning-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 88px) 0;
  border-bottom: 1px solid rgba(18, 61, 115, 0.06);
}

.positioning-copy {
  padding: 40px 0;
}

.positioning-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.positioning-points article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 184, 232, 0.1), rgba(255, 255, 255, 0.98) 52%),
    var(--white);
  box-shadow: 0 18px 46px rgba(8, 38, 75, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.positioning-points article:hover,
.case-card:hover,
.institutional-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 184, 232, 0.26);
  box-shadow: 0 24px 60px rgba(8, 38, 75, 0.12);
}

.positioning-points strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-900);
  font-family: var(--font-rounded);
  font-size: 0.98rem;
}

.positioning-points span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.proof-strip {
  padding: 88px clamp(20px, 5vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(18, 61, 115, 0.06);
}

.proof-strip-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  padding: 28px;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 184, 232, 0.08), transparent 48%),
    var(--white);
  box-shadow: 0 22px 56px rgba(8, 38, 75, 0.08);
}

.case-tag {
  margin-bottom: 14px;
  color: var(--cyan-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card p:last-of-type {
  margin-bottom: 0;
}

.case-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.case-points li::before {
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(18, 184, 232, 0.45);
  content: "";
}

.dashboard-shell {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 25, 51, 0.64);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.metric-row,
.pipeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-row div,
.pipeline span,
.status-item {
  border: 1px solid rgba(125, 227, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.metric-row div {
  padding: 18px;
}

.metric-row small,
.status-header small,
.status-item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-row strong {
  display: block;
  margin-top: 5px;
  font-size: 1.22rem;
}

.chart-area {
  position: relative;
  height: 260px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 184, 232, 0.08), rgba(255, 255, 255, 0.03));
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.chart-area svg {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  overflow: visible;
}

.chart-area path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
}

.line-soft {
  stroke: rgba(255, 255, 255, 0.38);
}

.line-bright {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(18, 184, 232, 0.9));
}

.chart-area circle {
  fill: var(--white);
  stroke: var(--cyan);
  stroke-width: 4;
}

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

.pipeline span {
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 750;
  text-align: center;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 162px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 46px rgba(8, 38, 75, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::before {
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(110deg, transparent 35%, rgba(18, 184, 232, 0.12), transparent 65%);
  content: "";
  transition: transform 0.65s ease;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 184, 232, 0.34);
  box-shadow: 0 22px 58px rgba(8, 38, 75, 0.11);
}

.card:hover::before {
  transform: translateX(115%);
}

.card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.challenge-grid .card h3 {
  max-width: 260px;
}

.challenge-grid .card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 54px;
}

.proof-panel,
.status-board,
.contact-form {
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.proof-panel {
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(18, 184, 232, 0.08), transparent 44%),
    var(--white);
}

.check-list,
.reason-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.reason-list li {
  position: relative;
  padding-left: 28px;
  margin-top: 12px;
}

/* Revisão solicitada pelo cliente: composição antiga com acabamento atual. */
.challenge-classic .section-heading {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.challenge-classic .section-heading > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.challenge-classic .challenge-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.challenge-classic .challenge-grid .card {
  border-color: rgba(125, 227, 255, 0.22);
  background: rgba(248, 252, 255, 0.96);
  box-shadow: 0 20px 48px rgba(1, 12, 28, 0.28);
}

.about-classic .section-index {
  display: block;
  margin-bottom: 12px;
}

.essence-continuation {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why .reason-list li {
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  line-height: 1.35;
}

.why .reason-list li::before {
  font-size: clamp(1.05rem, 1.22vw, 1.25rem);
  font-weight: 800;
}

.final-cta .final-cta-kicker {
  margin: 0 0 14px;
  color: #7de3ff;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .challenge-classic .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .challenge-classic .challenge-grid {
    grid-template-columns: 1fr;
  }

  .essence-continuation {
    min-height: auto;
  }
}

.check-list li::before,
.reason-list li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--cyan-700);
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.check-list.compact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  padding-left: 0;
}

.check-list.compact li::before {
  position: static;
  margin-top: 0.28em;
  box-sizing: border-box;
}

.compact li {
  margin-top: 8px;
  color: var(--muted);
}

.featured {
  min-height: 260px;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(240, 245, 249, 0.98), rgba(228, 236, 243, 0.96));
  border-top: 1px solid rgba(18, 61, 115, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.solution-card {
  min-height: 236px;
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  position: absolute;
  inset: auto 20px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
}

.solution-card.wide {
  grid-column: span 2;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--cyan-700));
  font-size: 0.82rem;
  font-weight: 700;
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 24px;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-stack span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-stack span:hover {
  transform: translateX(4px);
  border-color: rgba(18, 184, 232, 0.36);
  box-shadow: 0 18px 46px rgba(8, 38, 75, 0.08);
}

.tech-stack b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-size: 0.74rem;
}

.tech-stack strong {
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.28;
}

.tech-stack small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.status-board {
  padding: 20px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-950), var(--navy));
}

.status-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.platform-topbar,
.platform-filter-row,
.platform-summary {
  display: grid;
  gap: 10px;
}

.platform-topbar {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
}

.platform-pill,
.platform-filter-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: var(--pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.platform-pill {
  border: 1px solid rgba(125, 227, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
}

.platform-pill.muted {
  color: rgba(255, 255, 255, 0.64);
}

.platform-metric.primary b {
  max-width: 320px;
  font-size: 1.12rem;
}

.platform-filter-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.platform-filter-row span {
  border: 1px solid rgba(125, 227, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
}

.platform-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.platform-summary div {
  padding: 12px;
  border: 1px solid rgba(125, 227, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.platform-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.platform-summary b {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.28;
}

.status-item {
  padding: 18px;
  margin-top: 12px;
}

.status-item b {
  display: block;
  margin-top: 4px;
}

.platform-board {
  overflow: hidden;
  position: relative;
}

.platform-board::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
  animation: grid-drift 18s linear infinite;
}

.platform-board > * {
  position: relative;
  z-index: 1;
}

.platform-metric {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(125, 227, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.platform-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.platform-metric b {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
  line-height: 1.08;
}

.platform-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 122px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(125, 227, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 18, 38, 0.38);
}

.platform-chart i {
  display: block;
  min-height: 22px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #7de3ff, var(--cyan-700));
  box-shadow: 0 0 22px rgba(18, 184, 232, 0.26);
  transform-origin: bottom;
  animation: bar-rise 1s ease both, bar-pulse 3.6s ease-in-out infinite;
}

.platform-chart i:nth-child(2) {
  animation-delay: 0.08s, 0.7s;
}

.platform-chart i:nth-child(3) {
  animation-delay: 0.16s, 1.1s;
}

.platform-chart i:nth-child(4) {
  animation-delay: 0.24s, 0.35s;
}

.platform-chart i:nth-child(5) {
  animation-delay: 0.32s, 1.5s;
}

.platform-chart i:nth-child(6) {
  animation-delay: 0.4s, 0.95s;
}

.method-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 55, 0.98), rgba(9, 40, 79, 0.96)),
    radial-gradient(circle at 20% 10%, rgba(18, 184, 232, 0.18), transparent 32%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(125, 227, 255, 0.12);
}

.method-section h2,
.method-section h3 {
  color: var(--white);
}

.method-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(125, 227, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(125, 227, 255, 0.16);
}

.method-grid article {
  min-height: 260px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.24s ease, transform 0.24s ease;
}

.method-grid article:hover {
  background: rgba(18, 184, 232, 0.12);
  transform: translateY(-2px);
}

.method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border: 1px solid rgba(125, 227, 255, 0.32);
  border-radius: 50%;
  color: #7de3ff;
  font-weight: 700;
}

.method-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.client-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background:
    linear-gradient(135deg, rgba(8, 34, 67, 0.99), rgba(16, 74, 133, 0.95)),
    radial-gradient(circle at left center, rgba(18, 184, 232, 0.2), transparent 34%);
  border-top: 1px solid rgba(125, 227, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.client-area h2,
.final-cta h2 {
  color: var(--white);
}

.why {
  align-items: center;
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list li {
  margin-top: 0;
  padding-top: 4px;
  color: var(--navy-900);
  font-weight: 650;
}

.institutional-section {
  background:
    linear-gradient(135deg, rgba(6, 27, 55, 0.99), rgba(10, 46, 88, 0.97)),
    radial-gradient(circle at top right, rgba(18, 184, 232, 0.18), transparent 38%);
  border-top: 1px solid rgba(125, 227, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.institutional-section h2,
.institutional-section h3,
.institutional-section .eyebrow {
  color: var(--white);
}

.institutional-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.institutional-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.institutional-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(125, 227, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.institutional-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #7de3ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.institutional-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.content-showcase {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 243, 249, 0.95));
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(8, 38, 75, 0.1);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 22% 18%, rgba(18, 184, 232, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.video-frame iframe,
.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
}

.video-copy {
  padding: 22px;
}

.video-copy span {
  color: var(--cyan-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-copy h3 {
  margin-top: 10px;
  color: var(--navy-950);
  font-size: 1.1rem;
  line-height: 1.28;
}

.video-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.clients-section {
  background:
    radial-gradient(circle at 18% 8%, rgba(18, 184, 232, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(239, 246, 251, 0.98), rgba(255, 255, 255, 0.98));
}

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

.client-logo-card {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(8, 38, 75, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.client-logo-card:is(a):hover {
  transform: translateY(-3px);
  border-color: rgba(18, 184, 232, 0.34);
  box-shadow: 0 24px 60px rgba(8, 38, 75, 0.11);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
  filter: saturate(0.9);
}

.testimonial-section {
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(18, 184, 232, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(7, 20, 38, 0.98), rgba(9, 33, 61, 0.96));
  content: "";
}

.testimonial-section > * {
  position: relative;
  z-index: 1;
}

.testimonial-section .eyebrow {
  color: rgba(125, 227, 255, 0.92);
}

.testimonial-section h2 {
  color: var(--white);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.testimonial-section .section-heading p {
  color: rgba(226, 237, 247, 0.8);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(2, 8, 18, 0.24);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.75;
}

.testimonial-card div {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  color: var(--white);
  font-size: 0.98rem;
}

.testimonial-card span {
  margin-top: 6px;
  color: rgba(203, 215, 227, 0.78);
  font-size: 0.88rem;
}

.market-section {
  background:
    linear-gradient(180deg, rgba(246, 250, 253, 0.98), rgba(255, 255, 255, 0.98));
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.market-card {
  overflow: hidden;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(8, 38, 75, 0.08);
}

.market-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.market-card div {
  padding: 24px;
}

.market-card span {
  color: var(--cyan-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-card h3 {
  margin-top: 12px;
  color: var(--navy-950);
  font-size: 1.18rem;
  line-height: 1.25;
}

.market-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.market-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 900;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.98), rgba(8, 31, 58, 0.98)),
    radial-gradient(circle at top center, rgba(18, 184, 232, 0.12), transparent 36%);
  border-top: 1px solid rgba(125, 227, 255, 0.14);
}

.final-cta p,
.final-cta .hero-actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--navy-900);
  font-weight: 750;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-action {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(18, 184, 232, 0.08), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 18px 42px rgba(8, 38, 75, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-action:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 184, 232, 0.3);
  box-shadow: 0 22px 50px rgba(8, 38, 75, 0.11);
}

.contact-action strong {
  color: var(--navy-900);
  font-family: var(--font-rounded);
  font-size: 0.96rem;
}

.contact-action span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #274763;
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfdff;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 184, 232, 0.12);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-feedback {
  padding: 16px 18px;
  border: 1px solid rgba(18, 184, 232, 0.2);
  border-radius: 18px;
  color: var(--navy-900);
  background: rgba(18, 184, 232, 0.08);
  font-size: 0.95rem;
  font-weight: 650;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  background: #05142a;
}

.proof-strip {
  color: rgba(255, 255, 255, 0.9);
  background: var(--premium-navy-2);
}

.proof-strip-heading {
  max-width: 840px;
}

.proof-strip-heading .eyebrow,
.case-tag {
  color: var(--premium-cyan);
}

.case-grid,
.institutional-grid {
  gap: 0;
  border-top: 1px solid var(--premium-line);
  border-left: 1px solid var(--premium-line);
}

.case-card,
.institutional-card {
  min-height: 300px;
  padding: 32px;
  border: 0;
  border-right: 1px solid var(--premium-line);
  border-bottom: 1px solid var(--premium-line);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.case-card:hover,
.institutional-card:hover {
  transform: none;
  background: rgba(66, 201, 244, 0.08);
}

.case-card h3,
.institutional-card h3 {
  color: rgba(255, 255, 255, 0.94);
}

.case-points,
.case-card p,
.institutional-card p {
  color: rgba(255, 255, 255, 0.68);
}

.institutional-section {
  background: var(--premium-navy);
}

.institutional-card span {
  color: var(--premium-cyan);
  background: transparent;
}

.status-board {
  border: 1px solid var(--premium-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.platform-pill,
.platform-filter-row span {
  border-color: var(--premium-line);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
}

.platform-metric b,
.platform-summary b,
.status-header strong {
  color: rgba(255, 255, 255, 0.94);
}

.site-footer img {
  width: 132px;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.footer-meta small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

.footer-admin-link {
  justify-self: end;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-admin-link:hover {
  color: rgba(18, 184, 232, 0.82);
}

.footer-meta-right {
  text-align: right;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  box-shadow: 0 0 18px rgba(18, 184, 232, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 58px 58px, 58px 58px;
  }
}

@keyframes data-sweep {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-6%) rotate(-18deg);
  }
  50% {
    opacity: 0.72;
    transform: translateX(8%) rotate(-18deg);
  }
}

@keyframes bar-rise {
  from {
    transform: scaleY(0.18);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes bar-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }

  /* Preserve the informative background when the OS requests reduced motion.
     The video is muted and non-interactive; hiding it removed the map entirely. */
  .hero-video {
    opacity: 0.9;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
    font-size: 0.84rem;
  }

  .header-actions {
    display: none;
  }

  .hero,
  .split-section,
  .tech-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(90deg, rgba(5, 20, 42, 1) 0%, rgba(5, 20, 42, 0.94) 55%, rgba(5, 20, 42, 0.64) 100%),
      linear-gradient(0deg, rgba(5, 20, 42, 0.92) 0%, rgba(5, 20, 42, 0.22) 48%, rgba(5, 20, 42, 0.38) 100%),
      url("assets/hero-market-poster.jpg") center / cover no-repeat;
  }

  .hero-content {
    max-width: min(760px, 64vw);
  }

  .hero-signal {
    right: clamp(24px, 4vw, 54px);
    width: clamp(260px, 29vw, 340px);
    padding: 20px;
  }

  .hero-signal strong {
    font-size: 1.05rem;
  }

  .positioning-panel,
  .positioning-points,
  .case-grid,
  .institutional-grid,
  .video-grid,
  .client-logo-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(125, 227, 255, 0.14);
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(5, 20, 42, 0.98);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 8px;
  }

  .main-nav a::after {
    bottom: 6px;
  }

  .section,
  .hero,
  .client-area,
  .final-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero {
    gap: 38px;
    min-height: 680px;
    padding-top: 128px;
  }

  .card-grid,
  .card-grid.three,
  .tech-stack,
  .contact-actions,
  .platform-topbar,
  .platform-summary,
  .positioning-points,
  .client-logo-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .platform-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card.wide {
    grid-column: auto;
  }

  .client-area {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .method-grid article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .section,
  .hero,
  .client-area,
  .final-cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .brand img {
    width: 132px;
  }

  h1 {
    font-size: 2.08rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(5, 20, 42, 1) 0%, rgba(5, 20, 42, 0.96) 58%, rgba(5, 20, 42, 0.72) 100%),
      linear-gradient(0deg, rgba(5, 20, 42, 0.9) 0%, rgba(5, 20, 42, 0.28) 50%, rgba(5, 20, 42, 0.42) 100%),
      url("assets/hero-market-poster.jpg") 58% center / cover no-repeat;
    padding-top: 112px;
  }

  .positioning-strip {
    padding: 0;
  }

  .positioning-strip p {
    padding: 18px 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metric-row,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .chart-area {
    height: 82px;
    margin: 12px 0;
  }

  .dashboard-shell {
    padding: 12px;
  }

  .dashboard-top {
    margin-bottom: 10px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta-right {
    text-align: left;
  }
}
.tech-layout-single {
  grid-template-columns: 1fr;
}

.tech-layout-single .tech-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .tech-layout-single .tech-stack {
    grid-template-columns: 1fr;
  }
}

/* Direção premium R2 — precisão executiva */
:root {
  --premium-ink: #041327;
  --premium-navy: #071d38;
  --premium-navy-2: #0a294a;
  --premium-cyan: #42c9f4;
  --premium-line: rgba(91, 205, 241, 0.28);
  --premium-soft-line: rgba(255, 255, 255, 0.11);
}

body {
  background: var(--premium-ink);
}

.site-header {
  min-height: 88px;
  border-bottom-color: rgba(91, 205, 241, 0.16);
  background: rgba(4, 19, 39, 0.88);
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(4, 19, 39, 0.97);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.main-nav {
  gap: clamp(18px, 2vw, 32px);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta {
  min-height: 44px;
  padding-inline: 22px;
  border-color: var(--premium-line);
  background: transparent;
  box-shadow: none;
}

.header-cta::after,
.button::after {
  display: none;
}

.hero {
  min-height: min(900px, calc(100vh - 88px));
  padding-top: clamp(92px, 11vw, 150px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.hero::before {
  background: linear-gradient(90deg, rgba(3, 15, 31, 0.95) 0%, rgba(3, 15, 31, 0.72) 54%, rgba(3, 15, 31, 0.35) 100%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  padding-left: clamp(26px, 3vw, 46px);
  border-left: 1px solid var(--premium-cyan);
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--premium-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.section-index::after {
  width: 44px;
  height: 1px;
  background: var(--premium-cyan);
  content: "";
}

.hero .eyebrow {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--premium-cyan);
  font-size: clamp(0.78rem, 1vw, 0.94rem);
  letter-spacing: 0.21em;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 42px;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-actions {
  align-items: center;
  gap: 24px;
}

.hero .button-primary {
  min-width: 270px;
  min-height: 58px;
  padding-inline: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--premium-cyan);
  box-shadow: 0 18px 42px rgba(18, 184, 232, 0.24);
}

.hero .button-secondary {
  min-height: 46px;
  padding: 0 2px 4px;
  border-width: 0 0 1px;
  border-radius: 0;
  border-bottom-color: var(--premium-cyan);
  background: transparent;
}

.section,
.client-area,
.final-cta {
  padding-top: clamp(90px, 10vw, 148px);
  padding-bottom: clamp(90px, 10vw, 148px);
}

.section-plain,
.section-soft,
.section-steel,
.section-muted,
.method-section {
  color: rgba(255, 255, 255, 0.9);
  background: var(--premium-navy);
}

.section-soft,
.section-steel,
.method-section,
.why {
  background: var(--premium-navy-2);
}

.section-plain::before,
.section-soft::before,
.section-steel::before {
  opacity: 0.22;
}

.section h2,
.section h3,
.section .eyebrow,
.section p,
.section li {
  color: inherit;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 60px;
}

.section-heading .eyebrow,
.split-section .eyebrow {
  color: var(--premium-cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.split-section h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.card-grid {
  gap: 0;
  border-top: 1px solid var(--premium-line);
  border-left: 1px solid var(--premium-line);
}

.card {
  min-height: 210px;
  padding: 34px;
  border: 0;
  border-right: 1px solid var(--premium-line);
  border-bottom: 1px solid var(--premium-line);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.card::before {
  display: none;
}

.card:hover {
  transform: none;
  border-color: var(--premium-cyan);
  background: rgba(66, 201, 244, 0.08);
  box-shadow: inset 0 3px 0 var(--premium-cyan);
}

.card span,
.card .icon {
  margin-bottom: 42px;
  color: var(--premium-cyan);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.card h3 {
  max-width: 310px;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.16;
}

.card p,
.check-list,
.reason-list {
  color: rgba(255, 255, 255, 0.68);
}

.essence .card {
  min-height: 340px;
}

.essence .card h3 {
  margin-bottom: 26px;
  color: var(--premium-cyan);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.split-section {
  align-items: start;
  gap: clamp(50px, 8vw, 120px);
}

.split-section .reason-list {
  margin: 52px 0 0;
  border-top: 1px solid var(--premium-line);
}

.split-section .section-intro {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
}

.reason-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--premium-soft-line);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.tech-layout-single .tech-stack {
  gap: 0;
  border-top: 1px solid var(--premium-line);
  border-left: 1px solid var(--premium-line);
}

.tech-stack span {
  min-height: 112px;
  padding: 28px 30px;
  border: 0;
  border-right: 1px solid var(--premium-line);
  border-bottom: 1px solid var(--premium-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.tech-stack span:hover {
  transform: none;
  background: rgba(66, 201, 244, 0.08);
}

.tech-stack b {
  color: var(--premium-cyan);
  font-weight: 500;
}

.tech-stack strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
}

.method-grid {
  gap: 0;
  border-top: 1px solid var(--premium-line);
}

.method-grid article {
  min-height: 110px;
  padding: 26px 28px;
  border: 0;
  border-bottom: 1px solid var(--premium-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.method-grid article:hover {
  transform: none;
  padding-left: 38px;
  background: rgba(66, 201, 244, 0.06);
}

.method-grid span {
  color: var(--premium-cyan);
  border-color: var(--premium-line);
  background: transparent;
}

.method-grid h3 {
  color: rgba(255, 255, 255, 0.94);
}

.method-grid p {
  align-self: center;
}

.reason-list li::before {
  display: none;
}

.reason-list li {
  padding-left: 0;
}

.client-area,
.final-cta {
  border-top: 1px solid var(--premium-line);
  border-bottom: 1px solid var(--premium-line);
  background: #05172d;
}

.client-area .button-primary,
.final-cta .button-primary {
  background: var(--premium-cyan);
}

.contact-section {
  gap: clamp(50px, 7vw, 100px);
  color: var(--navy-900);
  background: #ffffff;
  border-top-color: rgba(18, 61, 115, 0.1);
  border-bottom-color: rgba(18, 61, 115, 0.1);
}

.contact-section::before {
  opacity: 0.55;
}

.contact-section .eyebrow {
  color: var(--cyan-700);
}

.contact-section h2,
.contact-section h3,
.contact-section p,
.contact-section li {
  color: var(--navy-900);
}

.contact-action,
.contact-form {
  border: 1px solid rgba(18, 61, 115, 0.14);
  border-radius: 0;
  color: var(--navy-900);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(8, 38, 75, 0.08);
}

.contact-action:hover {
  border-color: rgba(18, 184, 232, 0.5);
  box-shadow: 0 26px 64px rgba(8, 38, 75, 0.12);
}

.contact-action strong,
.contact-form label,
.contact-details,
.contact-details a,
.contact-details span {
  color: var(--navy-900);
}

.contact-action span,
.contact-section .form-note {
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  color: var(--ink);
  border-color: rgba(18, 61, 115, 0.18);
  background-color: #f8fbfd;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--premium-cyan);
  box-shadow: 0 0 0 3px rgba(18, 184, 232, 0.12);
}

/* Linhas editoriais contínuas que conectam visualmente todas as seções. */
main > section {
  position: relative;
  overflow: hidden;
}

main > section:not(.hero)::after {
  display: none;
}

main > section > * {
  position: relative;
  z-index: 1;
}

main > section:not(.hero)::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(120deg, transparent 0 26%, rgba(66, 201, 244, 0.075) 26% 27%, transparent 27% 68%, rgba(66, 201, 244, 0.05) 68% 69%, transparent 69%);
  content: "";
}

main > .contact-section::before {
  background:
    linear-gradient(120deg, transparent 0 26%, rgba(18, 184, 232, 0.04) 26% 27%, transparent 27% 68%, rgba(18, 61, 115, 0.03) 68% 69%, transparent 69%);
}

/* Contraste e hierarquia dos blocos restaurados. */
.proof-strip-heading h2,
.tech-section .section-heading h2,
.method-section .section-heading h2,
.institutional-section .section-heading h2 {
  color: #ffffff;
}

.proof-strip-heading > p:last-child,
.tech-section .section-heading > p:last-child,
.institutional-section .section-heading > p:last-child {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
}

.proof-strip-heading .eyebrow,
.case-card .case-tag,
.tech-section .eyebrow,
.method-section .eyebrow,
.institutional-section .eyebrow {
  color: var(--premium-cyan);
}

.case-card h3,
.solution-card h3,
.tech-stack strong,
.method-grid h3,
.institutional-card h3 {
  color: #ffffff;
}

.case-card h3,
.institutional-card h3 {
  margin-bottom: 24px;
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  line-height: 1.28;
}

.case-card .case-tag {
  margin-bottom: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-points,
.case-points li,
.solution-card p,
.tech-stack small,
.method-grid p,
.institutional-card p {
  color: rgba(255, 255, 255, 0.7);
}

.case-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  padding-top: 10px;
  border-top: 1px solid var(--premium-soft-line);
  line-height: 1.5;
}

.solution-card {
  box-shadow: inset 0 3px 0 rgba(66, 201, 244, 0.2);
}

.solution-card .icon {
  color: var(--premium-cyan);
  border-color: var(--premium-line);
}

.tech-stack small {
  display: block;
  margin-top: 8px;
  line-height: 1.55;
}

.institutional-section {
  color: rgba(255, 255, 255, 0.9);
  background: var(--premium-navy);
}

.institutional-card {
  box-shadow: inset 0 3px 0 rgba(66, 201, 244, 0.18);
}

/* Retorno da base clara: o grafismo diagonal volta a conectar as seções. */
.section-plain,
.section-muted,
.method-section {
  color: var(--navy-900);
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.section-soft,
.proof-strip,
.institutional-section {
  color: var(--navy-900);
  background: linear-gradient(180deg, #eef4f8, #e4edf4);
}

.section-steel,
.tech-section {
  color: var(--navy-900);
  background: linear-gradient(180deg, #e5eef5, #f3f7fa);
}

main > section:not(.hero)::before {
  display: none;
}

.section-heading h2,
.split-section h2,
.proof-strip-heading h2,
.tech-section .section-heading h2,
.method-section .section-heading h2,
.institutional-section .section-heading h2,
.card h3,
.case-card h3,
.solution-card h3,
.tech-stack strong,
.method-grid h3,
.institutional-card h3 {
  color: var(--navy-900);
}

.section-heading > p:last-child,
.proof-strip-heading > p:last-child,
.tech-section .section-heading > p:last-child,
.institutional-section .section-heading > p:last-child,
.split-section .section-intro,
.card p,
.solution-card p,
.case-points,
.case-points li,
.tech-stack small,
.method-grid p,
.institutional-card p,
.check-list,
.reason-list {
  color: #4f6476;
}

.card-grid,
.case-grid,
.institutional-grid,
.method-grid,
.tech-stack {
  border-color: rgba(18, 61, 115, 0.14);
}

.card,
.case-card,
.institutional-card,
.tech-stack span,
.method-grid article {
  color: var(--navy-900);
  border-color: rgba(18, 61, 115, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.card:hover,
.case-card:hover,
.institutional-card:hover,
.tech-stack span:hover,
.method-grid article:hover {
  background: rgba(255, 255, 255, 0.96);
}

.case-points li,
.reason-list li,
.method-grid article {
  border-color: rgba(18, 61, 115, 0.12);
}

.status-board {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(18, 61, 115, 0.18);
  background: var(--premium-navy);
  box-shadow: 0 24px 70px rgba(8, 38, 75, 0.16);
}

/* Uma única malha diagonal atravessa a página sem reiniciar nas seções. */
main {
  position: relative;
  isolation: isolate;
}

main::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(120deg, transparent 0 620px, rgba(18, 184, 232, 0.18) 620px 640px, transparent 640px 1240px),
    repeating-linear-gradient(120deg, transparent 0 1080px, rgba(18, 61, 115, 0.1) 1080px 1096px, transparent 1096px 1800px);
  content: "";
}

main > section {
  z-index: 1;
}

main > section > * {
  z-index: 2;
}

.hero {
  z-index: 2;
}

.section-plain,
.section-muted,
.method-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 253, 0.84));
}

.section-soft,
.proof-strip,
.institutional-section {
  background: linear-gradient(180deg, rgba(238, 244, 248, 0.84), rgba(228, 237, 244, 0.84));
}

.section-steel,
.tech-section {
  background: linear-gradient(180deg, rgba(229, 238, 245, 0.84), rgba(243, 247, 250, 0.84));
}

.contact-section {
  background: rgba(255, 255, 255, 0.86);
}

.card,
.case-card,
.institutional-card,
.tech-stack span,
.method-grid article,
.contact-action,
.contact-form {
  background: #ffffff;
}

/* Seções escuras criam ritmo sem interromper a numeração ou o grafismo. */
.section-dark-premium {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, rgba(7, 29, 56, 0.9), rgba(10, 41, 74, 0.9));
}

.section-dark-premium .section-heading h2,
.section-dark-premium .section-heading h3,
.section-dark-premium .card h3,
.section-dark-premium .method-grid h3,
.section-dark-premium .institutional-card h3 {
  color: #ffffff;
}

.section-dark-premium .section-heading > p:last-child,
.section-dark-premium .card p,
.section-dark-premium .check-list,
.section-dark-premium .check-list li,
.section-dark-premium .method-grid p,
.section-dark-premium .institutional-card p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark-premium .card,
.section-dark-premium .method-grid article,
.section-dark-premium .institutional-card {
  color: rgba(255, 255, 255, 0.9);
  border-color: var(--premium-line);
  background: #0d3157;
}

.section-dark-premium .card:hover,
.section-dark-premium .method-grid article:hover,
.section-dark-premium .institutional-card:hover {
  background: rgba(66, 201, 244, 0.08);
}

.section-dark-premium .method-grid,
.section-dark-premium .institutional-grid {
  border-color: var(--premium-line);
}

/* Restaura o brilho e a elevação do botão Área do Cliente. */
.header-cta::after {
  display: block;
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  content: "";
  transition: transform 0.55s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  color: var(--premium-ink);
  border-color: var(--premium-cyan);
  background: var(--premium-cyan);
  box-shadow: 0 14px 34px rgba(18, 184, 232, 0.24);
}

.header-cta:hover::after {
  transform: translateX(120%) skewX(-20deg);
}

/* Desafios: composição editorial inspirada no material do cliente. */
.challenge-section {
  padding-top: clamp(82px, 8vw, 116px);
  padding-bottom: clamp(82px, 8vw, 116px);
  background:
    radial-gradient(circle at 78% 38%, rgba(66, 201, 244, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(7, 29, 56, 0.98), rgba(16, 57, 102, 0.98));
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: clamp(60px, 7vw, 112px);
  align-items: center;
}

.challenge-copy {
  max-width: 650px;
}

.challenge-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: 0 0 34px;
  padding: 14px 18px;
  border: 1px solid rgba(66, 201, 244, 0.72);
  border-radius: 8px;
  color: var(--premium-cyan);
  background: rgba(66, 201, 244, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 38px rgba(0, 0, 0, 0.1);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.challenge-label::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 100%;
  width: calc(clamp(180px, 19vw, 380px) - 18px);
  height: 0;
  border-top: 1px solid rgba(66, 201, 244, 0.78);
  content: "";
}

.challenge-copy h2 {
  max-width: 650px;
  margin-bottom: 30px;
  color: #ffffff;
  font-size: clamp(2.7rem, 4vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.challenge-intro {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.03rem;
  line-height: 1.75;
}

.challenge-list {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 38px;
}

.challenge-list::before {
  position: absolute;
  top: 8px;
  bottom: 10%;
  left: 0;
  width: 1px;
  background: rgba(66, 201, 244, 0.78);
  content: "";
}

.challenge-list article {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px 28px;
  border: 1px solid rgba(66, 201, 244, 0.58);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(22, 72, 123, 0.96), rgba(11, 47, 86, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 38px rgba(0, 0, 0, 0.12);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.challenge-list article:hover {
  transform: translateX(6px);
  border-color: rgba(66, 201, 244, 0.92);
  background: linear-gradient(135deg, rgba(25, 84, 141, 0.98), rgba(12, 53, 96, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 46px rgba(0, 0, 0, 0.17);
}

.challenge-list article::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 38px;
  height: 1px;
  background: rgba(66, 201, 244, 0.78);
  content: "";
}

.challenge-list h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 680;
  letter-spacing: 0.015em;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .challenge-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .challenge-list {
    padding-left: 28px;
  }

  .challenge-list article::before {
    width: 28px;
  }

  .challenge-label::after {
    display: none;
  }

  .challenge-list::before {
    top: 10%;
  }
}

/* Desafios: fotografia executiva com tratamento azul institucional. */
.section.challenge-section {
  background-color: #071d38;
  background-image:
    linear-gradient(90deg, rgba(4, 22, 43, 0.91) 0%, rgba(7, 34, 63, 0.82) 44%, rgba(7, 34, 63, 0.9) 100%),
    linear-gradient(180deg, rgba(8, 38, 70, 0.12), rgba(4, 20, 39, 0.42)),
    url("assets/ekosin-executive-presentation-v1.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.challenge-section .challenge-copy h2 {
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.4);
}

.challenge-section .challenge-intro {
  color: rgba(234, 243, 249, 0.82);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.challenge-section .challenge-list article {
  background: linear-gradient(135deg, rgba(18, 67, 115, 0.88), rgba(7, 39, 72, 0.92));
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  .section.challenge-section {
    background-position: 38% center;
  }
}

/* Azul institucional ampliado sem alterar a estrutura da seção. */
.positioning-section {
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 78% 32%, rgba(66, 201, 244, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(12, 42, 79, 0.98), rgba(21, 58, 108, 0.98));
}

.positioning-copy h2 {
  color: #ffffff;
}

.positioning-copy .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.positioning-copy .eyebrow,
.positioning-section .section-index {
  color: var(--premium-cyan);
}

.positioning-flow article {
  border-color: rgba(66, 201, 244, 0.42);
  background: linear-gradient(145deg, rgba(18, 67, 116, 0.92), rgba(7, 39, 72, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.positioning-flow article:hover {
  border-color: rgba(66, 201, 244, 0.8);
  background: linear-gradient(145deg, rgba(22, 81, 138, 0.96), rgba(8, 47, 86, 0.96));
}

/* Nossa Essência: cards independentes com acabamento premium. */
.essence .card-grid.three {
  gap: clamp(18px, 2vw, 30px);
  border: 0;
  background: transparent;
}

.essence .card {
  min-height: 350px;
  padding: clamp(30px, 3vw, 46px);
  border: 1px solid rgba(66, 201, 244, 0.28);
  border-radius: 22px;
  background: linear-gradient(145deg, #103b68, #0a2c50);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 58px rgba(0, 0, 0, 0.17);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.essence .card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 201, 244, 0.62);
  background: linear-gradient(145deg, #124678, #0b3158);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 68px rgba(0, 0, 0, 0.24);
}

.essence .card h3 {
  margin-bottom: 32px;
  color: var(--premium-cyan);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-weight: 750;
  letter-spacing: 0.14em;
}

.essence .card p,
.essence .check-list li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

/* Posicionamento: sequência visual com continuidade entre os pilares. */
.positioning-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(660px, 1.22fr);
  gap: clamp(64px, 7vw, 118px);
  align-items: center;
}

.positioning-copy {
  max-width: 720px;
  margin: 0;
}

.positioning-copy .eyebrow {
  color: var(--cyan-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.positioning-copy h2 {
  max-width: 720px;
  color: var(--navy-900);
  font-size: clamp(2.7rem, 4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.positioning-copy .section-intro {
  max-width: 700px;
  margin-top: 26px;
  color: #536b7d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.positioning-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.positioning-flow article {
  min-height: 330px;
  padding: clamp(28px, 2.4vw, 38px);
  border: 1px solid rgba(18, 184, 232, 0.32);
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #103f70, #0a2d52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 56px rgba(8, 38, 75, 0.16);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.positioning-flow article:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 184, 232, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 68px rgba(8, 38, 75, 0.24);
}

.positioning-flow article span {
  display: block;
  margin-bottom: 54px;
  color: var(--premium-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.positioning-flow article h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(1.16rem, 1.35vw, 1.42rem);
  line-height: 1.3;
}

.positioning-flow article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.98rem;
  line-height: 1.7;
}

.flow-arrow {
  position: relative;
  z-index: 2;
  display: block;
  justify-self: center;
  width: 64px;
  height: 88px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #35d2ff, #00aeea);
  clip-path: polygon(0 0, 43% 0, 100% 50%, 43% 100%, 0 100%, 57% 50%);
  font-style: normal;
  filter: drop-shadow(0 10px 16px rgba(18, 184, 232, 0.28));
}

.flow-arrow::before,
.flow-arrow::after {
  display: none;
}

@media (max-width: 1200px) {
  .positioning-section {
    grid-template-columns: 1fr;
  }

  .positioning-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .positioning-flow article {
    min-height: 190px;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* Ritmo vertical revisado: reduz vazios acumulados entre seções. */
@media (min-width: 761px) {
  .section,
  .client-area,
  .final-cta {
    padding-top: clamp(76px, 6vw, 96px);
    padding-bottom: clamp(80px, 6.5vw, 104px);
  }

  main > .proof-strip {
    padding-top: clamp(72px, 5.5vw, 90px);
    padding-bottom: clamp(76px, 6vw, 96px);
  }

  .challenge-section {
    padding-top: clamp(76px, 6vw, 96px);
    padding-bottom: clamp(76px, 6vw, 96px);
  }

  .positioning-copy,
  .section-heading {
    margin-top: 0;
  }
}

/* Soluções: iconografia Lucide e cards independentes. */
.solutions-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  border: 0;
  background: transparent;
}

.solutions-grid .solution-card:nth-child(1),
.solutions-grid .solution-card:nth-child(2) {
  grid-column: span 3;
}

.solutions-grid .solution-card:nth-child(n + 3) {
  grid-column: span 2;
}

.solution-card {
  --solution-accent: #24bce9;
  position: relative;
  min-height: 310px;
  padding: clamp(28px, 2.7vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(18, 61, 115, 0.13);
  border-radius: 22px;
  background: linear-gradient(155deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: inset 0 3px 0 color-mix(in srgb, var(--solution-accent) 38%, transparent), 0 22px 52px rgba(8, 38, 75, 0.09);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.solution-card:nth-child(2),
.solution-card:nth-child(5) {
  --solution-accent: #1688d4;
}

.solution-card:nth-child(3),
.solution-card:nth-child(6) {
  --solution-accent: #30c7c9;
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--solution-accent) 55%, transparent);
  background: linear-gradient(155deg, #ffffff 0%, #f2f9fc 100%);
  box-shadow: inset 0 3px 0 var(--solution-accent), 0 30px 66px rgba(8, 38, 75, 0.15);
}

.solution-card .solution-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 44px;
  border: 1px solid color-mix(in srgb, var(--solution-accent) 38%, transparent);
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--solution-accent) 88%, #0b3761), var(--solution-accent));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--solution-accent) 22%, transparent);
}

.solution-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.3rem, 1.55vw, 1.65rem);
  line-height: 1.2;
}

.solution-card p {
  color: #566c7e;
  line-height: 1.68;
}

@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid .solution-card:nth-child(n) {
    grid-column: auto;
  }

  .solution-card {
    min-height: 270px;
  }
}

.site-footer {
  border-top-color: var(--premium-line);
  background: #031021;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 94px;
    padding: 18px 26px;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle {
    width: 52px;
    height: 52px;
    border-color: var(--premium-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
  }

  .hero {
    min-height: auto;
    padding: 100px 25px 70px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(3, 15, 31, 0.82), rgba(3, 15, 31, 0.94));
  }

  .hero-content {
    max-width: none;
    padding-left: 24px;
  }

  .hero h1 {
    margin-bottom: 38px;
    font-size: clamp(2.75rem, 11vw, 4rem);
    line-height: 1.02;
  }

  .hero .eyebrow {
    margin-bottom: 24px;
    font-size: 0.76rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    gap: 20px;
  }

  .hero .button-primary {
    align-self: flex-start;
    width: min(100%, 310px);
    min-width: 0;
    min-height: 58px;
  }

  .hero .button-secondary {
    align-self: flex-start;
    width: auto;
    min-height: 42px;
  }

  .section,
  .client-area,
  .final-cta {
    padding: 52px 26px 88px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .section-heading h2,
  .split-section h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .card-grid,
  .tech-layout-single .tech-stack,
  .case-grid,
  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .institutional-card {
    min-height: 240px;
    padding: 28px;
  }

  .card,
  .essence .card {
    min-height: 190px;
    padding: 28px;
  }

  .card span,
  .card .icon {
    margin-bottom: 30px;
  }

  .split-section .reason-list {
    margin-top: 6px;
  }

  .method-grid article {
    grid-template-columns: 54px 1fr;
    min-height: 96px;
  }

  .method-grid article p {
    grid-column: 2;
  }
}

/* Garante o azul institucional após todas as regras responsivas. */
.section.positioning-section {
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 78% 32%, rgba(66, 201, 244, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(12, 42, 79, 0.98), rgba(21, 58, 108, 0.98));
}

.positioning-section .positioning-copy h2 {
  color: #ffffff;
}

.positioning-section .positioning-copy .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.positioning-section .positioning-copy .eyebrow,
.positioning-section .section-index {
  color: var(--premium-cyan);
}

.positioning-section .positioning-flow article {
  border-color: rgba(66, 201, 244, 0.42);
  background: linear-gradient(145deg, rgba(18, 67, 116, 0.92), rgba(7, 39, 72, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.positioning-section .positioning-flow article:hover {
  border-color: rgba(66, 201, 244, 0.8);
  background: linear-gradient(145deg, rgba(22, 81, 138, 0.96), rgba(8, 47, 86, 0.96));
}

/* Depoimentos editoriais — regra final da cascata. */
section.testimonial-section{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:clamp(60px,8vw,150px);align-items:start;background:radial-gradient(circle at 8% 22%,rgba(45,191,234,.1),transparent 30%),linear-gradient(145deg,#f7fbfe,#eaf3f9)}
section.testimonial-section::before{background:none}
.testimonial-section .section-heading{position:sticky;top:150px;max-width:590px;margin:0}
.testimonial-section .eyebrow{color:#119dcc}
.testimonial-section h2{color:#092d56;font-size:clamp(3rem,4.7vw,5.5rem);line-height:.98;letter-spacing:-.055em;text-shadow:none}
.testimonial-section .section-heading>p:last-child{max-width:540px;color:#597082;font-size:1.04rem;line-height:1.72}
.testimonial-section .testimonial-grid{display:block;padding-top:8px;border-top:1px solid rgba(8,54,92,.18)}
.testimonial-section .testimonial-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);min-height:0;padding:clamp(38px,5vw,72px) 0;border:0;border-bottom:1px solid rgba(8,54,92,.18);border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;transition:transform 220ms ease}
.testimonial-section .testimonial-card:hover{transform:translateX(8px)}
.testimonial-section .testimonial-mark{color:#22bce9;font-family:Georgia,serif;font-size:6rem;line-height:.72;text-shadow:0 12px 30px rgba(34,188,233,.18)}
.testimonial-section .testimonial-card .testimonial-content{margin:0;padding:0;border:0}
.testimonial-section .testimonial-card .testimonial-content p{max-width:780px;margin:0;color:#0a315d;font-size:clamp(1.35rem,2vw,2rem);font-weight:650;line-height:1.42;letter-spacing:-.025em}
.testimonial-section .testimonial-card .testimonial-author{grid-column:2;display:flex;align-items:baseline;gap:14px;margin-top:34px;padding:0;border:0}
.testimonial-section .testimonial-card .testimonial-author strong{color:#092d56;font-size:.98rem}
.testimonial-section .testimonial-card .testimonial-author span{margin:0;color:#6d8292;font-size:.84rem}
@media(max-width:980px){section.testimonial-section{grid-template-columns:1fr;gap:52px}.testimonial-section .section-heading{position:static}}
@media(max-width:620px){.testimonial-section .testimonial-card{grid-template-columns:48px minmax(0,1fr)}.testimonial-section .testimonial-mark{font-size:4.5rem}.testimonial-section .testimonial-card .testimonial-author{align-items:flex-start;flex-direction:column;gap:5px}}

/* Depoimentos: proporção refinada e fundo institucional escuro. */
section.testimonial-section {
  grid-template-columns: minmax(320px, 0.78fr) minmax(540px, 1.22fr);
  gap: clamp(64px, 7vw, 124px);
  min-height: auto;
  padding-top: clamp(96px, 9vw, 144px);
  padding-bottom: clamp(96px, 9vw, 144px);
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 25%, rgba(38, 190, 234, 0.13), transparent 31%),
    radial-gradient(circle at 90% 80%, rgba(29, 104, 166, 0.16), transparent 34%),
    linear-gradient(145deg, #061a32 0%, #082744 54%, #06182e 100%);
}

.testimonial-section .section-heading {
  top: 128px;
  max-width: 520px;
  padding-top: 20px;
}

.testimonial-section h2 {
  max-width: 510px;
  color: #ffffff;
  font-size: clamp(2.85rem, 3.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.047em;
}

.testimonial-section .section-heading > p:last-child {
  max-width: 490px;
  color: rgba(214, 230, 242, 0.72);
  font-size: 1rem;
}

.testimonial-section .testimonial-grid {
  border-top-color: rgba(84, 198, 233, 0.27);
}

.testimonial-section .testimonial-card {
  grid-template-columns: 64px minmax(0, 1fr);
  padding: clamp(40px, 4vw, 58px) 0;
  border-bottom-color: rgba(84, 198, 233, 0.27);
}

.testimonial-section .testimonial-mark {
  color: #31c3ec;
  font-size: 5.2rem;
}

.testimonial-section .testimonial-card .testimonial-content p {
  color: #f7fbff;
  font-size: clamp(1.24rem, 1.65vw, 1.72rem);
  font-weight: 620;
  line-height: 1.48;
}

.testimonial-section .testimonial-card .testimonial-author {
  margin-top: 28px;
}

.testimonial-section .testimonial-card .testimonial-author strong {
  color: #ffffff;
}

.testimonial-section .testimonial-card .testimonial-author span {
  color: rgba(190, 211, 226, 0.72);
}

@media (max-width: 980px) {
  section.testimonial-section {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .testimonial-section .section-heading {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .testimonial-section .testimonial-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .testimonial-section h2 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }
}

/* Cabeçalho alinhado ao primeiro depoimento. */
.testimonial-section .section-heading {
  position: static;
  align-self: start;
  top: auto;
  margin-top: 0;
  padding-top: 0;
  transform: translateY(-4px);
}

/* Casos de uso: cards independentes com arredondamento premium. */
.case-grid {
  gap: clamp(18px, 1.7vw, 28px);
  border: 0;
  background: transparent;
}

.case-grid .case-card {
  overflow: hidden;
  border: 1px solid rgba(21, 78, 122, 0.14);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 44px rgba(7, 38, 70, 0.075);
}

.case-grid .case-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #15b8e8, #328ed5);
  content: "";
}

.case-grid .case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 173, 221, 0.34);
  box-shadow: 0 26px 58px rgba(7, 38, 70, 0.13);
}

@media (max-width: 760px) {
  .case-grid .case-card {
    border-radius: 20px;
  }
}

/* Sistema uniforme de cantos: moderado, corporativo e consistente. */
:root {
  --surface-radius: 16px;
  --surface-radius-small: 12px;
}

main :is(
  .card,
  .case-card,
  .institutional-card,
  .market-card,
  .client-logo-card,
  .contact-action,
  .contact-form,
  .video-card,
  .video-frame,
  .reason-list li,
  .challenge-list li,
  .positioning-flow article,
  .method-grid article,
  .tech-stack article
) {
  border-radius: var(--surface-radius);
}

main :is(
  .solution-icon,
  .card .icon,
  .contact-form input,
  .contact-form textarea,
  .contact-form select
) {
  border-radius: var(--surface-radius-small);
}

/* Remove cantos internos herdados quando os blocos estão em grades. */
.case-grid .case-card,
.card-grid .card,
.institutional-grid .institutional-card,
.market-grid .market-card {
  overflow: hidden;
}

@media (max-width: 760px) {
  :root {
    --surface-radius: 14px;
    --surface-radius-small: 10px;
  }
}

/* Tecnologia: número e título na mesma linha; descrição organizada abaixo. */
.tech-section .tech-stack {
  gap: clamp(18px, 1.6vw, 26px);
  border: 0;
}

.tech-section .tech-stack span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  align-content: start;
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(62, 188, 229, 0.3);
  border-radius: var(--surface-radius);
  background: linear-gradient(145deg, rgba(5, 35, 64, 0.91), rgba(7, 47, 82, 0.89));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 42px rgba(1, 12, 27, 0.2);
}

.tech-section .tech-stack b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(49, 195, 236, 0.52);
  border-radius: 50%;
  color: #4dd1f3;
  font-size: 0.78rem;
  font-weight: 650;
}

.tech-section .tech-stack strong {
  align-self: center;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.35vw, 1.42rem);
  line-height: 1.25;
}

.tech-section .tech-stack small {
  grid-column: 1 / -1;
  display: block;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(97, 192, 222, 0.2);
  color: rgba(211, 228, 239, 0.76);
  font-size: 0.98rem;
  line-height: 1.62;
}

.tech-section .tech-stack span:hover {
  transform: translateY(-5px);
  border-color: rgba(49, 195, 236, 0.62);
  background: linear-gradient(145deg, rgba(7, 44, 78, 0.96), rgba(9, 57, 96, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 54px rgba(1, 12, 27, 0.28);
}

@media (max-width: 760px) {
  .tech-section .tech-stack span {
    min-height: 0;
    padding: 25px;
  }
}

/* Governança: inversão cromática ao selecionar o card. */
.institutional-grid .institutional-card {
  cursor: default;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.institutional-grid .institutional-card :is(h3, p, span) {
  transition: color 240ms ease;
}

.institutional-grid .institutional-card:is(:hover, :focus-visible) {
  outline: none;
  transform: translateY(-6px);
  border-color: rgba(47, 194, 235, 0.55);
  color: #ffffff;
  background: linear-gradient(145deg, #082c51 0%, #061c36 100%);
  box-shadow: 0 26px 58px rgba(4, 28, 54, 0.22);
}

.institutional-grid .institutional-card:is(:hover, :focus-visible) h3,
.institutional-grid .institutional-card:is(:hover, :focus-visible) p {
  color: #ffffff;
}

.institutional-grid .institutional-card:is(:hover, :focus-visible) span {
  color: #42c9f4;
}

/* Desafios: tipografia mais leve e executiva. */
.challenge-list h3 {
  max-width: 90%;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.22vw, 1.28rem);
  font-weight: 580;
  line-height: 1.3;
  letter-spacing: -0.012em;
  text-transform: none;
}

/* Tecnologia: elimina a distribuição vertical excessiva dos conteúdos. */
.tech-section .tech-stack {
  align-items: start;
  grid-auto-rows: auto;
}

.tech-section .tech-stack span {
  align-content: start;
  align-self: start;
  justify-content: stretch;
  min-height: 0;
  height: auto;
  padding: 25px 28px;
}

.tech-section .tech-stack small {
  margin-top: 9px;
  padding-top: 12px;
}

/* Cidade acompanha a rolagem: parallax removido. */
.section.why::before {
  background-attachment: scroll;
  background-position: center center;
}

/* Tecnologia: compactação do espaço entre cabeçalho e descrição. */
.tech-section .tech-stack span {
  grid-template-rows: auto auto;
  min-height: 176px;
  padding: 26px 28px;
}

.tech-section .tech-stack small {
  align-self: start;
  margin-top: 16px;
  padding-top: 15px;
}

@media (max-width: 760px) {
  .tech-section .tech-stack span {
    min-height: 0;
    padding: 23px;
  }
}

/* Tecnologia: proporção final compacta e texto mais refinado. */
.tech-section .tech-stack span {
  grid-template-rows: auto auto;
  row-gap: 0;
  min-height: 142px;
  padding: 21px 24px;
}

.tech-section .tech-stack b {
  width: 46px;
  height: 46px;
}

.tech-section .tech-stack small {
  margin-top: 6px;
  padding-top: 10px;
  color: rgba(207, 224, 236, 0.78);
  font-size: clamp(0.88rem, 0.9vw, 0.96rem);
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* Mantém a cidade sem parallax em todas as larguras. */
.section.why::before {
  background-attachment: scroll;
}

/* Tecnologia: aproximação máxima entre título e descrição. */
.tech-section .tech-stack span {
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  min-height: 0;
  padding: 18px 21px;
}

.tech-section .tech-stack b {
  width: 42px;
  height: 42px;
  font-size: 0.72rem;
}

.tech-section .tech-stack strong {
  font-size: clamp(1.05rem, 1.16vw, 1.24rem);
}

.tech-section .tech-stack small {
  margin-top: 0;
  padding-top: 7px;
  line-height: 1.42;
}

/* Parallax funcional: imagem aplicada diretamente à seção. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .section.why {
    background-color: #061f3c;
    background-image: url("assets/ekosin-city-night-v1.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .section.why::before {
    display: none;
  }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .section.why {
    background: #061f3c;
  }

  .section.why::before {
    display: block;
    background-attachment: scroll;
  }
}

/* Método: cabeçalho horizontal, seleção invertida e direção de processo. */
.method-section .method-grid {
  gap: 14px;
  border: 0;
}

.method-section .method-grid article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: start;
  min-height: 260px;
  padding: 26px 24px;
  border: 1px solid rgba(25, 100, 153, 0.16);
  border-radius: var(--surface-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(8, 38, 75, 0.07);
  transition: transform 230ms ease, background 230ms ease, border-color 230ms ease, box-shadow 230ms ease;
}

.method-section .method-grid article > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid rgba(34, 188, 233, 0.35);
  border-radius: 50%;
  color: #18aeda;
  background: transparent;
  font-weight: 700;
}

.method-section .method-grid article h3 {
  align-self: center;
  margin: 0;
  color: #092f5a;
  font-size: clamp(1.04rem, 1.15vw, 1.22rem);
  line-height: 1.25;
}

.method-section .method-grid article p {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 61, 115, 0.12);
  color: #5a7082;
  font-size: 0.94rem;
  font-weight: 430;
  line-height: 1.58;
}

.method-section .method-grid article:is(:hover, :focus-visible) {
  outline: none;
  transform: translateY(-6px);
  border-color: rgba(47, 194, 235, 0.58);
  color: #ffffff;
  background: linear-gradient(145deg, #0a3a69, #061f3d);
  box-shadow: 0 26px 54px rgba(4, 28, 54, 0.2);
}

.method-section .method-grid article:is(:hover, :focus-visible) h3,
.method-section .method-grid article:is(:hover, :focus-visible) p {
  color: #ffffff;
}

.method-section .method-grid article:is(:hover, :focus-visible) p {
  border-top-color: rgba(78, 202, 239, 0.25);
}

.method-section .method-grid article:is(:hover, :focus-visible) > span {
  border-color: #45cef2;
  color: #061f3d;
  background: #45cef2;
}

.method-flow-arrow {
  position: relative;
  height: 34px;
  margin: 28px 8px 0;
  border-top: 2px solid rgba(23, 174, 218, 0.55);
}

.method-flow-arrow::after {
  position: absolute;
  top: -9px;
  right: -1px;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border-top: 2px solid #19b8e6;
  border-right: 2px solid #19b8e6;
  content: "";
}

.method-flow-arrow span {
  position: absolute;
  top: 10px;
  right: 0;
  color: #188bb1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .method-section .method-grid article {
    min-height: 0;
  }

  .method-flow-arrow {
    display: none;
  }
}

/* Ajustes finais da revisão do cliente (mantidos ao fim para prevalecer no tema). */
.section.challenge-classic .section-heading {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.section.challenge-classic .section-heading > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.section.challenge-classic .challenge-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section.challenge-classic .challenge-grid .card {
  border-color: rgba(125, 227, 255, 0.22);
  background: rgba(248, 252, 255, 0.96);
  box-shadow: 0 20px 48px rgba(1, 12, 28, 0.28);
}

.section.essence-continuation {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why .reason-list li {
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  line-height: 1.35;
}

.final-cta > .final-cta-kicker {
  width: 100%;
  max-width: none;
  margin: 0 auto 14px;
  color: #7de3ff;
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .section.challenge-classic .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section.challenge-classic .challenge-grid {
    grid-template-columns: 1fr;
  }

  .section.essence-continuation {
    min-height: auto;
  }
}

/* Garantia de precedência da reprodução da Página 1. */
main > .profile-legacy.proof-strip.section-soft {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(236, 243, 249, 0.98), rgba(226, 236, 244, 0.96));
}

main > .profile-legacy.proof-strip.section-soft::before {
  display: block;
  opacity: 1;
  background: linear-gradient(120deg, transparent 0 26%, rgba(18, 184, 232, 0.04) 26% 27%, transparent 27% 68%, rgba(18, 61, 115, 0.03) 68% 69%, transparent 69%);
}

.profile-legacy .proof-strip-heading h2,
.profile-legacy .case-card h3 {
  color: var(--navy-900);
}

.profile-legacy .case-card,
.profile-legacy .case-card > p:not(.case-tag),
.profile-legacy .case-points li {
  color: var(--ink);
}

main > .profile-legacy.proof-strip .case-card {
  padding: 28px;
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: 26px;
  background-color: #ffffff;
  background-image: linear-gradient(180deg, rgba(18, 184, 232, 0.08), transparent 48%), none;
  box-shadow: 0 22px 56px rgba(8, 38, 75, 0.08);
}

/* Página 2: estrutura antiga, preservando exclusivamente o fundo atual. */
.section.challenge-classic .section-heading {
  max-width: 900px;
  margin-bottom: 40px;
}

.section.challenge-classic .challenge-label {
  margin: 0 0 14px;
  color: #7de3ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section.challenge-classic .section-heading h2 {
  max-width: 850px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.95rem, 3.6vw, 3.12rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.section.challenge-classic .section-heading > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section.challenge-classic .challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section.challenge-classic .challenge-grid .card {
  min-height: 162px;
  padding: 24px;
  color: var(--navy-900);
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(8, 38, 75, 0.1);
}

.section.challenge-classic .challenge-grid .card > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.section.challenge-classic .challenge-grid .card h3 {
  max-width: 260px;
  margin-bottom: 12px;
  color: var(--navy-900);
  font-size: 1.1rem;
  line-height: 1.35;
}

.section.challenge-classic .challenge-grid .card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Página 3: as duas composições da versão anterior. */
.section.about-classic {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 54px;
  color: var(--navy-900);
  background: linear-gradient(180deg, rgba(236, 243, 249, 0.98), rgba(226, 236, 244, 0.96));
}

.section.about-classic h2 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(1.95rem, 3.6vw, 3.12rem);
  line-height: 1.06;
}

.section.about-classic > div:first-child > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section.about-classic .proof-panel {
  padding: 32px;
  color: var(--navy-900);
  border: 1px solid rgba(18, 61, 115, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 184, 232, 0.08), transparent 44%), #ffffff;
  box-shadow: var(--shadow);
}

.section.about-classic .proof-panel h3,
.section.about-classic .proof-panel p,
.section.about-classic .check-list li {
  color: var(--navy-900);
}

.section.essence-continuation {
  color: var(--navy-900);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 254, 0.98));
}

.section.essence-continuation .section-heading h2,
.section.essence-continuation .card h3 {
  color: var(--navy-900);
}

.section.essence-continuation .card {
  color: var(--navy-900);
  border-color: rgba(18, 61, 115, 0.12);
  background: #ffffff;
}

.section.essence-continuation .card p,
.section.essence-continuation .check-list li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .section.challenge-classic .challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section.about-classic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section.challenge-classic .challenge-grid {
    grid-template-columns: 1fr;
  }
}

/* Mantém o efeito animado da Tecnologia contido no fundo da própria seção. */
.tech-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

main > .tech-section > .tech-network-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

main > .tech-section > :not(.tech-network-canvas) {
  position: relative;
  z-index: 2;
}

/* Dá área de respiro aos cards do Método e mantém a seleção acima dos grafismos. */
.method-section .method-grid {
  overflow: visible;
  padding-top: 12px;
  padding-bottom: 22px;
}

.method-section .method-grid article {
  position: relative;
  z-index: 1;
}

.method-section .method-grid article:is(:hover, :focus-visible) {
  z-index: 4;
}

.method-section .method-flow-arrow {
  margin-top: 34px;
}
