/* /css/style.css - ARQUIVO COMPLETO REORGANIZADO */
/* ===================== */
/*      DESIGN TOKENS    */
/* ===================== */
:root {
  --bg: #1c1c1c;
  --surface: #1c1c1c;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e6e6e6;
  --muted: #a8a8a8;
  --accent: #fe8b06;
  --accent-2: #daa520;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
  --maxw: 1180px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --fz-1: 0.9rem;
  --fz-2: 1rem;
  --fz-3: 1.25rem;
  --fz-4: 1.75rem;
  --fz-5: 2.5rem;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100%;
}

/* ===================== */
/*     BG ORGÂNICO       */
/* ===================== */
.bg-blobs {
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.75;
}

.blob {
  position: absolute;
  width: 60vmin;
  height: 60vmin;
  border-radius: 50%;
}

.b1 {
  left: 10%;
  top: 5%;
  background: radial-gradient(circle at 30% 30%, #fe8b06, transparent 60%);
  animation: float 16s ease-in-out infinite;
}

.b2 {
  right: 5%;
  top: 25%;
  width: 100vmin;
  height: 60vmin;
  background: radial-gradient(circle at 60% 40%, #daa520, transparent 60%);
  animation: float 18s ease-in-out infinite reverse;
}

.b3 {
  left: 35%;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, #fe8b06, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===================== */
/*      UTILITÁRIOS      */
/* ===================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.soft-shadow {
  box-shadow: var(--shadow);
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.muted {
  color: var(--muted);
}

.stack-lg > * + * {
  margin-top: var(--space-4);
}

.stack-lg > * + * {
  margin-top: var(--space-4);
}

a.link {
  color: var(--accent);
}

/* ===================== */
/*      LAYOUT BASE      */
/* ===================== */
.section {
  padding: var(--space-6) var(--space-2);
}

.section-head {
  max-width: var(--maxw);
  margin: 0 auto var(--space-4);
  text-align: center;
}

.section-title {
  font-size: var(--fz-5);
  letter-spacing: 0.5px;
}

.section-sub {
  color: var(--muted);
  margin-top: 0.5rem;
}

.grid {
  display: grid;
  gap: var(--space-2);
}

/* ===================== */
/*       HEADER          */
/* ===================== */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space-2);
  z-index: 2;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--surface);
    position: absolute;
    top: 60px;
    right: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }

  .site-nav.open {
    display: flex;
  }
}

/* ===================== */
/*        BUTTONS        */
/* ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--fz-2);
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: filter 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
  color: #fff;
  white-space: nowrap;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.ver-mais-wrapper {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}

.btn-cta {
  margin-top: var(--space-3);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===================== */
/*        CARDS          */
/* ===================== */
.card-base {
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: all 0.3s ease;
}

.card-base:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card {
  background: radial-gradient(
    circle,
    rgba(254, 139, 6, 0.8) 0%,
    transparent 100%
  );
  border: 1px solid rgba(218, 165, 32, 0.5);
  position: relative;
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  display: block;
}

.card-body {
  padding: var(--space-3);
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.card-text {
  color: #d4d4d4;
  font-size: var(--fz-2);
  margin-bottom: 0.75rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 700;
}

.clean-card {
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.08),
    rgba(218, 165, 32, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.2);
  backdrop-filter: blur(16px);
  text-align: center;
}

.clean-card:hover {
  border-color: rgba(254, 139, 6, 0.4);
}

.info-card {
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.06),
    rgba(218, 165, 32, 0.03)
  );
  border: 1px solid rgba(254, 139, 6, 0.15);
  backdrop-filter: blur(16px);
  line-height: 1.7;
}

