/* ==========================================================================
   ANALI-Z · Ebook Clínica Veterinária de Sucesso
   Componentes próprios da página de vendas. A base (tokens, botões, cards,
   breakpoints) vem do style.css do webinário, sem alterações.
   ========================================================================== */

strong{font-weight:700;color:var(--off-white)}
.accent{color:var(--accent)}

/* Barra de oferta -------------------------------------------------------- */
.topbar__price{display:flex;align-items:baseline;gap:9px;font-family:var(--font-ui);white-space:nowrap}
.topbar__price s{font-size:13px;font-weight:500;color:#F2F3F466}
.topbar__price span{font-size:13px;font-weight:600;color:#3D927B99}
.topbar__price b{font-size:16px;font-weight:800;letter-spacing:-.02em;color:var(--accent)}

/* ==========================================================================
   Hero com o ebook
   ========================================================================== */
.hero--ebook .hero__content{max-width:640px}
.hero--ebook .hero__h1{max-width:580px;display:block}
.hero--ebook .hero__h1 span{display:inline}
.hero--ebook .hero__h1 .accent{display:block}
.hero--ebook .hero__sub .l2{font-size:19px;line-height:29px;color:var(--gray)}

.hero__book{
  position:absolute;
  left:50%;
  top:0;
  width:50%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.book-glow{
  position:absolute;left:50%;top:50%;translate:-50% -50%;
  width:620px;height:620px;border-radius:50%;pointer-events:none;
  background-image:radial-gradient(circle at 50% 50%,#1FA68533 0%,#1FA68500 62%);
}

.book{
  position:relative;
  width:330px;
  height:450px;
  transform:perspective(1500px) rotateY(-17deg) rotateX(3deg) rotateZ(1deg);
  animation:book-float 9s ease-in-out infinite;
}
@keyframes book-float{0%,100%{translate:0 0}50%{translate:0 -10px}}

/* Miolo do livro aparecendo à direita */
/* Contracapa escura aparecendo atrás, levemente maior que o miolo */
.book::before{
  content:"";position:absolute;z-index:-2;
  top:1.2%;bottom:-1.4%;left:1%;right:-3.4%;
  border-radius:3px 12px 12px 3px;
  background-image:linear-gradient(90deg,#0B1512 0%,#10211C 60%,#0A1411 100%);
  box-shadow:inset 0 0 0 1px #F2F3F40D,0 30px 60px #000000B3;
}
/* Miolo: papel em tom quente, apagado pela luz da cena e sombreado junto à capa */
.book::after{
  content:"";position:absolute;z-index:-1;
  top:1.4%;bottom:-.6%;right:-2.6%;width:4%;
  border-radius:0 5px 5px 0;
  background-image:
    linear-gradient(90deg,#000000B3 0%,#00000059 30%,#0000001A 70%,#00000066 100%),
    linear-gradient(180deg,#0000004D 0%,#00000000 20%,#00000000 75%,#00000080 100%),
    repeating-linear-gradient(0deg,#8E8A80 0 1px,#77746B 1px 2px);
}
.book__cover{
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:34px 32px 30px 40px;
  border-radius:4px 14px 14px 4px;
  overflow:hidden;
  background-image:linear-gradient(158deg,#1FA685 0%,#10433D 46%,#0F1B16 100%);
  box-shadow:inset 0 0 0 1px #F2F3F41F,0 40px 80px #000000B3,0 0 120px #1FA68529;
}
/* Lombada e dobra da capa */
.book__cover::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:22px;
  background-image:linear-gradient(90deg,#00000099 0%,#F2F3F41A 28%,#00000080 52%,#F2F3F40A 70%,#00000000 100%);
}
.book__cover::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(105deg,#F2F3F41F 0%,#F2F3F400 34%);
}
.book__spine{display:none}
.book__grain{
  position:absolute;inset:0;pointer-events:none;
  background:url("../img/grain.png") repeat 0 0/256px 256px;opacity:.09;
}
.book__mark{position:relative;width:46px;height:auto;opacity:.95}
.book__text{position:relative;display:flex;flex-direction:column;gap:12px}
.book__eyebrow{
  font-family:var(--font-ui);font-size:11px;font-weight:700;letter-spacing:.24em;
  text-transform:uppercase;color:var(--sage);
}
.book__title{
  font-family:var(--font-ui);font-size:38px;font-weight:800;letter-spacing:-.035em;line-height:1;
  color:var(--off-white);
}
.book__title em{display:block;font-style:normal;color:#57DE8A}
.book__sub{font-family:var(--font-ui);font-size:13.5px;line-height:19px;color:#F2F3F4B3;max-width:220px}
.book__logo{position:relative;width:118px;height:auto;opacity:.75}

/* Notificações em volta do livro ----------------------------------------- */
.push--chat{width:max-content;max-width:340px}
.push--chat .push__ico{
  display:flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:13px;background:none;
}
.push__ico--chat{background-image:linear-gradient(180deg,#5FFC7B 0%,#28D146 100%) !important;box-shadow:inset 0 0 0 .5px #FFFFFF33}
/* Ícone do app Calendário do iPhone: fundo branco, dia da semana em vermelho e o dia grande */
.push--chat .push__ico--cal{
  flex-direction:column;justify-content:center;gap:1px;
  padding-bottom:2px;
  background:#fff !important;
  font-family:-apple-system,"SF Pro Display",var(--font-ui);
  box-shadow:inset 0 0 0 .5px #0000001A;
}
.cal__wd{font-size:9px;font-weight:600;letter-spacing:.02em;line-height:1;color:#FF3B30}
.cal__day{font-size:23px;font-weight:300;letter-spacing:-.03em;line-height:.95;color:#1C1C1E}
.push-a{left:-2%;top:22%;rotate:-6deg;animation:float-a 7.5s ease-in-out infinite}
.push-b{right:3%;bottom:11%;rotate:5deg;animation:float-b 8.6s ease-in-out infinite .9s;z-index:3}

/* ==========================================================================
   E se eu te dissesse
   ========================================================================== */
.statement .hl{color:var(--accent);font-weight:700}
.stat{
  display:flex;align-items:center;gap:22px;
  max-width:640px;padding:22px 28px;border-radius:18px;
  background:#F2F3F409;
  box-shadow:inset 0 1px 1.5px #F2F3F414,inset 0 -1px 2px #00000066,0 24px 40px #00000059;
  text-align:left;
}
.stat__n{font-family:var(--font-ui);font-size:46px;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--accent);flex-shrink:0}
.stat__t{font-family:var(--font-ui);font-size:16px;line-height:24px;color:#F2F3F4BD}

/* ==========================================================================
   Dores
   ========================================================================== */
.pains{justify-content:center}
.pain{flex-direction:row;align-items:center;gap:16px;padding:22px 24px}
.pain .tool__title{margin:0;font-size:16px;line-height:23px;color:#F2F3F4D9}
.pain__ico{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:34px;height:34px;border-radius:50%;
  background:#FF5C5F1A;box-shadow:inset 0 0 0 1px #FF5C5F4D;
}

.turn{
  display:flex;flex-direction:column;align-items:center;gap:16px;
  width:100%;max-width:var(--shell);padding:48px 48px 44px;
  border-radius:24px;background:#1C4B41;
  box-shadow:inset 0 0 0 1px #F2F3F414,0 18px 40px #00000066;
  text-align:center;
}
.turn__eyebrow{font-family:var(--font-hand);font-size:28px;font-weight:600;line-height:1;color:var(--sage);transform:rotate(-2deg)}
.turn__title{font-size:31px;font-weight:700;letter-spacing:-.022em;line-height:38px;max-width:700px;margin:0 0 10px}

/* ==========================================================================
   Capítulos
   ========================================================================== */
.chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;width:100%;max-width:var(--shell)}
.chapters .datecard{gap:16px}
.chapters .datecard__when{margin:0 0 4px;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:700}
.chapters .datecard__day{font-size:38px;line-height:40px}
.chapters .datecard__title{margin:0;font-size:18px;line-height:25px}
.chap{padding-top:0;overflow:hidden}
.chap__media{position:relative;margin:0 -30px 4px;aspect-ratio:16/10;overflow:hidden}
.chap__media img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease-soft),filter .8s ease;filter:saturate(.95)}
.chap__media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(180deg,#1B1C1C00 45%,#1B1C1C 100%);
  box-shadow:inset 0 1px 0 #F2F3F414;
}
@media (hover:hover){.chap:hover .chap__media img{transform:scale(1.035);filter:saturate(1.05)}}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.quotes{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;width:100%;max-width:var(--shell)}
.quote{
  display:flex;flex-direction:column;justify-content:space-between;gap:24px;
  width:calc(33.3333% - 14.6667px);margin:0;padding:30px 28px 26px;
  border-radius:18px;background:#F2F3F409;
  box-shadow:inset 0 1px 1.5px #F2F3F414,inset 0 -1px 2px #00000066,0 24px 40px #0000004D;
  font-family:var(--font-ui);
  transition:var(--lift);
}
.quote blockquote{margin:0;font-size:16px;line-height:25px;color:#F2F3F4D1}
.quote blockquote::before{
  content:"";display:block;width:26px;height:20px;margin-bottom:14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M0 20V12C0 5 3.6 1.2 10 0l1.2 3C7.6 4.2 6 6.4 6 9.5h5V20zm15 0V12c0-7 3.6-10.8 10-12l1 3c-3.6 1.2-5 3.4-5 6.5h5V20z' fill='%231FA685'/%3E%3C/svg%3E") no-repeat 0 0/contain;
}
.quote figcaption{display:flex;align-items:center;gap:12px;padding-top:18px;border-top:1px solid #F2F3F414}
.quote__av{
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  width:40px;height:40px;border-radius:50%;
  background:#1FA6851F;box-shadow:inset 0 0 0 1px #1FA68540;
  font-size:13px;font-weight:700;color:var(--accent);
}
.quote figcaption>span:last-child{display:flex;flex-direction:column;gap:2px}
.quote b{font-size:15px;font-weight:700;color:var(--off-white)}
.quote i{font-style:normal;font-size:13px;color:#F2F3F473}

/* ==========================================================================
   Oferta
   ========================================================================== */
.offer{gap:28px}
.offer__price{display:flex;flex-direction:column;align-items:center;gap:14px}
.offer__from{font-family:var(--font-ui);font-size:18px;font-weight:500;color:var(--gray)}
.offer__from s{color:#F2F3F480;text-decoration-color:#E5484D;text-decoration-thickness:2px}
/* Etiqueta do preço: painel escuro com brilho verde atrás do número */
.offer__tag{
  position:relative;
  display:flex;flex-direction:column;align-items:center;
  padding:30px 64px 26px;
  margin-top:16px;
  border-radius:28px;
  background-image:radial-gradient(ellipse 70% 80% at 50% 0%,#1FA68559 0%,#1FA68500 70%),linear-gradient(180deg,#0F1B16 0%,#131414 100%);
  box-shadow:inset 0 0 0 1px #1FA68566,inset 0 1px 0 #57DE8A33,0 0 0 6px #1FA68514,0 24px 60px #00000080,0 0 90px #1FA68540;
}
.offer__tag::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:url("../img/grain.png") repeat 0 0/256px 256px;opacity:.06;
}
.offer__badge{
  position:absolute;top:-15px;left:50%;translate:-50%;
  padding:6px 14px;border-radius:999px;
  background-image:linear-gradient(165deg,#7BE9A6 0%,#57DE8A 100%);
  box-shadow:0 6px 18px #57DE8A40;
  font-family:var(--font-ui);font-size:12.5px;font-weight:800;letter-spacing:.08em;color:#06210F;
  white-space:nowrap;
}
.offer__value{
  position:relative;
  display:flex;align-items:flex-start;gap:8px;
  margin:0;
  font-family:var(--font-ui);font-size:148px;font-weight:800;letter-spacing:-.06em;line-height:.9;
  background-image:linear-gradient(180deg,#FFFFFF 0%,#CFF7E3 45%,#57DE8A 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 6px 26px #1FA68573);
}
.offer__cur{
  margin-top:.16em;
  font-size:.3em;font-weight:700;letter-spacing:-.02em;line-height:1;
  background-image:linear-gradient(180deg,#CEDDD7 0%,#57DE8A 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.offer__limit{font-family:var(--font-ui);font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#CEDDD7B3}
.guarantee{max-width:880px}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{display:flex;flex-direction:column;gap:12px;width:100%;max-width:760px}
.faq__item{
  border-radius:16px;background:var(--deep);
  box-shadow:inset 0 0 0 1px #F2F3F40F;
  transition:var(--lift);
}
.faq__item[open]{box-shadow:inset 0 0 0 1px #1FA68538}
.faq__item summary{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:22px 26px;cursor:pointer;list-style:none;
  font-family:var(--font-ui);font-size:17.5px;font-weight:600;letter-spacing:-.01em;line-height:24px;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary i{
  position:relative;flex-shrink:0;width:30px;height:30px;border-radius:9px;
  background:#1FA6851A;box-shadow:inset 0 0 0 1px #1FA68529;
}
.faq__item summary i::before,.faq__item summary i::after{
  content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;border-radius:2px;
  background:var(--accent);translate:-50% -50%;transition:rotate .4s var(--ease);
}
.faq__item summary i::after{rotate:90deg}
.faq__item[open] summary i::after{rotate:0deg}
.faq__item p{margin:0;padding:0 26px 24px;font-family:var(--font-ui);font-size:16px;line-height:25px;color:#F2F3F4A8}

/* ==========================================================================
   Últimas palavras
   ========================================================================== */
#escolha .card{gap:18px}
#escolha .card__title{font-size:22px;line-height:30px;font-weight:600}
#escolha .card__title small{font-size:15px;font-weight:500;color:var(--gray)}
.closing .accent{color:var(--accent)}
.final-call{
  font-family:var(--font-hand);font-size:32px;font-weight:600;line-height:1.1;
  color:var(--accent);transform:rotate(-2deg);margin:0;
}

/* ==========================================================================
   Hover
   ========================================================================== */
@media (hover:hover){
  .quote:hover{
    transform:translateY(-1px);background:#F2F3F40C;
    box-shadow:inset 0 1px 1.5px #F2F3F41A,inset 0 -1px 2px #00000066,0 26px 44px #0000005C,0 0 0 1px #1FA68524;
  }
  .faq__item:hover{box-shadow:inset 0 0 0 1px #1FA6852B}
  .turn,.stat{transition:var(--lift)}
  .stat:hover{transform:translateY(-1px);box-shadow:inset 0 1px 1.5px #F2F3F41A,0 26px 46px #00000070,0 0 0 1px #1FA68524}
}

/* ==========================================================================
   Reveal (mesma curva do webinário)
   ========================================================================== */
html.rv :is(.chapters>*, .quotes>*, .faq>*, .turn, .stat, .final-call){
  opacity:0;
  translate:0 26px;
  transition:opacity .75s cubic-bezier(.22,1,.36,1),translate .75s cubic-bezier(.22,1,.36,1),
             transform .72s var(--ease-soft),box-shadow .72s var(--ease-soft),background-color .65s ease;
  transition-delay:var(--rvd,0ms);
}

/* ==========================================================================
   iPad (≤1023px)
   ========================================================================== */
@media (max-width:1023px){
  .hero__book{position:relative;left:auto;width:100%;height:520px;order:-1}
  .hero--ebook .hero__content{margin:0 auto}
  .hero--ebook .hero__h1{text-align:center}
  .book{width:290px;height:396px}
  .book__title{font-size:34px}
  .push-a{left:6%;top:16%}
  .push-b{right:6%;bottom:12%}

  .chapters{grid-template-columns:repeat(2,1fr)}
  .quote{width:100%}
  .turn{padding:40px 32px}
  .turn__title{font-size:26px;line-height:33px}
  .offer__value{font-size:124px}
}

/* ==========================================================================
   Mobile (≤767px)
   ========================================================================== */
@media (max-width:767px){
  .topbar__inner{gap:10px}
  .topbar__price b{font-size:14px}
  .topbar__price s,.topbar__price span{font-size:11.5px}

  .hero__book{height:440px;align-items:flex-start;padding-top:52px}
  .book-glow{width:420px;height:420px}
  .book{width:220px;height:300px}
  .book__cover{padding:24px 22px 22px 30px}
  .book__cover::before{width:16px}
  .book__mark{width:34px}
  .book__title{font-size:27px}
  .book__eyebrow{font-size:9px}
  .book__sub{font-size:11px;line-height:15px;max-width:160px}
  .book__logo{width:88px}

  .push--chat{max-width:230px;padding:9px 12px 9px 9px;gap:9px;border-radius:13px}
  .push--chat .push__ico{width:32px;height:32px;border-radius:9px}
  .push--chat .push__ico svg{width:20px;height:20px}
  .cal__wd{font-size:6px}
  .cal__day{font-size:15px}
  .push--chat .push__app,.push--chat .push__when{font-size:9.5px;line-height:13px}
  .push--chat .push__title{font-size:12px;line-height:16px}
  .push--chat .push__text{font-size:11px;line-height:15px}
  .push-a{left:12px;top:14px}
  .push-b{right:12px;bottom:14px}

  .hero--ebook .hero__content{margin-top:0}
  .hero--ebook .hero__sub .l2{font-size:16px;line-height:25px}
  .slot{max-width:100%}
  .slot__value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  /* Rótulos longos quebram em vez de vazar da tela */
  .btn{white-space:normal;text-align:center;line-height:1.25}
  .btn-shell{max-width:100%}
  .btn-shell .btn{flex:1 1 auto;min-width:0}

  .stat{flex-direction:column;align-items:center;text-align:center;gap:10px;padding:22px}
  .stat__n{font-size:40px}
  .stat__t{font-size:15px;line-height:22px}

  .pain{padding:18px}
  .pain .tool__title{font-size:15px;line-height:22px}

  .turn{padding:32px 20px;border-radius:20px}
  .turn__eyebrow{font-size:24px}
  .turn__title{font-size:22px;line-height:29px}

  .chapters{grid-template-columns:1fr;gap:14px}
  .chapters .datecard{padding:0 24px 24px}
  .chap__media{margin:0 -24px 2px}
  .chapters .datecard__day{font-size:32px;line-height:34px}

  .quote{padding:24px 22px 22px}

  .offer__value{font-size:104px}
  .offer__tag{padding:28px 40px 22px;border-radius:24px}
  .offer__from{font-size:16px}

  .faq__item summary{padding:18px 18px;font-size:16px;line-height:22px}
  .faq__item p{padding:0 18px 20px;font-size:15px;line-height:23px}

  #escolha .card__title{font-size:19px;line-height:27px}
  .final-call{font-size:26px}
}

@media (prefers-reduced-motion:reduce){
  html.rv :is(.chapters>*, .quotes>*, .faq>*, .turn, .stat, .final-call){opacity:1 !important;translate:none !important}
  .book,.push-a,.push-b{animation:none !important}
}

/* ==========================================================================
   Capa do ebook com a arte gerada na Magnific
   Tamanhos em cqw: a capa escala junto com o livro em qualquer breakpoint.
   ========================================================================== */
.book{container-type:inline-size}
.book .book__cover--art{
  justify-content:flex-start;align-items:center;gap:0;
  padding:8cqw 8cqw 0 11cqw;
  text-align:center;
  background:
    linear-gradient(180deg,#07100DE6 0%,#07100DB3 32%,#07100D00 56%,#07100D00 74%,#07100DE6 100%),
    url("../img/capa-ebook.jpg") no-repeat 50% 100%/cover;
}
.cover__brand{position:relative;display:flex;flex-direction:column;align-items:center;gap:1.4cqw}
.cover__brand img{width:8.5cqw;height:auto;opacity:.9}
.cover__brand span{font-family:var(--font-ui);font-size:2.5cqw;font-weight:500;letter-spacing:.38em;color:#F2F3F4B3;margin-right:-.38em}
.cover__title{position:relative;display:flex;flex-direction:column;align-items:center;margin-top:5.5cqw;font-family:var(--font-ui);text-transform:uppercase}
.cover__pre{font-size:5cqw;font-weight:600;letter-spacing:.02em;line-height:1.1;color:var(--off-white)}
.cover__main{
  margin-top:.6cqw;
  font-size:10.4cqw;font-weight:800;letter-spacing:-.025em;line-height:1;white-space:nowrap;
  color:#3BE39C;
  text-shadow:0 0 4cqw #1FA685A6,0 .4cqw 1.2cqw #00000080;
}
.cover__for{margin-top:1.6cqw;font-size:4.3cqw;font-weight:600;letter-spacing:.06em;line-height:1.1;color:var(--off-white);white-space:nowrap}
.cover__line{width:78%;height:.6cqw;margin-top:1.4cqw;border-radius:9px;background:linear-gradient(90deg,#1FA68500,#3BE39C 18%,#3BE39C 82%,#1FA68500);box-shadow:0 0 2cqw #1FA685}
.cover__tag{margin-top:3.2cqw;font-size:2.7cqw;font-weight:700;letter-spacing:.02em;line-height:1.3;color:#F2F3F4;text-shadow:0 0 1.2cqw #000,0 0 2.4cqw #000000CC}
.cover__foot{
  position:absolute;left:11cqw;right:8cqw;bottom:7cqw;margin:0;
  font-family:var(--font-ui);font-size:2.7cqw;font-weight:600;letter-spacing:.03em;line-height:1.45;
  text-transform:uppercase;text-align:center;color:#F2F3F4E6;
}
.cover__foot b{font-weight:800;color:#3BE39C}

/* ==========================================================================
   Cronômetro de urgência (topo e caixa da oferta)
   ========================================================================== */
.topbar__dot{animation:pl-pulse 1.6s ease-in-out infinite}
.topbar__hot{color:var(--accent);font-weight:800}
.topbar .count__n{font-size:18px}
.topbar .count__u{font-size:11px}
.topbar__price s{font-size:13.5px}
[data-deadline].is-ending .count__n{color:#FF6B6E}
[data-deadline].is-ending .count__u{color:#FF6B6E99}
.offer__timer{
  display:inline-block;min-width:4.2ch;margin-left:4px;
  font-size:15px;font-weight:800;letter-spacing:.02em;font-variant-numeric:tabular-nums;
  color:var(--accent);
}
@media (max-width:767px){
  .hide-sm{display:none}
  .topbar .count__n{font-size:16px}
  .topbar__inner{gap:9px}
}

/* Escolha 1: rótulo em vermelho, reforça a perda */
#escolha .card__eyebrow--off{color:#FF7A7C}
