/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg: #12202f;
  --bg-mid: #1a2d42;
  --bg-card: #213348;
  --bg-card-h: #273d55;

  --border: rgba(255, 255, 255, 0.08);
  --border-a: rgba(0, 220, 192, 0.2);

  --cyan: #00dcc0;
  --cyan-dim: rgba(0, 220, 192, 0.09);
  --cyan-glow: rgba(0, 220, 192, 0.28);

  --white: #eef2f7;
  --soft: #b0bec8;
  --muted: #718090;
  --dim: #4a5a6a;

  --r: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --display: "Barlow", sans-serif;
  --body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--dim);
  border-radius: 2px;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-group.in > *:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.04s;
}

.reveal-group.in > *:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.13s;
}

.reveal-group.in > *:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.22s;
}

.reveal-group.in > *:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.31s;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.sec {
  padding: 88px 0;
}

.sec-alt {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── TIPOS ──────────────────────────────────────────────── */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
}

h2.title {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.subtitle {
  font-size: 15.5px;
  color: var(--soft);
  line-height: 1.78;
  max-width: 520px;
}

.sec-header {
  text-align: center;
  margin-bottom: 56px;
}

.sec-header .subtitle {
  margin: 0 auto;
}

/* ── BOTÕES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-main {
  background: var(--cyan);
  color: #061510;
  font-size: 14.5px;
  padding: 14px 28px;
}

.btn-main:hover {
  background: #0af6da;
  box-shadow: 0 0 28px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-line {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  padding: 12px 22px;
  border: 1px solid var(--border);
}

.btn-line:hover {
  border-color: rgba(0, 220, 192, 0.35);
  color: var(--cyan);
}

.btn-lg {
  font-size: 15.5px;
  padding: 16px 34px;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 32, 47, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
}

.l-app {
  color: var(--white);
}

.l-expert {
  color: var(--cyan);
}

.l-tld {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.04em;
  margin-left: 4px;
  border: 1px solid var(--dim);
  padding: 1px 5px;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--white);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 220, 192, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 220, 192, 0.032) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  top: -140px;
  left: 38%;
  transform: translateX(-50%);
  width: 800px;
  height: 580px;
  background: radial-gradient(
    ellipse,
    rgba(0, 220, 192, 0.065) 0%,
    rgba(30, 80, 160, 0.04) 45%,
    transparent 70%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-a);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5.8vw, 66px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan), #2cb5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--soft);
  line-height: 1.78;
  max-width: 600px;
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--dim);
}

/* ── CREDENCIAIS ─────────────────────────────────────────── */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cred-text h2 {
  margin-bottom: 16px;
}

.cred-text p {
  font-size: 15.5px;
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 30px;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--white);
  line-height: 1.55;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--border-a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-dot svg {
  width: 9px;
  height: 9px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cred-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.cred-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #2cb5ff, transparent 80%);
}

.cred-row {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}

.cred-row:last-child {
  border-bottom: none;
}

.cred-n {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.cred-l {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── SERVIÇOS ────────────────────────────────────────────── */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card-s {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.card-s::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #2cb5ff);
  opacity: 0;
  transition: opacity 0.22s;
}

.card-s:hover {
  border-color: var(--border-a);
  background: var(--bg-card-h);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
}

.card-s:hover::after {
  opacity: 1;
}

.card-s-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-s-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-s h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-s p {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.75;
}

/* card largo */
.card-s.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 32px;
  align-items: start;
  padding: 38px 36px;
}

.card-s.wide .card-s-icon {
  margin-bottom: 0;
}

.card-s.wide .card-s-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ── PARA QUEM ───────────────────────────────────────────── */
.audiencias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.aud {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
  transition: border-color 0.2s;
}

.aud:hover {
  border-color: var(--border-a);
}

.aud-icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
  filter: grayscale(20%);
}

.aud h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}

.aud p {
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.7;
}

/* ── METODOLOGIA ─────────────────────────────────────────── */
.steps {
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child {
  border-bottom: none;
}

.step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-a);
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.step-line {
  width: 1px;
  flex: 1;
  min-height: 32px;
  background: var(--border);
}

.step:last-child .step-line {
  display: none;
}

.step h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--soft);
  line-height: 1.78;
}

/* ── FORM ────────────────────────────────────────────────── */
.form-sec {
  position: relative;
  overflow: hidden;
}

.form-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.55;
}

.form-sec::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 56% 60% at 72% 50%,
      rgba(0, 220, 192, 0.065),
      transparent 68%
    ),
    radial-gradient(
      ellipse 38% 45% at 26% 50%,
      rgba(44, 100, 220, 0.05),
      transparent 70%
    );
}

.form-sec .container {
  position: relative;
  z-index: 1;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.form-copy h2 {
  margin-bottom: 14px;
}

.form-copy p {
  font-size: 15px;
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 28px;
}

.form-card {
  background: rgba(18, 32, 47, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: 42px 38px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), #2cb5ff, transparent 75%);
}

.fgroup {
  margin-bottom: 16px;
}

.fgroup label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.fgroup input,
.fgroup select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.fgroup input::placeholder {
  color: var(--dim);
}

.fgroup input:focus,
.fgroup select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

.fgroup select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23718090' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}

.fgroup select option {
  background: #213348;
}

.btn-send {
  width: 100%;
  background: var(--cyan);
  color: #061510;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-send:hover {
  background: #0af6da;
  box-shadow: 0 0 28px var(--cyan-glow);
  transform: translateY(-1px);
}

.form-obs {
  text-align: center;
  font-size: 11.5px;
  color: var(--dim);
  margin-top: 14px;
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--dim);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .cred-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .card-s.wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .card-s.wide .card-s-icon {
    margin-bottom: 18px;
  }

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

  .form-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 72px 0 88px;
  }

  .sec {
    padding: 64px 0;
  }

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

  .form-card {
    padding: 28px 20px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
