/* ════════════════════════════════════════════════════════
   RESPONSIVIDADE MOBILE FIRST
   J.A UNIFORMES — Funcional em 320px até 1440px+
   ════════════════════════════════════════════════════════ */

:root {
  /* Tipografia */
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-lg: 14px;
  --text-xl: 16px;
  --text-2xl: 18px;
  --text-3xl: 20px;
  --text-4xl: 24px;
  --text-5xl: 32px;

  /* Espaçamento */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;

  /* Cores */
  --color-primary: #6115dd;
  --color-surface: #fff;
  --color-text: #333;
  --color-border: #e0e0e0;
  --color-bg: #f9f9f9;

  /* Breakpoints */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════ */

* {
  box-sizing: border-box;
}

html {
  font-size: 13px; /* Mobile first */
  /* Define altura do header para uso em cálculos */
  --header-height: 56px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100%;
}

button, input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ══════════════════════════════════════════════════════
   HEADER — Mobile First
   ══════════════════════════════════════════════════════ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

header > div {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

/* Logo */
header > div > div:first-child {
  cursor: pointer;
  flex-shrink: 0;
}

/* Nav Desktop — esconder em mobile */
.nav-desktop {
  display: none !important;
}

/* Menu Hambúrguer */
.menu-toggle {
  display: flex !important;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* Menu Mobile */
.nav-mobile {
  position: fixed;
  top: var(--header-height, 56px);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  z-index: 99;
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  overflow-y: auto;
  max-height: calc(100vh - var(--header-height, 56px));
}

.nav-mobile button {
  width: 100% !important;
  padding: 12px 24px !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
  font-size: 13px !important;
  color: #333 !important;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f2 !important;
}

/* Buscador — esconder em mobile */
.search-box {
  display: none !important;
}

input[placeholder*="uscar"] {
  width: 140px;
  padding: 7px 10px 7px 30px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s;
}

input[placeholder*="uscar"]:focus {
  border-color: var(--color-primary);
}

/* Botão Área do Admin — esconder em mobile */
.admin-button {
  display: none !important;
}

/* Header inner div: logo à esquerda, hamburger à direita */
header > div {
  justify-content: space-between !important;
}

/* ══════════════════════════════════════════════════════
   SEÇÃO "O QUE PRODUZIMOS" — ocultar em mobile
   ══════════════════════════════════════════════════════ */

.categories-overview {
  display: none !important;
}

/* ══════════════════════════════════════════════════════
   ZOOM DE IMAGEM DE PRODUTO
   ══════════════════════════════════════════════════════ */

.product-img-wrap {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

/* Escala a imagem/SVG ao hover */
.product-img-wrap > div {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  will-change: transform;
}

.product-img-wrap:hover > div {
  transform: scale(1.1);
}

/* Ícone de zoom que aparece ao hover */
.product-img-zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.product-img-wrap:hover .product-img-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Overlay escuro suave ao hover */
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.product-img-wrap:hover::after {
  background: rgba(0,0,0,0.07);
}

/* Mobile: touch feedback */
@media (hover: none) and (pointer: coarse) {
  .product-img-wrap:active > div {
    transform: scale(1.06);
    transition: transform 0.15s ease;
  }

  .product-img-zoom-icon {
    opacity: 0.7;
    transform: scale(1);
  }
}

/* Botões header */
header button {
  padding: 7px 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all 0.15s;
}

header button:hover {
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */

section[role="region"] {
  padding: var(--space-lg) var(--space-md);
}

section[role="region"] h1 {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
  color: #1e293b;
}

section[role="region"] p {
  font-size: var(--text-base);
  color: #64748b;
  margin: var(--space-md) 0;
  line-height: 1.6;
}

section[role="region"] button {
  padding: 10px 18px;
  font-size: var(--text-sm);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: var(--space-md);
  font-weight: 600;
  transition: all 0.2s;
}

section[role="region"] button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   GRID DE PRODUTOS
   ══════════════════════════════════════════════════════ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg);
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  background: #fff;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.product-card h3 {
  margin: var(--space-md) 0 var(--space-sm);
  font-size: var(--text-base);
  font-weight: 600;
  color: #1e293b;
}

.product-card p {
  font-size: var(--text-sm);
  color: #64748b;
  margin: var(--space-sm) 0;
}

.product-card .price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-md) 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE GRIDS — Mobile First (1 column default)
   ══════════════════════════════════════════════════════ */

.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
}

.collage-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  height: auto !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
}

