/* ==============================================================================
   CENTRAL DA LUCIANE — ESTILOS (MINI VITRINE PARA BIO)
   
   Identidade: Feminina, artesanal, acolhedora, moderna e direta.
   Foco: Rolagem mínima. Produto → Clique → Destino.
   ============================================================================== */

:root {
  --bg: #FAF7F5;
  --surface: #FFFFFF;
  --surface-soft: #FDF9FA;
  --pink-subtle: #FCF1F4;
  --pink-light: #F5D4DE;
  --pink-primary: #C85A78;
  --pink-dark: #B04764;
  --pink-glow: rgba(200, 90, 120, 0.18);
  --text: #33272C;
  --text-mid: #6E5F65;
  --text-light: #9B8E94;
  --border: #F2E4E8;
  --gold-bg: #FFF7EC;
  --gold-text: #8D5E1A;
  --green-text: #376E46;
  --shadow-sm: 0 2px 8px rgba(120, 80, 95, 0.04);
  --shadow-card: 0 3px 12px rgba(138, 92, 105, 0.06);
  --shadow-hero: 0 5px 18px rgba(138, 92, 105, 0.08);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --ease: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image: url('https://i.imgur.com/F4DSkPG.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* Camada suave sobre o fundo para manter leitura e leveza */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 245, 0.82);
  z-index: 0;
  pointer-events: none;
}
/* Todo o conteúdo acima da camada de fundo */
body > * {
  position: relative;
  z-index: 1;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Container central estreito para celular */
.page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 14px;
  flex: 1;
}
@media (min-width: 768px) { .page { max-width: 600px; padding: 0 20px; } }

/* ========== TOPO: FOTO + FRASE ========== */
.topo {
  padding: 18px 0 10px;
  text-align: center;
}
.topo__foto {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 8px;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--pink-light);
  box-shadow: 0 4px 14px rgba(200, 90, 120, 0.15);
}
.topo__nome {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.topo__frase {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.35;
  margin-bottom: 4px;
}
.topo__cta {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========== SELOS / BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  line-height: 1.1;
  width: fit-content;
}
.badge--fire {
  background: var(--gold-bg);
  color: var(--gold-text);
  border: 1px solid #F5DFC0;
}
.badge--special {
  background: #F8EFF5;
  color: #7D4368;
  border: 1px solid #E9D2E4;
}
.badge--mini {
  background: var(--pink-subtle);
  color: var(--pink-primary);
  border: 1px solid var(--pink-light);
  font-size: 0.62rem;
  padding: 2px 7px;
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, border-color 0.22s ease;
  user-select: none;
  position: relative;
}
.btn:active {
  transform: scale(0.97);
}

/* Botão Principal: Respiração suave + reflexo de luz elegante */
.btn--primary {
  background: linear-gradient(135deg, #CF6481 0%, #B84B68 100%);
  color: #FFF;
  min-height: 48px;
  font-size: 0.9rem;
  box-shadow: 0 3px 12px var(--pink-glow);
  overflow: hidden;
  animation: btnBreath 3.2s infinite ease-in-out;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnSheen 4.8s infinite ease-in-out;
  pointer-events: none;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #B84B68 0%, #A53E5A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 75, 104, 0.38);
}

/* Botão Secundário: Elevação suave e transição de cor */
.btn--secondary {
  background: var(--pink-subtle);
  color: var(--pink-primary);
  border: 1px solid var(--pink-light);
  min-height: 40px;
  font-size: 0.82rem;
  padding: 7px 14px;
}
.btn--secondary:hover {
  background: var(--pink-primary);
  color: #FFF;
  border-color: var(--pink-primary);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(200, 90, 120, 0.22);
}

/* Botão WhatsApp: Pulso de brilho suave */
.btn--whatsapp {
  background: #25D366;
  color: #FFF;
  min-height: 48px;
  font-size: 0.9rem;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.22);
  animation: waPulseGlow 3.5s infinite ease-in-out 1.5s;
}
.btn--whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Keyframes das animações leves */
@keyframes btnBreath {
  0%, 100% {
    box-shadow: 0 3px 12px var(--pink-glow);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 6px 18px rgba(200, 90, 120, 0.32);
    transform: translateY(-1px);
  }
}

@keyframes btnSheen {
  0%, 70% {
    left: -70%;
  }
  88%, 100% {
    left: 140%;
  }
}

@keyframes waPulseGlow {
  0%, 100% {
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.22);
  }
  50% {
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.38);
  }
}

/* ========== CARD DESTAQUE (MAIOR, VERTICAL) ========== */
.destaque {
  margin-bottom: 20px;
}
.destaque__card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--pink-light);
  box-shadow: var(--shadow-hero);
  padding: 14px;
}
.destaque__badge { margin-bottom: 8px; }
.destaque__media {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-soft);
  margin-bottom: 10px;
}
.destaque__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: center;
  display: block;
}
.destaque__title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.22;
  margin-bottom: 2px;
}
.destaque__subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink-primary);
  margin-bottom: 4px;
}
.destaque__desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.38;
  margin-bottom: 10px;
}
.destaque__btn { margin-top: 2px; }

