/* =====================================
   Variáveis de cores, fontes e dimensões
===================================== */
:root {
  --bg: #0f1113;
  --surface: #121315;
  --muted: #9aa3ad;
  --accent: #f6a623; /* amarelo / laranja */
  --primary: #ffffff;
  --glass: rgba(255, 255, 255, 0.03);
  --card-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  --radius: 14px;
  --max-width: 1100px;
}

/* =====================================
   Reset e estilos básicos
===================================== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #0b0c0d 0%, #131316 60%);
  color: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* =====================================
   Containers
===================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px;
}

/* =====================================
   Header / Navegação
===================================== */
header {
  padding: 18px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1b1d21, #0e6eab);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand__name {
  font-family: Poppins, Inter;
  font-weight: 700;
  letter-spacing: 0.4px;
}

nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* =====================================
   Hero Section
===================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.hero__content {
  max-width: 620px;
}

.eyebrow {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.h1 {
  font-family: Poppins;
  font-size: 48px;
  line-height: 1.02;
  margin: 0 0 20px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #071217;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(246, 166, 35, 0.18);
  transition: transform 0.18s ease;
}

.cta:hover {
  transform: translateY(-4px);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

/* Hero visual */
.visual-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual {
  width: 520px;
  height: 420px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.16)
  );
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.visual img {
  width: 86%;
  height: auto;
  display: block;
  transform: translateZ(30px);
}

/* =====================================
   Section Cards
===================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 60px;
}

/* Card base */
.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 0, 0, 0.08)
  );
  padding: 52px; /* Mais respiro interno */
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); /* Sombra suave */
  border: 1px solid rgba(255, 255, 255, 0.05); /* Borda sutil */
  min-height: 80px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 0 0 16px;
  font-family: Poppins;
  font-size: 22px;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* =====================================
   Peças - lista
===================================== */
.parts-list {
  margin: 12px 0 0 20px;
  padding: 0;
  list-style-type: disc;
  color: var(--muted);
  font-size: 1.1rem; /* texto um pouco maior */
  line-height: 1.6; /* mais espaçamento entre linhas */
}

/* =====================================
   Avatares
===================================== */
.avatars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 2rem;
  margin-top: 12px;
  justify-items: center;
}

.avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #222, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-name {
  text-align: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =====================================
   Funcionalidade
===================================== */
.features {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}

.features .icon {
  font-size: 18px;
}

/* =====================================
   Footer CTA Strip
===================================== */
.strip {
  margin-top: 44px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.06)
  );
  padding: 22px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =====================================
   Reveal Animations
===================================== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* =====================================
   Responsividade geral
===================================== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .visual {
    width: 100%;
    height: 360px;
  }

  .h1 {
    font-size: 36px;
  }

  .container {
    padding: 18px;
  }
}

@media (max-width: 600px) {
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-top: 80px;
    margin-bottom: 80px;
  }
  .avatar-card{
    width: 10rem;
    height: 10rem;
  }

  .avatar-name {
    font-size: 13px;
  }
}

/* =====================================
   Pequenos ajustes
===================================== */
a:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

/* =====================================
   Modal Styles
===================================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1200;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
}

.modal-content {
  max-width: 1000px;
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow-y: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.modal-videos video {
  width: 100%;
  height: 360px;
  border-radius: 8px;
}