.info-card p {
  color: #d6d6d6;
  margin-bottom: var(--space-2);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card strong {
  color: var(--accent);
}

.info-card em {
  color: var(--accent-2);
  font-style: normal;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  font-size: 28px;
  color: var(--bg);
}

.card-icon-sm {
  width: 48px;
  height: 48px;
  font-size: 20px;
  border-radius: 12px;
  margin-bottom: var(--space-2);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid var(--border);
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.card-badge.promo {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.card-badge.new {
  background: rgba(107, 141, 255, 0.9);
  border-color: transparent;
}

.card-badge.neutral {
  background: rgba(255, 255, 255, 0.15);
}

/* ===================== */
/*        HERO           */
/* ===================== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: var(--space-6) auto var(--space-4);
  padding: 0 var(--space-2);
}

.hero-inner {
  min-height: 550px;
  height: auto;
  padding: var(--space-4);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  width: auto;
  align-self: flex-start;
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.9;
  background: linear-gradient(
    90deg,
    rgba(218, 165, 32, 0.35),
    rgba(254, 139, 6, 0.35)
  );
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: var(--space-2);
}

.hero-title {
  font-size: clamp(4rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  color: #d6d6d6;
  font-size: var(--fz-2);
  max-width: 480px;
  line-height: 1.4;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 60%;
  max-height: 100%;
  object-fit: contain;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
}

.page-hero {
  padding: var(--space-6) var(--space-2) var(--space-4);
  text-align: center;
}

.page-hero-content {
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-title {
  font-size: var(--fz-5);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: var(--muted);
  font-size: var(--fz-3);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===================== */
/*    COMO FUNCIONA      */
/* ===================== */
.how-it-works {
  padding: var(--space-6) var(--space-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  max-width: var(--maxw);
  margin: 0 auto;
}

.step-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 139, 6, 0.3);
  box-shadow: var(--shadow);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  font-size: 24px;
  color: var(--bg);
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--bg);
}

.step-title {
  font-size: var(--fz-3);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text);
}

.step-desc {
  color: var(--muted);
  font-size: var(--fz-1);
  line-height: 1.5;
}

/* ===================== */
/*         CTA           */
/* ===================== */
.section-cta {
  padding: var(--space-6) var(--space-2);
}

.cta {
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.08),
    rgba(218, 165, 32, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.2);
  backdrop-filter: blur(16px);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-5);
  border-radius: var(--radius);
  text-align: center;
}

.cta h3 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: var(--space-2);
  color: var(--text);
}

.cta p {
  font-size: var(--fz-3);
  color: var(--muted);
  margin-bottom: var(--space-3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta .btn {
  font-size: var(--fz-3);
  padding: 1.2rem 2rem;
}

/* ===================== */
/*      SWIPER           */
/* ===================== */
.products-swiper {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-2);
  padding-bottom: var(--space-4);
}

.products-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.products-swiper .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
}

.products-swiper .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products-swiper .card .card-media img {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev,
.galeria-swiper .swiper-button-next,
.galeria-swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-swiper .swiper-button-next::after,
.products-swiper .swiper-button-prev::after,
.galeria-swiper .swiper-button-next::after,
.galeria-swiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 900;
  color: inherit;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover,
.galeria-swiper .swiper-button-next:hover,
.galeria-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--accent);
  transform: translateY(-1px);
}

.products-swiper .swiper-button-next.swiper-button-disabled,
.products-swiper .swiper-button-prev.swiper-button-disabled,
.galeria-swiper .swiper-button-next.swiper-button-disabled,
.galeria-swiper .swiper-button-prev.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.products-swiper .swiper-pagination {
  position: relative;
  margin-top: var(--space-3);
}

.products-swiper .swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.products-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scaleY(1.2);
}

.galeria-swiper {
  width: 100%;
  margin-bottom: 1rem;
}

.galeria-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.galeria-swiper .swiper-slide img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 255, 255, 0.2);
}

.galeria-swiper .swiper-pagination {
  position: relative;
  margin-top: var(--space-3);
  width: 100%;
  text-align: center;
}

.galeria-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.galeria-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.3);
}

.swiper,
.swiper-wrapper,
.swiper-slide,
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
  z-index: 0 !important;
}

/* ===================== */
/*    PÁGINA PRODUTOS    */
/* ===================== */
.produto-section {
  border-radius: var(--radius);
  padding: var(--space-4);
  max-width: var(--maxw);
  margin: var(--space-4) auto;

  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.08),
    rgba(218, 165, 32, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.2);
}

