/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
  --primary:        #FF6B9D;
  --primary-dark:   #E8558A;
  --secondary:      #A78BFA;
  --accent:         #FCD34D;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #1DB954;

  --bg:        #FFF9FB;
  --bg-alt:    #FFF0F7;
  --card-bg:   #FFFFFF;
  --border:    #F3E8EF;
  --text:      #2D2D2D;
  --text-muted:#6B7280;

  --shadow-sm: 0 2px 8px  rgba(255, 107, 157, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 107, 157, 0.12);
  --shadow-lg: 0 16px 48px rgba(255, 107, 157, 0.20);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
  --container: 1200px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

/* ================================================
   UTILITIES
   ================================================ */
.hidden {
  display: none !important;
}

/* ================================================
   SKIP LINK (Accessibility)
   ================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1;
}

/* WhatsApp Button */
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.btn--whatsapp:active {
  transform: translateY(0);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-alt);
  transform: translateY(-2px);
}

/* Large Button */
.btn--lg {
  padding: 16px 34px;
  font-size: 1rem;
}

/* Filter Buttons */
.btn--filter {
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.btn--filter:hover,
.btn--filter:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}
.btn--filter.btn--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

/* Card CTA Button */
.btn--card {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.88rem;
  margin-top: auto;
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 249, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

/* ================================================
   LOGO ICON (CSS div – funciona em qualquer browser)
   ================================================ */
.logo-icon {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF6B9D 0%, #A78BFA 100%) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-icon--lg {
  width: 42px  !important;
  height: 42px !important;
  min-width: 42px;
  min-height: 42px;
}
.logo-icon--sm {
  width: 30px  !important;
  height: 30px !important;
  min-width: 30px;
  min-height: 30px;
  border-radius: 8px;
}
.logo-icon__text {
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: var(--font);
  position: relative;
  z-index: 1;
}
.logo-icon--lg .logo-icon__text { font-size: 15px; }
.logo-icon--sm .logo-icon__text { font-size: 11px; }
/* Ponto amarelo (canto superior direito) */
.logo-icon__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FCD34D;
  z-index: 2;
}
/* Ponto branco pequeno (canto inferior esquerdo) */
.logo-icon__dot2 {
  position: absolute;
  bottom: 4px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  z-index: 2;
}
.header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header__brand-name {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--primary);
}
.header__brand-sub {
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--primary);
  background: var(--bg-alt);
}

/* Hamburger */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  flex-shrink: 0;
}
.header__menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header__menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  background: linear-gradient(135deg, #FFF0F7 0%, #F5F0FF 55%, #FFF9E8 100%);
  display: grid;
  grid-template-columns: 45% 1fr;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h));
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero__decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}
.hero__bubble--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -150px;
  right: -100px;
  animation: floatBubble 10s ease-in-out infinite;
}
.hero__bubble--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  bottom: -60px;
  right: 15%;
  animation: floatBubble 13s ease-in-out infinite reverse;
}
.hero__bubble--3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: 35%;
  right: 4%;
  animation: floatBubble 8s ease-in-out infinite 2s;
}

.hero__emoji {
  position: absolute;
  font-size: 2.8rem;
  animation: floatBubble 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  user-select: none;
  pointer-events: none;
}
/* Posicionamento desktop dos emojis */
.hero__emoji--1 { top: 22%; right: 18%; font-size: 2.8rem; }
.hero__emoji--2 { top: 58%; right: 30%; font-size: 1.8rem; }
.hero__emoji--3 { top: 38%; right: 9%;  font-size: 2.2rem; }
.hero__emoji--4 { top: 70%; right: 14%; font-size: 1.5rem; }

@keyframes floatBubble {
  0%,  100% { transform: translateY(0)    rotate(0deg);  }
  33%        { transform: translateY(-22px) rotate(6deg);  }
  66%        { transform: translateY(11px)  rotate(-4deg); }
}

/* Foto da modelo — coluna esquerda do grid */
.hero__model {
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero__model-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 65%, transparent 100%);
}

/* Conteúdo — coluna direita do grid */
.hero__container {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding: 60px 48px 60px 24px;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 520px;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 157, 0.10);
  border: 1px solid rgba(255, 107, 157, 0.22);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__stat strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero__stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* ================================================
   CATALOG SECTION
   ================================================ */
