:root {
  --black: #050705;
  --black-soft: #0a0d0a;
  --forest: #0d1f15;
  --forest-soft: #112a1c;
  --green-900: #123524;
  --green-700: #1e7a4c;
  --green-600: #257a52;
  --green-500: #2f9e5c;
  --green-300: #7fc98a;
  --lime-200: #c9e8a0;
  --cream: #f4f7ee;
  --muted: #a9c2ae;
  --border: rgba(201, 232, 160, 0.14);

  --radius: 16px;
  --max-width: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--cream);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* subtle film-grain texture for depth on the dark background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

main, .site-header, .site-footer, .whatsapp-float { position: relative; z-index: 2; }

::selection { background: var(--green-500); color: #08150d; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--forest-soft); border-radius: 999px; border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: var(--green-700); }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .brand span, .btn {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

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

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #08150d;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.25) inset, 0 6px 20px rgba(6, 20, 12, 0.45);
}
.btn-primary:hover { box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset, 0 10px 28px rgba(6, 20, 12, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--green-300); background: rgba(201, 232, 160, 0.07); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 7, 5, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--lime-200); }

.nav-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 180px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(47, 158, 92, 0.1), transparent 60%),
    radial-gradient(50% 40% at 10% 20%, rgba(201, 232, 160, 0.04), transparent 60%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--lime-200);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--green-300), var(--lime-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--lime-200);
}
.hero-stats div span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 158, 92, 0.14), transparent 70%);
  filter: blur(14px);
}
.hero-visual img {
  width: 300px;
  height: 300px;
  position: relative;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Segments marquee ---------- */
.segments-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: var(--black-soft);
  overflow: hidden;
}
.segments-track {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Section heading ---------- */
.section {
  padding: 112px 0;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 14px;
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--forest-soft), var(--black-soft));
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease-premium), border-color 0.45s ease, box-shadow 0.45s var(--ease-premium);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-500);
  box-shadow: 0 20px 40px rgba(3, 8, 5, 0.45);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  margin-bottom: 22px;
  color: var(--cream);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Planos (sistema Trevoo) ---------- */
.plans-section {
  background: var(--black-soft);
  position: relative;
}
.plans-section::before,
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.plan-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--forest-soft), var(--black-soft));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: rgba(201, 232, 160, 0.3);
  background: linear-gradient(180deg, var(--forest), var(--forest-soft));
  box-shadow: 0 1px 0 0 rgba(201, 232, 160, 0.15) inset, 0 24px 48px rgba(3, 8, 5, 0.5);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-500), var(--lime-200));
  color: #08150d;
  font-size: 0.75rem;
  font-weight: 700;
}
.plan-head h3 { margin: 0 0 6px; font-size: 1.3rem; }
.plan-head p { margin: 0 0 24px; color: var(--muted); font-size: 0.9rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.plan-currency { font-size: 1.1rem; color: var(--green-300); font-weight: 600; }
.plan-value { font-size: 2.6rem; font-weight: 800; font-family: var(--font-heading); }
.plan-period { color: var(--muted); font-size: 0.95rem; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.plan-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 0.92rem;
  color: var(--cream);
  border-top: 1px solid var(--border);
}
.plan-features li:first-child { border-top: none; }
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-300);
  font-weight: 700;
}
.plans-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 28px 0 0;
}
.plans-note a {
  color: var(--green-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plans-note a:hover { color: var(--lime-200); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  text-align: center;
  padding: 28px 20px;
}
.why-card .num {
  font-size: 0.85rem;
  color: var(--green-300);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.why-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.why-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Process ---------- */
.process {
  background: var(--black-soft);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--forest);
  position: relative;
}
.process-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--lime-200));
  color: #08150d;
  font-weight: 800;
  margin-bottom: 16px;
}
.process-step h3 { margin: 0 0 8px; font-size: 1rem; }
.process-step p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
  padding: 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-900), var(--forest-soft));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.cta-banner p { color: var(--muted); margin: 0; max-width: 480px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0 0 16px; }
.contact-info p { color: var(--muted); margin-bottom: 32px; }

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-item .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--forest-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-300);
}
.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item strong { display: block; font-size: 0.95rem; }
.contact-item span { color: var(--muted); font-size: 0.88rem; }

.contact-form {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--forest-soft);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--black-soft);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--green-500); }
.field textarea { resize: vertical; min-height: 110px; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
}
.field-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green-500);
  flex-shrink: 0;
}
.field-check a { color: var(--lime-200); text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(47, 158, 92, 0.15);
  border: 1px solid var(--green-500);
  color: var(--lime-200);
  font-size: 0.9rem;
  text-align: center;
}
.form-success.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--black-soft);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 0.9rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.9rem; margin: 0 0 14px; color: var(--lime-200); }
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.why-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.2s; }

.process-steps .reveal:nth-child(1) { transition-delay: 0.05s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.15s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.2s; }

.plans-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.plans-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(5, 10, 7, 0.5);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 220px; height: 220px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black-soft);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

/* Termos de Uso / Política de Privacidade — texto corrido longo, então
   prioriza legibilidade (largura de coluna curta, espaçamento generoso)
   em vez do estilo mais "visual" do resto do site. */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content .updated-at {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 48px 0 16px;
  color: var(--cream);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--lime-200);
}
.legal-content p { margin: 0 0 16px; color: var(--muted); }
.legal-content strong { color: var(--cream); font-weight: 600; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--green-300); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--lime-200); }
