* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  overflow-x: hidden;
  background: #000;
}

/* HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.logo img {
  height: 42px;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.7);
  padding: 10px 18px;
  border-radius: 12px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url('../image/bg.jpg') center center / cover no-repeat;
  position: relative;
  padding: 120px 90px 60px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.60) 40%,
    rgba(0,0,0,0.48) 100%
  );
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

/* BLOCO ESQUERDO */
.left {
  max-width: 620px;
}

.left h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -1.4px;
  color: #fff;
}

.left h1 span {
  color: #c7ff1a;
}

.left p {
  margin-top: 20px;
  max-width: 560px;
  color: #e5e7eb;
  font-size: 16px;
  line-height: 1.45;
}

/* BLOCO DIREITO */
.right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 470px;
}

.card {
  width: 100%;
  max-width: 440px;
  height: 560px;
  background: #f2f4f7;
  border-radius: 28px;
  padding: 38px 34px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
  color: #111827;
  margin-bottom: 24px;
}

.card h2 b {
  font-weight: 800;
}

.card input[type="text"] {
  width: 100%;
  height: 58px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: #e8ebf0;
  padding: 0 20px;
  font-size: 15px;
  color: #374151;
  margin-bottom: 26px;
}

.card input[type="text"]::placeholder {
  color: #a1a8b3;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.check input {
  display: none;
}

.box {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid #b8bec8;
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check input:checked + .box {
  background: #000;
  border-color: #000;
}

.check input:checked + .box::after {
  content: "";
  width: 9px;
  height: 16px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%) rotate(45deg);
}

.check a,
.info a {
  color: #6b7280;
  text-decoration: underline;
}

