:root {
  --navy: #0e1624;
  --navy-2: #152238;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-soft: #dbeafe;
  --gold: #e8b84a;
  --gold-text: #3d2e08;
  --bg: #f3f5f8;
  --card: #ffffff;
  --text: #122033;
  --muted: #5b6b80;
  --line: rgba(18, 32, 51, 0.1);
  --ok: #15803d;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(14, 22, 36, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.promo {
  background: linear-gradient(90deg, #f5c84b, #e8b84a 40%, #f3d27a);
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem 1rem;
}

.site-header {
  background: var(--navy);
  color: #eef3fb;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: #93a4bb;
}

.header-search {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.65rem 0.95rem;
  color: var(--text);
  background: transparent;
}

.header-search input:focus {
  outline: none;
}

.header-search button {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 0 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.header-search button:hover {
  background: var(--blue-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.cart-count {
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 0.25rem;
}

.cat-nav {
  background: var(--blue);
}

.cat-nav-inner {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav a {
  flex: 0 0 auto;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
  opacity: 0.92;
}

.cat-nav a:hover,
.cat-nav a.is-active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.12);
}

.hero {
  padding: 1.25rem 0 0.5rem;
}

.hero-slide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 55%, #2563eb 130%);
  color: #fff;
  border-radius: 18px;
  padding: clamp(1.1rem, 4vw, 2.4rem);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.hero-kicker {
  display: inline-block;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  margin: 0 0 0.7rem;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0 0 1.1rem;
  color: #c9d6ea;
  max-width: 38ch;
}

.hero-art {
  min-height: 180px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 0;
  background: #c5cedb;
  padding: 0;
}

.hero-dots button.is-on {
  width: 22px;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--gold-text);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-buy {
  background: #15803d;
  color: #fff;
  width: 100%;
}

.btn-buy:hover {
  background: #166534;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.lp-cycle {
  display: flex;
  width: fit-content;
  margin: 0 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  background: #fff;
}

.lp-cycle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
}

.lp-cycle-btn.is-on {
  background: var(--navy);
  color: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy-2);
  color: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.5rem 1.2rem 1.2rem;
  min-height: 100%;
}

.plan-card.is-popular {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(232, 184, 74, 0.35);
}

.plan-card.is-on {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--gold-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.15rem;
}

.plan-card .muted {
  color: rgba(244, 247, 251, 0.65);
}

.plan-price {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.03em;
}

.plan-price small {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(244, 247, 251, 0.7);
}

.plan-card ul {
  margin: 0 0 1.1rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  color: rgba(244, 247, 251, 0.86);
}

.plan-card .btn {
  margin-top: auto;
  text-align: center;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-hover);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding: 1rem 0 0.25rem;
}

.hl-card {
  border-radius: 14px;
  padding: 1.1rem 1rem 1.15rem;
  color: #fff;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hl-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.hl-card span {
  font-size: 0.78rem;
  opacity: 0.9;
}

.section {
  padding: 1.6rem 0 2rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.section-head a {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-cover {
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
}

.cover-img,
.product-visual img,
.hero-art img,
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: 0 0 auto;
  background: #fff;
}

.product-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: #fff;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.product-body {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.product-body h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.product-body .muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.price {
  margin-top: auto;
  padding-top: 0.45rem;
}

.price-from {
  font-size: 0.72rem;
  color: var(--muted);
}

.price-now {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-pix {
  color: var(--ok);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-parc {
  font-size: 0.75rem;
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.trust article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.trust h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  background: var(--navy);
  color: #c9d4e4;
  padding: 2rem 0 1.2rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.88rem;
  margin: 0 0 0.6rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.28rem 0;
  font-size: 0.86rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #8ea0b8;
}

.footer-copy a {
  color: #8ea0b8;
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.page-hero {
  padding: 1.25rem 0 0;
}

.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.crumbs a {
  color: var(--blue);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.4rem;
  align-items: start;
}

.product-visual {
  border-radius: 18px;
  min-height: 280px;
  height: 280px;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}

.buy-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.plan {
  border: 2px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0.85rem 0 1rem;
}

.plan label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.features {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 0.4rem 0 0.4rem 1.35rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.form-card,
.summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

label.field {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0.7rem 0 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue-soft);
  border-color: var(--blue);
}

.err {
  color: var(--danger);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}

.ok-msg {
  color: var(--ok);
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.pill-ok {
  background: #dcfce7;
  color: #166534;
}

.pill-wait {
  background: #fef3c7;
  color: #92400e;
}

.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

.thanks {
  max-width: 520px;
  margin: 2rem auto;
  background: var(--card);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-slide,
  .product-layout,
  .checkout-grid,
  .footer-grid,
  .highlights,
  .trust,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 140px;
  }

  .header-actions .hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .header-search {
    flex-basis: 100%;
    order: 3;
  }

  .brand-sub {
    display: none;
  }

  .product-cover {
    height: 128px;
  }

  .btn,
  .icon-btn {
    min-height: 44px;
  }
}

.admin-page {
  background: #eef1f6;
}

.admin-shell {
  width: min(100% - 1.5rem, 1100px);
  margin: 1.2rem auto 2.5rem;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.admin-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.admin-tabs button.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.admin-logout {
  margin-left: auto;
}

.admin-auth {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stats-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.stats-grid strong {
  font-size: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.img-field {
  display: grid;
  gap: 0.45rem;
}

.img-preview {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #f8fafc;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.45rem 0;
  font-weight: 600;
}

.check input {
  width: auto;
}

.admin-prod-list {
  display: grid;
  gap: 0.75rem;
}

.admin-prod {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  align-items: center;
}

.admin-prod-cover {
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-plan {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem 1rem;
  margin: 0.7rem 0;
}

.admin-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 700px) {
  .form-row,
  .admin-prod {
    grid-template-columns: 1fr;
  }
}
