/* Advertorial — modelo BLACK.
   Portado 1:1 do template Elementor "ADV 1 - Black.json" (Mauricio Brollo):
   os valores de cor, tipografia, largura e espaçamento abaixo são os mesmos
   gravados nos widgets, só que sem WordPress/Elementor no caminho. */

:root {
  --adv-bar: #a20d04;      /* faixa fina "ADVERTORIAL" */
  --adv-brand: #c4170c;    /* faixa da editoria + acentos do rodapé */
  --adv-ink: #000000;      /* corpo do texto e headline */
  --adv-sub: #292b2d;      /* subheadline */
  --adv-byline: #576068;   /* assinatura */
  --adv-rule: #adadad;     /* divisor do topo */
  --adv-hairline: #dedede; /* bordas da área de comentários */
  --adv-cta: #00be53;      /* botão */
  --adv-caption: #7d7d7d;  /* legenda de imagem */
  --adv-comment-bg: #e9e9e9;
  --adv-comment-name: #4d4d4d;
  --adv-comment-meta: #797979;
  --adv-comment-text: #1e1e1e;
  --adv-footer-bg: #2e2e2f;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--adv-ink);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

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

/* ---- Topo: faixa ADVERTORIAL + editoria -------------------------------- */

/* Tarja de plantão. Ocupa o lugar da faixa "ADVERTORIAL" do modelo original,
   com o mesmo vermelho, só que em peso de manchete para segurar o olho. */
.adv-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 30px;
  padding: 6px 12px;
  background: var(--adv-bar);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.adv-flag__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: advLiveDot 1.6s ease-out infinite;
}

/* Disclosure de publicidade, deslocada para junto da assinatura. */
.adv-head__disclosure {
  margin: 0 0 4px;
  color: var(--adv-comment-meta);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.adv-masthead {
  display: flex;
  justify-content: center;
  padding: 18px 0;
  background: var(--adv-brand);
}

.adv-masthead__title {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  line-height: 49px;
  letter-spacing: -1.4px;
  text-transform: uppercase;
}

/* ---- Cabeçalho da matéria ---------------------------------------------- */

.adv-head {
  max-width: 950px;
  margin: 0 auto;
  padding: 28px 20px 0;
}

.adv-head__title {
  margin: 0 0 10px;
  font-size: 48px;
  font-weight: 700;
  line-height: 49px;
  letter-spacing: -1.4px;
}

.adv-head__standfirst {
  margin: 0 0 18px;
  color: var(--adv-sub);
  font-size: 22px;
  font-weight: 500;
  line-height: 29px;
  letter-spacing: -0.9px;
}

.adv-head__byline {
  margin: 0 0 6px;
  color: var(--adv-byline);
  font-size: 20px;
  font-weight: 400;
  line-height: 33px;
  letter-spacing: -0.9px;
  text-align: center;
}

.adv-head__rule {
  width: 83%;
  height: 0;
  margin: 10px auto 0;
  border: 0;
  border-top: 1.2px solid var(--adv-rule);
}

/* ---- Corpo da matéria --------------------------------------------------- */

.adv-article {
  max-width: 700px;
  margin: 0 auto;
  padding: 26px 20px 10px;
}

.adv-article p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

.adv-article h2 {
  margin: 30px 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -1.4px;
}

/* Subtítulo interno: mesmo peso, um degrau menor — é o "22px" do template. */
.adv-article h3 {
  margin: 28px 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -1.4px;
}

.adv-article ul {
  margin: 0 0 20px;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.55;
}

.adv-article li {
  margin-bottom: 8px;
}

.adv-figure {
  margin: 0 0 20px;
}

/* Imagem clicável: o play e a tarja LIVE são desenhados por cima da foto em vez
   de embutidos nela, para ficarem nítidos em qualquer tela e poderem mudar sem
   reexportar a imagem. */
.adv-figure__link {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.adv-figure__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.25));
}

.adv-figure__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.adv-figure__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent #fff;
}

.adv-figure__link:hover .adv-figure__play {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(0, 0, 0, 0.6);
}

.adv-figure__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--adv-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.adv-figure__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: advLiveDot 1.6s ease-out infinite;
}

.adv-figure figcaption {
  margin-top: 6px;
  color: var(--adv-caption);
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
}

/* Links dentro do texto herdam o preto do corpo; o CTA fica de fora. */
.adv-article a:not(.adv-cta) {
  color: var(--adv-ink);
  font-weight: 700;
  text-decoration: underline;
}

/* ---- CTA ---------------------------------------------------------------- */

/* O bloco se repete a cada dobra. A tarja LIVE é a mesma linguagem da barra de
   audiência da VSL, para o leitor reconhecer a página de destino ao chegar. */
.adv-live-cta {
  margin: 30px 0;
}

.adv-live {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.adv-live__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--adv-brand);
  box-shadow: 0 0 0 0 rgba(196, 23, 12, 0.7);
  animation: advLiveDot 1.6s ease-out infinite;
}

.adv-live__label {
  color: var(--adv-brand);
}

.adv-live__count {
  color: var(--adv-comment-meta);
  font-weight: 400;
  text-transform: none;
}

.adv-live__count strong {
  color: var(--adv-ink);
  font-variant-numeric: tabular-nums;
}

