/*
Theme Name: Código Divino – Landing Page
Theme URI: https://codigodivino.site/
Author: Código Divino
Description: Tema de página única de vendas Código Divino, com botão glitter e configuração de checkout e preço no Personalizador.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: codigo-divino
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#f9f5eb;--ink:#25201a;--gold:#f0c34d;--dark:#181713}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Montserrat,Arial,sans-serif;line-height:1.7}h1,h2,h3,p{margin-top:0}h1,h2{line-height:1.13}h1{font-size:clamp(2.2rem,5vw,4.5rem)}h2{font-size:clamp(2rem,4vw,3rem)}.wrap{width:min(1100px,90%);margin:auto}.center{text-align:center}.section{padding:80px 0}.hero{background:linear-gradient(115deg,rgba(5,5,4,.93),rgba(15,12,7,.83)),url('https://assets.zyrosite.com/mv0J6lreP1hM886K/teste-wp-dWxO7M149zSxqZ4n.webp') center/cover;color:white;padding:75px 0}.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px}.hero h1{color:#f6d575;font-size:clamp(2.3rem,4.2vw,4rem);font-weight:900}.hero p{font-size:1.22rem}.hero img{width:100%;object-fit:contain;max-height:540px}.brand{color:#f2d077;font-size:1.22rem;font-weight:900;letter-spacing:.25em}.cta{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:#f6c640;color:#17130c;text-decoration:none;font-size:1rem;font-weight:900;padding:18px 27px;border-radius:12px;text-align:center;box-shadow:0 6px 0 #ad7d13;transition:.2s;margin:20px 0}.cta:hover{transform:translateY(-3px);filter:brightness(1.06)}.cta span{font-size:1.2em}.dark{background:#181713;color:#fff}.gold{color:#e8b33d}.cream{background:#f2e7d0}.intro{max-width:850px;margin:0 auto 35px}.intro p{font-size:1.13rem}.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.why-grid img{width:100%}.check{list-style:none;padding:0}.check li{margin:14px 0;font-weight:600}.books{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}.book,.bonus,.aud-card{background:white;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #00000010}.book-image{background:#f5ead3;display:flex;justify-content:center;align-items:center;padding:12px;min-height:270px}.book-image img{height:270px;max-width:100%;object-fit:contain}.book-text{padding:22px}.book h3{font-size:1.3rem}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.benefits article{padding:22px;background:#ffffff13;border:1px solid #a58b5550;border-radius:14px}.benefits h3{color:#f3c64d}.audience{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.aud-card img{width:100%;aspect-ratio:1.4;object-fit:cover}.aud-card h3,.aud-card p{margin:15px}.aud-card h3{font-size:1rem}.bonuses{display:grid;grid-template-columns:1fr 1fr;gap:26px}.bonus-art{background:#eee0c2;text-align:center;padding:12px}.bonus-art img{height:270px;max-width:100%;object-fit:contain}.bonus-copy{padding:24px}.gift{font-weight:900;color:#8c5200}.bonusprice{display:flex;gap:20px;align-items:center;font-size:1.3rem}.bonusprice strong{color:#2f871e}.story{background:#e9ddc7}.offer{max-width:850px;margin:auto;background:#fff;border:3px solid #d2a333;border-radius:25px;overflow:hidden;box-shadow:0 15px 40px #00000019}.offer .top{background:#191713;color:white;padding:28px;text-align:center}.offer .top h2{color:#f5cb58}.offer .inside{padding:32px 45px}.offer li{margin:9px 0;list-style:none}.offer ul{padding:0}.offer .price{font-size:clamp(2.2rem,5vw,4rem);font-weight:900;color:#1c7131}.guarantee{display:grid;grid-template-columns:180px 1fr;gap:30px;align-items:center}.guarantee img{width:180px}.faq{max-width:850px;margin:auto}details{background:white;border-radius:12px;margin:12px 0;padding:20px;box-shadow:0 2px 14px #00000010}summary{font-weight:800;cursor:pointer}details p{margin:14px 0 0}footer{padding:35px;text-align:center;background:#13110c;color:#b8ab8e}.unavailable{min-height:120px}@media(max-width:760px){.section{padding:50px 0}.hero-inner,.why-grid,.guarantee{grid-template-columns:1fr}.hero img{max-height:420px}.books,.bonuses{grid-template-columns:1fr}.audience,.benefits{grid-template-columns:repeat(2,1fr)}.offer .inside{padding:24px}.cta{width:100%;font-size:.92rem}}@media(max-width:450px){.audience,.benefits{grid-template-columns:1fr}}
.hero-right{display:flex;flex-direction:column;align-items:flex-end;min-width:0}.hero-right img{display:block;width:100%}.hero-cta{margin:0 0 22px;max-width:100%;font-size:.91rem;padding:14px 18px;white-space:nowrap}@media(max-width:760px){.hero-right{align-items:center}.hero-cta{white-space:normal;width:100%;margin-bottom:22px}}
/* Halo dourado fluido: o botao nao gira e a luz permanece SOMENTE fora dele. */
.hero-cta{position:relative;isolation:isolate;z-index:0;overflow:visible;box-shadow:0 6px 0 #ad7d13;animation:none;}
.hero-cta::before,.hero-cta::after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:inherit;}
/* A camada externa cria uma aura suave que pulsa como agua iluminada. */
.hero-cta::before{inset:-9px;border-radius:19px;background:radial-gradient(ellipse at 18% 28%,#fff8cc 0%,transparent 37%),radial-gradient(ellipse at 81% 77%,#ffd447 0%,transparent 42%),linear-gradient(120deg,#d99b17,#fff0aa,#f3b833,#ffe99e,#ce8e17);background-size:155% 170%,165% 160%,240% 240%;background-position:0% 0%,100% 100%,0% 50%;filter:blur(9px);opacity:.73;animation:haloOndas 3.8s ease-in-out infinite alternate;}
/* Particulas e reflexos ficam em um anel recortado, sem cruzar a face do botao. */
.hero-cta::after{inset:-4px;border-radius:16px;padding:4px;background:radial-gradient(circle,#fff 0 1px,transparent 2.5px) 2% 5%/21px 17px,radial-gradient(circle,#fff9ce 0 1px,transparent 2.8px) 80% 30%/31px 23px,radial-gradient(ellipse at 20% 35%,#fff5c4,transparent 45%),radial-gradient(ellipse at 85% 60%,#ffe37f,transparent 45%),linear-gradient(95deg,#d79518,#ffe79a,#e5a529,#fff3bb,#d79518);background-size:21px 17px,31px 23px,165% 160%,155% 180%,230% 230%;background-position:0 0,0 0,0% 20%,90% 80%,0% 50%;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;filter:drop-shadow(0 0 3px #ffe9a0);animation:glitterOndas 5s ease-in-out infinite alternate;}
@keyframes haloOndas{0%{background-position:0% 12%,100% 75%,0% 50%;opacity:.60;filter:blur(8px)}50%{background-position:75% 90%,12% 10%,95% 50%;opacity:.85;filter:blur(11px)}100%{background-position:15% 95%,90% 20%,20% 40%;opacity:.67;filter:blur(9px)}}
@keyframes glitterOndas{0%{background-position:0 0,0 0,0% 25%,100% 60%,0% 50%;opacity:.8}50%{background-position:9px 5px,-12px 8px,75% 60%,10% 40%,100% 50%;opacity:1}100%{background-position:20px -5px,7px 12px,10% 85%,80% 5%,25% 50%;opacity:.85}}
@media(prefers-reduced-motion:reduce){.hero-cta::before,.hero-cta::after{animation:none}}


/* v1.1 — correcoes para celulares e tablets. Nenhum texto, imagem ou checkout alterado. */
html,body{max-width:100%;overflow-x:clip}
img,svg,video,iframe{max-width:100%;height:auto}
.wrap,.hero-inner,.hero-inner>div,.book,.bonus,.aud-card,.offer,.offer .inside{min-width:0}
h1,h2,h3,p,li,summary,.brand{overflow-wrap:break-word}
.hero .hero-right img,.story img,.why-grid>img{max-width:100%;height:auto;object-fit:contain}
.cta{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.book-image img,.bonus-art img{width:auto;max-width:100%;height:auto;max-height:270px}
@media(max-width:900px){
  .hero-inner{grid-template-columns:minmax(0,1fr);gap:26px}
  .hero{padding:42px 0 48px}
  .hero-right{align-items:stretch;width:100%}
  .hero-cta{width:100%;white-space:normal;align-self:stretch;order:0}
  .hero-right img{order:1;max-height:none;width:100%}
  .why-grid{grid-template-columns:1fr;gap:24px}
  .benefits,.audience{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .wrap{width:calc(100% - 32px)}
  .section{padding:42px 0}
  .hero{padding:32px 0 42px}
  .hero-inner{gap:22px}
  .hero .brand{font-size:.82rem;letter-spacing:.14em;line-height:1.5}
  .hero h1{font-size:clamp(1.78rem,8vw,2.65rem);line-height:1.11;letter-spacing:-.035em;margin:14px 0 18px}
  h2{font-size:clamp(1.65rem,7vw,2.25rem)}
  h3{font-size:1.13rem}
  .hero p{font-size:1rem;line-height:1.6;margin-bottom:0}
  .hero-right{gap:2px}
  .hero-cta{font-size:.84rem;padding:15px 12px;min-height:54px;margin:0 0 14px;gap:8px}
  .hero-cta::before{inset:-6px;filter:blur(6px)}
  .hero-right img{max-height:none}
  .cta{width:100%;padding:15px 14px;font-size:.86rem;margin:18px 0}
  .books,.bonuses,.audience,.benefits{grid-template-columns:minmax(0,1fr);gap:17px}
  .book-image{min-height:0;padding:16px}
  .book-image img,.bonus-art img{max-height:260px}
  .book-text,.bonus-copy{padding:19px}
  .aud-card img{aspect-ratio:16/10}
  .offer{border-width:2px;border-radius:18px}
  .offer .top{padding:22px 14px}
  .offer .inside{padding:22px 17px}
  .offer .price{font-size:clamp(2.1rem,11vw,3.1rem)}
  .guarantee{grid-template-columns:1fr;text-align:center;justify-items:center}
  .guarantee img{max-width:160px}
  details{padding:16px}
  footer{padding:28px 16px}
}
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.hero h1{font-size:1.67rem}.hero-cta{font-size:.74rem}}
