/* ============================================================
   LUMOVA · Página de Serviços
   Paleta e tipografia: BRAND_OS/logo/lumova_brand_kit/05_documentacao/guia_identidade_visual_lumova.md
   ============================================================ */

:root {
  /* Paleta oficial */
  --azul-noite: #001226;      /* cor-mãe, fundos */
  --azul-profundo: #061A33;   /* superfícies secundárias */
  --azul-luminoso: #4B7DFF;   /* acento tecnológico */
  --laranja: #FF6B1A;         /* acento de ação */
  --branco-neve: #F7FAFF;     /* texto em dark mode */
  --cinza-lavanda: #8C95B8;   /* texto secundário */

  /* Derivados */
  --line: rgba(140, 149, 184, 0.16);
  --line-strong: rgba(140, 149, 184, 0.28);
  --card: rgba(6, 26, 51, 0.6);
  --text-soft: #B6BDD6;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--azul-noite);
  color: var(--branco-neve);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* ── Elementos base ─────────────────────────────── */

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  vertical-align: middle;
}
.dot--orange { background: var(--laranja); }
.dot--blue { background: var(--azul-luminoso); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--laranja);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.kicker::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.kicker--blue { color: var(--azul-luminoso); }

.lead {
  color: var(--cinza-lavanda);
  font-size: 1.075rem;
  max-width: 560px;
  margin: 20px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--laranja); color: var(--azul-noite); }
.btn--primary:hover { background: #FF8540; }
.btn--ghost { border-color: var(--line-strong); color: var(--branco-neve); }
.btn--ghost:hover { border-color: var(--azul-luminoso); color: var(--azul-luminoso); }
.btn--sm { padding: 10px 18px; font-size: 0.875rem; }

/* ── Header ─────────────────────────────────────── */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 18, 38, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 96px;
}
.header__logo img { height: 88px; width: auto; margin-left: -14px; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: var(--cinza-lavanda); font-size: 0.9rem; transition: color 0.2s; }
.nav a:hover { color: var(--branco-neve); }

.menu-toggle { display: none; }

/* ── Hero ───────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 184px 0 112px;
  background:
    radial-gradient(ellipse 55% 50% at 85% 35%, rgba(75, 125, 255, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 40% at 10% 90%, rgba(255, 107, 26, 0.07), transparent 65%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 149, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 149, 184, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.035em;
}
.hero__title em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(90deg, var(--laranja), #FFA066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  color: var(--cinza-lavanda);
  font-size: 1.125rem;
  max-width: 540px;
  margin: 28px 0 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Visual de fluxo */
.flow {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(6, 26, 51, 0.9), rgba(0, 18, 38, 0.6));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.flow__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.flow__label { color: var(--cinza-lavanda); letter-spacing: 0.12em; text-transform: uppercase; }
.flow__steps {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  position: relative;
}
.flow__steps::before {
  content: '';
  position: absolute;
  left: 7px; top: 36px; bottom: 36px;
  width: 1px;
  background: linear-gradient(var(--laranja), var(--azul-luminoso), var(--branco-neve));
  opacity: 0.35;
}
.flow__step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  position: relative;
}
.flow__step strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.3; color: var(--text-soft); }
.flow__step mark { background: none; font-weight: 600; }
.flow__step:nth-child(1) mark { color: var(--laranja); }
.flow__step:nth-child(2) mark { color: var(--azul-luminoso); }
.flow__step:nth-child(3) mark { color: var(--branco-neve); }
.flow__node {
  position: relative;
  z-index: 1;
  flex: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 3px solid var(--azul-noite);
}
.flow__node--orange { background: var(--laranja); box-shadow: 0 0 0 1px var(--laranja), 0 0 18px rgba(255, 107, 26, 0.5); }
.flow__node--blue { background: var(--azul-luminoso); box-shadow: 0 0 0 1px var(--azul-luminoso), 0 0 18px rgba(75, 125, 255, 0.5); }
.flow__node--white { background: var(--branco-neve); box-shadow: 0 0 0 1px var(--branco-neve), 0 0 18px rgba(247, 250, 255, 0.35); }
.flow__bar {
  height: 3px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.flow__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--laranja), var(--azul-luminoso));
  animation: flowbar 3.6s var(--ease) infinite;
}

@keyframes flowbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

/* ── Clientes (marquee) ─────────────────────────── */

