/* Cores tiradas da capa do produto: ceu claro, luz, estrada dourada, verde dos titulos e mantos dos reis.
   O lilas vem do Instagram da Joice. */
:root {
  --ceu: #e4eef3;
  --luz: #fffaf0;
  --pessego: #f8e3cc;
  --ouro: #d7a02a;
  --ouro-escuro: #a4740f;
  --ouro-claro: #f6dc95;
  --pinho: #1f5a45;
  --pinho-fundo: #15402f;
  --manto: #b43f1b;
  --manto-escuro: #93300f;
  --lilas: #efe5f6;
  --lilas-forte: #6d4a8c;
  --texto: #2f3b37;
  --falta: #b45309;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--luz);
  color: var(--texto);
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ouro-escuro); outline-offset: 2px; }
h1, h2, h3, .nome-produto, .faixa p, .valor, .rotulo span { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; color: var(--pinho); line-height: 1.04; }
h1 em, h2 em, .frase-joice em, .faixa em { font-style: italic; color: var(--ouro-escuro); }
h2 { font-size: clamp(38px, 6.4vw, 54px); margin-bottom: 16px; }
h3 { font-size: 26px; margin-bottom: 2px; }
.estreito { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.botao {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: var(--manto);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  text-align: center;
  padding: 15px 30px;
  border-radius: 40px;
  box-shadow: 0 5px 0 var(--manto-escuro);
  transition: transform .12s, box-shadow .12s;
}
.botao:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--manto-escuro); }
.botao::after {
  content: "";
  position: absolute; top: -20%; bottom: -20%; left: -40%; width: 26%;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 207, .75), transparent);
  transform: skewX(-18deg);
  animation: reluz 4.5s ease-in-out infinite;
}
@keyframes reluz { 0%, 62% { left: -40%; } 100% { left: 120%; } }
.botao-grande { display: block; font-size: 22px; padding: 18px; margin: 18px 0 12px; }

