/* Reset e base */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Utils */
.min-h-screen { min-height: 100vh; }
.bg-background { background-color: #ffffff; }

/* Header urgency */
.header-urgency { text-align: center; padding: 12px 16px; }
.urgency-text { color: #000; font-weight: 600; font-size: 12px; }
.viewer-count, .deadline { font-weight: 700; color: hsl(35 85% 55%); }

/* Headline */
.main-headline { text-align: center; padding: 0 16px; margin-bottom: 24px; }
.headline-text { font-size: 20px; font-weight: 700; color: #000; max-width: 56rem; margin: 0 auto; line-height: 1.25; }

/* Video */
.video-container { max-width: 56rem; margin: 0 auto; padding: 0 16px; margin-bottom: 24px; }
.video-player {
  position: relative;
  background: linear-gradient(135deg, hsl(210 80% 60%), hsl(210 70% 50%));
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
}
.video-progress {
  position: absolute; top: 16px; left: 16px;
  background-color: rgb(0 0 0 / .35);
  border-radius: 6px; padding: 4px 8px; color: #fff; font-size: 14px;
}
.video-content { text-align: center; color: #fff; padding: 0 12px; }
.video-title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.video-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.video-btn {
  background-color: rgb(255 255 255 / .2);
  border: 1px solid rgb(255 255 255 / .3);
  color: #fff; padding: 10px 16px; border-radius: 8px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; transition: transform .15s ease, background-color .2s ease;
  font-size: 14px;
}
.video-btn:hover { background-color: rgb(255 255 255 / .3); transform: translateY(-1px); }
.play-icon, .restart-icon { width: 16px; height: 16px; }

.sound-notice { text-align: center; font-size: 12px; color: hsl(0 0% 45%); margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* =====================================================
   BLOCO DE KITS
   ===================================================== */
.kits-section {
  background: #fff;
  padding: 48px 16px 56px;
  text-align: center;
}

.kits-section-header { margin-bottom: 32px; }

.kits-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: .03em;
  margin-bottom: 8px;
}

.kits-subtitle {
  font-size: 14px;
  color: #666;
}

/* Grid — mobile: 1 coluna empilhada */
.kits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 540px;
  margin: 0 auto;
}

/* Cartão base — branco com borda */
.kit-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 20px;
  color: #1a1a2e;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 2px solid #e0e0e0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kit-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgb(0 0 0 / .1); }

/* Textos escuros nos cards brancos */
.kit-popular .kit-headline,
.kit-basic .kit-headline { color: #1a1a2e; }
.kit-popular .kit-price,
.kit-basic .kit-price { color: #1a1a2e; }
.kit-popular .kit-arrow,
.kit-basic .kit-arrow { color: #888; }
.kit-popular .kit-benefits li,
.kit-basic .kit-benefits li { color: #333; }
.kit-popular .check-white,
.kit-basic .check-white { color: #555; }
.kit-popular .kit-duration,
.kit-basic .kit-duration { color: #888; }

/* Card destaque — mantém fundo azul escuro */
.kit-featured {
  background: #1e1e4a;
  color: #fff;
  border-color: #f5a623;
  box-shadow: 0 4px 20px rgb(245 166 35 / .2);
}

/* Badge */
.kit-badge {
  background: #f5a623;
  color: #1a1a2e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
  display: inline-block;
  align-self: center;
}
.kit-badge--secondary { background: #7b5ea7; color: #fff; }
.kit-badge--basic     { background: #3a3a6a; color: #aaa; }

/* Layout interno: topo com headline/duration, depois linha imagem+benefícios */
.kit-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 16px;
  gap: 12px;
}

/* Headline e duration ficam no topo, alinhados à esquerda */
.kit-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.kit-headline {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: .03em;
  line-height: 1.3;
  margin-bottom: 2px;
}

.kit-featured .kit-headline { color: #fff; }

.kit-duration {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.kit-featured .kit-duration { color: #aaa; }

/* Linha imagem + coluna direita */
.kit-middle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Área da imagem */
.kit-image-wrap {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.kit-img {
  width: 100%;
  max-width: 140px;
  min-width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / .15));
}

/* Coluna direita: preço + benefícios */
.kit-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kit-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.kit-arrow {
  font-size: 16px;
  color: #888;
}

.kit-price {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}

.kit-featured .kit-price { color: #fff; }
.kit-featured .kit-arrow { color: #aaa; }

/* Lista de benefícios */
.kit-benefits {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left;
}
.kit-benefits li { display: flex; align-items: flex-start; gap: 6px; line-height: 1.3; }

.check-gold   { color: #f5a623; font-size: 12px; flex-shrink: 0; }
.check-white  { color: #555; font-size: 12px; flex-shrink: 0; }
.check-orange { font-size: 12px; flex-shrink: 0; }
.kit-featured .check-white { color: #fff; }

/* Botão consegna */
.kit-btn { text-decoration: none; }
.kit-btn--consegna {
  width: 100%;
  background: #27ae60;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
  transition: opacity .2s ease, transform .1s ease;
  margin-top: 4px;
}
.kit-btn--consegna:hover { opacity: .88; transform: translateY(-1px); }

/* =====================================================
   DESKTOP — grid 3 colunas, destaque no centro
   ===================================================== */
@media (min-width: 768px) {
  .kits-title { font-size: 28px; }

  .kits-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 960px;
    align-items: start;
    gap: 20px;
  }

  .kit-basic    { order: 1; }
  .kit-featured { order: 2; margin-top: -12px; }
  .kit-popular  { order: 3; }

  /* Desktop: layout vertical — tudo empilhado centrado */
  .kit-inner { flex-direction: column; align-items: center; }
  .kit-left  { align-items: center; text-align: center; }
  .kit-middle { flex-direction: column; align-items: center; width: 100%; }
  .kit-image-wrap { justify-content: center; flex: none; width: auto; }
  .kit-right { align-items: center; }
  .kit-benefits { align-items: flex-start; }
  .kit-price { font-size: 34px; }
}

/* =====================================================
   FIM BLOCO DE KITS
   ===================================================== */

/* Brands / Scientific references */
.scientific-references { text-align: center; padding: 32px 16px; }
.references-title { font-size: 18px; font-weight: 600; color: #000; margin-bottom: 24px; }
.brands-container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 32px; max-width: 48rem; margin: 0 auto;
}
.references-image { max-width: 480px; width: 100%; height: auto; display: block; margin: 0 auto; }

.brand-text { font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.brand-text-italic { font-size: 24px; font-weight: 700; letter-spacing: .1em; font-style: italic; color: hsl(0 84% 60%); }
.brand-text-small { font-size: 20px; font-weight: 600; }
.jjd-badge { border: 2px solid #000; border-radius: 999px; width: 64px; height: 64px; display: grid; place-items: center; }
.jjd-content { text-align: center; }
.jjd-text { font-size: 12px; font-weight: 700; }
.jjd-approved { font-size: 8px; }

/* Comments */
.comments-section { background-color: #fff; }
.comments-container { max-width: 56rem; margin: 0 auto; padding: 24px 16px; }

.comments-header { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 16px; gap: 8px; }
.comments-count { font-size: 16px; font-weight: 600; color: #1f2937; }
.sort-options { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; }
.sort-btn { background: none; border: none; font-size: 14px; font-weight: 600; color: #1f2937; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.sort-btn:hover { color: #6b7280; }
.chevron-down { width: 16px; height: 16px; }

.add-comment { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.comment-input-container { display: flex; gap: 8px; }

.user-avatar {
  width: 32px; height: 32px; background-color: #9ca3af; color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.user-avatar-img {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block;
}

.input-area { flex: 1; min-width: 0; }
.comment-input { width: 100%; background: transparent; border: none; outline: none; font-size: 14px; color: #374151; }
.comment-input::placeholder { color: #9ca3af; }
.input-actions { display: flex; flex-direction: column; margin-top: 8px; gap: 8px; }
.facebook-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7280; cursor: pointer; }
.facebook-checkbox input[type="checkbox"] { width: 14px; height: 14px; }
.post-btn {
  background-color: #2563eb; color: #fff; border: none; padding: 6px 16px; border-radius: 8px; font-size: 12px; cursor: pointer; align-self: flex-end;
  transition: background-color .2s ease, transform .1s ease;
}
.post-btn:hover:not(:disabled) { background-color: #1d4ed8; transform: translateY(-1px); }
.post-btn:disabled { opacity: .5; cursor: not-allowed; }

.comments-list { display: flex; flex-direction: column; gap: 12px; }
.comment-item { display: flex; gap: 8px; }
.comment-item.reply { margin-left: 32px; }

.comment-avatar {
  width: 32px; height: 32px; background-color: #d1d5db; color: #374151; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.comment-avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.comment-content { flex: 1; min-width: 0; }
.comment-bubble { background-color: #f3f4f6; border-radius: 12px; padding: 12px; }
.comment-author { font-weight: 600; font-size: 14px; color: #2563eb; cursor: pointer; margin-bottom: 4px; }
.comment-author:hover { text-decoration: underline; }
.comment-text { font-size: 14px; color: #111827; line-height: 1.45; word-wrap: break-word; }

.comment-photo-wrap { margin-top: 8px; border-radius: 12px; overflow: hidden; }
.comment-photo { width: 100%; height: auto; display: block; }

.comment-actions {
  display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 0 8px; font-size: 12px; color: #6b7280; flex-wrap: wrap;
}
.comment-action-btn {
  background: none; border: none; font-size: 12px; font-weight: 600; color: #6b7280; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0;
  transition: color .15s ease, transform .1s ease;
}
.comment-action-btn:hover { color: #374151; text-decoration: underline; transform: translateY(-1px); }
.comment-action-btn.liked { color: #2563eb; }
.thumbs-up { width: 12px; height: 12px; }
.comment-action-btn.liked .thumbs-up { fill: currentColor; }
.comment-likes { font-weight: 600; }

.load-more-container { margin-top: 24px; }
.load-more-btn {
  width: 100%; background-color: #2563eb; color: #fff; border: none; padding: 10px;
  border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .2s ease, transform .1s ease;
}
.load-more-btn:hover { background-color: #1d4ed8; transform: translateY(-1px); }

.facebook-plugin { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7280; margin-top: 16px; }
.facebook-icon {
  width: 16px; height: 16px; background-color: #2563eb; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700;
}

/* Footer */
.footer { background-color: hsl(0 0% 96%); padding: 32px 16px; margin-top: 48px; }
.footer-container { max-width: 56rem; margin: 0 auto; }
.footer-text { font-size: 12px; color: hsl(0 0% 45%); line-height: 1.65; display: flex; flex-direction: column; gap: 16px; }

/* Responsivo geral */
@media (min-width: 640px) {
  .urgency-text { font-size: 14px; }
  .headline-text { font-size: 24px; }
  .video-title { font-size: 24px; }
  .video-buttons { flex-direction: row; }
  .sound-notice { font-size: 14px; }
  .comments-header { flex-direction: row; align-items: center; }
  .input-actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .comment-item.reply { margin-left: 48px; }
}
@media (min-width: 768px) {
  .main-headline { margin-bottom: 32px; }
  .video-container { margin-bottom: 32px; }
  .headline-text { font-size: 30px; }
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.comment-item.appear { animation: fadeIn .25s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .comment-item.appear { animation: none; }
}

/* Focus */
.comment-input:focus,
.video-btn:focus,
.post-btn:focus,
.sort-btn:focus,
.comment-action-btn:focus,
.load-more-btn:focus,
.kit-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Transições */
.video-btn,
.post-btn,
.comment-action-btn,
.load-more-btn,
.sort-btn,
.kit-btn { transition: all .2s ease-in-out; }