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

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f5f7fa;
  color: #1f2933;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0f172a;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  flex-wrap: wrap;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #38bdf8;
}

/* NAV LINKS */
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: #1e293b;
  color: #38bdf8;
}

/* BOTÃO COMPRAR AGORA */
nav .btn {
  background: #38bdf8;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

nav .btn:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

/* HERO */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: #cbd5f5;
}

/* SECTION */
.tools {
  padding: 80px 0;
}

/* GRID PRINCIPAL */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

/* CARD PADRÃO */
.card {
  background: #fff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: unset;
}

/* ===== CARD COM IMAGEM PEQUENA ===== */
.card.image-card {
  padding: 0;
  overflow: hidden;
}

/* área fixa da imagem (PEQUENA) */
.image-wrapper {
  width: 100%;
  height: 110px; 
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

/* imagem nunca estoura */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* texto do card com imagem */
.card.image-card h3,
.card.image-card p {
  padding: 16px 32px 0;
}

.card.image-card p {
  padding-bottom: 24px;
}

/* FIELD */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.field input,
.field select {
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 15px;
  background: #fff;
  color: #111827;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,.25);
}

/* PRICE */
.price-box {
  margin: 30px 0;
}

.price-box p {
  color: #6b7280;
}

.price-box h2 {
  font-size: 28px;
  color: #111;
}

/* FOOTER */
.footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  /* HEADER MOBILE */
  .nav {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 10px;
  }

  nav {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  nav .btn {
    margin-top: 10px;
  }

  /* ===========================
     PAGAMENTO
  =========================== */
  .checkout {
    padding: 160px 0 80px;
  }

  .checkout-card {
    max-width: 420px;
    margin: auto;
  }

  .checkout-header {
    text-align: center;
    margin-bottom: 30px;
  }

  .checkout-header h1 {
    font-size: 26px;
    margin-bottom: 6px;
    color: #0f172a;
  }

  .checkout-header p {
    font-size: 14px;
    color: #6b7280;
  }

  .checkout-produto {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
  }

  .checkout-produto h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .checkout-valor {
    font-size: 28px;
    font-weight: 700;
    color: #16a34a;
  }

  .checkout-qrcode {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .checkout-qrcode img {
    max-width: 240px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
  }

  .checkout-pix {
    margin-bottom: 20px;
  }

  .checkout-pix label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    display: block;
  }

  .pix-campo {
    display: flex;
    gap: 10px;
  }

  .pix-campo input {
    flex: 1;
    height: 52px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    background: #f9fafb;
  }

  .pix-feedback {
    display: none;
    margin-top: 8px;
    font-size: 13px;
    color: #16a34a;
  }

  .pix-feedback.ativo {
    display: block;
  }

  .checkout-info {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 20px;
  }
}
