/* =========================================================
   CACTUI DIGITAL — Landing Page
   Arquitetura: CSS puro (sem framework) · mobile-first
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:            #060a08;
  --bg-soft:       #080d0b;
  --surface:       #0b120f;
  --surface-2:     #0e1713;
  --line:          rgba(255, 255, 255, .075);
  --line-strong:   rgba(255, 255, 255, .14);

  --text:          #ecf3ef;
  --muted:         #94a49b;
  --muted-2:       #6b7c73;

  --brand:         #2fd98a;
  --brand-deep:    #12b573;
  --brand-ink:     #04120c;
  --brand-soft:    rgba(47, 217, 138, .1);

  --amber:         #f2b33d;
  --coral:         #f2613f;

  --radius:        18px;
  --radius-lg:     26px;
  --radius-pill:   999px;

  --shadow:        0 24px 60px -30px rgba(0, 0, 0, .9);
  --shadow-brand:  0 18px 44px -18px rgba(47, 217, 138, .45);

  --font:          "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display:  "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif:    "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  --header-h:      72px;
  --ease:          cubic-bezier(.22, .68, .18, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: rgba(47, 217, 138, .28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- 3. Layout ---------- */
.wrap {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.section--alt {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(47, 217, 138, .045), transparent 62%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.section--tight { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

/* ---------- 4. Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

.hero__title {
  font-size: clamp(2.35rem, 7.2vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.section__title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.hero__title em,
.section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--brand);
  padding-right: .02em;
}

.hero__sub,
.section__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  line-height: 1.65;
  max-width: 56ch;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brand);
}
.label::before {
  content: "";
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 7px 14px 7px 11px;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(47, 217, 138, .22);
  background: rgba(47, 217, 138, .055);
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .035em;
  color: #c6e6d6;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 217, 138, .16);
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-pad-y: .9rem;
  --btn-pad-x: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); flex: none; }

.btn--primary {
  background: linear-gradient(180deg, #45e79c 0%, #1cbf79 100%);
  color: var(--brand-ink);
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #57eeaa 0%, #21c982 100%);
  box-shadow: 0 22px 50px -16px rgba(47, 217, 138, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .025);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(47, 217, 138, .45);
  background: rgba(47, 217, 138, .07);
  transform: translateY(-2px);
}

.btn--sm { --btn-pad-y: .62rem; --btn-pad-x: 1.1rem; font-size: .84rem; }
.btn--block { width: 100%; }

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgba(6, 10, 8, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, 100% - 2.5rem);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  transition: opacity .25s;
}
.brand:hover { opacity: .88; }
.brand__mark {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55));
}
.brand__name {
  display: flex;
  align-items: baseline;
  gap: .34rem;
  line-height: 1;
  font-family: var(--font-display);
  font-size: 1rem;
}
.brand__main {
  font-weight: 700;
  letter-spacing: .13em;
}
.brand__sub {
  font-weight: 300;
  letter-spacing: .015em;
  color: #c3d2ca;
}

/* Nav desktop */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .8rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .8rem; right: .8rem; bottom: .28rem;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 0 11px;
  margin-right: -11px;
  background: none;
  border: 0;
  border-radius: 10px;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile drawer */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 6, 5, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.menu-backdrop.is-visible { opacity: 1; }

@media (max-width: 959px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: min(360px, 86vw);
    height: 100dvh;
    padding: 6rem 2rem 3rem;
    background: linear-gradient(180deg, #0a110e 0%, #070c0a 100%);
    border-left: 1px solid var(--line);
    transform: translateX(101%);
    visibility: hidden;
    transition: transform .42s var(--ease), visibility .42s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__link {
    padding: .9rem .2rem;
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .nav__link::after { display: none; }
  .nav__cta { align-self: flex-start; }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
  .burger, .menu-backdrop { display: none; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.6rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: clip;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 85% at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  z-index: 0;
  top: -14rem; right: -8rem;
  width: 42rem; height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 217, 138, .16) 0%, rgba(47, 217, 138, .05) 38%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.8rem, 6vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 40rem; }
.hero__sub { margin-top: 1.4rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero__note {
  margin-top: 1.35rem;
  font-size: .8rem;
  color: var(--muted-2);
  letter-spacing: .01em;
}
.hero__note span { margin-inline: .3rem; color: rgba(255, 255, 255, .22); }

/* Panel */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.panel {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(47, 217, 138, .09), transparent 60%),
    linear-gradient(165deg, #0d1512 0%, #080d0b 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(47, 217, 138, .35), transparent 38%, transparent 70%, rgba(255, 255, 255, .08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .95rem;
  border-bottom: 1px solid var(--line);
}
.panel__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfe0d7;
}
.panel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 217, 138, .13);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(47, 217, 138, .13); }
  50%      { box-shadow: 0 0 0 7px rgba(47, 217, 138, .04); }
}
.panel__tag {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}

.panel__score {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 0 1.35rem;
}
.ring {
  flex: none;
  width: 116px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0 98%, rgba(255, 255, 255, .07) 98% 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 34px -8px rgba(47, 217, 138, .4);
}
.ring__inner {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a100d;
  display: grid;
  place-content: center;
  text-align: center;
  gap: .1rem;
}
.ring__inner strong {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ring__inner span {
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.panel__score-title {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.panel__score-text {
  margin-top: .2rem;
  font-size: .76rem;
  line-height: 1.45;
  color: var(--muted-2);
}
.spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  margin-top: .7rem;
}
.spark i {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--brand), rgba(47, 217, 138, .16));
}
.spark i:nth-last-child(-n+2) { background: linear-gradient(180deg, #6cf0b4, rgba(47, 217, 138, .28)); }

.panel__bars {
  display: grid;
  gap: .85rem;
  padding: 1.1rem 0 1.25rem;
  border-top: 1px solid var(--line);
}
.meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .4rem;
  font-size: .74rem;
  color: var(--muted);
}
.meter__row b {
  font-size: .74rem;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.meter__track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}
.meter__track i {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, #14a96a, #4ae8a2);
}

.panel__foot {
  display: flex;
  justify-content: space-between;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.panel__foot-val { color: #b9cbc1; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(13, 21, 18, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -18px #000;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #dcebe3;
  animation: float 7s ease-in-out infinite;
}
.float-chip svg { color: var(--brand); }
.float-chip--1 { top: 1.35rem; right: -1.1rem; }
.float-chip--2 { bottom: 2.2rem; left: -1.3rem; animation-delay: -3.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* Metrics */
.metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.metric {
  padding: 1.15rem 1.25rem;
  background: rgba(8, 13, 11, .86);
}
.metric dt {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.metric dd {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  margin-top: .45rem;
}
.metric__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.metric__label {
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- 8. Strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .7rem 1rem;
  padding-block: 1.05rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip__inner i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(47, 217, 138, .5);
}
.strip__inner span:nth-child(n+4) { display: none; }
.strip__inner i:nth-of-type(n+3) { display: none; }

/* ---------- 9. Section head ---------- */
.section__head {
  max-width: 47rem;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
}
.section__lead { margin-top: 1.1rem; }

/* ---------- 10. Solution cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255, 255, 255, .035), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .004));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 1.6rem; right: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 217, 138, .55), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 217, 138, .28);
}
.card:hover::after { opacity: 1; }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.card__num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(47, 217, 138, .05);
  color: var(--brand);
  transition: background-color .3s, border-color .3s;
}
.card__icon svg { width: 21px; height: 21px; }
.card:hover .card__icon {
  background: rgba(47, 217, 138, .11);
  border-color: rgba(47, 217, 138, .3);
}
.card__title {
  font-size: 1.17rem;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.card__text {
  margin-top: .7rem;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--muted);
}
.card__list {
  display: grid;
  gap: .55rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.card__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .83rem;
  line-height: 1.5;
  color: #b9c9c0;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--brand);
  transform: rotate(45deg);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--brand);
}
.card__link span { transition: transform .25s var(--ease); }
.card__link:hover span { transform: translateX(4px); }

/* ---------- 11. Method ---------- */
.section__head--split { max-width: none; }
.section__head--split .section__lead { max-width: 34rem; }

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--brand);
  margin-bottom: .55rem;
}
.step__title {
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.step__text {
  margin-top: .45rem;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--muted);
}

.diff {
  display: grid;
  gap: 0;
  margin-top: clamp(2.6rem, 5vw, 3.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.diff__item {
  padding: 1.5rem 1.4rem;
  background: rgba(8, 13, 11, .9);
  transition: background-color .3s var(--ease);
}
.diff__item:hover { background: rgba(13, 22, 18, .95); }
.diff__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .98rem;
  letter-spacing: -.015em;
}
.diff__title svg {
  width: 19px; height: 19px;
  flex: none;
  color: var(--brand);
}
.diff__text {
  margin-top: .55rem;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 12. Cases ---------- */
.cases {
  display: grid;
  gap: 1rem;
}
.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .014);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.case:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 217, 138, .25);
}
.case__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 148px;
  padding: 1.1rem;
  overflow: hidden;
}
.case__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(90% 90% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(90% 90% at 70% 20%, #000, transparent 75%);
}
.case__visual--a { background: radial-gradient(120% 130% at 15% 110%, #0f7a4b 0%, #0a1a14 55%, #080d0b 100%); }
.case__visual--b { background: radial-gradient(120% 130% at 15% 110%, #8a5a10 0%, #1c160a 55%, #080d0b 100%); }
.case__visual--c { background: radial-gradient(120% 130% at 15% 110%, #8a2f1c 0%, #1e0f0b 55%, #080d0b 100%); }
.case__sector {
  position: relative;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.case__glyph {
  position: relative;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .14);
}
.case__body { padding: 1.35rem 1.4rem 1.5rem; }
.case__meta {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--brand);
}
.case__title {
  margin-top: .55rem;
  font-size: 1.02rem;
  line-height: 1.38;
  letter-spacing: -.018em;
}
.case__text {
  margin-top: .6rem;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1.1rem;
}
.tags li {
  padding: .26rem .6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .68rem;
  color: var(--muted);
}
.cases__note {
  margin-top: 1.6rem;
  font-size: .74rem;
  color: var(--muted-2);
}

/* ---------- 13. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.01em;
  list-style: none;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__icon {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer {
  padding-bottom: 1.25rem;
  max-width: 62ch;
}
.faq__answer p {
  font-size: .89rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 14. Contact ---------- */
.section--contact { overflow: clip; }
.section--contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 10%;
  width: 46rem; height: 30rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 217, 138, .1), transparent);
  pointer-events: none;
}
.contact {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(47, 217, 138, .07), transparent 55%),
    linear-gradient(170deg, #0c1411 0%, #080d0b 100%);
  box-shadow: var(--shadow);
}
.contact__copy .section__title { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }
.contact__copy .section__lead { margin-top: 1rem; font-size: .95rem; }

.contact__list {
  display: grid;
  gap: .7rem;
  margin-top: 1.8rem;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .87rem;
  color: #c3d3ca;
}
.contact__list svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: .17rem;
  color: var(--brand);
}

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact__direct a {
  font-size: .87rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.contact__direct a:hover { color: var(--brand); border-bottom-color: rgba(47, 217, 138, .5); }
.contact__place {
  margin-top: .6rem;
  font-size: .74rem;
  color: var(--muted-2);
}

/* Form */
.contact__form-wrap {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 8, 6, .55);
}
.form { display: grid; gap: .95rem; }
.form__row { display: grid; gap: .95rem; }

.field { display: grid; gap: .38rem; }
.field label {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  font-size: .9rem;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
}
.field input::placeholder { color: #586a61; }
.field input:hover,
.field select:hover { border-color: rgba(255, 255, 255, .2); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(47, 217, 138, .6);
  background: rgba(47, 217, 138, .04);
  box-shadow: 0 0 0 3px rgba(47, 217, 138, .1);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: rgba(242, 97, 63, .65); }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.4rem; cursor: pointer; }
.select-wrap svg {
  position: absolute;
  right: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field__error {
  min-height: 0;
  font-size: .72rem;
  color: #ff8f72;
}
.field__error:not(:empty) { margin-top: -.1rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: .15rem;
  cursor: pointer;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.check__box {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  margin-top: .12rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, .03);
  transition: background-color .2s, border-color .2s;
}
.check__box::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid var(--brand-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .18s var(--ease);
}
.check input:checked + .check__box {
  background: var(--brand);
  border-color: var(--brand);
}
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.check__text {
  font-size: .76rem;
  line-height: 1.5;
  color: var(--muted);
}
.check__text a {
  color: #cfe3d8;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(47, 217, 138, .5);
}
.check__text a:hover { color: var(--brand); }

.form__legal {
  font-size: .68rem;
  text-align: center;
  color: var(--muted-2);
}

.form__success[hidden] { display: none; }
.form__success {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  border: 1px solid rgba(47, 217, 138, .3);
  border-radius: 10px;
  background: rgba(47, 217, 138, .08);
  font-size: .8rem;
  line-height: 1.5;
  color: #c9e8d8;
}
.form__success svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; color: var(--brand); }
.form__success a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 15. Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #040806;
}
.footer__inner {
  display: grid;
  gap: 2.2rem;
  padding-block: clamp(2.8rem, 5vw, 4rem);
}
.footer__brand .brand__mark { width: 30px; }
.footer__brand .brand__name { font-size: .92rem; }
.footer__tagline {
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.footer__about {
  margin-top: .7rem;
  max-width: 30ch;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted-2);
}
.footer__title {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .9rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a,
.footer__col span {
  font-size: .84rem;
  color: var(--muted);
  transition: color .2s;
}
.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: .73rem;
  color: var(--muted-2);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--brand); }

/* ---------- 16. WhatsApp ---------- */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 54px;
  padding: 0 17px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #2ee08c, #12ab6c);
  color: #04140c;
  box-shadow: 0 14px 34px -12px rgba(18, 181, 115, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.wa svg { width: 25px; height: 25px; flex: none; }
.wa__label {
  display: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px -12px rgba(18, 181, 115, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* ---------- 17. Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Responsive ---------- */
@media (min-width: 600px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 1.25rem 1.15rem; }
  .metric + .metric { border-left: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .strip__inner span:nth-child(n+4) { display: inline; }
  .strip__inner i:nth-of-type(n+3) { display: block; }
  .wa { right: 24px; bottom: 24px; }
}

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:last-child { grid-column: 1 / -1; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 1.8rem 1.6rem 1.8rem 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .diff { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1fr; align-items: start; gap: 2.6rem; }
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: 1.05rem; }
  .hero__inner { grid-template-columns: 1.08fr .92fr; gap: 3rem; }
  .hero__visual { justify-self: end; }
  .section__head--split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3rem;
    align-items: end;
    max-width: none;
  }
  .section__head--split .section__lead { margin-top: 0; justify-self: end; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 1.8rem 1.5rem 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+2) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-bottom: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:last-child { grid-column: auto; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .case:last-child { grid-column: auto; }
  .diff { grid-template-columns: repeat(4, 1fr); }
  .diff__item + .diff__item { border-left: 1px solid var(--line); }
  .faq__wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }
  .faq__wrap .section__head { margin-bottom: 0; position: sticky; top: 110px; }
  .contact { grid-template-columns: .95fr 1.05fr; gap: 3.5rem; padding: 3rem; }
  .wa { height: 56px; padding: 0 20px; }
  .wa__label { display: inline; }
}

@media (min-width: 1120px) {
  .hero__inner { grid-template-columns: 1.12fr .88fr; }
  .hero__visual { max-width: 452px; }
  .contact { padding: 3.4rem; }
}

/* ---------- 19. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Fallback ---------- */
@media (hover: none) {
  .card:hover, .case:hover { transform: none; }
}

/* ---------- 21. Página legal ---------- */
.legal {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.legal__wrap { max-width: 760px; }
.legal__title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.legal__meta {
  margin-top: .7rem;
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.legal__lead {
  margin-top: 1.7rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: rgba(47, 217, 138, .035);
  font-size: .93rem;
  line-height: 1.7;
  color: #c6d6cd;
}
.legal__section {
  margin-top: 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.legal__section h2 {
  font-size: 1.06rem;
  letter-spacing: -.018em;
  margin-bottom: .75rem;
}
.legal__section p {
  font-size: .89rem;
  line-height: 1.72;
  color: var(--muted);
}
.legal__section p + p { margin-top: .8rem; }
.legal__section ul {
  display: grid;
  gap: .5rem;
  margin-top: .7rem;
}
.legal__section li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted);
}
.legal__section li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 4px; height: 4px;
  border-radius: 1px;
  background: var(--brand);
  transform: rotate(45deg);
}
.legal__section strong { color: #cfded6; font-weight: 600; }
.legal__section a,
.legal__lead a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(47, 217, 138, .45);
}
.legal__section a:hover { text-decoration-color: var(--brand); }
.legal__back {
  display: inline-block;
  margin-top: 2.6rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--brand);
  transition: transform .25s var(--ease);
}
.legal__back:hover { transform: translateX(-3px); }
