/* ═══════════ Botões ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s, filter 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  color: var(--paper);
  background: var(--grad-brand);
  box-shadow: 0 8px 24px rgba(15, 76, 92, 0.35);
}
.btn--primary:hover { color: var(--paper); filter: brightness(1.08); box-shadow: 0 12px 32px rgba(15, 76, 92, 0.45); }

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255,255,255,0.45); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 2.5rem) 4.5rem;
  background: var(--night);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 224, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 224, 232, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 30%, #000 0%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow--1 { width: 520px; height: 520px; top: -12%; right: -6%; background: rgba(47, 188, 207, 0.30); }
.hero-glow--2 { width: 460px; height: 460px; bottom: -18%; left: -10%; background: rgba(15, 76, 92, 0.55); }
.hero-glow--3 { width: 420px; height: 420px; top: 20%; right: 8%; background: rgba(47, 188, 207, 0.18); }

.hero-grid-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-content {
  align-self: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: none;
}

.hero-title-fixed {
  display: block;
  white-space: nowrap;
}

.hero-title-rotate {
  display: block;
  min-height: calc(3 * 1.05em);
  margin-top: 0.08em;
}

.hero-title-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--aqua-soft);
  margin-left: 1px;
  animation: hero-cursor-blink 0.9s step-end infinite;
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-cursor { display: none; }
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 1.65rem;
}
.hero-lead strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 0; }

/* Hero portrait — moldura editorial, corpo inteiro */
.hero-visual {
  position: relative;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: min(495px, 42vw);
}

.hero-portrait {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.35rem;
}

.hero-portrait-slab {
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 14%;
  width: 6px;
  border-radius: 6px;
  background: var(--grad-brand);
  box-shadow: 0 0 28px rgba(47, 188, 207, 0.45);
  z-index: 3;
}

.hero-portrait-rule {
  position: absolute;
  inset: -0.65rem -0.5rem 3.75rem 0.85rem;
  border: 1px solid rgba(127, 224, 232, 0.32);
  border-bottom: none;
  pointer-events: none;
  z-index: 2;
}
.hero-portrait-rule::before,
.hero-portrait-rule::after {
  content: "";
  position: absolute;
  background: rgba(127, 224, 232, 0.55);
}
.hero-portrait-rule::before {
  top: -1px;
  left: -1px;
  width: 2.75rem;
  height: 2px;
}
.hero-portrait-rule::after {
  top: -1px;
  right: -1px;
  width: 2.75rem;
  height: 2px;
}

.hero-portrait-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(80vh, 680px);
  overflow: hidden;
  background: var(--night-2);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 90% 100%, 0 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero-portrait-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  transform: scale(1.03);
  transform-origin: center top;
}

.hero-portrait-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 26, 34, 0.08) 0%, transparent 22%),
    linear-gradient(0deg, rgba(5, 26, 34, 0.82) 0%, rgba(5, 26, 34, 0.35) 28%, transparent 52%);
  pointer-events: none;
}

.hero-portrait-caption {
  position: absolute;
  left: 1.35rem;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 1.15rem 1.2rem 1.05rem;
  background: linear-gradient(180deg, rgba(5, 26, 34, 0) 0%, rgba(5, 26, 34, 0.92) 35%);
}
.hero-portrait-caption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.2rem;
}
.hero-portrait-caption span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua-soft);
}

/* ═══════════ Marquee ═══════════ */
.marquee-band {
  background: var(--teal-dark);
  border-block: 1px solid rgba(255,255,255,0.06);
  padding-block: 0.85rem;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.35vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}
