/* ============================================================
   GEDÄCHTNISWELLE — styles.css
   Fiel à página original: fundo #121212, botão Anton amarelo,
   comentários estilo Facebook, referências científicas
   ============================================================ */


/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ── Variáveis — ALTERE CORES AQUI ───────────────────────── */
:root {
  /* *** Fundo principal (preto-escuro) *** */
  --fundo:            #121212;

  /* *** Botão CTA *** */
  --btn-bg:           #fddd31;  /* amarelo */
  --btn-texto:        #0a0c58;  /* azul escuro */
  --btn-borda:        #e2b705;
  --btn-sombra:       #61ce70;  /* sombra verde */

  /* Textos */
  --texto-claro:      #ffffff;
  --texto-cinza:      #a6a6a6;
  --texto-escuro:     #737373;

  /* Comentários (Facebook) */
  --fb-fundo:         #ffffff;
  --fb-nome:          #385898;
  --fb-texto:         #1c1e21;
  --fb-acao:          #4267b2;
  --fb-tempo:         #90949c;
  --fb-borda:         #e9ebee;

  /* Parceria */
  --parceria-heading-bg: #ffffff;

  /* Referências */
  --ref-fundo:        #121212;

  /* Rodapé */
  --footer-fundo:     #f4f4f4;
  --footer-texto:     #737373;
}


