/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0b0f0e;
  --bg-dark-2: #0f1513;
  --green: #1aff6a;
  --green-soft: rgba(26,255,106,.15);
  --text: #e6fff1;
  --muted: #9bbfb0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #0f2d1d, var(--bg-dark));
  color: var(--text);
  line-height: 1.5; /* ✔ mantém leitura boa no desktop */
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section.dark {
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
}

.center {
  text-align: center;
}

/* ================= HERO ================= */

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; /* ✔ evita layout colado no desktop */
  align-items: center;
}

img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: auto;

  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 20%,
    white 60%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 20%,
    white 60%,
    transparent 100%
  );
}

.badge {
  color: var(--green);
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: clamp(1.2rem, 2.5vw, 2rem); /* ✔ responsivo real */
  margin: 20px 0;
}

.highlight {
  color: var(--green);
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 30px;
}

.microcopy {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--green-soft);
  padding: 30px;
  border-radius: 18px;
}

.hero-card ul {
  list-style: none;
  margin-top: 15px;
}

.hero-card li {
  margin-bottom: 10px;
}

/* ================= BOTÃO ================= */

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(90deg, #1aff6a, #00e060);
  color: #002b16;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(26,255,106,.4);
  transition: .25s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  animation: brilho-loop 4s ease-in-out infinite;
}

@keyframes brilho-loop {
  0% { left: -80%; opacity: 0; }
  20% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  70% { opacity: 0; }
  100% { left: -80%; opacity: 0; }
}

/* CENTRALIZA BOTÃO (corrigido) */
.btn-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  width: 310px;
}

/* ================= PROBLEMAS ================= */

.problems {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  max-width: 1200px;
  margin-inline: auto;
  gap: 20px;
  margin-top: 50px;
}

.problem-card {
  padding: 20px;
  background: rgba(255,255,255,.03);
  border-radius: 12px;
}

/* ================= SOLUÇÃO ================= */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
  margin-top: 60px;
  max-width: 1200px;
  margin-inline: auto;
}

.solution-item {
  background: rgba(255,255,255,.04);
  padding: 30px;
  border-radius: 16px;
}

/* ================= COMPARAÇÃO ================= */

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comparison-box {
  padding: 35px;
  border-radius: 18px;
}

.negative {
  border: 1px solid rgba(255,80,80,.4);
}

.positive {
  border: 1px solid var(--green);
}

/* ================= AUTORIDADE ================= */

.authority {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.video-placeholder {
  height: 260px;
  border-radius: 18px;
  background: linear-gradient(135deg,#0a2b1a,#0e3b25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

/* ================= CTA ================= */

.section.cta {
  text-align: center;
  background: radial-gradient(circle,#0f3d25,#07140e);
}

/* ================= RESPONSIVO ================= */

/* Tablets */
@media (max-width: 900px) {
  .hero-grid,
  .authority,
  .comparison {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .solution-grid,
  .problems {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 500px) {
  body {
    line-height: 1.4; /* ✔ melhor que 1 */
  }

  img {
    max-width: 300px;
  }

  .solution-grid,
  .problems {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.1rem;
  }
}