.marquee-track .marquee-dot {
  color: rgba(127, 224, 232, 0.55);
  font-size: 0.55rem;
  letter-spacing: 0;
  vertical-align: middle;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════ Sobre ═══════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.about-edges { display: grid; gap: 1.5rem; padding-top: 0.5rem; }

.edge { display: flex; gap: 1.1rem; }
.edge-no {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.edge h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.edge p { margin: 0; font-size: 0.97rem; line-height: 1.5; color: var(--muted); }

/* ═══════════ Pilares ═══════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.pillar {
  position: relative;
  padding: 2rem 1.85rem 1.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-no {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--aqua);
  font-variant-numeric: tabular-nums;
}
.pillar h3 { font-size: 1.2rem; font-weight: 700; margin: 0.6rem 0 0.55rem; }
.pillar p { margin: 0; font-size: 0.97rem; line-height: 1.55; color: var(--muted); }

/* ═══════════ Timeline ═══════════ */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--line-strong));
}
.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.78rem; top: 0.4rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--teal);
  z-index: 1;
}
.timeline-item--current::before { background: var(--teal-deep); box-shadow: 0 0 0 5px var(--tint); }
.timeline-head {
  display: flex; flex-wrap: wrap;
  align-items: baseline; justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.25rem;
}
.timeline-co { display: inline-flex; align-items: center; gap: 0.7rem; }
.timeline-logo {
  height: 23px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.92;
}
.timeline-head h3 { font-size: 1.15rem; font-weight: 700; }
.timeline-period {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.badge-now {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  margin-right: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--grad-brand);
  border-radius: 999px;
  vertical-align: middle;
}
.timeline-role { font-size: 0.97rem; font-weight: 700; color: var(--teal); margin-bottom: 0.4rem; }
.timeline-intro { font-size: 0.97rem; line-height: 1.55; color: var(--muted); margin: 0; max-width: 60ch; }

/* ═══════════ Faixa de credibilidade ═══════════ */
.trust {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.trust-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin: 0 0 1.6rem;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.75rem;
}
.trust-logo {
  height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.62);
  transition: filter 0.3s var(--ease);
}
.trust-logo:hover { filter: none; }
.trust-sep { width: 1px; height: 42px; background: var(--line-strong); }
.trust-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 2.25rem;
  margin: 1.85rem 0 0;
  padding: 1.65rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.trust-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.trust-facts .icon { width: 1.05rem; height: 1.05rem; color: var(--teal); stroke-width: 2.5; }

/* ═══════════ Credenciais ═══════════ */
.credentials {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.cred-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin: 0 0 0.85rem;
}
.cred-item { margin: 0 0 0.4rem; font-size: 1rem; color: var(--ink-soft); }

.credentials .cred-block:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  justify-self: end;
}

.logo-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 1.05rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.logo-bar img {
  height: 27px;
  width: auto;
  filter: grayscale(1) opacity(0.62);
  transition: filter 0.3s var(--ease);
}
.logo-bar:hover img { filter: none; }
.logo-bar-sep {
  width: 1px;
  align-self: stretch;
  min-height: 26px;
  background: var(--line-strong);
}
.logo-bar-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ═══════════ Contato (dark) ═══════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.contact-pitch,
.contact-card {
  min-width: 0;
}
.contact-pitch .section-label {
  margin: 0 0 0.85rem;
}
.contact-pitch .section-title {
  margin: 0 0 1.15rem;
  white-space: normal;
  line-height: 1.12;
  color: #fff;
}
.contact-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 38rem;
  margin: 0;
}
.contact-section .cred-label { color: var(--aqua-soft); }

