/* V20: base V18 mantida. Fundo claro em fluxo normal, com encontros suaves. */
body.candy-home-flow{background:#e7ebff;color:var(--ink)}
.candy-home-flow .landing-v13{background:#e7ebff!important}
.candy-home-flow .cb-hero{padding-top:calc(100px + env(safe-area-inset-top,0px))!important;padding-bottom:42px!important;background:#e7ebff!important;overflow:hidden!important;isolation:isolate}
.candy-home-flow #inicio::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,#e7ebff00 36%,#e7ebff21 58%,#e7ebffcf 86%,#e7ebff 100%),url('candy-home-day.png') center 53%/cover no-repeat!important}
.candy-home-flow #inicio::after{display:none!important}
.candy-home-flow .cb-hero-inner{position:relative;z-index:1}
.candy-home-flow #inicio .cb-hero-title h1{color:#fff!important;-webkit-text-stroke:.65px #6f4da0!important;text-shadow:0 3px 0 #725398,0 5px 16px #55407840!important;font-size:clamp(28px,4vw,42px)!important}
.candy-home-flow #inicio .cb-video-frame{margin-top:28px!important}
/* O cenário sobe com a página. As cores continuam abaixo do hero sem emenda. */
.candy-home-flow .cb-home-story{position:relative;isolation:isolate;padding:8px 0 34px;background:linear-gradient(180deg,#e7ebff 0%,#f9eaf6 35%,#f0e6fb 65%,#e8f5ff 100%);overflow:hidden}
.candy-home-flow .cb-home-story::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 0 23%,#ff91cc26,transparent 25%),radial-gradient(ellipse at 100% 54%,#72d9ff33,transparent 29%),radial-gradient(ellipse at 15% 87%,#cfa4f526,transparent 28%)}
/* Mantém os cartões claros V18 e suas proporções. */
.candy-home-flow .cb-home-story .cb-section{margin-bottom:24px!important;background:linear-gradient(150deg,#ffffffdc,#fffbffe0)!important;border:1px solid #ffffffd9!important;box-shadow:0 14px 32px #76518b0d!important}
.candy-home-flow .cb-home-story .cb-step-card,.candy-home-flow .cb-home-story .cb-review-card{background:linear-gradient(145deg,#fff,#fdf0fa)!important}
.candy-home-flow .cb-flow-step-candy{width:76px!important;height:76px!important;object-fit:contain!important;display:block;position:relative;z-index:1;filter:drop-shadow(0 8px 6px #8d457c26)}
.candy-home-flow .cb-flow-stars{color:#c78a14;letter-spacing:3px;font-size:14px;font-weight:900}
.candy-home-flow .cb-home-story .cb-last-call{background:transparent!important;margin:0 auto!important;padding:22px 16px 12px!important}
.candy-home-flow .cb-home-story .cb-final-card{background:linear-gradient(135deg,#faf1ff,#eef6ff)!important;border:1px solid #fff!important;box-shadow:0 16px 34px #73558c12!important}
.candy-home-flow .cb-home-story .cb-final-card h2{color:#543264!important;text-shadow:none!important}
.candy-home-flow .cb-home-story .cb-final-card p{color:#70597c!important}
.candy-home-flow .cb-home-story .cb-final-kicker{color:#a04993!important}
.candy-home-flow .cb-footer{background:#e8f5ff!important;color:#5f4b74!important;border-top:1px solid #aacbe159}
.candy-home-flow .cb-footer p,.candy-home-flow .cb-footer small{color:#69577c!important}
.candy-home-flow .cb-footer img{width:132px!important;height:88px!important;max-width:none!important;object-fit:contain!important;content:none!important}
.candy-home-flow .auth-logo{width:132px!important;height:88px!important;max-width:none!important;object-fit:contain!important;content:none!important}
/* Cabeçalho: logo real do painel, inteira; área própria para cada controle. */
.candy-home-flow #siteHeader{background:linear-gradient(110deg,#e8f8fff2,#f5effff2 55%,#ffeef8f2)!important;backdrop-filter:blur(16px);border-bottom:1px solid #fff!important;box-shadow:0 4px 18px #704e8b14!important;min-height:calc(88px + env(safe-area-inset-top,0px))!important;overflow:visible!important}
.candy-home-flow #siteHeader::before,.candy-home-flow #siteHeader::after,.candy-home-flow #siteHeader .brand::before{display:none!important}
.candy-home-flow #siteHeader .header-inner{display:grid!important;grid-template-columns:132px minmax(0,1fr) auto!important;width:min(1160px,calc(100% - 40px))!important;max-width:1160px!important;gap:26px!important;height:88px!important;min-height:88px!important;padding:0!important;align-items:center!important;overflow:visible!important}
.candy-home-flow #siteHeader .brand{display:flex!important;width:126px!important;height:84px!important;max-width:none!important;min-width:0!important;margin:0!important;padding:4px 0!important;overflow:visible!important;align-items:center!important;transform:none!important}
.candy-home-flow #siteHeader .brand img{display:block!important;width:116px!important;height:76px!important;max-height:none!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;content:none!important;transform:none!important;margin:0!important;filter:drop-shadow(0 3px 3px #664a7d1f)!important}
.candy-home-flow #siteHeader .desktop-links{display:flex!important;justify-content:flex-end!important;gap:26px!important;margin:0 12px 0 0!important}
.candy-home-flow #siteHeader .desktop-links a{color:#604774!important;font-size:12px!important;text-shadow:none!important}
.candy-home-flow #siteHeader .desktop-links a::after{display:none!important}
.candy-home-flow #siteHeader .header-buttons{margin:0!important;gap:10px!important;justify-content:flex-end!important;align-items:center!important}
.candy-home-flow #siteHeader .header-btn{height:38px!important;min-width:96px!important;padding:0 18px!important;font-size:10px!important;border-radius:999px!important;box-shadow:inset 0 1px #ffffff80,0 5px 12px #74458b21!important}
.candy-home-flow #siteHeader .btn-blue{background:linear-gradient(180deg,#56ceff,#2278df)!important;border:1px solid #a6e7ff!important}
.candy-home-flow #siteHeader .btn-pink{background:linear-gradient(180deg,#ff81cc,#dc388e)!important;border:1px solid #ffd2ed!important}
.candy-home-flow #siteHeader .menu-toggle{display:none!important;margin:0!important}
.candy-home-flow #siteHeader .menu-toggle span{background:#745182!important}
.candy-home-flow #siteHeader .mobile-menu{background:#fcf8fffa!important;border-top:1px solid #decce959}
.candy-home-flow #siteHeader .mobile-menu a{color:#604774!important}
@media(max-width:920px){
 .candy-home-flow #siteHeader .header-inner{grid-template-columns:124px minmax(0,1fr) 30px!important;gap:10px!important}
 .candy-home-flow #siteHeader .desktop-links{display:none!important}
 .candy-home-flow #siteHeader .menu-toggle{display:flex!important;width:30px!important;padding:5px!important}
 .candy-home-flow #siteHeader .header-buttons{justify-self:end}
 .candy-home-flow #siteHeader .header-btn{min-width:85px!important;height:36px!important;font-size:10px!important;padding:0 12px!important}
}
@media(max-width:560px){
 .candy-home-flow #siteHeader{min-height:calc(76px + env(safe-area-inset-top,0px))!important}
 .candy-home-flow #siteHeader .header-inner{grid-template-columns:106px minmax(0,1fr) 26px!important;width:calc(100% - 22px)!important;height:76px!important;min-height:76px!important;gap:7px!important}
 .candy-home-flow #siteHeader .brand{width:104px!important;height:72px!important;padding:4px 0!important}
 .candy-home-flow #siteHeader .brand img{width:96px!important;height:64px!important}
 .candy-home-flow #siteHeader .header-buttons{gap:7px!important}
 .candy-home-flow #siteHeader .header-btn{min-width:70px!important;height:32px!important;padding:0 10px!important;font-size:9px!important}
 .candy-home-flow #siteHeader .menu-toggle{width:26px!important;flex-basis:26px!important;padding:4px 2px!important}
 .candy-home-flow #siteHeader .menu-toggle span{width:21px!important;height:2px!important}
 .candy-home-flow #inicio{padding-top:96px!important}
 .candy-home-flow #inicio .cb-hero-title h1{font-size:clamp(25px,7vw,29px)!important}
 .candy-home-flow #inicio::before{background-position:center top!important}
 .candy-home-flow .cb-flow-step-candy{width:65px!important;height:65px!important}
 .candy-home-flow .cb-home-story{padding-top:0;padding-bottom:18px}
 .candy-home-flow .cb-home-story .cb-section{margin-bottom:18px!important}
 .candy-home-flow .cb-home-story .cb-last-call{padding-top:16px!important}
}
@media(max-width:350px){
 .candy-home-flow #siteHeader .header-inner{grid-template-columns:90px minmax(0,1fr) 24px!important;width:calc(100% - 18px)!important;gap:4px!important}
 .candy-home-flow #siteHeader .brand{width:89px!important}
 .candy-home-flow #siteHeader .brand img{width:88px!important;height:60px!important}
 .candy-home-flow #siteHeader .header-buttons{gap:5px!important}
 .candy-home-flow #siteHeader .header-btn{min-width:65px!important;padding:0 7px!important;font-size:8px!important}
}
/* Precedência sobre o fundo noturno V18; conteúdo nunca depende do fade para aparecer. */
.candy-home-flow #inicio.cb-hero{padding-top:calc(108px + env(safe-area-inset-top,0px))!important;background:#e7ebff!important}
.candy-home-flow #inicio.cb-hero::before{opacity:1!important;filter:none!important;mix-blend-mode:normal!important;z-index:0!important}
.candy-home-flow .cb-home-story .reveal,
.candy-home-flow .cb-home-story .cb-animate{opacity:1!important;transform:none!important;transition:none!important}
@media(max-width:560px){.candy-home-flow #inicio.cb-hero{padding-top:96px!important}}
.candy-home-flow .cb-home-story::before{-webkit-mask-image:linear-gradient(180deg,transparent,#000 12%,#000 84%,transparent);mask-image:linear-gradient(180deg,transparent,#000 12%,#000 84%,transparent)}
