/* BIFURCA Landing Page ? identidade do Brandbook v1.0
   Cores: Asfalto / Areia / Corte / Mar? El?trica
   Tipo: Inter ? EB Garamond ? IBM Plex Mono
*/

:root {
  --asfalto: #121212;
  --areia: #f2ebdd;
  --areia-2: #e8dfcf;
  --corte: #ff5a36;
  --corte-deep: #e64420;
  --mare: #3857ff;
  --ink-soft: rgba(18, 18, 18, 0.72);
  --ink-mute: rgba(18, 18, 18, 0.68);
  --line: rgba(18, 18, 18, 0.12);
  --line-strong: rgba(18, 18, 18, 0.22);
  --white: #ffffff;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--asfalto);
  background: var(--areia);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--corte);
  color: var(--white);
  padding: 0.65rem 1rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ink-mute);
  margin: 0 0 0.85rem;
}

.accent-corte {
  color: var(--corte);
}

/* ?? Header (Jakob's Law: padr?o familiar) ?? */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--areia) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--areia) 94%, transparent);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:not(.nav-cta) {
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a:not(.nav-cta):hover {
  color: var(--asfalto);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--asfalto);
  color: var(--areia) !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--corte);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--asfalto);
  transition: transform 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--areia);
  border-bottom: 1px solid var(--line);
}
.menu-mobile[hidden] {
  display: none;
}
.menu-mobile a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.menu-mobile a:last-child {
  border: 0;
  color: var(--corte);
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .menu-mobile { display: none !important; }
}

/* ?? Buttons (Fitts: alvos generosos; Corte = decis?o) ?? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 2px solid var(--mare);
  outline-offset: 3px;
}
.btn-corte {
  background: var(--corte);
  color: var(--white);
}
.btn-corte:hover {
  background: var(--corte-deep);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--asfalto);
}
.btn-ghost:hover {
  border-color: var(--asfalto);
}
.btn-block {
  width: 100%;
}

/* ?? Hero: full-bleed, brand first, or?amento limpo ?? */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 75% 35%, color-mix(in srgb, var(--mare) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 80%, color-mix(in srgb, var(--corte) 16%, transparent), transparent 65%),
    linear-gradient(165deg, var(--areia) 0%, #ebe3d2 45%, #ddd3c0 100%);
}

.hero-visual {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: min(78vw, 820px);
  opacity: 0.92;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--areia) 92%, transparent) 0%, color-mix(in srgb, var(--areia) 55%, transparent) 42%, transparent 70%),
    linear-gradient(0deg, var(--areia) 0%, transparent 28%);
}

.route-motion {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  width: 100%;
  height: 42%;
  opacity: 0.55;
  pointer-events: none;
}
.route-path {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
  animation: route-flow 12s linear infinite;
}
.route-a { stroke: var(--corte); opacity: 0.85; }
.route-b { stroke: var(--mare); opacity: 0.7; animation-duration: 16s; animation-direction: reverse; }
.route-c { stroke: var(--asfalto); opacity: 0.35; animation-duration: 20s; }

@keyframes route-flow {
  to { stroke-dashoffset: -220; }
}
@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, -1.5%, 0) scale(1.03); }
}

.hero-content {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  animation: rise 0.9s var(--ease) both;
}

/* Coluna de texto alinhada ao shell (mesmo respiro das seções) */
.hero-content > * {
  max-width: 34rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.brand-signal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.5rem;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.03em;
}
.brand-signal img {
  width: 1.65rem;
  height: 1.65rem;
}
.brand-signal-sep {
  width: 1px;
  height: 1.1rem;
  background: var(--line-strong);
}
.brand-signal-desc {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0;
  color: var(--ink-mute);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--corte);
}

.hero-support {
  margin: 0 0 1.85rem;
  max-width: 28rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ?? Sections ?? */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.section-head.light h2,
.section-head.light .lede {
  color: var(--areia);
}
.section-head.light .eyebrow {
  color: color-mix(in srgb, var(--areia) 55%, transparent);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.lede {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.lede.narrow {
  max-width: 34rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .split.reverse .split-copy { order: 2; }
  .split.reverse .split-media { order: 1; }
}

.split-media img {
  width: 100%;
  mix-blend-mode: multiply;
}

.pain-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.pain-list li {
  padding: 0.95rem 0 0.95rem 1rem;
  border-left: 3px solid var(--corte);
  background: color-mix(in srgb, var(--white) 45%, transparent);
}
.pain-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

/* POV */
.pov {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--areia-2) 70%, var(--areia)), var(--areia));
  border-block: 1px solid var(--line);
}
.pov-title {
  max-width: 48rem;
  margin-bottom: 2.5rem;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.pov-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--mare);
}
.pov-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 800px) {
  .pov-grid { grid-template-columns: repeat(3, 1fr); }
}
.pov-item {
  background: var(--areia);
  padding: 1.75rem 1.5rem;
}
.pov-item .mono {
  color: var(--corte);
  display: block;
  margin-bottom: 0.75rem;
}
.pov-item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.pov-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Method track — movimento limpo e sincronizado */
.method {
  background: var(--asfalto);
  color: var(--areia);
}
.method .eyebrow { color: color-mix(in srgb, var(--areia) 50%, transparent); }
.method .lede { color: color-mix(in srgb, var(--areia) 72%, transparent); }
.method h2 { color: var(--areia); }