.contact-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
}

.benefits-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}

.modal-grid {
  display: flex !important;
  flex-direction: column !important;
  max-height: 90vh !important;
  overflow: hidden !important;
}

.form-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */

footer {
  background: var(--color-bg);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

footer > div {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

footer h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 var(--space-md) 0;
  color: #1e293b;
}

footer p, footer ul {
  font-size: var(--text-sm);
  color: #64748b;
  margin: var(--space-sm) 0;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin: var(--space-sm) 0;
}

/* ══════════════════════════════════════════════════════
   MODAIS/DIALOGS
   ══════════════════════════════════════════════════════ */

div[style*="position: fixed"][style*="inset: 0"] {
  padding: var(--space-md);
}

div[role="dialog"] {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}

div[role="dialog"] h2 {
  font-size: var(--text-2xl);
  margin: 0 0 var(--space-md) 0;
  color: #1e293b;
}

div[role="dialog"] input {
  width: 100%;
  padding: 10px;
  margin: var(--space-md) 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: var(--text-base);
  outline: none;
}

div[role="dialog"] button {
  width: 100%;
  padding: 10px;
  margin: var(--space-md) 0;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════
   TABLET (768px+)
   ══════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  html {
    font-size: 14px;
    --header-height: 60px;
  }

  header {
    padding: 14px 24px;
  }

  header > div {
    grid-template-columns: auto auto 1fr auto auto auto;
    gap: 16px;
  }

  .nav-mobile {
    top: var(--header-height, 60px);
    max-height: calc(100vh - var(--header-height, 60px));
  }

  .nav-desktop {
    display: flex !important;
    gap: 4px;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }

  .search-box {
    display: block !important;
  }

  .admin-button {
    display: block !important;
  }

  .categories-overview {
    display: block !important;
  }

  input[placeholder*="uscar"] {
    width: 180px;
  }

  section[role="region"] h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .collage-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .modal-grid {
    grid-template-columns: 1fr !important;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════
   BOTÃO FLUTUANTE DE ORÇAMENTO
   ══════════════════════════════════════════════════════ */

@keyframes cart-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(97,21,221,0.45); transform: scale(1); }
  55%  { box-shadow: 0 0 0 12px rgba(97,21,221,0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(97,21,221,0); transform: scale(1); }
}

@keyframes cart-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.8; }
}