.contact-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--glass-dark);
  border: 1px solid var(--glass-dark-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease);
}
.contact-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(127,224,232,0.35); transform: translateX(4px); }
.contact-link .cred-label { margin: 0 0 0.1rem; }
.contact-link strong { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #fff; }
.contact-link--primary { background: var(--grad-brand); }
.contact-link--primary:hover { filter: brightness(1.08); background: var(--grad-brand); border-color: transparent; }
.contact-link--primary .cred-label { color: rgba(255,255,255,0.85); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ═══════════ Ícones ═══════════ */
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn .icon { width: 1.05em; height: 1.05em; }

/* Intro de seção (em tokens não há) */
.section-intro {
  max-width: 46rem;
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 1rem 0 0;
}
.section-head--center .section-intro { margin-inline: auto; }
.section-intro--light { color: rgba(255,255,255,0.7); }

/* ═══════════ Dores ═══════════ */
.section--pain {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(194, 97, 79, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, #faf3f2 0%, var(--bg) 100%);
}
.section--pain .section-label::before { background: #c2614f; }

.pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}
.pain {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(155deg, #fff8f7 0%, var(--paper) 52%);
  border: 1px solid rgba(194, 97, 79, 0.22);
  border-left: 3px solid #c2614f;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(194, 97, 79, 0.07);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.pain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -42deg,
    transparent,
    transparent 10px,
    rgba(194, 97, 79, 0.028) 10px,
    rgba(194, 97, 79, 0.028) 11px
  );
  pointer-events: none;
}
.pain:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(194, 97, 79, 0.14);
  border-color: rgba(194, 97, 79, 0.38);
  border-left-color: #a84435;
}
.pain-ic {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1rem;
  color: #b85442;
  background: rgba(194, 97, 79, 0.14);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(194, 97, 79, 0.12);
}
.pain-ic .icon { width: 1.45rem; height: 1.45rem; }
.pain:hover .pain-ic {
  color: #fff;
  background: linear-gradient(135deg, #d4715f 0%, #a84435 100%);
  box-shadow: 0 6px 16px rgba(168, 68, 53, 0.28);
}
.pain h3 {
  position: relative;
  z-index: 1;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  min-height: calc(2 * 1.25em);
  line-height: 1.25;
  color: #4a2e2a;
}
.pain p {
  position: relative;
  z-index: 1;
  margin: 0;
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #7a5f5a;
  min-height: calc(2 * 1.5em);
}

.pain-bridge {
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: #6b4540;
}

.pain-cta {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(2.25rem, 4vw, 3rem);
  text-align: center;
  background: linear-gradient(165deg, #fff 0%, #edf7f9 48%, #e4f2f5 100%);
  border: 1px solid rgba(15, 76, 92, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(15, 76, 92, 0.11);
}
.pain-cta-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--teal-dark);
  margin: 0 0 0.65rem;
}
.pain-cta-lead {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.pain-cta .btn {
  margin-inline: auto;
  padding: 0.95rem 1.65rem;
  font-size: 0.95rem;
}

/* ═══════════ Comparativo ═══════════ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 60rem;
  margin-inline: auto;
}
.compare-col {
  padding: 1.85rem 1.85rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.compare-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.compare-col h3 .icon { width: 1.3rem; height: 1.3rem; padding: 0.28rem; border-radius: 50%; box-sizing: content-box; }
.compare-col ul { display: flex; flex-direction: column; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.compare-col li { position: relative; padding-left: 1.3rem; font-size: 0.95rem; line-height: 1.45; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; }
.compare-col--bad { background: var(--surface); }
.compare-col--bad h3 { color: var(--muted); }
.compare-col--bad h3 .icon { color: #c2614f; background: rgba(194, 97, 79, 0.12); }
.compare-col--bad li { color: var(--muted); }
.compare-col--bad li::before { background: #c98b7e; }
.compare-col--good { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.compare-col--good::before { content: ""; position: absolute; }
.compare-col--good h3 { color: var(--teal-deep); }
.compare-col--good h3 .icon { color: #fff; background: var(--teal); }
.compare-col--good li { color: var(--ink-soft); }
.compare-col--good li::before { background: var(--teal); }

/* ═══════════ Serviços ═══════════ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}
.service {
  position: relative;
  padding: 1.75rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.service:hover::before { transform: scaleX(1); }
.service-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.1rem;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(15, 76, 92, 0.25);
}
.service-ic .icon { width: 1.55rem; height: 1.55rem; }
.service h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.4rem; }
.service p { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--muted); }

/* ═══════════ Blog ═══════════ */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.blog-item {
  border-bottom: 1px solid var(--line);
}
.blog-item:last-child { border-bottom: none; }
.blog-item-link {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.35rem);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s;
}
.blog-item-link:hover { background: var(--surface); }
.blog-item-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  background: var(--tint);
}
.blog-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.blog-item-link:hover .blog-item-media img { transform: scale(1.04); }
.blog-item-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: 0.5rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.blog-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--tint);
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
}
.blog-read {
  font-size: 0.78rem;
  color: var(--muted);
}
.blog-item h3 {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
  transition: color 0.25s;
}
.blog-item-link:hover h3 { color: var(--teal-deep); }
.blog-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
}
.blog-more .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.25s var(--ease); }
.blog-item-link:hover .blog-more .icon { transform: translateX(3px); }