.method-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  line-height: 1.15;
}
.method-word {
  display: inline-block;
  color: color-mix(in srgb, var(--areia) 88%, transparent);
  transition: color 0.5s var(--ease);
}
.method-arrow {
  display: inline-block;
  color: color-mix(in srgb, var(--areia) 28%, transparent);
  font-weight: 400;
  transition: color 0.5s var(--ease), opacity 0.5s var(--ease);
}
.method-word.is-current {
  color: var(--word-color, var(--corte));
}
.method-arrow.is-active {
  color: var(--word-color, var(--corte));
  opacity: 1;
}

.method-track-wrap {
  position: relative;
}

.method-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .method-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

/* Um único ponto percorrendo o trilho */
.method-flow {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
}
@media (min-width: 900px) {
  .method-flow { display: block; }
}
.method-flow-bead {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  margin-top: -2.5px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--bead-color, var(--corte));
  opacity: 0;
  transform: scale(0.7);
  transition:
    left 0.75s var(--ease),
    background-color 0.4s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  box-shadow: 0 0 0 0 transparent;
}
.method.is-live .method-flow-bead {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bead-color, var(--corte)) 22%, transparent);
}

.method-step {
  --step-color: var(--corte);
  position: relative;
  padding: 1.45rem 1.15rem 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    background-color 0.45s var(--ease);
}
.method-step.is-in {
  opacity: 1;
  transform: none;
}
.method-step:nth-child(1) { transition-delay: 0.04s; }
.method-step:nth-child(2) { transition-delay: 0.1s; }
.method-step:nth-child(3) { transition-delay: 0.16s; }
.method-step:nth-child(4) { transition-delay: 0.22s; }
.method-step:nth-child(5) { transition-delay: 0.28s; }

.method-rail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: color-mix(in srgb, var(--areia) 14%, transparent);
  overflow: hidden;
  pointer-events: none;
}
.method-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--step-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s var(--ease);
}
.method-step.is-in .method-rail::before {
  transform: scaleX(1);
}
.method-step:nth-child(1) .method-rail::before { transition-delay: 0.2s; }
.method-step:nth-child(2) .method-rail::before { transition-delay: 0.32s; }
.method-step:nth-child(3) .method-rail::before { transition-delay: 0.44s; }
.method-step:nth-child(4) .method-rail::before { transition-delay: 0.56s; }
.method-step:nth-child(5) .method-rail::before { transition-delay: 0.68s; }

.method-step.is-current {
  background: color-mix(in srgb, var(--step-color) 7%, transparent);
}
.method-step.is-current .method-rail::before {
  box-shadow: 0 0 10px color-mix(in srgb, var(--step-color) 35%, transparent);
}

.method-num {
  display: block;
  color: var(--corte);
  margin-bottom: 0.85rem;
  transition: color 0.4s var(--ease);
}
.method-step.is-current .method-num {
  color: var(--step-color);
}
.method-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.method-step p {
  margin: 0;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--areia) 68%, transparent);
  line-height: 1.45;
}
/* Paths */
.path-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.path-row {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.path-row.is-in {
  opacity: 1;
  transform: none;
}
.path-row .mono {
  color: var(--mare);
  display: block;
  margin-bottom: 0.4rem;
}
.path-row h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.025em;
}
.path-row > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.path-row img {
  width: 140px;
  justify-self: start;
  mix-blend-mode: multiply;
  opacity: 0.9;
}
@media (min-width: 800px) {
  .path-row {
    grid-template-columns: 1.2fr 1fr auto;
    gap: 2rem;
  }
  .path-row img {
    width: 160px;
    justify-self: end;
  }
}

/* Proof */
.proof {
  background:
    linear-gradient(145deg, #0e0e0e 0%, #1a1a1a 50%, #151820 100%);
  color: var(--areia);
  position: relative;
  overflow: hidden;
}
.proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, color-mix(in srgb, var(--corte) 22%, transparent), transparent),
    radial-gradient(ellipse 40% 50% at 10% 80%, color-mix(in srgb, var(--mare) 18%, transparent), transparent);
  pointer-events: none;
}
.proof .shell { position: relative; }