@keyframes cart-sent-in {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.floating-cart-btn {
  position: fixed;
  top: calc(var(--header-height, 60px) + 12px);
  right: 16px;
  z-index: 199;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: #6115DD;
  box-shadow: 0 6px 24px rgba(97,21,221,0.35);
  transition: background 0.3s, opacity 0.3s, box-shadow 0.3s;
  letter-spacing: 0.02em;
}

.floating-cart-btn.has-items {
  animation: cart-pulse 2.8s ease-out infinite, cart-blink 3s ease-in-out infinite;
}

.floating-cart-btn.sent {
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  cursor: default;
  animation: cart-sent-in 0.4s ease;
}

.floating-cart-btn:not(.sent):hover {
  background: #4e10bb;
  box-shadow: 0 8px 28px rgba(97,21,221,0.45);
}

@media (max-width: 479px) {
  .floating-cart-btn {
    top: calc(var(--header-height, 56px) + 10px);
    right: 10px;
    padding: 10px 14px;
    font-size: 12px;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════════════════
   MODAL - Ajustes para layout responsivo
   ══════════════════════════════════════════════════════ */

.modal-grid {
  display: flex !important;
  flex-direction: column !important;
}

.modal-grid > div:first-child {
  flex-shrink: 0;
  overflow: hidden;
}

.modal-grid > div:last-child {
  flex-grow: 1;
  overflow-y: auto;
}

.modal-image-section {
  padding: 20px;
}

@media (max-width: 479px) {
  .modal-image-section {
    padding: 0 !important;
  }
}

.checkout-modal {
  display: flex !important;
  flex-direction: column !important;
}

.checkout-modal > div:first-child {
  flex-shrink: 0;
}

.checkout-modal > div:last-child {
  flex-grow: 1;
  overflow-y: auto !important;
}

/* ══════════════════════════════════════════════════════
   MOBILE PEQUENO (320px - 374px)
   ══════════════════════════════════════════════════════ */

@media (max-width: 374px) {
  html {
    font-size: 12px;
    --header-height: 60px;
  }

  header {
    padding: 0;
  }

  header > div {
    padding: 10px 12px !important;
    gap: 8px;
  }

  .nav-mobile {
    top: var(--header-height, 60px);
    max-height: calc(100vh - var(--header-height, 60px));
  }

  .nav-mobile button {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
  }

  .menu-toggle {
    padding: 6px;
  }

  header button {
    padding: 6px 10px;
    font-size: var(--text-xs);
  }

  .modal-grid {
    width: 95vw !important;
    max-height: 95vh !important;
  }

  .modal-grid > div:first-child {
    padding: 0 !important;
    height: 200px;
    flex-shrink: 0;
  }

  .modal-grid > div:first-child img,
  .modal-grid > div:first-child svg {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
  }

  .modal-grid > div:last-child {
    padding: 16px !important;
  }

  .modal-grid h2 {
    font-size: 18px !important;
  }

  .checkout-modal {
    width: 95vw !important;
    max-height: 95vh !important;
  }

  .checkout-modal > div {
    padding: 12px !important;
  }

  .checkout-modal > div:first-child {
    padding: 12px 12px 0 12px !important;
  }

  .checkout-modal input,
  .checkout-modal textarea {
    font-size: 14px !important;
  }
}

/* ══════════════════════════════════════════════════════
   MOBILE MÉDIO (375px - 424px)
   ══════════════════════════════════════════════════════ */

@media (min-width: 375px) and (max-width: 424px) {
  html {
    font-size: 13px;
    --header-height: 64px;
  }

  header {
    padding: 0;
  }

  header > div {
    padding: 12px 16px !important;
    gap: 8px;
  }

  .nav-mobile {
    top: var(--header-height, 64px);
    max-height: calc(100vh - var(--header-height, 54px));
  }

  .nav-mobile button {
    padding: 11px 18px !important;
    font-size: 13px !important;
  }

  .modal-grid {
    width: 94vw !important;
    max-height: 95vh !important;
  }

  .modal-grid > div:first-child {
    padding: 0 !important;
    height: 220px;
    flex-shrink: 0;
  }

  .modal-grid > div:first-child img,
  .modal-grid > div:first-child svg {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
  }

  .modal-grid > div:last-child {
    padding: 16px !important;
  }

  .modal-grid h2 {
    font-size: 20px !important;
  }

  .checkout-modal {
    width: 94vw !important;
    max-height: 95vh !important;
  }

  .checkout-modal > div {
    padding: 14px !important;
  }

  .checkout-modal > div:first-child {
    padding: 14px 14px 0 14px !important;
  }

  .checkout-modal input,
  .checkout-modal textarea {
    font-size: 14px !important;
  }
}

/* ══════════════════════════════════════════════════════
   MOBILE GRANDE (425px - 480px)
   ══════════════════════════════════════════════════════ */

@media (min-width: 425px) and (max-width: 479px) {
  html {
    font-size: 13px;
    --header-height: 68px;
  }

  header {
    padding: 0;
  }

  header > div {
    padding: 14px 18px !important;
    gap: 12px;
  }

  .nav-mobile {
    top: var(--header-height, 68px);
    max-height: calc(100vh - var(--header-height, 68px));
  }

  .nav-mobile button {
    padding: 12px 20px !important;
    font-size: 13px !important;
  }

  .modal-grid {
    width: 92vw !important;
    max-height: 95vh !important;
  }

  .modal-grid > div:first-child {
    padding: 0 !important;
    height: 240px;
    flex-shrink: 0;
  }

  .modal-grid > div:first-child img,
  .modal-grid > div:first-child svg {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain;
  }

  .modal-grid > div:last-child {
    padding: 16px !important;
  }

  .modal-grid h2 {
    font-size: 22px !important;
  }

  .checkout-modal {
    width: 92vw !important;
    max-height: 95vh !important;
  }

  .checkout-modal > div {
    padding: 16px !important;
  }

  .checkout-modal > div:first-child {
    padding: 16px 16px 0 16px !important;
  }

  .checkout-modal input,
  .checkout-modal textarea {
    font-size: 14px !important;
  }
}

/* ══════════════════════════════════════════════════════
   SMALL TABLET (480px+)
   ══════════════════════════════════════════════════════ */

@media (min-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .collage-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .modal-grid {
    width: 90vw !important;
    max-height: 90vh !important;
    flex-direction: row !important;
  }

  .modal-grid > div:first-child {
    padding: 18px !important;
    flex: 0 0 auto;
    max-height: none;
  }

  .modal-grid > div:first-child img,
  .modal-grid > div:first-child svg {
    max-height: none !important;
  }

  .modal-grid > div:last-child {
    padding: 18px !important;
    flex: 1;
  }
}

/* ══════════════════════════════════════════════════════
   DESKTOP (1024px+)
   ══════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }

  header {
    padding: 14px 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr !important;
  }

  .collage-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    height: 440px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .modal-grid {
    width: auto;
    max-height: 90vh;
    flex-direction: row !important;
  }

  .modal-grid > div:first-child {
    padding: 30px !important;
    flex: 0 0 auto;
    max-height: none;
    background: #F2F2F2;
  }

  .modal-grid > div:first-child img,
  .modal-grid > div:first-child svg {
    max-height: none !important;
  }

  .modal-grid > div:last-child {
    padding: 30px !important;
    flex: 1;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  footer > div {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ══════════════════════════════════════════════════════
   GRANDE DESKTOP (1280px+)
   ══════════════════════════════════════════════════════ */

@media (min-width: 1280px) {
  html {
    font-size: 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
  }

  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ══════════════════════════════════════════════════════
   OVERFLOW & LAYOUT FIXES
   ══════════════════════════════════════════════════════ */

/* Prevenir overflow horizontal em toda a página */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Garantir que todas as seções respeitem a viewport */
main, section, div[style*="max-width"], footer {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Quando menu móvel está aberto, previne scroll do body */
body.menu-open {
  overflow: hidden;
  height: 100vh;
}

/* ══════════════════════════════════════════════════════
   UTILITÁRIOS
   ══════════════════════════════════════════════════════ */

/* Esconder em mobile */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Esconder em desktop */
@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Touch-friendly buttons em devices mobile */
@media (hover: none) {
  button:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

/* Reduzir motion para quem prefere */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════════════
   PÁGINA DE PRODUTO
   ══════════════════════════════════════════════════════ */

.product-page-grid {
  grid-template-columns: 1fr !important;
  gap: 32px !important;
  padding: 24px 16px !important;
}

.product-page-image-col .product-img-wrap {
  aspect-ratio: 1 / 1;
}

.product-page-detail-col h1 {
  font-size: 26px !important;
}

@media (min-width: 768px) {
  .product-page-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    padding: 40px 32px !important;
  }

  .product-page-detail-col h1 {
    font-size: 36px !important;
  }
}

/* ══════════════════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA — Hero fade-slide-up
   ══════════════════════════════════════════════════════ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fadeup {
  animation: fadeSlideUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-d1 { animation-delay: 0.05s; }
.anim-d2 { animation-delay: 0.20s; }
.anim-d3 { animation-delay: 0.35s; }
.anim-d4 { animation-delay: 0.50s; }
.anim-d5 { animation-delay: 0.66s; }

/* ══════════════════════════════════════════════════════
   HERO SECTION — padding mobile compacto
   ══════════════════════════════════════════════════════ */

.hero-section {
  padding: 28px 20px 40px !important;
}

.hero-section h1 {
  font-size: 32px !important;
  line-height: 1.12 !important;
}

@media (min-width: 480px) {
  .hero-section h1 {
    font-size: 40px !important;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 56px 32px 64px !important;
  }

  .hero-section h1 {
    font-size: 56px !important;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 80px 40px 80px !important;
  }

  .hero-section h1 {
    font-size: 56px !important;
  }
}

/* ══════════════════════════════════════════════════════
   HERO BUTTONS — lado a lado no mobile
   ══════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .hero-buttons {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .hero-buttons > button {
    flex: 1 1 0 !important;
    font-size: 11px !important;
    padding: 10px 6px !important;
    border-radius: 8px !important;
    white-space: normal !important;
    word-break: break-word;
    min-width: 0;
    line-height: 1.3 !important;
    text-align: center;
  }

  /* Stats do hero: reduz gap e fonte em telas pequenas */
  .hero-section .hero-stats {
    gap: 16px !important;
    margin-top: 28px !important;
    flex-wrap: wrap;
  }

  .hero-section .hero-stats > div {
    min-width: 60px;
  }
}

@media (max-width: 374px) {
  .hero-buttons > button {
    font-size: 10px !important;
    padding: 8px 4px !important;
  }
}
