:root {
  --black: #0d0d0d;
  --black-soft: #161616;
  --black-card: #1c1c1c;
  --white: #f4f3ef;
  --muted: #b6b4ae;
  --gold: #fab707;
  --gold-1: #fedb03;
  --gold-2: #f3a407;
  --gold-dark: #d99a00;
  --gold-gradient: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  --gold-gradient-hover: linear-gradient(135deg, var(--gold-2), var(--gold-dark));
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --border: rgba(244, 243, 239, 0.1);
  --radius: 14px;
}

.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;
}

* { box-sizing: border-box; }

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

body {
  position: relative;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Grade sutil de 1px em movimento, remetendo a estrada/continuidade */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(244, 243, 239, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 243, 239, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: overlay;
  animation: grid-drift 16s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 42px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
}

/* Revelação suave ao rolar: desfocado -> nítido */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; margin: 0; }

section { padding: 88px 0; }

/* Marquee */
.marquee {
  background: var(--gold-gradient);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}

.marquee-track span {
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

.marquee-track span::after {
  content: "•";
  margin-left: 40px;
  opacity: 0.5;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.topbar-logo {
  height: 48px;
  width: auto;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

/* Brilho passando pelo botão, em loop, pra chamar atenção pro clique */
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: btn-shine-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine-sweep {
  0% { left: -75%; }
  28%, 100% { left: 130%; }
}

@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(250, 183, 7, 0.3); }
  50% { box-shadow: 0 10px 34px rgba(250, 183, 7, 0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; }
  .btn-primary { animation: none; }
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--black);
  animation: btn-glow-pulse 2.4s ease-in-out infinite;
}

.btn-primary:hover { background: var(--gold-gradient-hover); }

.btn-outline {
  border-color: var(--border);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--gold-1); color: var(--gold-1); }

.btn-ghost {
  padding: 10px 20px;
  border-color: var(--gold-1);
  color: var(--gold-1);
  font-size: 14px;
}

.btn-ghost:hover { background: var(--gold-gradient); color: var(--black); border-color: transparent; }

.btn-dark {
  background: var(--black);
  color: var(--gold-1);
  border-color: var(--black);
}

.btn-dark:hover { background: var(--black-soft); }

.btn-block {
  width: 100%;
  border-radius: 10px;
  padding: 15px 24px;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 96px;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(254, 219, 3, 0.14), transparent 70%),
    var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { text-align: left; }

.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  max-width: 560px;
}

.rotate-visual { display: inline-block; }

.rotate-word {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.caret {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  background: var(--gold-1);
  vertical-align: -0.1em;
  animation: caret-blink 0.85s steps(1) infinite;
}

@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
}

.hero-sub {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  margin: 20px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-copy .hero-actions { justify-content: flex-start; }

.hero-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Hero lead form card */
.hero-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}

.hero-form-card input {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(13, 13, 13, 0.15);
  background: #fff;
  color: var(--black);
}

.hero-form-card input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(250, 183, 7, 0.25);
}

.hero-form-card input::placeholder { color: #9a9992; }

.hero-form-card .btn-block { margin-top: 4px; }

/* Trust strip */
.trust {
  padding: 40px 0;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--gold);
}

.trust-item strong {
  display: block;
  font-size: 15px;
}

.trust-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.trust-item:nth-child(1) { transition-delay: 0s; }
.trust-item:nth-child(2) { transition-delay: 0.1s; }
.trust-item:nth-child(3) { transition-delay: 0.2s; }

/* Section heading */
h2 {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 16px;
}

/* Servicos */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.servico-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.3s ease, opacity 0.8s ease, filter 0.8s ease;
}

.servico-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.servico-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin: 0 auto 14px;
}

.servico-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.servico-card:nth-child(1) { transition-delay: 0s; }
.servico-card:nth-child(2) { transition-delay: 0.06s; }
.servico-card:nth-child(3) { transition-delay: 0.12s; }
.servico-card:nth-child(4) { transition-delay: 0.18s; }
.servico-card:nth-child(5) { transition-delay: 0.24s; }
.servico-card:nth-child(6) { transition-delay: 0.3s; }

/* Porque */
.porque { background: var(--black-soft); }

.porque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.porque-card {
  text-align: center;
  padding: 8px;
}

.porque-card svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin: 0 auto 16px;
}

.porque-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.porque-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.porque-card:nth-child(1) { transition-delay: 0s; }
.porque-card:nth-child(2) { transition-delay: 0.08s; }
.porque-card:nth-child(3) { transition-delay: 0.16s; }
.porque-card:nth-child(4) { transition-delay: 0.24s; }

/* Banner confianca */
.banner-confianca {
  background: var(--black);
  text-align: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--white);
}

.checklist li:nth-child(1) { transition-delay: 0s; }
.checklist li:nth-child(2) { transition-delay: 0.1s; }
.checklist li:nth-child(3) { transition-delay: 0.2s; }

.checklist li::before {
  content: "✓";
  background: var(--gold-gradient);
  color: var(--black);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Atendimento */
.atendimento { background: var(--black-soft); text-align: center; }

.cidades {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.cidades span {
  background: var(--black-card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
}

.atendimento-nota {
  color: var(--muted);
  font-size: 14px;
  margin-top: 28px;
}

/* CTA final */
.cta-final {
  background: var(--gold-gradient);
  text-align: center;
}

.cta-final h2 { color: var(--black); }

.cta-final p {
  color: rgba(13, 13, 13, 0.75);
  font-size: 17px;
  max-width: 480px;
  margin: 14px auto 32px;
}

.cta-final-inner .hero-actions {
  align-items: center;
}

.phone-display {
  color: var(--black);
  font-weight: 600;
  font-size: 15px;
}

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}

.footer-logo {
  width: 96px;
  margin: 0 auto 16px;
}

.footer p {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0;
}

.footer-copy {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.6;
}

/* Floating WhatsApp button */
.fab-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 60;
  transition: transform 0.2s ease;
}

.fab-whatsapp svg { width: 30px; height: 30px; }

.fab-whatsapp:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero h1 { max-width: 100%; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-copy .hero-actions { justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  section { padding: 64px 0; }
  .servicos-grid { grid-template-columns: 1fr 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-form-card { padding: 24px; }
  .topbar-logo { height: 38px; }
  .btn-ghost { padding: 8px 14px; font-size: 13px; }
}