/* ========== CARDS DOS OUTROS PRODUTOS ========== */
.produtos { margin-bottom: 18px; }
.produtos__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.produto-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 12px;
  transition: border-color var(--ease), transform var(--ease);
}
.produto-card:hover {
  border-color: var(--pink-light);
  transform: translateY(-2px);
}

/* Layout interno: thumb à esquerda, info à direita */
.produto-card__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.produto-card__thumb-wrap {
  width: 100px;
  min-width: 100px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(120, 80, 95, 0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 400px) {
  .produto-card__thumb-wrap {
    width: 106px;
    min-width: 106px;
    height: 100px;
  }
}
.produto-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.produto-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.produto-card__badge-wrap {
  margin-bottom: 2px;
}
.produto-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.22;
  margin-bottom: 1px;
}
.produto-card__subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--pink-primary);
  margin-bottom: 2px;
}
.produto-card__desc {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

/* Mini features dentro do card (ex: Precifica Artesã) */
.produto-card__features {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 6px;
}
.produto-card__feature {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-text);
  line-height: 1.3;
}

.produto-card__btn { width: 100%; }

/* Desktop: 2 colunas quando faz sentido */
@media (min-width: 600px) {
  .produtos__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Card que tem features ocupa largura inteira */
  .produto-card--wide {
    grid-column: 1 / -1;
  }
}

/* ========== WHATSAPP (SIMPLES) ========== */
.whatsapp-section {
  margin-bottom: 20px;
}
.whatsapp-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.whatsapp-box__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

/* ========== GRUPO GRATUITO ========== */
.grupo-section { margin: 0 0 24px; }
.grupo-card {
  padding: 15px;
  border: 1px solid #d9e9dd;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f7fcf8 0%, #fff 70%);
  box-shadow: var(--shadow-card);
}
.grupo-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.grupo-card__eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #238247;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.grupo-card__title { font-size: 1.06rem; line-height: 1.22; margin-bottom: 5px; }
.grupo-card__desc { color: var(--text-mid); font-size: .78rem; line-height: 1.42; }
.grupo-phone {
  width: 105px;
  height: 150px;
  padding: 5px;
  transform: rotate(5deg);
  border-radius: 17px;
  background: #26302b;
  box-shadow: 0 8px 16px rgba(26, 79, 48, .18);
}
.grupo-phone__screen { height: 100%; border-radius: 12px; overflow: hidden; background: #edf4ee; }
.grupo-phone__top {
  height: 36px;
  padding: 4px 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #176b42;
  color: #fff;
}
.grupo-phone__avatar { width: 20px; height: 20px; display: grid; place-items: center; background: #f8ece5; border-radius: 50%; font-size: 12px; }
.grupo-phone__name { flex: 1; font-size: 6.5px; font-weight: 800; line-height: 1.1; }
.grupo-phone__dots { font-size: 13px; line-height: 1; }
.grupo-phone__chat { display: flex; margin: 11px 4px 0; }
.grupo-phone__chat--right { justify-content: flex-end; margin-top: 9px; }
.grupo-phone__chat span { max-width: 95%; padding: 5px 4px; border-radius: 6px; background: #fff; font-size: 6px; font-weight: 700; box-shadow: 0 1px 2px #0001; }
.grupo-phone__chat--right span { background: #d7f5d5; }
.btn--grupo { min-height: 45px; background: #1fa854; color: #fff; font-size: .84rem; box-shadow: 0 4px 10px rgba(31, 168, 84, .18); }
.btn--grupo:hover { background: #168e46; transform: translateY(-2px); }
.grupo-card__note { margin-top: 7px; text-align: center; font-size: .67rem; color: var(--text-light); }

/* Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 16px;
  z-index: 99;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: pulse 2.4s infinite cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ========== RODAPÉ ========== */
.rodape {
  padding: 16px 14px 72px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 6px;
}
.rodape__copy {
  font-size: 0.74rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.rodape__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rodape__link {
  font-size: 0.72rem;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rodape__link:hover { color: var(--pink-primary); }
.rodape__ig {
  display: inline-flex;
  color: var(--text-light);
  transition: color var(--ease);
}
.rodape__ig:hover { color: #DC2743; }
.rodape__aviso {
  font-size: 0.66rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ========== MODAL ========== */
.modal {
  position: fixed; inset: 0;
  background: rgba(20, 15, 18, 0.55);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--ease);
}
.modal.is-active { opacity: 1; visibility: visible; }
.modal__box {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.modal__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__title { font-size: 0.95rem; font-weight: 700; }
.modal__x { background: none; border: none; font-size: 1.3rem; color: var(--text-mid); cursor: pointer; }
.modal__content {
  padding: 14px 16px;
  overflow-y: auto;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Espaço entre os dois produtos em destaque */
#destaque-container { display: grid; gap: 16px; }

.destaque__price, .produto-card__price { color: #B04764; font-weight: 800; }
.destaque__price { font-size: 1rem; margin: 3px 0 6px; }
.produto-card__price { font-size: .86rem; margin: 2px 0 5px; }