.catalog-section {
  padding: 88px 24px 100px;
  background: var(--bg);
}
.catalog-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.catalog-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.catalog-section__title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.catalog-section__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 14px auto 0;
}
.catalog-section__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}

/* ================================================
   FILTERS
   ================================================ */
.filters {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filters__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filters__row--top {
  gap: 12px;
}

.filters__search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.filters__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.filters__search {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: all var(--transition);
  outline: none;
  font-family: var(--font);
}
.filters__search:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}
.filters__search::placeholder {
  color: var(--text-muted);
}

.filters__themes-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.filters__theme-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.filters__theme-select {
  padding: 10px 36px 10px 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text);
  background-color: var(--bg-alt);
  cursor: pointer;
  outline: none;
  font-family: var(--font);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: all var(--transition);
  min-width: 160px;
}
.filters__theme-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

/* Results count */
.catalog-results {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
  min-height: 1.2em;
}

/* ================================================
   CATALOG GRID
   ================================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ================================================
   PRODUCT CARD
   ================================================ */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeInUp 0.4s ease both;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

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

/* Image wrapper */
.card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover .card__img {
  transform: scale(1.07);
}

/* Badge */
.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.card__badge--fantasia    { background: rgba(167, 139, 250, 0.92); color: #fff; }
.card__badge--lembrancinha{ background: rgba(255, 107, 157, 0.92); color: #fff; }
.card__badge--encadernacao{ background: rgba(251, 191, 36,  0.95); color: #5c3800; }

/* Botão "Ver detalhes" sobre a imagem do card */
.card__preview-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.card:hover .card__preview-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Body */
.card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.card__tema {
  font-size: 0.84rem;
  color: var(--text-muted);
}
.card__preco {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.card__preco strong {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 900;
}
.card__spacer {
  flex: 1;
}

/* ================================================
   SKELETON LOADING
   ================================================ */
@keyframes shimmer {
  0%   { background-position: -400% 0; }
  100% { background-position:  400% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    #f5e6f0 0%,
    #fce4f0 40%,
    #f8dcea 50%,
    #fce4f0 60%,
    #f5e6f0 100%
  );
  background-size: 400% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

.card--skeleton .card__img-wrap {
  background: #f5e6f0;
  background: linear-gradient(
    90deg,
    #f5e6f0 0%,
    #fce4f0 40%,
    #f8dcea 50%,
    #fce4f0 60%,
    #f5e6f0 100%
  );
  background-size: 400% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.card--skeleton .card__body {
  gap: 12px;
}

.skel-line {
  border-radius: 6px;
  height: 14px;
  background: linear-gradient(
    90deg,
    #f5e6f0 0%,
    #fce4f0 40%,
    #f8dcea 50%,
    #fce4f0 60%,
    #f5e6f0 100%
  );
  background-size: 400% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.skel-line--title  { height: 18px; width: 72%; animation-delay: 0.1s; }
.skel-line--sm     { width: 45%;   animation-delay: 0.2s; }
.skel-line--xs     { width: 30%;   animation-delay: 0.3s; }
.skel-line--btn    { height: 40px; width: 100%; border-radius: 50px; margin-top: 8px; animation-delay: 0.4s; }

/* ================================================
   EMPTY STATE
   ================================================ */
.catalog-empty {
  text-align: center;
  padding: 80px 24px 60px;
}
.catalog-empty__icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}
.catalog-empty__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.catalog-empty__text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 88px 24px;
  text-align: center;
}
.contact-section__inner {
  max-width: 680px;
  margin: 0 auto;
}
.contact-section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.contact-section__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.75;
}
.contact-section__text strong {
  color: #fff;
}
.contact-section__btn {
  background: #fff;
  color: #1a9448;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.contact-section__btn:hover,
.contact-section__btn:focus-visible {
  background: #f0fff6;
  color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.65);
  padding: 32px 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}
.footer__logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.footer__copy {
  font-size: 0.82rem;
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: var(--whatsapp);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  overflow: hidden;
  animation: waPulse 2.5s ease-out infinite 4s;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  width: auto;
  padding: 0 22px 0 18px;
  gap: 8px;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  transform: scale(1.04);
}

.whatsapp-float__label {
  font-size: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  transition: all 0.3s ease;
}
.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  font-size: 0.9rem;
  max-width: 120px;
}

@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0   rgba(37, 211, 102, 0.4); }
  70%  { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0);   }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0   rgba(37, 211, 102, 0);   }
}

