:root {
  --brand: #004C97;
  --brand-dark: #003770;
  --brand-light: #1F6FD0;
  --accent: #FFDA2D;
  --text: #15223A;
  --text-muted: #5A6B87;
  --surface: #FFFFFF;
  --surface-alt: #F4F7FC;
  --border: #E2E8F3;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 30, 67, .05), 0 2px 6px rgba(14, 30, 67, .06);
  --shadow-md: 0 6px 24px rgba(14, 30, 67, .1);
  --shadow-lg: 0 16px 48px rgba(14, 30, 67, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Botoes ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-whats { background: #25D366; color: #fff; }
.btn-whats:hover { background: #1fb457; }
.btn-block { display: flex; width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255,255,255,.06);
  backdrop-filter: saturate(140%);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
}
.brand img { height: 56px; width: auto; }
.menu {
  display: flex;
  gap: 26px;
  margin-left: 20px;
  flex: 1;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
}
.menu a {
  color: #eaf1fa;
  padding: 6px 0;
  position: relative;
}
.menu a:hover { color: #fff; }
.menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s;
}
.menu a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -20%, rgba(255,218,45,.18), transparent 60%),
    linear-gradient(140deg, var(--brand) 0%, var(--brand-light) 100%);
  padding: 72px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: #dce8f7;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-cta .btn-primary { background: var(--accent); color: var(--brand-dark); }
.hero-cta .btn-primary:hover { background: #ffe55c; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.hero-trust {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: 32px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  flex-wrap: wrap;
}
.hero-trust li {
  font-size: 13px;
  color: #cfdff5;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-trust strong {
  display: block;
  font-size: 22px;
  color: #fff;
  letter-spacing: -.01em;
  font-weight: 800;
}
.hero-art {
  justify-self: end;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.hero-logo-card {
  position: relative;
  background: #F5EFDE;
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 34px 60px rgba(0, 22, 60, .42),
    0 12px 24px rgba(0, 22, 60, .26),
    inset 0 0 0 1px rgba(0, 22, 60, .08);
  width: min(480px, 100%);
  transform: rotate(-1deg);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

/* Faixa diagonal "Loja oficial 100% online" — canto superior esquerdo */
.hero-ribbon {
  position: absolute;
  top: 40px;
  left: -85px;
  width: 300px;
  transform: rotate(-38deg);
  transform-origin: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  text-align: center;
  padding: 5px 0;
  z-index: 3;
  box-shadow:
    0 3px 8px rgba(0, 22, 60, .32),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(0, 0, 0, .18);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  pointer-events: none;
  white-space: nowrap;
}
.hero-ribbon::before,
.hero-ribbon::after {
  content: '';
  position: absolute;
  top: 100%;
  border: 4px solid transparent;
  border-top-color: var(--brand-dark);
}
.hero-ribbon::before { left: 0; border-left-color: var(--brand-dark); }
.hero-ribbon::after  { right: 0; border-right-color: var(--brand-dark); }
.hero-ribbon > span {
  display: inline-block;
  text-shadow: 0 1px 0 rgba(0, 22, 60, .35);
}
.hero-ribbon > span::before {
  content: '★';
  margin-right: 6px;
  color: var(--accent);
  text-shadow: 0 0 5px rgba(255, 218, 45, .5);
}
.hero-logo-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 13px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 76, 151, .18),
    inset 0 0 0 5px rgba(255, 255, 255, .55);
}
.hero-logo-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 40px 70px rgba(0, 22, 60, .48),
    0 14px 28px rgba(0, 22, 60, .3);
}
.hero-logo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  mix-blend-mode: multiply;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background:
    radial-gradient(40px 40px at 40px 0, var(--surface) 98%, transparent 100%) repeat-x,
    var(--brand-light);
  background-size: 80px 64px, auto;
  opacity: .0;
}

/* ===== Sections ===== */
.section { padding: 84px 0; background: var(--surface); }
.section-alt { background: var(--surface-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-foot {
  text-align: center;
  margin-top: 40px;
}

/* ===== Produtos ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.products-loading, .products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .2s, border-color .2s;
  color: inherit;
}
.section-alt .product-card { background: #fff; }
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f7f9fd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 22, 60, .25);
  z-index: 2;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .35s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-brand {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-title {
  font-size: .95rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  margin-top: auto;
  font-weight: 800;
  color: var(--brand);
  font-size: 1.15rem;
}
.product-price small { font-size: .7rem; font-weight: 500; color: var(--text-muted); margin-left: 6px; }

/* ===== Marcas ===== */
.brands-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}
.brands-grid li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  font-weight: 500;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.brands-grid li.is-priority {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brands-grid li:not(.is-priority):hover {
  border-color: var(--brand);
  color: var(--brand);
}
.brands-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 28px;
  font-size: 15px;
}
.brands-note a { color: var(--brand); font-weight: 700; }
.brands-note a:hover { text-decoration: underline; }

/* ===== Stores ===== */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.store-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .16s ease, box-shadow .2s, border-color .2s;
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.store-card img {
  height: 56px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  margin-bottom: 10px;
}
.store-card span {
  font-weight: 700;
  color: var(--brand);
  font-size: 15px;
}
.store-card em {
  color: var(--text-muted);
  font-size: 13px;
  font-style: normal;
}

/* ===== Sobre ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 42px;
  align-items: start;
}
.sobre-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--brand);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.sobre-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.sobre-text strong { color: var(--text); }
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.sobre-stats div { text-align: left; }
.sobre-stats strong {
  display: block;
  font-size: 1.9rem;
  color: var(--brand);
  font-weight: 800;
  line-height: 1;
}
.sobre-stats span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.sobre-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.sobre-card h3 {
  color: var(--brand);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.sobre-card p { color: var(--text-muted); margin-bottom: 18px; font-size: 15px; }
.sobre-card .btn { margin-top: 10px; }

/* ===== Contato ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.contact-icon {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.contact-card strong {
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-card span {
  color: var(--text-muted);
  font-size: 14px;
}
.contact-card .btn { margin-top: 6px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark);
  color: #cfdff5;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding: 56px 24px 30px;
}
.footer-logo { height: 80px; width: auto; margin-bottom: 16px; }
.site-footer p, .site-footer li { font-size: 14px; line-height: 1.7; color: #cfdff5; }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  font-weight: 700;
}
.site-footer ul { list-style: none; }
.site-footer a { color: #eaf1fa; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.legal { font-size: 13px; line-height: 1.8; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 24px;
  font-size: 13px;
  color: #a8bedc;
  text-align: center;
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  z-index: 100;
  transition: transform .18s, box-shadow .18s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .6);
}

/* ===== Responsivo ===== */
@media (max-width: 920px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; justify-content: center; }
  .hero-logo-card { width: min(380px, 100%); transform: rotate(-0.8deg); }
  .hero-ribbon { top: 32px; left: -72px; width: 260px; font-size: 10.5px; padding: 4px 0; letter-spacing: .04em; }
  .hero-copy { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .menu { display: none; }
  .nav { justify-content: space-between; }
  .brand img { height: 44px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px 24px 20px; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  .hero-trust { gap: 18px; }
  .hero-trust strong { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sobre-stats { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-title { font-size: .85rem; }
  .product-price { font-size: 1rem; }
}