.metrics {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .metrics { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.metric {
  padding-top: 1rem;
  border-top: 2px solid var(--corte);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.metric.is-in {
  opacity: 1;
  transform: none;
}
.metric:nth-child(2) { border-top-color: var(--mare); transition-delay: 0.08s; }
.metric:nth-child(3) { border-top-color: var(--areia); transition-delay: 0.16s; }
.metric-value {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-suffix {
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--corte);
  margin-left: 0.15rem;
}
.metric-label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--areia) 65%, transparent);
  max-width: 16rem;
}

.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--areia) 12%, transparent);
}
.logos-strip img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.35) contrast(0.85);
  opacity: 0.72;
  transition: opacity 0.25s, filter 0.25s;
}
.logos-strip img:hover {
  opacity: 1;
  filter: none;
}

/* Sprint */
.check-list {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--corte);
  border-radius: 50%;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  font-family: var(--mono);
  color: var(--corte);
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "?"; }
.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* CTA */
.cta-block {
  background:
    linear-gradient(120deg, var(--areia) 0%, #ebe2d0 40%, color-mix(in srgb, var(--mare) 8%, var(--areia)) 100%);
  border-top: 1px solid var(--line);
}
.cta-shell {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .cta-shell {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}
.cta-trust {
  margin: 1.5rem 0 0;
  color: var(--ink-mute);
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border: 1px solid var(--line);
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line-strong);
  background: var(--areia);
  padding: 0.85rem 0.95rem;
  color: var(--asfalto);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mare);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mare) 22%, transparent);
}
.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--corte);
}
.form-note {
  margin: 0;
  color: var(--ink-mute);
  text-align: center;
}
.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-weight: 600;
  color: var(--mare);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--asfalto);
  color: var(--areia);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--areia) 12%, transparent);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-logo {
  width: min(220px, 70vw);
  height: auto;
}
.footer-tag {
  margin: 0.85rem 0 0.35rem;
  color: color-mix(in srgb, var(--areia) 65%, transparent);
  font-size: 0.92rem;
}
.footer-slogan {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.footer-slogan em {
  font-style: italic;
  color: var(--corte);
}
.footer-label {
  color: var(--corte);
  margin: 0 0 0.85rem;
}
.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 0.45rem;
  color: color-mix(in srgb, var(--areia) 75%, transparent);
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: var(--areia);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
}
.footer-bottom p {
  margin: 0;
  color: color-mix(in srgb, var(--areia) 45%, transparent);
  font-size: 0.72rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}


/* ===== AUDIT FIXES: a11y / responsive / conversion / motion ===== */

:focus-visible {
  outline: 2px solid var(--mare);
  outline-offset: 3px;
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.optional {
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.field-error {
  margin: 0;
  min-height: 1rem;
  font-size: 0.78rem;
  color: var(--corte-deep);
}

.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field-check .check-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-check input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--corte);
  flex: 0 0 auto;
}
.field-check a {
  color: var(--mare);
  text-decoration: underline;
}

.form-actions {
  display: grid;
  gap: 0.65rem;
}

.privacy-note {
  padding: 1rem 0 0.25rem;
  color: color-mix(in srgb, var(--areia) 55%, transparent);
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 52rem;
}
.privacy-note strong { color: var(--areia); }

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

