/* EstouFeliz v2.2 — três portas de entrada, um único sistema */
.landing-v22{--portal-a:#20b8ae;--portal-b:#a090df;--portal-c:#f5bd39;--portal-soft:#f4fbfb;--portal-ink:#171c32}
.landing-v22 .ef-topbar{border-bottom-color:color-mix(in srgb,var(--portal-a) 14%,#e8eaf3)}
.landing-v22 .ef-version{background:color-mix(in srgb,var(--portal-b) 13%,#fff);color:color-mix(in srgb,var(--portal-b) 80%,#493f77)}
.landing-v22 .ef-mainnav a:hover,.landing-v22 .ef-mainnav a.active{border-bottom-color:var(--portal-a)}
.landing-v22 .ef-gradient-btn,.landing-v22 .ef-small-gradient,.landing-v22 .ef-fake-save{background:linear-gradient(110deg,var(--portal-a),color-mix(in srgb,var(--portal-a) 55%,var(--portal-b)),var(--portal-b),var(--portal-c))}
.landing-v22 .ef-hero h1 span{background:linear-gradient(90deg,var(--portal-a),var(--portal-b),var(--portal-c));-webkit-background-clip:text;background-clip:text;color:transparent}
.landing-v22 .ef-kicker{color:var(--portal-a)}
.landing-v22 .ef-hero-glow{background:radial-gradient(ellipse at center,color-mix(in srgb,var(--portal-b) 24%,transparent),color-mix(in srgb,var(--portal-a) 12%,transparent) 44%,transparent 72%)}
.landing-v22 .ef-popular{background:linear-gradient(90deg,var(--portal-a),var(--portal-b),var(--portal-c));color:white}
.landing-v22 .ef-plan-popular{border-color:color-mix(in srgb,var(--portal-c) 70%,#fff)}
.landing-v22 .ef-mobile-cta a{background:linear-gradient(105deg,var(--portal-a),var(--portal-b),var(--portal-c))}
.landing-v22 .brand-themed{min-width:max-content}.landing-v22 .brand-themed .brandwave{width:108px;height:38px}.landing-v22 .brand-themed .brandword{font-size:28px;font-weight:650;letter-spacing:-.045em;color:var(--portal-ink)}
.ef-family-switch{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:18px 0 2px;color:#7a8196;font-size:13px}.ef-family-switch>a{padding:7px 11px;border-radius:999px;border:1px solid #e7eaf2;background:#fff;color:#5c647c;text-decoration:none;font-weight:600}.ef-family-switch>a.on{border-color:color-mix(in srgb,var(--portal-a) 40%,#dfe4ed);background:color-mix(in srgb,var(--portal-a) 9%,#fff);color:var(--portal-ink)}
.ef-support-note{margin-top:16px;padding:14px 17px;border-radius:16px;border:1px solid #d8dff0;background:#f5f7fd;color:#46506b;font-size:13px;line-height:1.45}.ef-support-note b{color:#273451}

/* Portal EstouFeliz: visual principal equilibrado */
.theme-feliz{--portal-a:#20b8ae;--portal-b:#a090df;--portal-c:#f5bd39;--portal-soft:#f4fbfb;--portal-ink:#171c32}
.theme-feliz .ef-hero{background:linear-gradient(180deg,#fff,#fdfdff 70%,#f8fbff)}

/* Portal EstouTriste: mais acolhedor, frio e introspectivo */
.theme-triste{--portal-a:#2aa7c9;--portal-b:#6f62bc;--portal-c:#a988ee;--portal-soft:#f1f4fb;--portal-ink:#1b2440}
.theme-triste .ef-topbar{background:rgba(248,250,255,.93)}
.theme-triste .ef-hero{background:linear-gradient(150deg,#f9fbff 0%,#f3f6fc 52%,#edf0f8 100%);padding-top:46px}
.theme-triste .ef-blob-a{right:-150px;top:-110px;background:radial-gradient(ellipse at center,rgba(149,130,226,.20),rgba(80,137,203,.10) 48%,transparent 72%)}
.theme-triste .ef-blob-b{left:-240px;bottom:-140px;background:radial-gradient(ellipse at center,rgba(50,157,197,.15),rgba(90,101,173,.07) 50%,transparent 75%)}
.theme-triste .ef-hero-grid{grid-template-columns:minmax(500px,1.03fr) minmax(560px,.97fr);gap:42px}
.theme-triste .ef-hero-copy{padding:56px 0 48px}
.theme-triste .ef-hero h1{max-width:13ch;font-size:clamp(48px,4.05vw,72px)}
.theme-triste .ef-lede{max-width:54ch}
.theme-triste .ef-hero-visual{padding:28px;border-radius:38px;background:linear-gradient(145deg,rgba(37,61,110,.96),rgba(83,77,153,.92));box-shadow:0 35px 75px -48px rgba(25,35,78,.75);align-self:center}
.theme-triste .ef-hero-visual img{filter:drop-shadow(0 24px 40px rgba(8,14,33,.28));transform:scale(.94)}
.theme-triste .ef-hero-glow{opacity:.55}
.theme-triste .ef-trustbar{margin-top:26px;border-color:#dfe4ef;background:#dfe4ef}
.theme-triste .ef-features article{background:#fbfcff}
.theme-triste .ef-how{background:linear-gradient(180deg,#fff,#f3f6fc 56%,#fff)}
.theme-triste .ef-showcase{background:linear-gradient(180deg,#f6f8fd,#eef2f9)}
.theme-triste .ef-demo-btn{border-color:#d8dfee;background:#fbfcff}
.theme-triste .ef-benefits{color:#5f6984}
.theme-triste .ef-support-note{border-left:5px solid #7580c8}

/* Portal EstouAlegre: energia, luz e composição invertida */
.theme-alegre{--portal-a:#18b9c2;--portal-b:#69c86d;--portal-c:#ffb43d;--portal-ink:#172131}
.theme-alegre .ef-topbar{background:rgba(255,254,249,.92)}
.theme-alegre .ef-hero{background:linear-gradient(150deg,#fff 0%,#fffdf6 47%,#f6fffd 100%);padding-top:30px}
.theme-alegre .ef-hero-grid{grid-template-columns:minmax(620px,1.16fr) minmax(430px,.84fr);grid-template-areas:'visual copy';gap:34px}
.theme-alegre .ef-hero-copy{grid-area:copy;padding:52px 0 44px}
.theme-alegre .ef-hero-visual{grid-area:visual}
.theme-alegre .ef-hero h1{font-size:clamp(47px,4vw,71px);max-width:12.5ch}
.theme-alegre .ef-hero-visual img{transform:rotate(-1deg) scale(1.04);filter:drop-shadow(0 24px 36px rgba(77,89,61,.11))}
.theme-alegre .ef-blob-a{right:-130px;top:-95px;background:radial-gradient(ellipse at center,rgba(255,193,61,.24),rgba(255,132,80,.08) 48%,transparent 74%)}
.theme-alegre .ef-blob-b{left:-220px;bottom:-140px;background:radial-gradient(ellipse at center,rgba(31,194,188,.18),rgba(80,215,142,.08) 48%,transparent 74%)}
.theme-alegre .ef-trustbar{border-color:#e7eee8;background:#e7eee8}
.theme-alegre .ef-how{background:linear-gradient(180deg,#fff,#fffaf0 48%,#f4fffb 100%)}
.theme-alegre .ef-showcase{background:linear-gradient(180deg,#fffdf6,#f2fffb)}
.theme-alegre .ef-plan-popular{box-shadow:0 24px 54px -38px rgba(225,146,43,.6)}
.theme-alegre .ef-fi.purple,.theme-alegre .ef-fi.violet,.theme-alegre .ef-fi.pink{background:#fff3cf;color:#d68d17}.theme-alegre .ef-fi.blue{background:#e6fbff;color:#1c9fac}.theme-alegre .ef-fi.teal{background:#e6faea;color:#36a654}
.theme-alegre .ef-benefits{font-weight:500}

/* O produto após o login continua EstouFeliz. */
.ef-showcase .ef-showcase-card{position:relative}.ef-showcase .ef-showcase-card:after{content:'MESMO APP';position:absolute;right:14px;top:14px;padding:7px 11px;border-radius:999px;background:rgba(23,28,50,.82);color:white;font-size:10px;font-weight:800;letter-spacing:.08em}

@media(max-width:1260px){
  .theme-triste .ef-hero-grid{grid-template-columns:1fr 1fr;gap:24px}.theme-alegre .ef-hero-grid{grid-template-columns:1.05fr .95fr}
}
@media(max-width:980px){
  .landing-v22 .brand-themed .brandwave{width:82px}.landing-v22 .brand-themed .brandword{font-size:23px}
  .theme-triste .ef-hero-grid,.theme-alegre .ef-hero-grid{grid-template-columns:1fr;grid-template-areas:'copy' 'visual'}
  .theme-triste .ef-hero-copy,.theme-alegre .ef-hero-copy{grid-area:copy;padding-bottom:12px}
  .theme-triste .ef-hero-visual,.theme-alegre .ef-hero-visual{grid-area:visual}
  .theme-triste .ef-hero-visual{padding:18px;border-radius:28px}
  .theme-alegre .ef-hero-visual img{transform:none}
}
@media(max-width:700px){
  .landing-v22 .brand-themed .brandwave{width:66px}.landing-v22 .brand-themed .brandword{font-size:20px}
  .ef-family-switch{justify-content:flex-start}.ef-family-switch>span{width:100%;font-size:12px}
  .theme-triste .ef-hero{padding-top:18px}.theme-triste .ef-hero-copy,.theme-alegre .ef-hero-copy{padding-top:22px}
  .theme-triste .ef-hero-visual{padding:9px;border-radius:22px}
  .theme-triste .ef-hero-visual img{transform:none}
}
