:root {
  --bg: #f4f2f0;
  --bg-dark: #161616;
  --text: #151515;
  --muted: #5a5a5a;
  --primary: #ff5c2f;
  --secondary: #1f8b6c;
  --accent: #f0b90b;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: min(1160px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 240, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: conic-gradient(from 180deg, var(--primary), var(--accent), var(--secondary));
  box-shadow: 0 0 0 6px rgba(255, 92, 47, 0.12);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

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

.nav a {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav .nav-cta {
  color: #fff;
  background: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 92, 47, 0.22), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(31, 139, 108, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(244, 242, 240, 0.9));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 15px 30px rgba(255, 92, 47, 0.25);
}

.btn.ghost {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
  background: #fff;
}

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

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hero-highlights strong {
  font-size: 1.4rem;
  display: block;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.device {
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.device-bar {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.04);
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.device-body {
  padding: 24px;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.screen-title {
  font-weight: 700;
}

.screen-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  background: rgba(31, 139, 108, 0.15);
  color: var(--secondary);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.screen-card {
  background: rgba(244, 242, 240, 0.7);
  padding: 16px;
  border-radius: 16px;
}

.screen-card.accent {
  background: rgba(255, 92, 47, 0.12);
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.screen-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.floating-card {
  position: absolute;
  right: -20px;
  bottom: -18px;
  background: var(--glass);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.trust {
  padding: 40px 0 80px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust p {
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
  font-style: italic;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  text-align: center;
  color: var(--muted);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.section {
  padding: 90px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  margin: 12px 0 14px;
}

.section--plataforma {
  background: linear-gradient(135deg, rgba(255, 92, 47, 0.08), rgba(240, 185, 11, 0.08));
}

.section--plataforma .feature-card {
  border-left: 3px solid var(--primary);
}

.section--fluxo {
  background: #101010;
  color: #fff;
}

.section--fluxo .eyebrow,
.section--fluxo .lead {
  color: rgba(255, 255, 255, 0.7);
}

.section--fluxo .flow-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section--fluxo .flow-step span {
  background: var(--accent);
  color: #151515;
}

.section--impacto {
  background: #fff;
}

.section--impacto .impact-card {
  background: linear-gradient(145deg, rgba(31, 139, 108, 0.1), rgba(255, 255, 255, 0.9));
  border: none;
}

.section--impacto .metric-row {
  background: linear-gradient(120deg, #0f1a13, #1f8b6c);
}

.section--seguranca {
  background: #f2f6fb;
}

.section--seguranca .security-card {
  border-top: 3px solid #1f3b5f;
}

.section--relatos {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.12), rgba(255, 92, 47, 0.08));
}

.feature-grid,
.security-grid,
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card,
.security-card,
.impact-card {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.flow {
  display: grid;
  gap: 18px;
}

.flow-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.03);
}

.flow-step span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
  background: var(--text);
  color: #fff;
  padding: 24px;
  border-radius: 20px;
}

.metric-row strong {
  font-size: 1.6rem;
  display: block;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.testimonial span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta {
  padding: 90px 0;
  background: var(--text);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.cta-form {
  display: grid;
  gap: 14px;
}

.cta-form input {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
}

.cta .btn.primary {
  background: var(--primary);
  border: none;
}

.site-footer {
  padding: 40px 0 60px;
  background: #111;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

body.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 70px 16px auto;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 100px;
  }

  .floating-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metric-row {
    text-align: center;
  }
}