/* ═══════════ Artigo (página interna) ═══════════ */
.article-page { padding-top: 6.5rem; padding-bottom: 4rem; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}
.article-back .icon { width: 1rem; height: 1rem; transform: rotate(180deg); }
.article-header { max-width: 42rem; margin-bottom: 2.5rem; }
.article-header .blog-card-meta { justify-content: flex-start; gap: 1rem; }
.article-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.85rem;
}
.article-deck {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
}
.article-body {
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.25rem 0 0.85rem;
  color: var(--ink);
}
.article-body p { margin: 0 0 1.15rem; }
.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.article-body li { margin-bottom: 0.45rem; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-cta {
  margin-top: 2.75rem;
  padding: 1.75rem 1.6rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.article-cta p { margin: 0 0 1rem; font-size: 0.98rem; line-height: 1.55; color: var(--ink-soft); }
.article-cta p:last-of-type { margin-bottom: 0; }

/* ═══════════ Método — path steps (numerais hero) ═══════════ */
.section--path {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, var(--tint-strong) 0%, transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
  overflow: hidden;
}

.path-track {
  position: relative;
  padding-top: 0.5rem;
  --path-digit-h: clamp(5rem, 9vw, 6.75rem);
}

.path-spine {
  position: absolute;
  top: calc(var(--path-digit-h) * 0.48);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: center;
  pointer-events: none;
  z-index: 0;
}

.path-spine-line {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--line-strong) 8%,
    var(--teal-muted) 50%,
    var(--line-strong) 92%,
    transparent 100%
  );
}

.path-spine-node {
  justify-self: center;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--line-strong);
  box-shadow: 0 0 0 4px var(--surface);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}

.path-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-step {
  position: relative;
  display: grid;
  grid-template-rows: var(--path-digit-h) 1fr;
  align-items: start;
  text-align: center;
}

.path-digit {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  width: 100%;
  height: 100%;
  font-family: var(--font-heading);
  font-size: clamp(4.25rem, 9vw, 7.25rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  margin-bottom: 0.35rem;
  transition:
    -webkit-text-stroke-color 0.45s var(--ease),
    transform 0.45s var(--ease),
    filter 0.45s var(--ease);
  user-select: none;
}

.path-step:hover .path-digit,
.path-step:focus-within .path-digit {
  -webkit-text-stroke-color: var(--teal);
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 8px 20px rgba(15, 76, 92, 0.12));
}

.path-step--finale .path-digit {
  -webkit-text-stroke: 0;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}
.path-step--finale:hover .path-digit,
.path-step--finale:focus-within .path-digit {
  filter: drop-shadow(0 10px 28px rgba(15, 76, 92, 0.22));
  transform: translateY(-8px) scale(1.03);
}

.path-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.45rem 1.55rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 251, 0.92) 100%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 24px rgba(11, 58, 71, 0.07);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.path-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, var(--tint-strong) 50%);
  pointer-events: none;
}

.path-step:hover .path-card,
.path-step:focus-within .path-card {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 16px 40px rgba(11, 58, 71, 0.12);
}

.path-step--finale .path-card {
  background: linear-gradient(155deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(7, 37, 47, 0.28);
}
.path-step--finale .path-card::after {
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.08) 50%);
}
.path-step--finale:hover .path-card,
.path-step--finale:focus-within .path-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 20px 48px rgba(7, 37, 47, 0.35);
}

.path-icon {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 1rem;
  color: var(--teal);
  background: var(--paper);
  border: 2px solid var(--teal-muted);
  border-radius: 50%;
  transition: background 0.35s var(--ease), border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.path-icon .icon { width: 1.25rem; height: 1.25rem; }

.path-step:hover .path-icon,
.path-step:focus-within .path-icon {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: rotate(-8deg) scale(1.06);
}

.path-step--finale .path-icon {
  color: var(--aqua-soft);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 224, 232, 0.45);
}
.path-step--finale:hover .path-icon,
.path-step--finale:focus-within .path-icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--aqua-soft);
  color: #fff;
}

.path-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--teal-dark);
}
.path-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.path-step--finale .path-body h3 { color: #fff; }
.path-step--finale .path-body p { color: rgba(255, 255, 255, 0.72); }

.path-track:has(.path-step:nth-child(1):hover) .path-spine-node:nth-child(2),
.path-track:has(.path-step:nth-child(2):hover) .path-spine-node:nth-child(3),
.path-track:has(.path-step:nth-child(3):hover) .path-spine-node:nth-child(4),
.path-track:has(.path-step:nth-child(4):hover) .path-spine-node:nth-child(5) {
  border-color: var(--teal);
  background: var(--teal);
  transform: scale(1.15);
}

/* ═══════════ Pacotes ═══════════ */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.package:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.package--featured {
  border: 1.5px solid var(--teal);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--surface), var(--paper) 30%);
}
.package-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 76, 92, 0.3);
}
.package-tier {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin: 0 0 0.35rem;
}
.package h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.package-for { font-size: 0.92rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.4rem; min-height: 2.7em; }
.package ul { display: flex; flex-direction: column; gap: 0.65rem; margin: 0 0 1.6rem; padding: 0; list-style: none; flex: 1; }
.package li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.93rem; line-height: 1.4; color: var(--ink-soft); }
.package li .icon { width: 1.05rem; height: 1.05rem; color: var(--teal); margin-top: 0.18rem; stroke-width: 2.5; }
.package .btn { width: 100%; justify-content: center; margin-top: auto; }