/* Sticky conversion bar (mobile / tablet) � discreta, diagn�stico em destaque */
.sticky-cta {
  position: fixed;
  left: 0.65rem;
  right: 0.65rem;
  bottom: calc(0.55rem + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  max-width: 28rem;
  margin-inline: auto;
  background: color-mix(in srgb, var(--asfalto) 88%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--areia) 14%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.sticky-cta[hidden] { display: none !important; }
.sticky-cta .btn {
  min-height: 2.45rem;
  font-size: 0.8rem;
  padding: 0.45rem 0.7rem;
  transform: none;
}
.sticky-cta .btn:hover { transform: none; }
.sticky-cta .btn-corte {
  flex: 1.35;
}
.sticky-cta .sticky-wa {
  flex: 0.75;
  border-color: color-mix(in srgb, var(--areia) 28%, transparent);
  color: var(--areia);
  font-weight: 600;
  background: transparent;
}
body { padding-bottom: 0; }
body:has(.sticky-cta:not([hidden])) {
  padding-bottom: calc(3.6rem + env(safe-area-inset-bottom));
}

.menu-mobile .nav-cta-mobile {
  margin-top: 0.5rem;
  background: var(--corte);
  color: var(--white);
  text-align: center;
  padding: 0.95rem !important;
  border: 0 !important;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .method-step,
  .metric {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-visual,
  .route-path {
    animation: none !important;
  }
  .method-rail::before {
    transform: scaleX(1) !important;
  }
  .method-flow-bead {
    transition: none !important;
  }
}

/* Tablet: simplify nav */
@media (max-width: 1100px) and (min-width: 900px) {
  .nav .nav-secondary { display: none; }
}

/* Phones */
@media (max-width: 720px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
    --header-h: 3.75rem;
  }
  .hero {
    min-height: auto;
    align-items: start;
  }
  .hero-content {
    padding: calc(var(--header-h) + 1.75rem) 0 3rem;
  }
  .hero-content > * {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }
  .hero-visual {
    opacity: 0.55;
    width: min(100vw, 560px);
    right: -18%;
    bottom: auto;
    top: 12%;
  }
  .brand-signal-desc { display: none; }
  .section { padding: 3.25rem 0; }
  .path-row img,
  .hide-compact { display: none !important; }
  .logos-strip {
    gap: 1rem 1.25rem;
    justify-content: flex-start;
  }
  .logos-strip img:nth-child(n + 5) { display: none; }
  .cta-group { width: 100%; }
  .cta-group .btn { flex: 1 1 100%; }
  .method-step { padding-inline: 0; }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-secondary { display: none; }
  .hero-support { font-size: 0.98rem; }
  .pov-title { font-size: 1.35rem; }
  .metric-value { font-size: 2.4rem; }
  .lead-form { padding: 1.1rem; }
  .footer-slogan { font-size: 1.05rem; }
  .route-motion { display: none; }
}

/* Smartwatch / ultra-narrow */
@media (max-width: 320px) {
  :root {
    --shell: calc(100% - 0.75rem);
    --header-h: 3.25rem;
  }
  .brand img { width: 108px; }
  .brand-signal span:not(.brand-signal-desc) { font-size: 1rem; }
  .brand-signal img { width: 1.15rem; height: 1.15rem; }
  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.05;
  }
  .hero-support,
  .hide-watch,
  .hero-visual,
  .route-motion,
  .eyebrow,
  .logos-strip,
  .path-list img,
  .split-media,
  .nav-secondary,
  .proof .lede,
  .cta-trust { display: none !important; }
  .section { padding: 1.75rem 0; }
  .btn { min-height: 2.6rem; font-size: 0.82rem; padding: 0.55rem 0.7rem; }
  .method-step p { font-size: 0.8rem; }
  h2 { font-size: 1.25rem; }
  .sticky-cta .sticky-wa { display: none; }
  .faq-item:nth-child(n + 3) { display: none; }
  .path-row:nth-child(n + 4) { display: none; }
  .pov-item:nth-child(n + 3) { display: none; }
  .pain-list li:nth-child(n + 3) { display: none; }
  .site-footer { padding: 2rem 0 1rem; }
  .footer-grid > div:nth-child(2) { display: none; }
}

/* Large tablets landscape */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content > * { max-width: 28rem; }
  .method-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.25rem;
  }
  .method-step:last-child {
    grid-column: 1 / -1;
  }
}

/* TV / projector / large desktop */
@media (min-width: 1440px) {
  :root {
    --shell: min(1280px, calc(100% - 4rem));
  }
  body { font-size: 1.05rem; }
  .hero h1 { font-size: clamp(3.5rem, 5vw, 5rem); }
  .hero-content { padding-bottom: 5.5rem; }
  .hero-content > * { max-width: 40rem; }
}

@media (min-width: 900px) {
  .sticky-cta { display: none !important; }
}

@media (min-width: 1920px) {
  :root {
    --shell: min(1440px, calc(100% - 6rem));
    --header-h: 4.75rem;
  }
  body { font-size: 1.125rem; }
  .section { padding: clamp(5rem, 8vh, 8rem) 0; }
  .btn { min-height: 3.25rem; font-size: 1rem; }
}

@media (min-width: 2560px) {
  :root { --shell: min(1680px, calc(100% - 8rem)); }
  .hero-content > * { max-width: 48rem; }
  h2 { font-size: clamp(2.5rem, 3vw, 3.5rem); }
}

/* High-contrast / forced colors */
@media (forced-colors: active) {
  .btn, .nav-cta, .pain-list li, .method-step {
    border: 1px solid CanvasText;
  }
}

/* Touch: avoid hover-only affordances */
@media (hover: none) {
  .logos-strip img {
    opacity: 0.9;
    filter: grayscale(0.3) brightness(1.2);
  }
  .btn:hover { transform: none; }
}