.produto-section + .produto-section {
  margin-top: var(--space-4);
}

.produto-section h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
}

.galeria {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(200px, 22vw, 320px), 1fr)
  );
  justify-content: center;
  margin-bottom: 14px;
}

.galeria img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.galeria img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255, 255, 255, 0.2);
}

.desc-box {
  /* border: 1px solid var(--border); */
  border-radius: var(--radius-sm);
  /* background: var(--glass); */
  padding: var(--space-3);
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.08),
    rgba(218, 165, 32, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.2);
}

.desc-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.desc-box p {
  color: #d6d6d6;
}

.info-btn {
  margin-top: var(--space-2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.info-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.buy-btn {
  margin-top: var(--space-2);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
}

/* ===================== */
/*       MODAL           */
/* ===================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  padding: 24px 16px;
  z-index: 3;
}

.modal-content {
  width: min(720px, 95vw);
  margin: clamp(16px, 4vh, 32px) auto;
  border-radius: var(--radius);
  border: 1px solid rgba(254, 139, 6, 0.3);
  background: linear-gradient(
    145deg,
    rgba(254, 139, 6, 0.12) 0%,
    rgba(218, 165, 32, 0.08) 50%,
    rgba(254, 139, 6, 0.06) 100%
  );
  backdrop-filter: blur(20px);
  color: var(--text);
  box-shadow: var(--shadow), 0 0 40px rgba(254, 139, 6, 0.15);
  position: relative;
  padding: 0;
  overflow: hidden;
}

.modal-content > h3 {
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.15),
    rgba(218, 165, 32, 0.1)
  );
  border-bottom: 1px solid rgba(254, 139, 6, 0.2);
  padding: var(--space-3) 80px var(--space-3) var(--space-4);
  margin: 0;
  font-size: var(--fz-4);
  font-weight: 700;
}

.modal-content form,
.modal-content > div:not(.modal-content > h3) {
  padding: var(--space-4);
}

.modal .close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.modal img.demo {
  display: block;
  margin: 0 auto 14px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.group {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(254, 139, 6, 0.08)
  );
  border: 1px solid rgba(254, 139, 6, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  backdrop-filter: blur(12px);
}

.group p {
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--text);
}

.group p strong {
  color: var(--accent);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 12px;
  justify-items: center;
  margin-top: var(--space-2);
}

.option-grid label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.option-grid img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.option-grid img:hover {
  border-color: rgba(254, 139, 6, 0.5);
}

.option-grid input[type="radio"] {
  display: none;
}

.option-grid input[type="radio"]:checked + img {
  border: 2px solid var(--accent);
}

.modal input[type="text"],
.modal input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: var(--fz-2);
  outline: none;
}

.modal input[type="text"]:focus,
.modal input[type="number"]:focus {
  border-color: var(--accent);
}

.modal input[type="text"]::placeholder,
.modal input[type="number"]::placeholder {
  color: var(--muted);
}

.modal input[type="checkbox"],
.modal input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--accent);
}

.modal label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 8px;
}

#loading {
  text-align: center;
  padding: var(--space-5);
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.08),
    rgba(218, 165, 32, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.15);
  border-radius: var(--radius-sm);
  margin: var(--space-3);
}

#loading div {
  border: 3px solid rgba(254, 139, 6, 0.2);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-2);
}

#loading p {
  color: var(--text);
  font-weight: 500;
  font-size: var(--fz-3);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#opcoes-frete {
  margin: var(--space-3);
}

#opcoes-frete > .group {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(254, 139, 6, 0.05)
  );
  border: 1px solid rgba(254, 139, 6, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  backdrop-filter: blur(12px);
}

#frete-opcoes label {
  display: block;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

#frete-opcoes label:hover {
  border-color: rgba(254, 139, 6, 0.4);
  background: rgba(254, 139, 6, 0.08);
}

#frete-opcoes input[type="radio"]:checked + * {
  color: var(--accent);
}

#frete-opcoes label:has(input[type="radio"]:checked) {
  border-color: var(--accent);
  background: linear-gradient(
    135deg,
    rgba(254, 139, 6, 0.12),
    rgba(218, 165, 32, 0.08)
  );
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.final-actions .btn {
  width: 100%;
  justify-content: center;
}

#qty-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--space-2);
  margin-top: var(--space-2);
  backdrop-filter: blur(8px);
}

#qty-box p {
  margin-bottom: 8px;
  font-weight: 500;
}

/* ===================== */
/*      LIGHTBOX         */
/* ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: stretch;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 5;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1.25rem;
}

.lightbox-inner {
  position: relative;
  min-height: 100%;
  width: min(96vw, 1200px);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure {
  margin: 0;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}

.close-btn:hover {
  color: var(--accent);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prev-btn {
  left: 0.5rem;
}

.next-btn {
  right: 0.5rem;
}

.nav-btn ion-icon {
  font-size: 18px;
}

.nav-btn:hover {
  color: var(--accent);
}

.nav-btn.disabled,
.nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ===================== */
/*        FOOTER         */
/* ===================== */
.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-2);
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--accent);
}

