/* ==========================================================================
   CRIAMINDO - CAMADA DE DESIGN
   Carregada depois de styles.css / store.css / product.css.
   Define tokens (espaço, tipo, raio, movimento) e refina os componentes.
   ========================================================================== */

:root {
  /* Marca (mantida) */
  --blue: #1A4F9F;
  --blue-dark: #0B1F44;
  --orange: #FF6A0D;
  --ink: #0B1F44;
  --gray: #4F5B75;
  --gray-light: #7A859C;
  --bg: #F4F7FC;
  --line: #E3E9F2;
  --gray-border: var(--line);

  /* Tipografia */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Espaço: escala de 8px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --gutter: clamp(16px, 5vw, 32px);
  --section-y: clamp(56px, 9vw, 104px);
  --header-h: 64px;

  /* Raios por função */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Sombras: só em elementos que flutuam */
  --shadow-sm: none;
  --shadow-md: 0 8px 24px rgba(11, 35, 80, 0.10);
  --shadow-lg: 0 24px 48px rgba(11, 35, 80, 0.16);

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: color .2s var(--ease-out), background-color .2s var(--ease-out),
    border-color .2s var(--ease-out), transform .25s var(--ease-out), opacity .2s var(--ease-out);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::before, body::after { content: none; }

h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }

.container { padding-inline: var(--gutter); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Um único ritmo vertical para todas as seções */
main > section[id],
main > section[class] {
  padding-block: var(--section-y);
  background: transparent;
  border: 0;
}

/* ---------- Cabeçalhos de seção ---------- */
.section-header {
  text-align: left;
  margin-bottom: var(--space-7);
  display: grid;
  gap: var(--space-3);
  max-width: 62ch;
}

.section-tag { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.section-title span { color: inherit; }

.section-subtitle {
  font-size: clamp(1rem, 2.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
  max-width: 56ch;
}

@media (min-width: 960px) {
  .section-header {
    max-width: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    column-gap: var(--space-8);
  }
}

/* ---------- Botões ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  letter-spacing: 0;
}

.btn-primary {
  background: var(--orange);
  box-shadow: none;
  color: #fff;
}
.btn-primary:hover { background: #E85F00; transform: none; box-shadow: none; }

.btn-secondary { box-shadow: none; }
.btn-secondary:hover { transform: none; }

.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: none; }

.btn-whatsapp { box-shadow: none; color: #fff; background: #128C4A; }
.btn-whatsapp:hover { background: #0F7A40; transform: none; }

.btn:active, .btn-card-view:active, .btn-corporate-view:active, .filter-btn:active {
  transform: scale(0.97);
}

/* ---------- Header ---------- */
header {
  background: rgba(245, 247, 251, 0.88);
  border-bottom: 1px solid var(--line);
}
.navbar { height: var(--header-h); }
.logo img { width: 36px; }
.logo-text strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.logo-text small { display: none; }

nav.main-nav { gap: var(--space-6); }
nav.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
nav.main-nav a.nav-natal { color: #B3261E; }

.btn-header-cart {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
  border: 0;
}
.btn-header-cart:hover { background: var(--blue); transform: none; }
.hamburger-btn { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

.cart-count-badge { box-shadow: none; }
.cart-count-badge.bump { animation: bump .35s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

nav.main-nav a { white-space: nowrap; }
@media (max-width: 1023px) {
  nav.main-nav { display: none; }
  .hamburger-btn { display: flex; }
}

/* ---------- Menu mobile ---------- */
.mobile-menu-content { padding: var(--space-5); }
.mobile-nav-links { gap: 0; }
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  padding: var(--space-4) 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-close { width: 44px; height: 44px; }

/* ---------- Hero ---------- */
main > section.hero-compact {
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-bottom: var(--space-7);
  overflow: visible;
}

.hero-box {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-6) var(--space-5) 0;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-box::before {
  inset: auto -20% -40% auto;
  width: 90%;
  aspect-ratio: 1;
  height: auto;
  background: radial-gradient(circle, rgba(255, 106, 0, .55), transparent 65%);
  opacity: .5;
  z-index: -1;
}

.hero-tagline {
  background: rgba(255, 255, 255, .1);
  border: 0;
  box-shadow: none;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 6px 14px;
}

.hero-compact h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 4.75rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: var(--space-4);
  max-width: 14ch;
}
.hero-compact h1 span {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: inherit;
}

.hero-desc { color: rgba(255, 255, 255, .78); font-size: 1.0625rem; margin-bottom: var(--space-5); max-width: 44ch; }
.hero-actions { gap: var(--space-3); }
.hero-actions .btn { flex: 1 1 100%; }
.hero-actions .btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--ink); }

.hero-image-compact { display: flex; justify-content: center; margin-top: var(--space-5); }
.hero-image-compact img {
  width: min(62vw, 300px);
  max-width: none;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .35));
  animation: none;
  transform-origin: 50% 100%;
}

@media (min-width: 640px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .hero-box {
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    padding: var(--space-8) var(--space-8) 0;
  }
  .hero-content { padding-bottom: var(--space-8); }
  .hero-image-compact { margin-top: 0; justify-content: flex-end; }
  .hero-image-compact img { width: min(100%, 380px); }
}

/* Único momento de movimento "de abertura": hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-tagline, .hero-compact h1, .hero-desc, .hero-actions {
    animation: rise .7s var(--ease-out) both;
  }
  .hero-compact h1 { animation-delay: .08s; }
  .hero-desc { animation-delay: .18s; }
  .hero-actions { animation-delay: .28s; }
  .hero-image-compact img {
    animation: mindo-in .9s var(--ease-out) .25s both, mindo-idle 5s ease-in-out 1.2s infinite;
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes mindo-in { from { opacity: 0; transform: translateY(40px) scale(.92); } }
@keyframes mindo-idle { 50% { transform: translateY(-8px) rotate(-1.5deg); } }

/* ---------- Categorias ---------- */
main > section.categories-section { padding-top: var(--space-6); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  padding: var(--space-4);
  text-align: left;
  align-items: flex-start;
  min-height: 148px;
  gap: 0;
}
.category-card::before { content: none; }
.category-icon {
  width: 44px; height: 44px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
}
.category-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: var(--space-1); }
.category-card p { font-size: .875rem; color: var(--gray); line-height: 1.45; }
.category-card:active { transform: scale(.98); }