/* Capa: o ceu e a estrada da arte do produto */
.capa {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 74% 62%, rgba(248, 215, 170, .85), transparent 42%),
    radial-gradient(circle at 50% 32%, #fff 12%, transparent 55%),
    linear-gradient(115deg, #d6e6ee, #f6f4ee 48%, #e6e3e4);
}
.brilhos { position: absolute; inset: 0; pointer-events: none; }
.brilhos i { position: absolute; width: var(--t); height: var(--t); border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255, 236, 180, .95); animation: piscar var(--d) ease-in-out infinite; animation-delay: var(--a); }
@keyframes piscar { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

.capa-texto { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 14px 20px 0; }
.guia { display: block; width: 74px; height: 74px; margin: 0 auto 2px; filter: drop-shadow(0 0 14px rgba(240, 190, 80, .85)); animation: guiar 4s ease-in-out infinite; }
@keyframes guiar { 0%, 100% { transform: scale(.94) rotate(-4deg); } 50% { transform: scale(1.08) rotate(4deg); } }
.nome-produto { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; color: var(--ouro-escuro); font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
h1 { font-size: clamp(42px, 11.6vw, 72px); margin-bottom: 10px; }
.capa-sub { font-size: 18px; font-weight: 700; margin-bottom: 18px; line-height: 1.35; }
.nota-capa { font-size: 14.5px; font-weight: 700; color: var(--pinho); margin-top: 16px; }

.cena { position: relative; height: 190px; margin-top: 10px; }
.estrada-capa { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(transparent, #000 34%); mask-image: linear-gradient(transparent, #000 34%); }
.caravana { position: absolute; left: 8px; bottom: 0; width: 300px; animation: chegar 9s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes chegar { from { transform: translateX(-46%); } to { transform: translateX(0); } }
.rei > use, .rei > path, .rei > circle, .rei > rect { animation: balanco 1s ease-in-out 9 alternate; }
@keyframes balanco { from { transform: translateY(0); } to { transform: translateY(-3px); } }
.pata { transform-box: fill-box; transform-origin: 50% 0; animation: passo 1s ease-in-out 9 alternate; }
.pata.p2 { animation-name: passo-2; }
@keyframes passo { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes passo-2 { from { transform: rotate(9deg); } to { transform: rotate(-9deg); } }

/* Abertura no tom da Joice */
.abertura { background: var(--pinho); color: #f4efe1; padding: 44px 0 40px; text-align: center; }
.abertura .estreito { max-width: 720px; }
.frase-joice { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(31px, 5.4vw, 44px); line-height: 1.1; color: #fff; margin-bottom: 14px; }
.frase-joice em { color: var(--ouro-claro); }

/* Estrada que se desenha com a rolagem */
.estrada { height: 74px; background: var(--luz); overflow: hidden; }
.estrada svg { display: block; width: 100%; height: 100%; }
.estrada path { fill: none; stroke: var(--ouro); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; }
.js .estrada path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s ease-in-out; }
.js .estrada.ver path { stroke-dashoffset: 0; }

/* Blocos */
.bloco { padding: 52px 0; }
.bloco-claro { background: linear-gradient(115deg, var(--ceu), #f7f5ef 60%, var(--pessego)); }
.faixa { background: var(--manto); color: #fff; padding: 36px 0 40px; text-align: center; }
.faixa p { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 32px; line-height: 1.12; margin-bottom: 18px; }
.faixa strong { color: var(--ouro-claro); font-weight: 700; }
.faixa .botao { background: var(--luz); color: var(--manto-escuro); box-shadow: 0 5px 0 #d9c7a8; }
.faixa-final { background: var(--pinho-fundo); }
.faixa-final em { color: var(--ouro-claro); }
.faixa-final .botao { background: var(--manto); color: #fff; box-shadow: 0 5px 0 var(--manto-escuro); }
.guia-final { width: 58px; height: 58px; margin-bottom: 8px; }

.demo { display: grid; gap: 22px; }
.dias { display: grid; grid-template-columns: repeat(5, 46px); gap: 8px; justify-content: center; margin-top: 18px; }
.dias span {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--ouro-escuro);
  border: 2px solid var(--ouro);
  background: #fff;
}
.js .dias span { transition: background .3s, color .3s, transform .3s, box-shadow .3s; transition-delay: var(--a); }
.dias.ver span, html:not(.js) .dias span { background: var(--ouro); color: #fff; box-shadow: 0 0 12px rgba(215, 160, 42, .7); }
.js .dias.ver span { transform: scale(1.05); }

.beneficios { display: grid; gap: 20px; }
.beneficios dt { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 27px; line-height: 1.1; color: var(--pinho); }

.js .revela { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.js .revela.ver { opacity: 1; transform: none; }

ul { list-style: none; }
.estrelas li, .tracos li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.estrelas li::before { content: "★"; color: var(--ouro); position: absolute; left: 0; }
.tracos li::before { content: "–"; position: absolute; left: 5px; }
.duas-colunas { display: grid; gap: 26px; }
.nao-e { background: var(--ceu); padding: 20px; border-radius: 14px; font-size: 16.5px; }
.h2-bonus { margin-top: 42px; }

.peca { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px dashed rgba(164, 116, 15, .5); }

/* Quem criou: as setinhas que a Joice usa em volta da foto */
.bloco-joice { background: var(--lilas); }
.bloco-joice h2 { color: #4c3166; }
.bloco-joice h2 em { color: var(--lilas-forte); }
.joice-retrato { display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 4px; align-items: center; max-width: 620px; margin: 0 auto 22px; }
.rotulos { display: flex; flex-direction: column; gap: 34px; }
.rotulo span { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 19px; line-height: 1.05; color: #4c3166; }
.esquerda .rotulo { text-align: left; }
.direita .rotulo { text-align: right; }
.rotulo svg { width: 62px; height: 31px; display: inline-block; margin-top: 3px; }
.rotulo path { fill: none; stroke: var(--lilas-forte); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.js .rotulo path { stroke-dashoffset: 1; transition: stroke-dashoffset .8s ease-out .2s; }
.js .joice-retrato.ver .rotulo path { stroke-dashoffset: 0; }
.foto-e-nome { position: relative; }
.assinatura { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 700; font-size: 27px; line-height: 1; text-align: center; color: var(--lilas-forte); margin-top: 8px; }
.joice-texto { max-width: 620px; margin: 0 auto; text-align: center; }

/* Preco: enfeites pendurados e laco de presente */
.preco { position: relative; background: var(--pinho-fundo); padding: 118px 20px 56px; overflow: hidden; scroll-margin-top: 0; }
.enfeites { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-around; max-width: 900px; margin: 0 auto; }
.enfeites span { position: relative; display: block; width: 2px; background: var(--ouro-claro); height: var(--h); transform-origin: 50% 0; animation: balancar var(--d) ease-in-out infinite alternate; }
.enfeites span::after { content: "★"; position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); color: var(--ouro-claro); font-size: 30px; line-height: 1; text-shadow: 0 0 12px rgba(246, 220, 149, .8); }
@keyframes balancar { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.cartao-preco { position: relative; background: var(--luz); max-width: 500px; margin: 0 auto; padding: 44px 24px 26px; border-radius: 12px; border-top: 12px solid var(--manto); }
.laco { position: absolute; top: -34px; left: 50%; width: 76px; height: 40px; transform: translateX(-50%); }
.laco::before, .laco::after { content: ""; position: absolute; top: 2px; width: 36px; height: 30px; background: var(--manto); border: 3px solid var(--manto-escuro); }
.laco::before { left: 0; border-radius: 70% 20% 20% 70%; transform: rotate(14deg); }
.laco::after { right: 0; border-radius: 20% 70% 70% 20%; transform: rotate(-14deg); }
.cartao-preco h2 { font-size: 37px; }
.valor { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 64px; color: var(--pinho); line-height: 1; margin-top: 14px; }
.por-dia { font-weight: 700; }
.nota { font-size: 15px; text-align: center; }
.garantia { text-align: center; }

details { border-top: 1px dashed rgba(164, 116, 15, .5); padding: 13px 0; }
summary { font-weight: 800; cursor: pointer; color: var(--pinho); }
details p { margin-top: 7px; }

.rodape { background: var(--pinho-fundo); color: #dfe8e2; padding: 8px 20px 96px; text-align: center; font-size: 14.5px; }
.rodape p { margin-bottom: 7px; }
.link { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; margin-left: 12px; }

/* Barra fixa no celular */
.barra-compra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--luz); padding: 10px 14px 13px; border-top: 2px solid var(--ouro);
  font-weight: 800; font-size: 14.5px; color: var(--pinho); line-height: 1.2;
  transform: translateY(110%); transition: transform .2s;
}
.barra-compra.visivel { transform: none; }
.barra-compra .botao { font-size: 15.5px; padding: 10px 15px; white-space: nowrap; box-shadow: 0 3px 0 var(--manto-escuro); }

/* Cookies */
.cookies {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 20;
  background: #fff; color: var(--texto); border: 1px solid #d5cfc0; border-radius: 10px;
  padding: 13px; font-size: 14.5px; line-height: 1.35; box-shadow: 0 4px 18px rgba(0,0,0,.26);
}
.cookies > div { display: flex; gap: 8px; margin-top: 9px; }
.botao-secundario { flex: 1; font: inherit; font-weight: 800; padding: 10px; background: #efece3; color: var(--pinho); border: 0; border-radius: 6px; cursor: pointer; }
.botao-secundario.forte { background: var(--pinho); color: #fff; }

/* O que ainda falta: sai antes de publicar */
.falta {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--falta); background: rgba(255, 247, 237, .9); color: #92400e;
  font-weight: 800; font-size: 15px; line-height: 1.25; padding: 10px; border-radius: 10px;
}
.video { aspect-ratio: 9 / 12; max-width: 340px; width: 100%; margin: 0 auto; }
.foto-peca { aspect-ratio: 1; font-size: 13px; }
.foto-autora { aspect-ratio: 3 / 4; border-radius: 120px 120px 12px 12px; }
.depoimentos { min-height: 130px; }
.falta-texto { color: #92400e; background: #fff7ed; font-weight: 800; }

@media (min-width: 760px) {
  .capa-texto { padding-top: 26px; }
  .guia { width: 92px; height: 92px; }
  .nome-produto { font-size: 26px; }
  .cena { height: 250px; }
  .caravana { left: 50%; width: 470px; margin-left: -540px; }
  .demo { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .dias { justify-content: start; grid-template-columns: repeat(5, 52px); }
  .dias span { width: 52px; height: 52px; }
  .beneficios { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .duas-colunas { grid-template-columns: 1.25fr 1fr; align-items: start; gap: 40px; }
  .rotulo span { font-size: 24px; }
  .rotulo svg { width: 78px; height: 39px; }
  .barra-compra { display: none; }
  .rodape { padding-bottom: 28px; }
  .cookies { left: auto; right: 20px; bottom: 20px; width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revela { opacity: 1; transform: none; }
  .js .estrada path, .js .rotulo path { stroke-dashoffset: 0; }
  .js .dias span { background: var(--ouro); color: #fff; }
}

/* === Versao com o material real da Joice (10/11/2026) === */
h1 { font-size: clamp(30px, 8.3vw, 56px); margin-bottom: 14px; }
.nome-produto { font-size: 19px; }
.cena-foto { height: auto; margin-top: 6px; overflow: hidden; line-height: 0; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.cena-foto img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 60%; display: block; transform-origin: 72% 40%; animation: aproximar 16s ease-out both; }
@keyframes aproximar { from { transform: scale(1.12); } to { transform: scale(1); } }
.destaque-linha { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 27px; line-height: 1.1; color: var(--manto); margin-bottom: 8px; }
.demo p + p { margin-top: 8px; }
.demo-fotos { display: grid; gap: 16px; justify-items: center; }
.foto-kit { width: 100%; max-width: 360px; height: auto; border-radius: 10px; box-shadow: 0 10px 26px rgba(90, 60, 10, .28); }
.js .foto-kit.revela { transform: translateY(22px) rotate(-2deg); }
.js .foto-kit.revela.ver { transform: rotate(1.2deg); }
.video { aspect-ratio: 16 / 9; max-width: 360px; }
.imagine { margin-top: 30px; padding: 22px 22px; border-radius: 14px; background: var(--manto); color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-style: italic; font-size: clamp(24px, 3.6vw, 31px); line-height: 1.16; text-align: center; }
.peca { grid-template-columns: 124px 1fr; }
.foto-peca-img { width: 124px; height: 124px; object-fit: cover; object-position: 50% 12%; border-radius: 10px; box-shadow: 0 4px 12px rgba(90, 60, 10, .25); display: block; }
.presente { font-weight: 800; font-size: 13.5px; color: var(--manto); }
.joice-texto p + p { margin-top: 10px; }
.depo-grade { display: grid; gap: 14px; }
.depo { background: #fff; border-radius: 14px 14px 14px 3px; padding: 16px 18px; box-shadow: 0 3px 12px rgba(31, 90, 69, .13); border-left: 5px solid var(--ouro); }
.depo blockquote { font-size: 17px; line-height: 1.42; }
.depo figcaption { margin-top: 8px; font-size: 13.5px; font-weight: 800; color: var(--pinho); }
.nota-depo { display: inline-block; margin-top: 12px; font-size: 14px; padding: 2px 6px; }
.chamada-preco { font-weight: 800; margin-bottom: 12px; }
.cartao-preco h2 { font-size: 33px; margin-bottom: 8px; }
.cartao-preco li { font-size: 16.5px; line-height: 1.35; }
.mais-presentes { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 25px; color: var(--manto); margin: 12px 0 6px; }
.presentes li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.presentes li::before { content: "🎁"; position: absolute; left: 0; font-size: 15px; }
.tudo-por { font-weight: 800; margin-top: 14px; }
.valor { margin-top: 0; }
.botao-grande { font-size: 19px; line-height: 1.2; }
@media (min-width: 760px) {
  h1 { max-width: 880px; margin-left: auto; margin-right: auto; }
  .capa-texto { max-width: 920px; }
  .beneficios { grid-template-columns: 1fr 1fr 1fr; }
  .peca { grid-template-columns: 150px 1fr; }
  .foto-peca-img { width: 150px; height: 150px; }
  .depo-grade { grid-template-columns: 1fr 1fr; }
  .cena-foto img { max-height: 560px; }
}
main > section, .capa { overflow-x: clip; }
.cartao-preco h2, .depo blockquote { overflow-wrap: anywhere; }