.social-link:active {
  transform: translateY(0);
}

.footer-text {
  color: var(--muted);
  font-size: var(--fz-1);
  text-align: center;
  line-height: 1.4;
}

/* ===================== */
/*       GRIDS           */
/* ===================== */
.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--maxw);
  margin: 0 auto;
}

.clean-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  max-width: var(--maxw);
  margin: 0 auto;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-3);
  max-width: var(--maxw);
  margin: 0 auto;
}

.content-wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ===================== */
/*      LISTAS           */
/* ===================== */
.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  color: #d6d6d6;
  margin-bottom: var(--space-1);
  padding-left: var(--space-2);
  position: relative;
}

.info-list li:before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.info-list strong {
  color: var(--accent);
}

/* ===================== */
/*      RESPONSIVO       */
/* ===================== */
@media (max-width: 1100px) {
  .hero-image {
    width: min(60vw, 520px);
    right: 1rem;
    top: 0;
  }
}

@media (max-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-image {
    width: min(70vw, 480px);
    right: -1rem;
    top: 1rem;
    opacity: 0.85;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
}

@media (max-width: 990px) {
  .hero-image {
    display: none;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-social {
    margin-bottom: 0;
    order: 2;
  }

  .footer-text {
    order: 1;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .clean-cards-grid,
  .terms-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .page-title {
    font-size: var(--fz-4);
  }

  .page-subtitle {
    font-size: var(--fz-2);
  }
}

@media (max-width: 640px) {
  .site-nav {
    gap: 0.4rem;
  }

  .nav-link {
    padding: 0.35rem 0.6rem;
  }

  .cards-3,
  .clean-cards-grid,
  .terms-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin: var(--space-4) auto var(--space-2);
  }

  .section {
    padding: var(--space-5) var(--space-2);
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer-social {
    gap: var(--space-1);
  }

  .products-swiper {
    padding: 0 var(--space-1);
  }

  .products-swiper .swiper-button-next,
  .products-swiper .swiper-button-prev {
    display: none;
  }

  .step-card,
  .info-card,
  .clean-card {
    padding: var(--space-3);
  }

  .step-icon {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
}

@media (max-height: 700px) {
  .lightbox img {
    max-height: calc(100vh - 120px);
  }
}

@media (max-width: 768px) {
  .modal {
    padding: 12px 8px;
  }

  .modal-content {
    width: 98vw;
    margin: 8px auto;
  }

  .modal-content > h3 {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fz-3);
    padding-right: 60px;
  }

  .modal .close {
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .modal-content form,
  .modal-content > div:not(.modal-content > h3) {
    padding: var(--space-3);
  }

  .option-grid {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 8px;
  }

  .option-grid img {
    width: 48px;
    height: 48px;
  }

  .final-actions {
    flex-direction: column;
  }

  .final-actions .btn {
    max-width: none;
  }

  .modal .group {
    padding: var(--space-2);
  }
}

@media (max-width: 480px) {
  .option-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