.clients {
  padding: 48px 0 56px;
  border-block: 1px solid var(--line);
  background: rgba(6, 26, 51, 0.35);
}
.clients__title {
  margin: 0 0 28px;
  text-align: center;
  color: var(--cinza-lavanda);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  align-items: center;
  gap: 72px;
  margin: 0;
  padding: 0 36px;
  list-style: none;
}
.marquee__list li {
  display: flex;
  align-items: center;
  height: 64px;
}
.marquee__list img {
  height: var(--h, 48px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.15);
  transition: opacity 0.25s, filter 0.25s;
}
.marquee__list li:hover img { opacity: 1; filter: none; }
/* Logo com fundo branco próprio (sem versão para fundo escuro) */
.logo-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.logo-chip img { opacity: 1 !important; filter: none !important; }
.marquee__list li:hover .logo-chip { opacity: 1; }

/* Logo com legenda abaixo */
.marquee__list li.logo-caption {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  height: 96px;
}
.logo-caption span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(247, 250, 255, 0.75);
  white-space: nowrap;
}

.marquee__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(247, 250, 255, 0.42);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Seções ─────────────────────────────────────── */

.section { padding: 120px 0; }
.section--tight { padding: 96px 0; }
.section--surface {
  background: var(--azul-profundo);
  border-block: 1px solid var(--line);
}
.section__head { max-width: 640px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker::before { display: none; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Cenário: dado de destaque */
.stat {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 44px 40px;
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 107, 26, 0.1), transparent 60%),
    var(--card);
}
.stat__number {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--laranja);
}
.stat__text { margin: 0; font-size: 1.2rem; line-height: 1.5; color: var(--branco-neve); max-width: 34ch; }
.stat__source { margin: -4px 0 0; font-size: 0.78rem; color: var(--cinza-lavanda); }
.stat__source cite { font-style: italic; }
.stat__ask { margin: 8px 0 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-soft); }

/* Pilares */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pillar {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 18, 38, 0.55);
}
.pillar__index {
  display: block;
  margin-bottom: 40px;
  color: var(--cinza-lavanda);
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.pillar h3 { font-size: 1.75rem; font-weight: 400; margin-bottom: 12px; }
.pillar:nth-child(1) h3 { color: var(--laranja); }
.pillar:nth-child(2) h3 { color: var(--azul-luminoso); }
.pillar p { margin: 0; color: var(--cinza-lavanda); }

/* Serviços */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--laranja), var(--azul-luminoso));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -30px rgba(75, 125, 255, 0.35);
}
.service:hover::before { transform: scaleX(1); }
.service--featured {
  background: linear-gradient(170deg, rgba(75, 125, 255, 0.1), rgba(6, 26, 51, 0.6) 55%);
  border-color: rgba(75, 125, 255, 0.28);
}
.service__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.service__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 149, 184, 0.55);
}
.service__tag {
  padding: 5px 12px;
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: 999px;
  color: var(--laranja);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.service h3 { font-size: 1.45rem; margin-bottom: 16px; }
.service__desc { margin: 0 0 24px; color: var(--cinza-lavanda); font-size: 0.95rem; }
.service__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--azul-luminoso);
}
.service__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--branco-neve);
  font-size: 0.92rem;
  font-weight: 500;
}
.service__link svg { width: 16px; height: 16px; fill: none; stroke: var(--laranja); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.service__link:hover svg { transform: translateX(4px); }

/* Stepper */
.stepper {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0, 18, 38, 0.6);
}
.stepper__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.stepper__count { font-family: var(--font-display); color: var(--cinza-lavanda); font-size: 0.9rem; white-space: nowrap; }
.stepper__count b { color: var(--branco-neve); font-weight: 500; }
.stepper__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stepper__bar span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--laranja), var(--azul-luminoso));
  transition: width 0.5s var(--ease);
}
.stepper__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.stepper__list button {
  width: 100%;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--cinza-lavanda);
  font: 500 0.88rem var(--font-sans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.stepper__list button span { font-family: var(--font-display); font-size: 0.75rem; opacity: 0.7; }
.stepper__list button:hover { color: var(--branco-neve); border-color: var(--line-strong); }
.stepper__list button.is-active {
  color: var(--branco-neve);
  border-color: rgba(255, 107, 26, 0.5);
  background: rgba(255, 107, 26, 0.06);
}
.stepper__list button.is-active span { color: var(--laranja); opacity: 1; }
.stepper__panel { min-height: 118px; }
.stepper__panel h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 10px; }
.stepper__panel p { margin: 0; color: var(--cinza-lavanda); }
.stepper__panel.is-changing { animation: fadeSwap 0.4s var(--ease); }

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