.btn--ghost-teal {
  color: var(--teal-deep);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost-teal:hover { color: var(--teal-deep); background: var(--tint); border-color: var(--teal-muted); }

/* ═══════════ Responsivo ═══════════ */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-block: calc(var(--nav-h) + 1.1rem) 3rem;
  }
  .hero-grid-layout { grid-template-columns: 1fr; gap: 2rem; align-items: start; }
  .hero-content { padding-bottom: 0; }
  .hero-visual { order: -1; max-width: min(440px, 100%); justify-self: center; margin-bottom: 0; }
  .hero-portrait { padding-left: 1.1rem; }
  .hero-portrait-media { max-height: min(64vh, 540px); }
  .hero-title { max-width: 14ch; }
  .hero-lead { max-width: 34ch; }
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .packages { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .package--featured { order: -1; }
  .pains, .services { grid-template-columns: repeat(2, 1fr); }
  .blog-item-link { grid-template-columns: minmax(160px, 220px) 1fr; }
  .path-spine { display: none; }
  .path-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hero-title { max-width: 12ch; }
}

@media (max-width: 620px) {
  .hero {
    padding-block: calc(var(--nav-h) + 0.85rem) 2.1rem;
  }
  .hero-grid-layout { gap: 1.25rem; }
  .hero-visual { max-width: min(390px, 100%); }
  .hero-portrait-media { max-height: min(52vh, 420px); }
  .hero-title { max-width: none; }
  .hero-lead { max-width: none; }
  .pains, .services { grid-template-columns: 1fr; }
  .blog-item-link {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .blog-item-media { max-height: 200px; }
  .path-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 3.25rem;
  }
  .path-step {
    display: block;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 2rem;
    margin-top: 0 !important;
  }
  .path-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: -2.05rem;
    top: clamp(3.5rem, 14vw, 4.5rem);
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--line-strong), var(--tint-strong));
  }
  .path-digit {
    position: absolute;
    left: -3.25rem;
    top: 0;
    display: block;
    width: auto;
    height: auto;
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    margin: 0;
    -webkit-text-stroke-width: 1.25px;
  }
  .path-step--finale .path-digit {
    -webkit-text-stroke: 0;
  }
  .path-card { clip-path: none; padding: 1.35rem 1.25rem; }
  .path-card::after { display: none; }
  .path-icon { margin-bottom: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 7.8vw, 2.2rem); }
  .hero-portrait { padding-left: 0.9rem; }
  .hero-portrait-media { max-height: min(44vh, 360px); aspect-ratio: 9 / 16; }
  .hero-portrait-media img { object-position: center 5%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; gap: 2rem; }
  .credentials .cred-block:last-child {
    align-items: flex-start;
    text-align: left;
    justify-self: stretch;
  }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.85rem); max-width: none; }
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .pains, .services { grid-template-columns: 1fr; }
  .blog-item-link {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .blog-item-media { max-height: 200px; }
  .path-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 3.25rem;
  }
  .path-step {
    display: block;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 2rem;
    margin-top: 0 !important;
  }
  .path-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: -2.05rem;
    top: clamp(3.5rem, 14vw, 4.5rem);
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--line-strong), var(--tint-strong));
  }
  .path-digit {
    position: absolute;
    left: -3.25rem;
    top: 0;
    display: block;
    width: auto;
    height: auto;
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    margin: 0;
    -webkit-text-stroke-width: 1.25px;
  }
  .path-step--finale .path-digit {
    -webkit-text-stroke: 0;
  }
  .path-card { clip-path: none; padding: 1.35rem 1.25rem; }
  .path-card::after { display: none; }
  .path-icon { margin-bottom: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-portrait { padding-left: 1rem; }
  .hero-portrait-media { max-height: min(68vh, 620px); aspect-ratio: 9 / 16; }
  .hero-portrait-media img { object-position: center 5%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