.adv-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 22px 16px;
  border-radius: 3px;
  background: var(--adv-cta);
  box-shadow: 0 0 10px rgba(0, 228, 44, 0.5);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

/* Pulso discreto: 2% de escala é o suficiente para o botão "respirar" sem
   empurrar o texto ao redor a cada ciclo. */
.adv-cta {
  animation: advCtaPulse 2s ease-in-out infinite;
}

/* O brilho é um pseudo-elemento para varrer o botão sem herdar o pulso. */
.adv-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 38%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  animation: advCtaSheen 3.4s ease-in-out infinite;
}

.adv-cta:hover,
.adv-cta:focus-visible {
  background: #00a948;
}

@keyframes advCtaPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(0, 228, 44, 0.5);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 26px rgba(0, 228, 44, 0.6);
  }
}

@keyframes advCtaSheen {
  0% {
    left: -60%;
  }
  55%,
  100% {
    left: 130%;
  }
}

/* Triângulo de play desenhado com borda: sinaliza vídeo sem custar requisição. */
.adv-cta__play {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.adv-cta__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.adv-cta__note {
  margin: 10px 0 0;
  color: var(--adv-comment-meta);
  font-size: 14px;
  text-align: center;
}

@keyframes advLiveDot {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 23, 12, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(196, 23, 12, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(196, 23, 12, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .adv-cta,
  .adv-flag__dot,
  .adv-live__dot,
  .adv-figure__badge::before {
    animation: none;
  }

  .adv-cta::after {
    display: none;
  }
}

/* ---- Comentários -------------------------------------------------------- */

.adv-comments {
  background: var(--adv-comment-bg);
  padding: 1px 10px;
}

.adv-comments__card {
  max-width: 950px;
  margin: 20px auto;
  padding: 24px 30px 30px;
  border-radius: 12px;
  background: #fff;
}

.adv-comments__title {
  margin: 0 0 10px;
  color: var(--adv-comment-name);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.adv-comments__note {
  margin: 0 0 14px;
  color: var(--adv-comment-meta);
  font-size: 14px;
  line-height: 1.5;
}

.adv-comments hr {
  height: 0;
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--adv-hairline);
}

.adv-comment {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.adv-comment__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  /* Os avatares são fotos de enquadramentos diferentes; o object-position alto
     mantém o rosto no círculo em vez de cortar a testa. */
  object-position: center 30%;
  background: var(--adv-hairline);
}

.adv-comment__main {
  min-width: 0;
  flex: 1;
}

/* Resposta: a guia vertical é a mesma borda de 1px da coluna estreita que o
   Elementor usa para indentar. */
.adv-comment--reply {
  margin-left: 6%;
  padding-left: 14px;
  border-left: 1px solid var(--adv-hairline);
}

.adv-comment__author {
  margin: 0 0 6px;
  color: var(--adv-comment-name);
  font-size: 14px;
  font-weight: 700;
}

.adv-comment__author span {
  color: var(--adv-comment-meta);
  font-weight: 400;
}

.adv-comment__body {
  margin: 0 0 8px;
  color: var(--adv-comment-text);
  font-size: 14px;
  line-height: 1.5;
}

.adv-comment__actions {
  display: flex;
  gap: 18px;
  color: var(--adv-comment-meta);
  font-size: 14px;
}

.adv-comment__actions span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adv-comment__actions svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ---- Rodapé ------------------------------------------------------------- */

.adv-footer {
  background: var(--adv-footer-bg);
  color: #fff;
  padding: 26px 20px;
}

.adv-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-family: Roboto, "Open Sans", Arial, sans-serif;
  font-size: 15px;
}

.adv-footer__links a {
  color: #fff;
  text-decoration: none;
}

.adv-footer__links a:hover {
  text-decoration: underline;
}

/* ---- Mobile ------------------------------------------------------------- */

@media (max-width: 767px) {
  .adv-masthead {
    padding: 11px 0;
  }

  .adv-masthead__title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .adv-head {
    padding: 12px 16px 0;
  }

  .adv-head__title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .adv-head__standfirst {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.2px;
  }

  .adv-head__byline {
    font-size: 14px;
    line-height: 1.6;
  }

  .adv-head__rule {
    width: 93%;
  }

  .adv-article {
    padding: 18px 16px 10px;
  }

  .adv-article p,
  .adv-article ul {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.2px;
  }

  .adv-article h2,
  .adv-article h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  /* No celular a primeira dobra é disputada: as margens abaixo são o que mantém
     o botão do primeiro CTA inteiro dentro da tela em um 375x812. */
  .adv-figure {
    margin-bottom: 14px;
  }

  .adv-live-cta {
    margin: 18px 0;
  }

  .adv-live {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .adv-cta {
    gap: 10px;
    padding: 18px 12px;
  }

  .adv-cta__play {
    width: 30px;
    height: 30px;
  }

  .adv-cta__note {
    font-size: 12px;
  }

  .adv-comments__card {
    margin: 20px 10px;
    padding: 20px 16px 24px;
  }

  .adv-comment__body,
  .adv-comment__author,
  .adv-comment__actions {
    font-size: 12px;
  }

  .adv-footer__links {
    font-size: 13px;
  }
}
