:root {
  --bg: #04130c;
  --bg-alt: #071c12;
  --surface: #0a2417;
  --line: rgba(116, 209, 0, 0.22);
  --green: #74d100;
  --green-strong: #8ae614;
  --text: #f4f7f2;
  --muted: #a9b8ad;
  --radius: 16px;
  --header-h: 72px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.15; }
h1 em, h2 em { font-style: normal; color: var(--green); }

.container { width: min(100% - 2rem, 1160px); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn--primary { background: var(--green); color: #03160b; box-shadow: 0 10px 30px -10px rgba(116, 209, 0, 0.7); }
.btn--primary:hover { background: var(--green-strong); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { padding: 0.6rem 1.15rem; font-size: 1rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Cabeçalho */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(4, 19, 12, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand img { border-radius: 50%; }
.header .brand img { width: 50px; height: 50px; }
.header .brand__text strong { font-size: 1.375rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.brand__text small { margin-top: 0.25rem; color: var(--green); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; }

.nav-toggle { display: grid; gap: 5px; padding: 12px 8px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; }
.header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 1.5rem;
  background: rgba(4, 19, 12, 0.97);
  border-bottom: 1px solid var(--line);
}
.header.is-open .nav { display: flex; }
.nav a:not(.btn) {
  padding: 0.75rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:not(.btn):hover { color: var(--green); }
.nav .btn { margin-top: 0.75rem; }

/* Hero */
.hero { position: relative; }
.hero__media { position: relative; height: 62vh; min-height: 380px; max-height: 620px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 19, 12, 0.75) 0%, rgba(4, 19, 12, 0) 26%),
    linear-gradient(to top, var(--bg) 2%, rgba(4, 19, 12, 0) 55%);
}
.hero__content { position: relative; margin-top: -7rem; padding-bottom: 4rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 19, 12, 0.72);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}
.badge svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero__title { font-weight: 800; }
.hero__title span { display: block; font-size: clamp(1.75rem, 6.5vw, 2.75rem); font-weight: 700; }
.hero__title em { display: block; margin: 0.15em 0; font-size: clamp(2.75rem, 12vw, 5.5rem); line-height: 0.92; }
.hero__lead { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }

/* Seções */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid rgba(255, 255, 255, 0.04); }
.section__head { max-width: 44rem; margin-bottom: 2.5rem; }

.about { display: grid; gap: 1.5rem; }
.about__text { display: grid; gap: 1rem; color: var(--muted); font-size: 1.125rem; }

/* Cartões de serviço */
.cards { display: grid; gap: 1.25rem; }
.card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), rgba(10, 36, 23, 0.35));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 20px 40px -24px rgba(116, 209, 0, 0.55); }
.card__icon, .feature svg { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card__icon circle { fill: var(--green); stroke: none; }
.card h3 { margin: 1.25rem 0 0.625rem; }
.card p { color: var(--muted); }

/* Faixa de confiança */
.trust { display: grid; gap: 2rem; align-items: center; }
.trust__seal {
  display: grid;
  place-content: center;
  justify-self: start;
  width: 190px;
  height: 190px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(116, 209, 0, 0.2), transparent 70%);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.trust__seal strong { color: var(--green); font-size: 4rem; font-weight: 800; line-height: 0.9; }
.trust__seal span { font-size: 1.125rem; font-weight: 700; letter-spacing: 0.12em; }
.trust__items { display: grid; gap: 1.5rem; }
.trust__item { padding-left: 1.25rem; border-left: 2px solid var(--green); }
.trust__item h3 { margin-bottom: 0.4rem; }
.trust__item p { color: var(--muted); }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature { padding: 1.5rem 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); }
.feature svg { width: 44px; height: 44px; }
.feature h3 { margin-top: 1rem; font-size: 1.25rem; }

/* Passos */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--muted); }

/* Regiões */
.regions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.regions li { padding: 1.5rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.regions strong { display: block; color: var(--green); font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; line-height: 1; }
.regions span { display: block; margin-top: 0.35rem; font-weight: 500; }

/* Contato */
.contact { display: grid; gap: 2.5rem; }
.contact__lead { margin-top: 1rem; color: var(--muted); }
.contact__list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.contact__list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
  transition: border-color 0.2s, background-color 0.2s;
}
.contact__list a:hover { border-color: var(--green); background: rgba(116, 209, 0, 0.06); }
.contact__list svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 400; }

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.field { grid-column: 1 / -1; display: grid; gap: 0.4rem; }
.field--half { grid-column: span 1; }
.field label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.field label span { color: var(--muted); font-weight: 400; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #06180f;
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; }
.field input::placeholder { color: #6f8075; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(116, 209, 0, 0.2); }
.form__error, .form .btn { grid-column: 1 / -1; }
.form__error { color: #ffb4a8; font-size: 0.9375rem; }

/* Rodapé */
.footer { padding: 3rem 0 6rem; border-top: 1px solid var(--line); background: #030e09; }
.footer__inner { display: grid; gap: 1.25rem; justify-items: start; }
.footer__tagline { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__copy { color: var(--muted); font-size: 0.875rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: auto 1fr; gap: 3rem; }
  .form { padding: 2.25rem; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .section { padding: 7rem 0; }

  .header .brand img { width: 60px; height: 60px; }
  .header .brand__text strong { font-size: 1.625rem; }
  .header .brand__text small { font-size: 0.8125rem; }

  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav a:not(.btn) { padding: 0; font-size: 1.0625rem; }
  .nav .btn { margin-top: 0; }

  .hero { display: flex; align-items: center; min-height: min(100vh, 940px); padding: calc(var(--header-h) + 2rem) 0 4rem; }
  .hero__media { position: absolute; inset: 0 0 0 auto; width: 52%; height: auto; max-height: none; }
  .hero__media::after {
    background:
      linear-gradient(to right, var(--bg) 0%, rgba(4, 19, 12, 0.55) 28%, rgba(4, 19, 12, 0) 60%),
      linear-gradient(to bottom, rgba(4, 19, 12, 0.7) 0%, rgba(4, 19, 12, 0) 22%),
      linear-gradient(to top, var(--bg) 0%, rgba(4, 19, 12, 0) 30%);
  }
  .hero__content { margin-top: 0; padding-bottom: 0; }
  .hero__content > * { max-width: 40rem; }
  .hero__title span { font-size: 2.75rem; }
  .hero__title em { font-size: clamp(4.5rem, 7.2vw, 6.5rem); }

  .about { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .features, .steps { grid-template-columns: repeat(4, 1fr); }
  .regions { grid-template-columns: repeat(6, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .footer { padding-bottom: 3rem; }
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
  .footer__tagline { justify-self: center; }
}

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