.info {
  margin-top: 6px;
  margin-bottom: 24px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.card button {
  margin-top: auto;
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 16px;
  background: #d9dde3;
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  font-weight: 700;
  cursor: not-allowed;
  transition: 0.2s ease;
}

.card button.enabled {
  background: #111827;
  color: #fff;
  cursor: pointer;
}

.card button.enabled:hover {
  opacity: 0.92;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 620px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-box h3 {
  color: #111827;
  font-size: 24px;
  margin-bottom: 18px;
  font-weight: 800;
}

.modal-content p {
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .right {
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
  }

  .card {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 22px 20px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 12px;
  }

  .btn-outline {
    padding: 8px 12px;
  }

  .hero {
    padding: 110px 20px 40px;
  }

  .left h1 {
    font-size: 52px;
    line-height: 1.02;
  }

  .left p {
    font-size: 15px;
  }

  .card {
    height: auto;
    min-height: auto;
    padding: 30px 22px 24px;
    border-radius: 22px;
  }

  .card h2 {
    font-size: 21px;
  }

  .card input[type="text"] {
    height: 58px;
    font-size: 15px;
  }

  .box {
    width: 26px;
    height: 26px;
  }

  .check input:checked + .box::after {
    width: 8px;
    height: 14px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
  }

  .card button {
    height: 60px;
    font-size: 16px;
  }
}

.btn-continuar {
  background: linear-gradient(180deg, #0f0f0f, #000);
  color: #c7ff00;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;

  /* textura + profundidade */
  box-shadow: 
    0 2px 0 #000,
    0 0 0 1px rgba(199,255,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition: all 0.25s ease;
}

/* HOVER */
.btn-continuar:hover {
  background: linear-gradient(180deg, #161616, #000);
  box-shadow: 
    0 4px 12px rgba(199,255,0,0.25),
    0 0 0 1px rgba(199,255,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.08);

  transform: translateY(-1px);
}

/* CLICK */
.btn-continuar:active {
  transform: scale(0.97);
  box-shadow: 
    inset 0 2px 6px rgba(0,0,0,0.6);
}
.field-icon svg,
.security-icon svg,
.pix-icon svg,
.dot svg,
.bullet svg {
  color: var(--accent);
}

.dot svg {
  stroke: var(--accent);
}

.bullet svg {
  fill: var(--accent);
}

.cart-bag {
  width: 52px;
  height: 52px;
  border: 2px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cart-bag svg {
  stroke: #fff;
}

.secure-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
svg {
  display: block;
}

.qty-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qty-icon svg {
  stroke: var(--accent);
  display: block;
}
.pix-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d7dbe2;
  line-height: 0;
}

.pix-icon svg {
  display: block;
}

.payment-option {
  gap: 10px; /* aproxima ícone do texto */
}

/* ===== SCALE GERAL DA PÁGINA ===== */
body {
  zoom: 0.9;
}

/* fallback moderno (caso zoom não funcione em algum navegador) */
@supports not (zoom: 1) {
  .container, .checkout, .page {
    transform: scale(0.9);
    transform-origin: top center;
  }
}

/* CARD SEGURANÇA */
.security-box {
  padding: 14px 16px; /* antes provavelmente ~24 */
  border-radius: 10px;
}

/* TÍTULO */
.security-box .title {
  font-size: 14px;
  margin-bottom: 10px;
}

/* LISTA */
.security-box ul {
  margin-top: 8px;
  gap: 6px;
}

/* ITENS */
.security-box li {
  font-size: 13px;
  line-height: 1.4;
}

/* ÍCONES */
.security-box li::before {
  transform: scale(0.85);
}

#qr-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#qr-grid canvas {
  display: block;
}

/* ===== MOBILE INDEX ===== */
/* ===== MOBILE DÉBITOS ===== */
/* ===== MOBILE CHECKOUT ===== */
/* ===== MOBILE PIX ===== */

@media (max-width: 768px) {
  header {
    padding: 14px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .logo img {
    height: 30px;
  }

  nav {
    gap: 8px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 10px;
  }

  .hero {
    min-height: 100vh;
    padding: 90px 16px 24px;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  .left,
  .right {
    width: 100%;
    max-width: 100%;
  }

  .left h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .left p {
    font-size: 13px;
    line-height: 1.45;
  }

  .card {
    width: 100%;
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .card h2 {
    font-size: 20px;
  }

  .card input[type="text"] {
    height: 50px;
    font-size: 14px;
  }

  .card button {
    height: 52px;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  .page {
    padding: 0 14px 24px;
  }

  .hero {
    height: 140px;
  }

  .vehicle-card {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

  .content {
    width: 100%;
    max-width: 100%;
  }

  .header-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 15px;
  }

  .item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .item-price {
    margin-left: 30px;
    font-size: 18px;
  }

  .warning {
    font-size: 14px;
    padding: 14px;
  }

  .total-bottom {
    flex-direction: column;
    gap: 14px;
  }

  .btn-continuar {
    width: 100%;
    height: 52px;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .right::before {
    display: none;
  }

  .left,
  .right {
    min-height: auto;
  }

  .left {
    padding: 18px 16px;
  }

  .brand-text {
    font-size: 24px;
  }

  .cart-total strong {
    font-size: 40px;
  }

  .product {
    grid-template-columns: 68px 1fr;
    gap: 14px;
  }

  .product-price {
    grid-column: 2;
    justify-self: end;
    font-size: 20px;
    padding-bottom: 0;
  }

  .step-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-content h3 {
    text-align: left;
    font-size: 18px;
  }

  .field {
    height: 56px;
  }

  .field input {
    font-size: 15px;
  }

  .payment-option {
    height: 56px;
    font-size: 16px;
  }

  .btn-pix {
    width: 100%;
    height: 54px;
    font-size: 18px;
  }

  .mini-info {
    font-size: 14px;
    padding: 12px;
  }
}


@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pix-area {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qr-box {
    max-width: 280px;
    margin: 0 auto;
  }

  .main-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    height: 50px;
    font-size: 15px;
  }

  .copy-box {
    font-size: 12px;
  }
}


@media (max-width: 768px) {
  .card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .badge {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }

  h1 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  .box {
    padding: 14px;
  }

  .row {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    height: 50px;
    font-size: 15px;
  }
}