/* ================================================
   RESPONSIVE – TABLET  (≤ 1024px)
   ================================================ */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   RESPONSIVE – MOBILE  (≤ 768px)
   ================================================ */
@media (max-width: 768px) {
  /* Header */
  .header__menu-btn {
    display: flex;
  }
  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 249, 251, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 20px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }
  .header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .header__nav-link {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: auto;
    margin-top: var(--header-h);
  }
  .hero__model {
    grid-column: 1;
    grid-row: 1;
    height: 60vw;
    max-height: 340px;
  }
  .hero__model-img {
    object-position: center -30px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, transparent 100%);
  }
  .hero__container {
    grid-column: 1;
    grid-row: 2;
    padding: 24px 20px 60px;
  }
  .hero__decoration {
    display: block;
    visibility: visible;
    top: min(60vw, 340px);
  }
  .hero__bubble { display: none; }
  /* Emojis reposicionados no mobile */
  .hero__emoji--1 { top: 6%;  right: 6%;  left: auto; font-size: 2rem; }   /* 🎀 topo direito */
  .hero__emoji--2 { display: none; }                                         /* ⭐ oculto */
  .hero__emoji--3 { top: 65%; left: 4%;  right: auto; font-size: 2rem; }    /* 🎉 canto inferior esquerdo */
  .hero__emoji--4 { top: 42%; right: 4%; left: auto;  font-size: 1.6rem; }  /* ✨ direita */
  .hero__content {
    max-width: 100%;
    text-align: center;
  }
  .hero__subtitle {
    margin: 0 auto 36px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }

  /* Catalog */
  .catalog-section {
    padding: 64px 16px 80px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Filters */
  .filters {
    padding: 16px;
  }
  .filters__row--top {
    flex-direction: column;
    align-items: stretch;
  }
  .filters__search-wrap {
    min-width: 100%;
  }
  .filters__themes-wrap {
    flex-direction: row;
    align-items: center;
  }
  .filters__theme-select {
    flex: 1;
    min-width: 0;
  }
  .filters__row--bottom {
    gap: 8px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    width: 52px;
    padding: 0;
    border-radius: 50%;
  }
  .whatsapp-float:hover .whatsapp-float__label,
  .whatsapp-float:focus-visible .whatsapp-float__label {
    font-size: 0;
    max-width: 0;
  }
}

/* ================================================
   RESPONSIVE – SMALL MOBILE  (≤ 400px)
   ================================================ */
@media (max-width: 400px) {
  .hero__stats {
    gap: 16px;
  }
  .hero__stat strong {
    font-size: 1.3rem;
  }
  .btn--filter {
    font-size: 0.8rem;
    padding: 7px 13px;
  }
}

/* ================================================
   MODAL DE PRÉ-VISUALIZAÇÃO
   ================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
}
.modal[aria-hidden="false"] {
  visibility: visible;
  pointer-events: all;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal[aria-hidden="false"] .modal__overlay {
  opacity: 1;
}
.modal__box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), opacity 0.25s ease;
  z-index: 1;
}
.modal[aria-hidden="false"] .modal__box {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.07);
  font-size: 20px;
  line-height: 34px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background 0.15s;
  padding: 0;
  padding-bottom: 1px;
}
.modal__close:hover { background: rgba(0,0,0,0.15); }
.modal__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f3f3f3;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.modal__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal__titulo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  padding-right: 30px;
}
.modal__preco {
  font-size: 1rem;
  color: #555;
  margin: 0;
}
.modal__preco strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.modal__btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px;
}

@media (max-width: 480px) {
  .modal__box { border-radius: 16px; }
  .modal__img-wrap { border-radius: 16px 16px 0 0; }
  .modal__titulo { font-size: 1.05rem; }
}