@media (hover: hover) {
  .category-card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
  .category-card:hover .category-icon { background: var(--soft-orange); transform: none; }
}
@media (min-width: 720px) { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1080px) { .categories-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Filtros ---------- */
.filter-chips-wrap {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: var(--space-2);
  margin: 0 calc(var(--gutter) * -1) var(--space-6);
  padding: 2px var(--gutter);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.filter-chips-wrap::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
  scroll-snap-align: start;
}
.filter-btn:hover { background: transparent; border-color: var(--ink); color: var(--ink); transform: none; }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
@media (min-width: 900px) { .filter-chips-wrap { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

/* ---------- Cards de produto: catálogo, sem moldura ---------- */
.store-grid { gap: var(--space-5); }

.store-product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.store-product-card:hover { transform: none; box-shadow: none; border: 0; }

.store-card-image-wrap {
  border-radius: var(--radius-md);
  background: #E8EDF6;
  aspect-ratio: 4 / 5;
}
.store-card-image-wrap img { transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .store-product-card:hover .store-card-image-wrap img { transform: scale(1.04); }
}

.store-card-badge-wrap { top: var(--space-3); left: var(--space-3); }
.badge {
  text-transform: none;
  letter-spacing: 0;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: none;
}
.badge-bestseller { background: var(--ink); color: #fff; }
.badge-natal { background: #B3261E; }

.store-card-body { padding: var(--space-3) 0 0; }
.store-card-category {
  text-transform: none;
  letter-spacing: 0;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 2px;
}
.store-card-title { font-size: 1.1875rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: var(--space-1); }
.store-card-title a:hover { color: var(--blue); }
.store-card-desc { font-size: .9375rem; color: var(--gray); margin-bottom: var(--space-3); }
.store-card-price-row { border-top: 0; padding-top: 0; margin-bottom: var(--space-3); }
.store-card-price { font-size: .875rem; color: var(--gray); }
.store-card-price strong { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; color: var(--ink); }
.store-card-min { background: transparent; padding: 0; color: var(--gray); font-weight: 500; }

.btn-card-view, .btn-corporate-view {
  min-height: 48px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: .9375rem;
}
.btn-card-view:hover, .btn-corporate-view:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Brindes ---------- */
.corporate-gifts-grid { gap: var(--space-5); }
.corporate-gift-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.corporate-gift-card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.corporate-card-img-wrap { background: #E8EDF6; aspect-ratio: 4 / 3; }
.corporate-badge-custom { background: var(--ink); backdrop-filter: none; border-radius: var(--radius-sm); }
.corporate-card-content { padding: var(--space-5); }
.corporate-card-title { font-size: 1.3125rem; color: var(--ink); }
.corporate-card-desc { font-size: .9375rem; }
.corporate-price-box { border-top-color: var(--line); }
.corporate-price-val { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.corp-tier-chip { background: var(--bg); border-color: transparent; }
.chip-qty { color: var(--gray); font-weight: 600; }

/* ---------- Ideia (bloco de contraste) ---------- */
.custom-idea-section {
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: none;
  padding: var(--space-7) var(--space-5);
  margin: 0;
}
.custom-idea-section::before { opacity: .2; }
.custom-idea-text .badge-idea { display: none; }
.custom-idea-text h2 {
  font-size: clamp(1.875rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.custom-idea-text p { color: rgba(255, 255, 255, .78); font-size: 1.0625rem; line-height: 1.6; max-width: 46ch; }
.custom-idea-grid { text-align: left; }
.custom-idea-image { display: flex; }
.custom-idea-image img { max-width: 260px; }
@media (min-width: 900px) { .custom-idea-section { padding: var(--space-8); } }
@media (max-width: 820px) {
  .custom-idea-grid { text-align: left; }
  .custom-idea-image { display: none; }
}

/* ---------- Além dos brindes: lista, não cards ---------- */
.beyond-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.beyond-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: var(--space-5) 0;
  text-align: left;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: var(--space-4);
  align-items: start;
}
.beyond-card:hover { transform: none; background: transparent; box-shadow: none; border-color: var(--line); }
.beyond-icon-wrap {
  grid-row: span 2;
  width: 44px; height: 44px;
  margin: 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}
.beyond-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 var(--space-1); }
.beyond-card p { font-size: .9375rem; color: var(--gray); }
@media (min-width: 720px) { .beyond-grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-8); } }

/* ---------- Produção ---------- */
.production-box { gap: var(--space-6); }
.production-image-wrap { border-radius: var(--radius-lg); box-shadow: none; aspect-ratio: 4 / 3; }
.production-image-wrap img { height: 100%; }
.production-badge-tech { background: var(--ink); backdrop-filter: none; border-radius: var(--radius-sm); font-weight: 600; }
.production-features { grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-5); }
.prod-feat-icon { background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.prod-feat-item strong { color: var(--ink); font-size: 1rem; }
.prod-feat-item small { font-size: .9375rem; }
@media (min-width: 640px) { .production-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .production-box { gap: var(--space-8); } }

.production-text .section-subtitle { margin: 0 0 var(--space-4); }
.production-text .production-copy { color: var(--gray); line-height: 1.7; max-width: 56ch; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0; gap: 0; border-top: 1px solid var(--line); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq-question {
  min-height: 64px;
  padding: var(--space-4) 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-icon { background: transparent; color: var(--ink); border: 1.5px solid var(--line); width: 32px; height: 32px; }
.faq-item.open .faq-icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 62ch;
}
.faq-item.open .faq-answer { max-height: 480px; padding: 0 0 var(--space-5); }

/* ---------- Sobre ---------- */
#sobre .sobre-inner { max-width: 720px; margin: 0; text-align: left; }
#sobre .sobre-logo { width: 88px; height: auto; margin: 0 0 var(--space-5); }
#sobre h2 {
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
}
#sobre p { color: var(--gray); font-size: 1.0625rem; line-height: 1.7; margin-bottom: var(--space-5); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #fff; border: 0; padding: var(--space-8) 0 var(--space-6); }
footer .logo-text strong { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, .7); }
.footer-top { gap: var(--space-7) var(--space-6); }
.footer-col h4 { font-size: 1.0625rem; color: #fff; margin-bottom: var(--space-4); }
.footer-links { gap: 0; }
.footer-links a { color: rgba(255, 255, 255, .75); font-weight: 500; font-size: 1rem; display: inline-block; padding: var(--space-2) 0; min-height: 40px; }
.footer-links a:hover { color: #fff; padding-left: 0; }
.footer-social-links a { background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: var(--radius-md); }
.footer-social-links a:hover { background: var(--orange); transform: none; }
.footer-col p, .footer-col a[href^="https://wa.me"] { color: rgba(255, 255, 255, .8) !important; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .6); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Carrinho: bottom sheet no celular ---------- */
.cart-backdrop { background: rgba(11, 35, 80, .5); backdrop-filter: none; }
.cart-header { padding: var(--space-4) var(--space-5); }
.cart-header h3 { font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); }
.cart-close-btn { width: 44px; height: 44px; }
.cart-body { padding: var(--space-4) var(--space-5); overscroll-behavior: contain; }
.cart-item-card { background: var(--bg); border: 0; border-radius: var(--radius-md); }
.cart-item-title, .cart-item-subtotal, .cart-subtotal-val { color: var(--ink); }
.step-btn { width: 40px; height: 40px; }
.cart-footer { padding: var(--space-4) var(--space-5) calc(var(--space-4) + env(safe-area-inset-bottom)); }
.cart-shipping-notice { background: var(--bg); color: var(--gray); }
.cart-price-disclaimer { color: var(--gray); }
.btn-checkout-whatsapp { box-shadow: none; }

@media (max-width: 768px) {
  .cart-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    height: min(86dvh, 720px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    box-shadow: var(--shadow-lg);
  }
  .cart-drawer.open { transform: translateY(0); }
  .cart-header::before {
    content: "";
    position: absolute;
    top: 8px; left: 50%;
    width: 40px; height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: var(--line);
  }
  .cart-header { position: relative; }
}

.criamindo-toast { bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); background: var(--ink); backdrop-filter: none; }

/* ---------- Carrosséis mobile: gutters coerentes ---------- */
@media (max-width: 768px) {
  .store-grid, .corporate-gifts-grid {
    padding: 4px var(--gutter) 16px;
    margin: 0 calc(var(--gutter) * -1);
    scroll-padding-inline: var(--gutter);
  }
  .store-product-card { flex-basis: 72vw; max-width: 300px; }
  .corporate-gift-card { flex-basis: 82vw; max-width: 340px; }
  .mobile-swipe-hint { color: var(--gray); }
  .mobile-swipe-hint i { color: var(--ink); }
}
@media (min-width: 769px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .corporate-gifts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .store-grid { grid-template-columns: repeat(4, 1fr); }
  .corporate-gifts-grid { grid-template-columns: repeat(3, 1fr); }
}



/* ---------- Coleção de Natal ---------- */
main > section.natal-hero {
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: var(--space-6);
  text-align: left;
  background: none;
}
.natal-title {
  font-size: clamp(2.5rem, 11vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.035em;
  color: #B3261E;
  margin-bottom: var(--space-4);
}
.natal-subtitle { color: var(--gray); font-size: 1.125rem; max-width: 40ch; margin: 0; }
main > section.natal-grid-section { padding-top: var(--space-5); }
.natal-cta {
  margin-top: var(--space-8);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
}
.natal-cta h3 { font-size: clamp(1.5rem, 5vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 24ch; margin-bottom: var(--space-3); }
.natal-cta p { color: rgba(255,255,255,.78); max-width: 48ch; margin-bottom: var(--space-5); }

/* ---------- Página de produto ---------- */
.product-page-main { padding-top: calc(var(--header-h) + var(--space-5)); }
.breadcrumbs a, .breadcrumbs span.current { color: var(--gray); }
.breadcrumbs span.current { color: var(--ink); font-weight: 600; }
.product-main-image-wrap { border-radius: var(--radius-lg); box-shadow: none; }
.thumb-item { border-radius: var(--radius-sm); min-width: 56px; min-height: 56px; }
.product-category-tag { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--gray); }
.product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.product-tagline { color: var(--gray); font-size: 1.0625rem; }
.product-price-container, .tiered-pricing-box, .customization-section, .qty-control-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}
.dynamic-price { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.tiered-title, .custom-section-title, .custom-label { color: var(--ink); font-family: var(--font-body); }
.tier-item { border-radius: var(--radius-sm); }
.color-option-btn {
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.color-option-btn.active, .color-option-btn.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.custom-input-text { min-height: 48px; font-size: 1rem; border-radius: var(--radius-sm); font-family: var(--font-body); }
.qty-btn { width: 44px; height: 44px; background: var(--bg); color: var(--ink); border-radius: var(--radius-sm); }
.btn-add-to-cart, .btn-ask-product-whatsapp {
  min-height: 54px;
  border-radius: var(--radius-md);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.btn-add-to-cart { background: var(--orange); color: #fff; }
.btn-add-to-cart:hover { background: #E85F00; transform: none; box-shadow: none; }
.btn-add-to-cart:active { transform: scale(.98); }
.btn-ask-product-whatsapp { background: transparent; border: 1.5px solid #128C4A; color: #0F7A40; }
.product-long-description h3 { font-family: var(--font-display); color: var(--ink); font-size: 1.5rem; }
.product-long-description p { max-width: 62ch; color: var(--gray); }
.related-products-section { padding-block: var(--section-y); }

/* Barra de compra fixa no celular */
@media (max-width: 899px) {
  .product-action-row {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: rgba(245, 247, 251, .96);
    border-top: 1px solid var(--line);
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   MANUAL DA MARCA (guia.html): Montserrat 900 nos títulos, Inter 500 no texto.
   Gelo ~60%, azul 25%, laranja 10% (uma palavra por título). Mascote em fundo claro.
   ========================================================================== */
:root {
  --azul: #1A4F9F;
  --azul-noite: #0B1F44;
  --laranja-suave: #FFE6D4;
  --camada: #E3E9F2;
  --soft-orange: #FFE6D4;
  --soft-blue: #E3E9F2;
}

body { font-weight: 500; }

h1, h2, h3, h4,
.section-title, .product-title, .natal-title, .logo-text strong, .btn, .filter-btn,
.btn-card-view, .btn-corporate-view, .btn-add-to-cart {
  font-family: var(--font-display);
}
h1, h2, .section-title, .product-title, .natal-title { font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; color: var(--azul); }
h3, h4, .store-card-title, .category-card h3, .beyond-card h3, .corporate-card-title, .faq-question { font-weight: 800; }
.btn, .filter-btn, .btn-card-view, .btn-corporate-view, .btn-add-to-cart, .btn-ask-product-whatsapp { font-weight: 800; }
.store-card-price strong, .corporate-price-val, .dynamic-price, .cart-subtotal-val { font-weight: 900; }
.logo-text strong { font-weight: 900; color: var(--azul); }
.section-subtitle, .hero-desc, .store-card-desc, .product-tagline { font-family: var(--font-body); font-weight: 500; }

/* Hero claro, com as camadas do manual; o Mindo fica sobre fundo claro */
.hero-box { background: var(--bg); color: var(--azul-noite); border: 1px solid var(--line); }
.hero-box::before {
  inset: auto 0 0 auto;
  width: min(60%, 560px);
  aspect-ratio: 1;
  height: auto;
  background: repeating-linear-gradient(-18deg, transparent 0 26px, var(--camada) 26px 40px);
  -webkit-mask: linear-gradient(135deg, transparent 30%, #000);
  mask: linear-gradient(135deg, transparent 30%, #000);
  opacity: .9;
}
.hero-tagline { background: var(--laranja-suave); color: var(--azul-noite); font-weight: 600; }
.hero-compact h1 { color: var(--azul); font-weight: 900; line-height: .98; }
.hero-compact h1 em { font-style: normal; color: var(--orange); }
.hero-desc { color: var(--azul-noite); opacity: .82; }
.hero-actions .btn-outline { border-color: var(--azul); color: var(--azul); }
.hero-actions .btn-outline:hover { background: var(--azul); color: #fff; }
.hero-image-compact img { filter: none; mix-blend-mode: multiply; }

/* Azul de apoio: blocos de contraste usam o Azul Noite do manual */
.custom-idea-section, .natal-cta, footer { background: var(--azul-noite); }
.custom-idea-text h2, .natal-cta h3 { color: #fff; }
/* Mindo em fundo escuro: dentro de hexágono branco */
.custom-idea-image img {
  background: #fff;
  padding: 24px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  filter: none;
}
.natal-title { color: var(--azul); }
.badge-natal { background: #B3261E; }
.btn-primary { background: var(--orange); }
.production-image-wrap, .corporate-card-img-wrap, .store-card-image-wrap { border-radius: 28px; }
.corporate-gift-card { border-radius: 28px; }
.store-card-image-wrap { border-radius: 28px; }

/* Carrinho: linha de preço sem estourar o card; toast em uma linha */
.cart-item-info { min-width: 0; }
.cart-item-price-row { flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.cart-unit-price { flex: 1 0 100%; }
.cart-item-subtotal { margin-left: auto; }
.criamindo-toast { width: max-content; max-width: calc(100vw - 32px); }

/* Mobile: sem o Mindo no hero (economiza espaço) */
@media (max-width: 899px) {
  .hero-image-compact { display: none; }
  .hero-box { padding-bottom: var(--space-6); }
}

/* Hero alinhado à esquerda no mobile (styles.css centralizava o texto) */
@media (max-width: 899px) {
  .hero-box { text-align: left; }
  .hero-desc { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-compact h1 { max-width: none; }
}

/* Hero mobile: coluna que não estoura e título que cabe na largura */
@media (max-width: 899px) {
  .hero-box { grid-template-columns: minmax(0, 1fr); padding-inline: var(--space-5); }
  .hero-compact h1 { font-size: clamp(1.75rem, 8.4vw, 4rem); overflow-wrap: break-word; }
}


/* ==========================================================================
   MOVIMENTO (js/motion.js)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Revelar ao rolar, em sequência dentro de cada grupo */
  [data-rv="hidden"] { opacity: 0; transform: translateY(24px); }
  [data-rv="in"] {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .store-product-card[data-rv="hidden"], .corporate-gift-card[data-rv="hidden"] { transform: translateY(32px) scale(.98); }
  .production-image-wrap[data-rv="hidden"] { transform: scale(.96); }

  /* Imagens dos cards "abrem" ao entrar */
  .store-product-card[data-rv="hidden"] .store-card-image-wrap img { transform: scale(1.12); }
  .store-product-card[data-rv="in"] .store-card-image-wrap img { transition: transform 1.1s var(--ease-out); transform: none; }

  /* Linha do FAQ e título de seção: sublinhado que desenha */
  .section-title { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 4px no-repeat; padding-bottom: 6px; }
  .section-header[data-rv="in"] .section-title { background-size: 64px 4px; transition: background-size .8s var(--ease-out) .25s; }

  /* Cabeçalho */
  header { transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
  header.scrolled { box-shadow: 0 6px 20px rgba(11, 31, 68, .08); background: rgba(244, 247, 252, .96); }

  /* Cards e botões respondem ao toque/hover */
  @media (hover: hover) {
    .corporate-gift-card, .category-card { transition: transform .35s var(--ease-out), border-color .2s, box-shadow .35s var(--ease-out); }
    .corporate-gift-card:hover, .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
    .btn-primary:hover { transform: translateY(-2px); }
    .btn i.fa-arrow-down, .btn-card-view i { transition: transform .25s var(--ease-out); }
    .btn:hover i.fa-arrow-down { transform: translateY(3px); }
    .btn-card-view:hover i { transform: translateX(4px); }
  }

  /* Carrinho */
  .btn-header-cart.cart-hit { animation: cart-hit .5s var(--ease-out); }
  @keyframes cart-hit { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.96) rotate(3deg); } }
  .cart-subtotal-val.tick { animation: tick .4s var(--ease-out); }
  @keyframes tick { 40% { transform: scale(1.12); color: var(--orange); } }
  .cart-drawer.open .cart-item-card { animation: item-in .45s var(--ease-out) both; }
  .cart-drawer.open .cart-item-card:nth-child(2) { animation-delay: .06s; }
  .cart-drawer.open .cart-item-card:nth-child(3) { animation-delay: .12s; }
  @keyframes item-in { from { opacity: 0; transform: translateX(20px); } }
  .btn-add-to-cart { transition: background-color .25s var(--ease-out), transform .2s var(--ease-out); }
  .btn-add-to-cart.is-added { background: #128C4A; animation: added .5s var(--ease-out); }
  @keyframes added { 40% { transform: scale(1.03); } }

  /* Menu mobile: links entram em sequência */
  .mobile-menu.active .mobile-nav-links a { animation: link-in .5s var(--ease-out) both; }
  .mobile-menu.active .mobile-nav-links a:nth-child(2) { animation-delay: .04s; }
  .mobile-menu.active .mobile-nav-links a:nth-child(3) { animation-delay: .08s; }
  .mobile-menu.active .mobile-nav-links a:nth-child(4) { animation-delay: .12s; }
  .mobile-menu.active .mobile-nav-links a:nth-child(5) { animation-delay: .16s; }
  .mobile-menu.active .mobile-nav-links a:nth-child(6) { animation-delay: .20s; }
  .mobile-menu.active .mobile-nav-links a:nth-child(7) { animation-delay: .24s; }
  @keyframes link-in { from { opacity: 0; transform: translateX(24px); } }

  /* Troca de filtro: grade reaparece */
  .filter-btn { transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s, transform .2s; }
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1100;
  pointer-events: none;
}

.fly-ghost {
  position: fixed;
  z-index: 2000;
  object-fit: cover;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