/* WhatsApp */
.whats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 40px;
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 50% 140% at 0% 50%, rgba(37, 211, 102, 0.1), transparent 60%),
    var(--azul-profundo);
}
.whats__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.whats__icon svg { width: 30px; height: 30px; fill: #25D366; }
.whats__copy { flex: 1; }
.whats__copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.whats__copy p { margin: 6px 0 0; color: var(--cinza-lavanda); }
.btn--whats { background: #25D366; color: #04210F; }
.btn--whats:hover { background: #3BE07A; }

/* CTA */
.cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 107, 26, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 50% at 50% 0%, rgba(75, 125, 255, 0.1), transparent 70%);
  border-top: 1px solid var(--line);
}
.cta__inner { max-width: 760px; }
.cta .kicker::before { display: none; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 300; }
.cta .lead { margin-inline: auto; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cta__mail { margin: 24px 0 0; color: var(--cinza-lavanda); font-size: 0.9rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand img { width: 300px; height: auto; margin-left: -16px; }
.footer__brand p { margin: 8px 0 0; color: var(--cinza-lavanda); font-size: 0.9rem; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols h4 {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cinza-lavanda);
}
.footer__cols a { display: block; margin-bottom: 10px; font-size: 0.92rem; color: var(--text-soft); transition: color 0.2s; }
.footer__cols a:hover { color: var(--branco-neve); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--cinza-lavanda);
  font-size: 0.82rem;
}
.footer__tagline { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.7rem; }

/* Formulário de contato (modal) */
body.modal-open { overflow: hidden; }

.modal {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--azul-profundo);
  color: var(--branco-neve);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.7);
  overflow: auto;
}
.modal::backdrop {
  background: rgba(0, 10, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal[open] { animation: modalIn 0.35s var(--ease); }
.modal__box { position: relative; padding: 44px 40px 40px; }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--cinza-lavanda);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.modal__close:hover { color: var(--branco-neve); border-color: var(--line-strong); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.form .kicker { margin-bottom: 14px; }
.form h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); padding-right: 40px; }
.form__intro { margin: 10px 0 28px; color: var(--cinza-lavanda); font-size: 0.95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 0.82rem; font-weight: 500; color: var(--text-soft); }
.field small { font-weight: 400; color: var(--cinza-lavanda); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 18, 38, 0.7);
  color: var(--branco-neve);
  font: 400 0.95rem var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cinza-lavanda) 50%), linear-gradient(135deg, var(--cinza-lavanda) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--azul-profundo); }
.field input::placeholder, .field textarea::placeholder { color: rgba(140, 149, 184, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azul-luminoso);
  box-shadow: 0 0 0 3px rgba(75, 125, 255, 0.2);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--laranja); }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 26, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 26, 0.08);
  color: #FFB48A;
  font-size: 0.88rem;
}
.form__error a { color: var(--branco-neve); text-decoration: underline; }
.form__submit { width: 100%; margin-top: 24px; border: 0; cursor: pointer; font-family: var(--font-sans); }
.form__submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form__success { text-align: center; padding: 24px 0 8px; }
.form__success h2 { font-size: 1.8rem; margin: 20px 0 10px; }
.form__success p { margin: 0 0 28px; color: var(--cinza-lavanda); }
.form__check {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(61, 214, 140, 0.4);
  background: rgba(61, 214, 140, 0.08);
}
.form__check svg { width: 28px; height: 28px; fill: none; stroke: #3DD68C; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ── Animação de entrada ────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsivo ─────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__inner, .split { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 480px; }
  .pillars { grid-template-columns: 1fr; }
}

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

@media (max-width: 820px) {
  .header__cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1.5px; background: var(--branco-neve); transition: transform 0.25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 24px;
    background: rgba(0, 18, 38, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .header { background: rgba(0, 18, 38, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .header__logo img { height: 72px; }

  .section { padding: 88px 0; }
  .hero { padding: 132px 0 80px; }
  .stat { padding: 32px 26px; }
  .stepper { padding: 24px; }
  .stepper__list { grid-template-columns: repeat(2, 1fr); }
  .whats { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .whats .btn { width: 100%; }
  .cta { padding: 100px 0; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .eyebrow { letter-spacing: 0.2em; font-size: 0.66rem; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .service { padding: 28px 24px; }
  .modal__box { padding: 36px 20px 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .flow { padding: 22px; }
  .marquee__list { gap: 48px; }
  .marquee__list img { height: calc(var(--h, 48px) * 0.8); }
  .marquee__text { font-size: 1.15rem; }
}