/* ── Base ─────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', Roboto, sans-serif;
  background-color: #ffffff;
  color: var(--texto-claro);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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


/* ── Sistema de delay ─────────────────────────────────────── */
.delay-oculto {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ── Wrapper geral da página ──────────────────────────────── */
.pagina {
  width: 100%;
  overflow-x: hidden;
}


/* ── SEÇÃO: VÍDEO ─────────────────────────────────────────── */
.sec-video {
  background: var(--fundo);
  width: 100%;
  padding: 0 0 12px;
}

/* Wrapper do player — deixa o VTurb definir a própria altura */
.vid-wrapper {
  width: 100%;
  background: var(--fundo);
}

vturb-smartplayer {
  display: block;
  width: 100%;
  background: var(--fundo);
}

vturb-smartplayer::part(container),
vturb-smartplayer > * {
  background: var(--fundo) !important;
}

/* Subtítulo abaixo do vídeo */
.vid-subtitulo {
  color: var(--texto-claro);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 20px 16px 0;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

@media (min-width: 481px) {
  .vid-subtitulo {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .vid-subtitulo {
    font-size: 13px;
    padding: 8px 12px 0;
  }
}


/* ── SEÇÃO: IMAGEM DA OFERTA ──────────────────────────────── */
.sec-oferta {
  width: 100%;
  padding: 0;
  background: #ffffff;
}

.img-oferta {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .img-oferta {
    width: 95%;
    margin-inline: auto;
  }
}


/* ── BOTÃO CTA (aparece em 2 lugares) ─────────────────────── */
.sec-cta {
  width: 100%;
  padding: 0;
  background: #ffffff;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px 16px 20px;
  margin-top: 10px;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 600px;
  max-width: 100%;
  background: var(--btn-bg);
  color: var(--btn-texto);

  font-family: 'Anton', sans-serif;
  font-size: 78px;
  font-weight: 400;
  letter-spacing: 4px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);

  padding: 22px 40px;
  border-radius: 50px;
  border: 3px solid var(--btn-borda);
  box-shadow: 0 8px 32px -4px var(--btn-sombra), 0 2px 8px rgba(0,0,0,0.15);

  animation: piscar 2s infinite linear;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

@keyframes piscar {
  0%,  100% { opacity: 1; }
  50%        { opacity: 0.7; }
}

.btn-cta:hover {
  animation: piscar 2s infinite linear;
}

/* Tablet */
@media (max-width: 1024px) {
  .btn-cta {
    width: 673px;
    font-size: 60px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .btn-cta {
    width: 345px;
    font-size: 28px;
    letter-spacing: 1px;
    padding: 18px 20px;
    border-radius: 20px;
    white-space: normal;
    line-height: 1.2;
  }
}


/* ── SEÇÃO: GARANTIA ─────────────────────────────────────── */
.sec-garantia {
  background: #ffffff;
  padding: 10px 0 0;
}

.img-garantia {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.garantia-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
  background: #fffdf0;
  border: 2px solid #c9a227;
  border-radius: 16px;
  padding: 16px 16px;
}

@media (min-width: 600px) {
  .garantia-box {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

.garantia-selo {
  width: clamp(100px, 25vw, 150px);
  height: auto;
  flex-shrink: 0;
}

.garantia-titulo {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 700;
  color: #f5c518;
  margin-bottom: 10px;
  line-height: 1.3;
}

.garantia-corpo {
  font-family: 'Playfair Display SC', serif;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: #111111;
  line-height: 1.8;
  font-weight: 700;
}

.garantia-corpo strong {
  color: #111111;
}


/* ── BADGE PAGAMENTO SEGURO ───────────────────────────────── */
.sec-badge-seguro {
  padding: 10px 16px 24px;
  background: #ffffff;
}

.img-badge-256 {
  display: block;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

.badge-seguro {
  max-width: 680px;
  margin-inline: auto;
  background: #ffffff;
  border: 1px solid #2e2e2e;
  border-top: 3px solid #22c55e;
  border-radius: 10px;
  padding: 20px 20px 16px;
  text-align: center;
}

.badge-topo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.badge-lock {
  font-size: 20px;
  line-height: 1;
}

.badge-titulo-seg {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.01em;
}

.badge-ssl {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Métodos de pagamento */
.badge-metodos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge-metodo {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-visa { background: #1a1f71; color: #fff; }
.badge-mc   { background: #eb001b; color: #fff; }
.badge-pp   { background: #003087; color: #fff; }
.badge-sf   { background: #e6007e; color: #fff; }

/* Lista de itens de segurança */
.badge-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #2e2e2e;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.badge-lista li {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #aaa;
  text-align: left;
  padding-left: 4px;
}

@media (max-width: 480px) {
  .badge-seguro {
    padding: 16px 14px 12px;
  }
  .badge-lista li {
    font-size: 0.75rem;
  }
}


/* ── SEÇÃO: PARCERIA ──────────────────────────────────────── */
.sec-parceria {
  width: 100%;
  background: #ffffff;
}

/* "In Kooperation mit:" — exatamente como no original:
   apenas o heading tem fundo branco, não a seção inteira */
.parceria-titulo {
  background: var(--parceria-heading-bg);
  color: #000;
  font-family: 'Playfair Display SC', serif;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  padding: 14px 16px 12px;
  width: 100%;
}

@media (max-width: 480px) {
  .parceria-titulo {
    font-size: 17px;
    padding: 12px 12px 11px;
  }
}

.parceria-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ── SEÇÃO: COMENTÁRIOS ──────────────────────────────────── */
.sec-comentarios {
  width: 100%;
  background: #ffffff;
  padding: 0;
}

/* Card branco que imita o widget do Facebook */
.comentarios-card {
  background: var(--fb-fundo);
  border-radius: 12px;
  padding: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.com-cabecalho {
  border-bottom: 1px solid var(--fb-borda);
  padding-bottom: 20px;
  padding-top: 4px;
  padding-left: 4px;
}

.com-contagem {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-texto);
}

/* Thread de comentário (pai + respostas) */
.com-thread {
  margin-top: 8px;
}

/* Item individual (pai ou filho) */
.com-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}

/* Avatar do comentário pai */
.avatar--pai {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Avatar do comentário filho (resposta) */
.avatar--filho {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Corpo do comentário */
.com-corpo {
  flex: 1;
  min-width: 0;
}

.com-nome {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fb-nome);
  line-height: 1.358;
  text-transform: capitalize;
  word-break: break-word;
}

.com-texto {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--fb-texto);
  line-height: 1.358;
  margin-top: 4px;
  margin-bottom: 6px;
  word-break: break-word;
}

/* Linha de ações (Like · Reply · ❤ 66 · 2h) */
.com-acoes {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 16px;
}

.com-acao {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--fb-acao);
  cursor: pointer;
}

.com-acao:hover {
  text-decoration: underline;
}

.com-sep {
  font-size: 12px;
  font-weight: 400;
  color: var(--fb-texto);
}

.like-ico {
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}

.com-likes {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--fb-texto);
}

.com-tempo {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--fb-tempo);
}

/* Respostas indentadas */
.com-respostas {
  margin-left: 48px;
  border-left: 1px dotted #d3d6db;
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* CTA dentro dos comentários */
.sec-cta.delay-oculto,
.sec-cta {
  background: #ffffff;
}

/* Rodapé do widget Facebook */
.com-rodape-fb {
  border-top: 1px solid var(--fb-borda);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.fb-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: #1877f2;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  line-height: 1;
  flex-shrink: 0;
}

.fb-label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--fb-acao);
}

@media (max-width: 480px) {
  .com-acoes {
    flex-direction: row;
  }
  .com-texto {
    font-size: 13px;
  }
}


/* ── SEÇÃO: REFERÊNCIAS CIENTÍFICAS ─────────────────────── */
.sec-referencias {
  background: #ffffff;
  width: 100%;
}

.ref-container {
  padding: 16px 0 0;
  max-width: 600px;
  margin: 0 auto;
}

.ref-titulo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #333333;
  padding: 16px 16px 8px;
}

@media (max-width: 480px) {
  .ref-titulo {
    font-size: 11px;
    padding: 25px 12px 8px;
  }
}

/* Grid de 2 colunas no desktop */
.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .ref-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ref-col {
  padding: 8px 16px 16px;
}

.ref-col p {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .ref-col p {
    font-size: 9px;
  }
}


/* ── RODAPÉ ───────────────────────────────────────────────── */
.rodape {
  background: var(--footer-fundo);
  width: 100%;
}

.rodape-inner {
  padding: 48px 16px;
  text-align: center;
}

.rodape p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--footer-texto);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 480px) {
  .rodape-inner {
    padding: 32px 12px;
  }
  .rodape p {
    font-size: 11px;
  }
}
