@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

html { scroll-behavior: smooth; }

/* =========================================================================
   GILGAL ACADEMY — Design System
   Baseado no GILGALx aprovado
   ========================================================================= */

:root {
    --principal:  #134079;   /* #133E77 — Azul Gilgal */
    --secundario: hsl(240, 10%, 60%);
    --sucesso:    hsl(152, 100%, 23%);
    --informacao: hsl(213, 59%, 78%);
    --alerta:     hsl(45, 100%, 57%);
    --perigo:     hsl(0, 100%, 50%);
    --claro:      hsl(0, 0%, 94%);
    --noturno:    hsl(210, 17%, 10%);
    --font:       "Lora", serif;

    /* Y2 overrides — cor primária Gilgal */
    --y2-h-pri: 214;
    --y2-pri:   #134079;
    --princ:    #0a3061;

    /* Y2 aliases de compatibilidade */
    --font1:  var(--y2-f1);
    --font1b: var(--y2-f1);
    --txt:    var(--y2-color);
}



/* ── Tema Noite (padrão) ────────────────────────────────── */
html, html[y2-theme="dark"] {
    --header-bg:            var(--neut12);
    --logo-span:            var(--bran);
    --logo-span-b:          var(--prin__);
    --header-a:             var(--neut2);
    --header-a-hover:       var(--prin__);
    --header-border:        var(--neut10);
    --titulo:               var(--prin__);
    --plan1-bg:             var(--neut7);
    --plan2-bg:             var(--neut9);
    --plan3-bg:             var(--neut7);
    --base:                 var(--neut12);
    --sis-left-bg:          var(--neut12);
    --sis-left-a:           var(--prin__);
    --sis-left-a-hover:     var(--prin__);
    --sis-left-a-hover-bg:  var(--neut10);
    --sis-text-a:           var(--neut3);
}

/* ── Tema Dia ───────────────────────────────────────────── */
html[y2-theme="light"] {
    --header-bg:            var(--bran);
    --logo-span:            var(--princ);
    --logo-span-b:          var(--princ);
    --header-a:             var(--princ);
    --header-a-hover:       var(--prin__);
    --header-border:        var(--bran);
    --titulo:               var(--prin_);
    --plan1-bg:             var(--info);
    --plan2-bg:             var(--princ);
    --plan3-bg:             var(--info);
    --base:                 var(--bran);
    --sis-left-bg:          var(--bran);
    --sis-left-a:           var(--princ);
    --sis-left-a-hover:     var(--princ);
    --sis-left-a-hover-bg:  var(--info);
    --sis-text-a:           var(--neut12);
}

/* ── Y2DAY FAB ───────────────────────────────────────────── */
.y2day-fab {
    border: 1px solid rgba(255,255,255,.15) !important;
    border-right: none !important;
    background: rgba(255,255,255,.06) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 0 0 3px;
}
html[y2-theme="light"] .y2day-fab {
    border-color: rgba(0,0,0,.15) !important;
    background: rgba(0,0,0,.06) !important;
}

/* ── COMPATIBILIDADE wf wf-* → y2icons ─────────────────── */
.wf {
    font-family: 'y2icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* ── Y2TOP ──────────────────────────────────────────────── */
[y2top] {
    background: var(--princ) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(19,62,119,.45) !important;
}
[y2top]:hover {
    background: hsl(214, 73%, 20%) !important;
}

/* ── BOTÕES (base — Y2 usa [y2btn], mantemos .btn para compatibilidade) ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 2rem;
    border-radius: .8rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: background .2s, color .2s, opacity .2s;
    white-space: nowrap;
}
.btn:hover { opacity: .88; }
.-btn { display: flex; width: 100%; }

/* ── GRIDS CUSTOMIZADOS ──────────────────────────────────── */
.co2-g,
.co3-g { display: grid; grid-template-columns: 1fr; gap: 2rem; width: 100%; }

/* colunas não encolhem abaixo do conteúdo mínimo */
.co2-g > *, .co3-g > * { min-width: 0; }

@media (min-width: 900px) {
    .co2-g { grid-template-columns: repeat(2, 1fr); }
    .co3-g { grid-template-columns: repeat(3, 1fr); }
}

/* ── BASE ───────────────────────────────────────────────── */
html, body {
    width: 100%;
    height: auto;
    min-height: 100vh;
    font-family: var(--font1);
}

.bl {
    display: flex;
    margin-inline: auto;
    width: min(1400px, 100% - 3rem * 2);
    flex-direction: column;
}

section { padding: 80px 0 60px 0; }
.btn { border-radius: 0.4rem !important; color: white !important; }

h2 {
    font-family: var(--font);
    color: var(--titulo);
    padding: 40px 0 20px 0;
    text-transform: uppercase;
    font-weight: lighter;
}
h2 b { font-weight: 800; }

section#sobre {
    padding: 60px 0 80px;
    position: relative;
    z-index: 120;
    margin-top: -26vh;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--y2-bg-bas, #0d1117) 28%
    );
}
html[y2-theme="light"] section#sobre {
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--y2-bg-bas, #f5f7fa) 20%
    );
}
.sobre p {
    font-size: 17px;
    font-weight: 300;
    text-wrap: pretty;
    padding: 0 40px 0 0;
    line-height: 1.6;
}
.sobre-titulo {
    margin-bottom: 2.4rem;
}
.sobre-titulo span {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: var(--princ);
    opacity: .8;
    margin-bottom: -8px;
}
.sobre-titulo h2 {
    font-size: clamp(2.4rem, 3.2vw, 4rem);
    text-transform: none;
    letter-spacing: -.5px;
    padding: 0;
    color: var(--y2-color, #eee);
}
.sobre-titulo h2 b {
    color: var(--princ);
    font-weight: 600;
}
html[y2-theme="dark"] .sobre-titulo span,
html:not([y2-theme="light"]) .sobre-titulo span {
    text-shadow: 1px 1px 2px #000;
}
html[y2-theme="dark"] .sobre-titulo h2 b,
html:not([y2-theme="light"]) .sobre-titulo h2 b {
    text-shadow: 1px 1px 2px #000;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .30s; }
.reveal-delay-3 { transition-delay: .45s; }

@media(max-width:900px) {
    .sobre p { padding: 0; }
    section  { padding: 50px 0; }
    section#sobre { margin-top: 0; padding: 40px 0 60px; }
    .sobre-titulo h2 { font-size: clamp(2.4rem, 5vw, 3.2rem); }
    /* garante coluna única no sobre */
    .sobre.co2-g { grid-template-columns: 1fr !important; }
    /* contato empilha */
    #contatos .co2-g { grid-template-columns: 1fr !important; }
}
@media(max-width:600px) {
    section#sobre { margin-top: 0; }
    .sobre p { font-size: 1.55rem; }
    #contatos { padding: 4rem 0; }
    #contatos p { font-size: 1.45rem !important; }
}

/* ── HEADER ─────────────────────────────────────────────── */
header {
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    padding: 1.4rem 0;
    background: transparent;
    transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
header.scrolled {
    padding: .8rem 0;
    background: rgba(10, 16, 26, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
html[y2-theme="light"] header.scrolled {
    background: rgba(255,255,255,.82);
}
header .header {
    width: min(1400px, 100% - 3rem * 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .header .logo { display: flex; align-items: center; }
header .header .logo img {
    width: 460px;
    height: auto;
    transition: width .4s ease;
}
header.scrolled .header .logo img {
    width: 200px;
}
ul.nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .2rem;
}
ul.nav li a.btn- {
    position: relative;
    padding: .6rem 1rem;
    color: rgba(255,255,255,.85);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .25s;
}
ul.nav li a.btn-::after {
    content: '';
    position: absolute;
    bottom: .2rem; left: 50%;
    width: 0; height: 2px;
    background: var(--princ);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .3s ease;
}
ul.nav li a.btn-:hover { color: #fff; }
ul.nav li a.btn-:hover::after { width: 80%; }
html[y2-theme="light"] ul.nav li a.btn- {
    color: rgba(255, 255, 255, .85);
    text-shadow: 1px 1px 3px black;
}
html[y2-theme="light"] ul.nav li a.btn-:hover {
    color: rgba(255, 255, 255, .85);
    opacity: .75;
}
ul.nav li a.btn {
    margin-left: .8rem;
    font-size: 1.4rem;
    padding: .6rem 1.8rem;
}

/* ── NAV LOGIN TRIGGER ──────────────────────────────────── */
.nav-login-trigger {
    display: flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: .5rem 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.4rem; font-weight: 500;
    transition: background .25s, border-color .25s;
    backdrop-filter: blur(6px);
}
.nav-login-trigger:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.4);
}
.nav-login-trigger i { font-size: 1.8rem; }
.nav-login-arrow { font-size: 1.2rem !important; transition: transform .3s; }
.nav-login-trigger[aria-expanded="true"] .nav-login-arrow { transform: rotate(180deg); }
html[y2-theme="light"] .nav-login-trigger {
    background: var(--princ);
    border-color: var(--princ);
    color: #fff;
}

/* ── PAINEL FLUTUANTE LOGIN ─────────────────────────────── */
.login-overlay {
    display: none; position: fixed; inset: 0; z-index: 490;
    background: rgba(0,0,0,.4); backdrop-filter: blur(2px);
}
.login-overlay.is-open { display: block; }

.login-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(420px, 100vw);
    z-index: 500;
    background: var(--y2-bg-sur, #111820);
    border-left: 1px solid rgba(255,255,255,.07);
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex; align-items: center; justify-content: center;
}
.login-panel.is-open { transform: translateX(0); }
html[y2-theme="light"] .login-panel {
    background: #fff;
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
}

.login-panel-inner {
    width: 100%;
    padding: 3rem 3.2rem;
    display: flex; flex-direction: column; gap: 1.4rem;
}
.login-panel-header { text-align: center; margin-bottom: .8rem; }
.login-logo { width: 60px; margin-bottom: 1rem; }
.login-panel-header h3 {
    font-family: var(--font);
    font-size: 2.2rem;
    color: var(--y2-color, #eee);
    margin-bottom: .3rem;
}
.login-panel-header p { font-size: 1.3rem; opacity: .55; }

.login-form { display: flex; flex-direction: column; gap: 1rem; }
.login-field {
    position: relative;
    display: flex; align-items: center;
}
.login-field i {
    position: absolute; left: 1.2rem;
    font-size: 1.6rem; opacity: .5;
    color: var(--y2-color, #eee);
    pointer-events: none;
}
.login-field input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.6rem;
    border-radius: .8rem;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: var(--y2-color, #eee);
    font-size: 1.4rem;
    transition: border-color .2s, background .2s;
}
html[y2-theme="light"] .login-field input {
    border-color: rgba(0,0,0,.12);
    background: #f4f6fa;
    color: #1a1a2e;
}
.login-field input:focus {
    outline: none;
    border-color: var(--princ);
    background: rgba(19,62,119,.08);
}
.login-opts {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.3rem; opacity: .7;
}
.login-opts a { color: var(--princ); text-decoration: none; }
.login-opts label { display: flex; align-items: center; gap: .4rem; cursor: pointer; }
.login-btn { width: 100%; padding: 1rem; font-size: 1.5rem; border-radius: .8rem; margin-top: .2rem; }

.login-divider {
    display: flex; align-items: center; gap: 1rem;
    font-size: 1.2rem; opacity: .45;
}
.login-divider::before, .login-divider::after {
    content: ''; flex: 1;
    height: 1px; background: currentColor; opacity: .3;
}

.login-social { display: flex; flex-direction: column; gap: .8rem; }
.btn-social {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    padding: .9rem 1.4rem; border-radius: .8rem; font-size: 1.4rem; font-weight: 500;
    text-decoration: none; border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: var(--y2-color, #eee);
    transition: background .2s, border-color .2s;
}
html[y2-theme="light"] .btn-social {
    border-color: rgba(0,0,0,.12); background: #f4f6fa; color: #1a1a2e;
}
.btn-social:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
html[y2-theme="light"] .btn-social:hover { background: #e8ecf3; }

.login-cadastro { text-align: center; font-size: 1.3rem; opacity: .65; }
.login-cadastro a { color: var(--princ); text-decoration: none; font-weight: 600; }
.login-cadastro a:hover { text-decoration: underline; }

/* ── PANEL DETALHE DO CURSO ─────────────────────────────── */
.curso-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(45vw, 100vw);
    z-index: 500;
    background: var(--y2-bg-sur, #111820);
    border-left: 1px solid rgba(255,255,255,.07);
    box-shadow: -12px 0 50px rgba(0,0,0,.5);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    overflow-x: hidden;
}
.curso-panel.is-open { transform: translateX(0); }
html[y2-theme="light"] .curso-panel {
    background: #f8f9fb;
    border-left: 1px solid rgba(0,0,0,.08);
    box-shadow: -12px 0 50px rgba(0,0,0,.12);
}
.curso-panel-inner {
    display: flex; flex-direction: column;
    padding: 0 0 4rem;
    min-height: 100%;
}
.curso-panel-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: rgba(0,0,0,.35); border: none;
    color: #fff; font-size: 1.6rem;
    width: 3.4rem; height: 3.4rem; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s; z-index: 2;
    backdrop-filter: blur(4px);
}
.curso-panel-close:hover { background: rgba(0,0,0,.6); }
.curso-panel-img {
    width: 100%; height: 220px;
    object-fit: cover; display: block;
    flex-shrink: 0;
}
.curso-panel-inner > :not(.curso-panel-img):not(.curso-panel-close) {
    padding-left: 2.4rem; padding-right: 2.4rem;
}
.curso-panel-badge {
    display: inline-block;
    margin-top: 2rem;
    padding: .35rem 1.1rem;
    border-radius: 2rem;
    font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(19,62,119,.35);
    border: 1px solid rgba(166,196,232,.25);
    color: hsl(213,59%,78%);
    width: fit-content;
}
html[y2-theme="light"] .curso-panel-badge {
    background: rgba(19,62,119,.08);
    border-color: rgba(19,62,119,.2);
    color: hsl(214,73%,35%);
}
.curso-panel-titulo {
    font-family: var(--font);
    font-size: 2.2rem; font-weight: 700;
    color: var(--y2-color, #eee);
    margin-top: 1.2rem; line-height: 1.3;
}
html[y2-theme="light"] .curso-panel-titulo { color: hsl(214,40%,18%); }
.curso-panel-desc {
    font-size: 1.45rem; font-weight: 300;
    line-height: 1.75; opacity: .7;
    margin-top: 1rem;
}
html[y2-theme="light"] .curso-panel-desc { color: hsl(214,20%,30%); opacity: .8; }
.curso-panel-meta {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 2rem; padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
html[y2-theme="light"] .curso-panel-meta { border-color: rgba(0,0,0,.08); }
.curso-meta-item {
    display: flex; align-items: center; gap: .55rem;
    font-size: 1.35rem; color: var(--y2-color, #eee);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    padding: .55rem 1.2rem; border-radius: 2rem;
}
.curso-meta-item i { font-size: 1.6rem; opacity: .7; }
.curso-meta-preco { background: rgba(19,62,119,.3); border-color: rgba(166,196,232,.2); }
.curso-panel-btn {
    margin: 2rem 0 0;
    padding: 1.1rem; font-size: 1.5rem;
    border-radius: .8rem; text-align: center;
}
.ticker-card { cursor: pointer; }

/* ── BANNER HERO ────────────────────────────────────────── */
section#banner {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}
#banner img {
    object-fit: cover;
    width: 100%;
}
/* ── HERO CONTENT ───────────────────────────────────────── */
.hero-content {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 42%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 6% 8rem 1%;
    background: linear-gradient(to left,
        rgba(5,10,20,.88) 50%,
        rgba(5,10,20,.55) 78%,
        transparent 100%
    );
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(19,62,119,.55);
    border: 1px solid rgba(166,196,232,.3);
    color: hsl(213,59%,78%);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .45rem 1.2rem;
    border-radius: 2rem;
    margin-bottom: 1.6rem;
    width: fit-content;
    backdrop-filter: blur(6px);
}
.hero-title {
    font-family: var(--font);
    font-size: clamp(2.8rem, 3.8vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-title span { color: inherit; }
.hero-line { display: block; }
.hero-line--accent { color: hsl(213,59%,78%); }
.hero-desc {
    font-size: clamp(1.4rem, 1.6vw, 1.7rem);
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    margin-bottom: 2.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px black;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-btn-outline {
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,.4) !important;
    color: #fff !important;
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.7) !important;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.hero-stat { display: flex; flex-direction: column; gap: .2rem; }
.hero-stat strong {
    font-family: var(--font);
    font-size: clamp(2rem, 2.4vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.hero-stat span { font-size: 1.3rem; color: rgba(255,255,255,.55); font-weight: 400;
    text-shadow: 1px 1px 1px black; }
.hero-stat-sep {
    width: 1px; height: 3rem;
    background: rgba(255,255,255,.2);
}

@media(max-width:992px) {
    .hero-content {
        width: 100%;
        padding: 12rem 2.4rem 4rem;
        background: linear-gradient(to top,
            rgba(5,10,20,.75) 35%,
            rgba(5,10,20,.15) 100%
        );
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .hero-badge, .hero-actions, .hero-stats { justify-content: center; }
    .hero-stat { align-items: center; }
    .hero-title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
    .hero-stats { gap: 1rem; flex-wrap: wrap; }
    .hero-stat strong { font-size: clamp(1.8rem, 4vw, 2.4rem); }
}
@media(max-width:480px) {
    .hero-content { padding: 10rem 1.8rem 3.6rem; }
    .hero-title { font-size: clamp(2.2rem, 7vw, 3rem); }
    .hero-desc { font-size: 1.45rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: .8rem; }
    .hero-stat-sep { display: none; }
    .hero-stat { flex-direction: row; align-items: center; gap: .4rem; }
    .hero-stat strong { font-size: 1.8rem; }
    .hero-stat span { font-size: 1.2rem; }
}

/* ── BANNER SLIDER ──────────────────────────────────────── */
.banner-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    /* Fade topo */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 55%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 55%
    );
}
/* Degrade no topo — protege a leitura do menu */
section#banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to bottom, rgba(5,10,20,.75) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
html[y2-theme="light"] section#banner::before {
    background: linear-gradient(to bottom, rgba(255,255,255,.55) 0%, transparent 100%);
}
/* Degrade embaixo — cobre a borda do hero-content */
section#banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, var(--y2-bg-bas, #0d1117), transparent);
    z-index: 110;
    pointer-events: none;
}
html[y2-theme="light"] section#banner::after {
    background: linear-gradient(to top, var(--y2-bg-bas, #f5f7fa), transparent);
}
/* Imagens preenchem 100% do slide */
.banner-slider .y2slider-it img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Sobrescreve duração do fade do Y2 (padrão .9s → 1.8s mais suave) */
.banner-slider .y2slider-it,
.banner-slider .y2slider-it.is-out {
    transition: opacity 1.8s ease-in-out !important;
}
/* Ken Burns mais sutil — escala menor e duração maior */
.banner-slider .y2slider-it.is-act > *,
.banner-slider .y2slider-it.is-out > * {
    animation-duration: 14s !important;
}
@keyframes sld-kb-1 { from { transform: scale(1)    translate(0,0) } to { transform: scale(1.06) translate(-2%,-1%) } }
@keyframes sld-kb-2 { from { transform: scale(1)    translate(0,0) } to { transform: scale(1.06) translate(2%,-1%)  } }
@keyframes sld-kb-3 { from { transform: scale(1.06) translate(2%,1%) } to { transform: scale(1)   translate(0,0)    } }
@keyframes sld-kb-4 { from { transform: scale(1.06) translate(-2%,1%) } to { transform: scale(1)  translate(0,0)    } }

/* ── MOBILE ─────────────────────────────────────────────── */
.Mobi { display: none; }
.PC   { display: inline-block; }

@media(max-width:992px) {
    .Mobi { display: inline-block; }
    .PC   { display: none; }
    ul.nav  { display: none; }
    header .header .logo img { max-width: 90px; padding: 0; }
    a.menuBar { font-size: 3.2rem; color: #fff; }
    section#banner, #banner img { height: 100vh; }
    section#banner::after { height: 20%; }
    img.bgImg { top: 0; }
    .menuBar:hover { color: var(--header-a-hover); }
    /* ── Panel menu mobile ── */
    #menuBarX .pnl-box {
        background: var(--y2-bg-sur, #111820) !important;
        border-right: 1px solid rgba(255,255,255,.07) !important;
    }
    #menuBarX .pnl-hdr {
        background: var(--y2-bg-bas, #0d1117) !important;
        border-bottom: 1px solid rgba(255,255,255,.07) !important;
        color: rgba(255,255,255,.9) !important;
    }
    #menuBarX .pnl-hdr .pnl-ttl {
        color: rgba(255,255,255,.9) !important;
        font-size: 1.6rem !important;
        font-weight: 600 !important;
    }
    #menuBarX .pnl-hdr .pnl-cls {
        background: transparent !important;
        color: rgba(255,255,255,.6) !important;
        border: none !important;
    }
    #menuBarX .navMobi {
        list-style: none;
        padding: 1rem 0;
        margin: 0;
        width: 100%;
        background: transparent !important;
    }
    #menuBarX .navMobi li {
        width: 100%;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,.06) !important;
    }
    #menuBarX .navMobi li a.btn-- {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 1.4rem 2rem;
        font-size: 1.7rem;
        font-weight: 500;
        color: rgba(255,255,255,.8) !important;
        background: transparent !important;
        transition: background .2s, color .2s;
        text-decoration: none;
    }
    #menuBarX .navMobi li a.btn--:hover,
    #menuBarX .navMobi li a.btn--:active {
        background: rgba(255,255,255,.06) !important;
        color: #fff !important;
    }
    #menuBarX .navMobi li:last-child {
        border-bottom: none !important;
        padding: 1rem 1.2rem;
    }
    #menuBarX .navMobi li:last-child a {
        border-radius: .8rem;
        justify-content: center;
        font-size: 1.7rem;
        font-weight: 600;
        padding: 1.2rem;
    }
    /* Light mode */
    html[y2-theme="light"] #menuBarX .pnl-box {
        background: #ffffff !important;
        border-right-color: rgba(0,0,0,.08) !important;
    }
    html[y2-theme="light"] #menuBarX .pnl-hdr {
        background: #f0f2f5 !important;
        border-bottom-color: rgba(0,0,0,.08) !important;
    }
    html[y2-theme="light"] #menuBarX .pnl-hdr .pnl-ttl {
        color: hsl(214,40%,18%) !important;
    }
    html[y2-theme="light"] #menuBarX .pnl-hdr .pnl-cls {
        color: rgba(0,0,0,.5) !important;
    }
    html[y2-theme="light"] #menuBarX .navMobi li {
        border-bottom-color: rgba(0,0,0,.06) !important;
    }
    html[y2-theme="light"] #menuBarX .navMobi li a.btn-- {
        color: hsl(214,30%,25%) !important;
    }
    html[y2-theme="light"] #menuBarX .navMobi li a.btn--:hover {
        background: rgba(0,0,0,.04) !important;
        color: var(--principal) !important;
    }
}


/* ── CARROSSEL INFINITO ─────────────────────────────────── */
#cursos-ticker {
    padding: 0;
    overflow: hidden;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 5;
}
/* fade nas bordas */
#cursos-ticker::before,
#cursos-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 12%;
    z-index: 2;
    pointer-events: none;
}
#cursos-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--y2-bg-bas, #0d1117), transparent);
}
#cursos-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--y2-bg-bas, #0d1117), transparent);
}
html[y2-theme="light"] #cursos-ticker::before {
    background: linear-gradient(to right, var(--y2-bg-bas, #f5f7fa), transparent);
}
html[y2-theme="light"] #cursos-ticker::after {
    background: linear-gradient(to left, var(--y2-bg-bas, #f5f7fa), transparent);
}
.ticker-wrap {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 2.4rem 0;
}
.ticker-track {
    display: flex;
    gap: 1.6rem;
    animation: ticker-scroll 60s linear infinite;
    will-change: transform;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: var(--y2-bg-ele, rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.4rem;
    padding: 1.4rem 2rem 1.4rem 1.4rem;
    min-width: 500px;
    max-width: 520px;
    cursor: default;
    transition: background .2s, border-color .2s, transform .2s;
}
.ticker-card:hover {
    background: rgba(19,62,119,.25);
    border-color: rgba(166,196,232,.3);
    transform: translateY(-4px);
}
.ticker-card img {
    width: 96px; height: 96px;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}
.ticker-card-info {
    display: flex; flex-direction: column; gap: .5rem;
    overflow: hidden;
}
.ticker-card-info strong {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--y2-color, #eee);
    white-space: normal;
    line-height: 1.3;
}
.ticker-card-info span {
    font-size: 1.4rem;
    opacity: .5;
}
html[y2-theme="light"] .ticker-card {
    background: rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.1);
}
html[y2-theme="light"] .ticker-card:hover {
    background: rgba(19,62,119,.08);
    border-color: rgba(19,62,119,.3);
}
html[y2-theme="light"] .ticker-card-info strong { color: hsl(214,40%,18%); }

/* ── PREMIUM CTA ────────────────────────────────────────── */
section#premium { padding: 0; }
.prem {
    background: #133E77;
    background: linear-gradient(128deg, rgba(19,62,119,1) 0%, rgba(166,196,232,1) 100%);
    width: 100%;
    min-height: 28rem;
    display: flex;
    align-items: flex-end;
    padding: 5rem 0;
}
.prem h3 {
    font-family: var(--font1b);
    font-weight: 800;
    font-size: clamp(2.8rem, 4vw, 4rem);
    color: white;
    text-shadow: 1px 1px 4px black;
}
.prem p {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    color: white;
    padding: 1rem 0;
}
.prem .btn:hover {
    background: var(--info) !important;
    color: var(--prin) !important;
}
@media(max-width:600px) {
    .prem { min-height: auto; padding: 4rem 0; align-items: center; }
}

/* ── DESTAQUE DA SEMANA ─────────────────────────────────── */
#destaque { padding: 6rem 0; }
#destaque .bl { max-width: 1200px; }

.destaque-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 1.6rem;
    overflow: hidden;
    min-height: 48rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    position: relative;
}

/* Lado visual (imagem) */
.destaque-visual {
    position: relative;
    overflow: hidden;
}
.destaque-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease;
}
.destaque-card:hover .destaque-img { transform: scale(1.04); }
.destaque-visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 40%, rgba(8,14,26,.95) 100%);
    pointer-events: none;
}

/* Lado conteúdo */
.destaque-body {
    background: rgba(8,14,26,.95);
    padding: clamp(3rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    position: relative;
    z-index: 1;
}
.destaque-body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--princ, hsl(214,73%,44%)), hsl(195,80%,55%));
    border-radius: 0 0 2px 2px;
}

/* Badge */
.destaque-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    width: fit-content;
    padding: .5rem 1.2rem;
    border-radius: 2rem;
    background: rgba(255,200,60,.12);
    border: 1px solid rgba(255,200,60,.3);
    color: hsl(44,100%,68%);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.destaque-badge i { font-size: 1.6rem; }

/* Título */
.destaque-titulo {
    font-family: var(--font1b, "Lora", serif);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.2;
    color: #fff;
    margin: 0;
}
.destaque-titulo span {
    color: hsl(214,73%,70%);
}

/* Descrição */
.destaque-desc {
    font-size: 1.55rem;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
    margin: 0;
}

/* Meta chips */
.destaque-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
}
.destaque-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem 1rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 2rem;
    font-size: 1.3rem;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
}
.destaque-meta i { font-size: 1.6rem; color: hsl(214,73%,70%); }
.destaque-nivel {
    background: rgba(19,62,119,.4) !important;
    border-color: hsl(214,73%,44%) !important;
    color: hsl(214,73%,75%) !important;
    font-weight: 600;
}

/* CTA */
.destaque-btn {
    align-self: flex-start;
    padding: 1.1rem 2.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-top: .4rem;
}

/* Light mode — destaque */
html[y2-theme="light"] .destaque-body {
    background: #eef2f9;
}
html[y2-theme="light"] .destaque-visual-overlay {
    background: linear-gradient(to right, transparent 40%, #eef2f9 100%);
}
html[y2-theme="light"] .destaque-titulo { color: hsl(214,73%,18%); }
html[y2-theme="light"] .destaque-titulo span { color: hsl(214,73%,40%); }
html[y2-theme="light"] .destaque-desc { color: rgba(0,0,0,.62); }
html[y2-theme="light"] .destaque-badge {
    background: rgba(200,140,0,.1);
    border-color: rgba(200,140,0,.35);
    color: hsl(38,85%,35%);
}
html[y2-theme="light"] .destaque-meta span {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.12);
    color: rgba(0,0,0,.72);
}
html[y2-theme="light"] .destaque-meta i { color: hsl(214,73%,40%); }
html[y2-theme="light"] .destaque-nivel {
    background: rgba(19,62,119,.1) !important;
    border-color: hsl(214,73%,44%) !important;
    color: hsl(214,73%,30%) !important;
}
html[y2-theme="light"] .destaque-body::before {
    background: linear-gradient(to right, hsl(214,73%,44%), hsl(195,80%,45%));
}

/* Responsivo */
@media(max-width:900px) {
    .destaque-card { grid-template-columns: 1fr; min-height: auto; }
    .destaque-visual { height: 26rem; }
    .destaque-visual-overlay {
        background: linear-gradient(to bottom, transparent 30%, rgba(8,14,26,.95) 100%);
    }
    html[y2-theme="light"] .destaque-visual-overlay {
        background: linear-gradient(to bottom, transparent 30%, #eef2f9 100%);
    }
    .destaque-body::before { top: 0; }
    .destaque-titulo { font-size: clamp(2.4rem, 5vw, 3.2rem); }
}
@media(max-width:480px) {
    #destaque { padding: 4rem 0; }
    .destaque-visual { height: 20rem; }
    .destaque-body { gap: 1.4rem; padding: 2.4rem 2rem; }
    .destaque-btn { align-self: stretch; text-align: center; }
}

/* ── CURSOS / LANÇAMENTOS ───────────────────────────────── */
.cursos ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    list-style: none;
}
.cursos ul li {
    border-radius: 1rem;
    background: var(--base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    transition: transform .25s, box-shadow .25s;
}
.cursos ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.cursos ul li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.cursos .content {
    padding: 1.6rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cursos .content h4 {
    font-family: var(--font1b);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: .6rem;
    color: var(--y2-color, #eee);
    min-height: 4.6rem;
}
.cursos .content p {
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: .6;
    flex: 1;
    margin-bottom: 1rem;
    color: var(--y2-color, #eee);
}
.cursos .valor { text-align: right; padding: .4rem 0 .8rem; display: flex; justify-content: flex-end; gap: .4rem; flex-wrap: wrap; }
.cursos .valor b { color: var(--princ); font-size: 2.2rem; }
.curso-tipo-tag { font-size: 1.1rem; font-weight: 600; padding: .2rem .7rem; border-radius: 2rem; background: color-mix(in oklch, var(--princ) 15%, transparent); color: var(--princ); }
.curso-card__plano-link { font-size: 1.2rem; color: var(--y2-txt-mut); text-decoration: underline; }

/* Curso especial (avulso com preço) dentro da grade */
.cursos li[data-especial] {
    border: 2px solid color-mix(in oklch, #f59e0b 60%, transparent);
    background: color-mix(in oklch, #f59e0b 5%, var(--y2-bg-sec, #111));
    position: relative;
    overflow: visible;
}
.cursos li[data-especial]:hover { box-shadow: 0 8px 32px color-mix(in oklch, #f59e0b 25%, transparent); }
.curso-especial-badge {
    position: absolute;
    top: -1.1rem; left: 1.4rem;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #1a1100;
    font-size: 1.1rem; font-weight: 800;
    padding: .25rem .9rem;
    border-radius: 2rem;
    display: flex; align-items: center; gap: .35rem;
    box-shadow: 0 2px 8px rgba(245,158,11,.4);
    z-index: 1;
}
.curso-especial-preco {
    display: flex; align-items: baseline; gap: .5rem;
    padding: .5rem 0 .2rem;
}
.curso-especial-preco span { font-size: 1.15rem; color: var(--y2-txt-mut); }
.curso-especial-preco strong { font-size: 2.4rem; font-weight: 800; color: #f59e0b; }
.cursos .dest {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding-bottom: .4rem;
}
.cursos .dest span { font-size: 1.3rem; opacity: .5; }
.cursos .dest a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    padding: .5rem 1.4rem;
}
.cursos .btn:hover { opacity: .88; }

/* Cursos extras — ocultos até expandir */
.curso-extra { display: none !important; }
.curso-extra.visivel { display: block !important; }

#btnVerCursos { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 2.4rem; font-size: 1.5rem; }
#btnVerCursos i { transition: transform .3s; }
#btnVerCursos.expandido i { transform: rotate(180deg); }

/* Light mode — cursos */
html[y2-theme="light"] .cursos ul li {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.07);
}
html[y2-theme="light"] .cursos .content h4,
html[y2-theme="light"] .cursos .content p { color: hsl(214,30%,20%); }

@media(max-width:1024px) { .cursos ul { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:580px)  { .cursos ul { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ── CURSOS ESPECIAIS ───────────────────────────────────── */
#cursos-especiais { padding: 7rem 0; }
.especiais-header { text-align: center; margin-bottom: 4rem; }
.especiais-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--amar5, #f59e0b); background: color-mix(in oklch, #f59e0b 12%, transparent);
    border: 1px solid color-mix(in oklch, #f59e0b 25%, transparent);
    padding: .35rem 1rem; border-radius: 2rem; margin-bottom: 1rem;
}
.especiais-header h2 { font-size: clamp(2.8rem, 5vw, 4.2rem); margin: .4rem 0 .8rem; }
.especiais-header p  { font-size: 1.5rem; color: var(--y2-txt-mut); max-width: 50rem; margin: 0 auto; }

.especiais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 2rem;
}
.especial-card {
    background: var(--y2-bg-sec);
    border: 1px solid var(--y2-bor);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.especial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.especial-card__img { aspect-ratio: 16/9; overflow: hidden; }
.especial-card__img img { width: 100%; height: 100%; object-fit: cover; }
.especial-card__img--empty {
    display: flex; align-items: center; justify-content: center;
    background: var(--y2-bg-ter, #1a1a2e); font-size: 4rem;
    color: var(--y2-txt-mut);
}
.especial-card__body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; gap: .6rem; }
.especial-card__nivel {
    font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--y2-txt-mut);
}
.especial-card__body h3 { font-size: 1.7rem; font-weight: 700; margin: 0; line-height: 1.3; }
.especial-card__body p  { font-size: 1.35rem; color: var(--y2-txt-mut); flex: 1; margin: 0; }
.especial-card__meta {
    display: flex; gap: 1.2rem; flex-wrap: wrap;
    font-size: 1.25rem; color: var(--y2-txt-mut);
}
.especial-card__meta i { margin-right: .3rem; }
.especial-card__footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--y2-bor);
}
.especial-card__preco small { display: block; font-size: 1.1rem; color: var(--y2-txt-mut); }
.especial-card__preco strong { font-size: 2.6rem; font-weight: 800; color: var(--y2-txt-bas); }
@media (max-width: 580px) { .especiais-grid { grid-template-columns: 1fr; } }

/* ── CONTATOS ───────────────────────────────────────────── */
#contatos { padding: 7rem 0 0; }

.contato-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}
.contato-texto { flex: 1; min-width: 260px; }
.contato-texto h2 { padding: 0 0 1rem; }
.contato-texto p {
    font-size: 1.6rem;
    line-height: 1.7;
    opacity: .72;
    max-width: 46ch;
}
html[y2-theme="light"] .contato-texto p { opacity: .65; color: hsl(214,20%,28%); }

.contato-btns {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
    min-width: 280px;
    max-width: 460px;
}

.contato-btn {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem 2rem;
    border-radius: 1.2rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
    background: var(--y2-bg-ele, rgba(255,255,255,.05));
    transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.contato-btn:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
html[y2-theme="light"] .contato-btn {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
html[y2-theme="light"] .contato-btn:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); }

.contato-btn-icon {
    width: 5rem; height: 5rem;
    border-radius: .9rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}
.contato-btn-icon i { font-size: 2.2rem; }

.contato-btn-info {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.contato-btn-info strong {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--y2-color, #eee);
}
.contato-btn-info small {
    font-size: 1.3rem;
    opacity: .55;
    color: var(--y2-color, #eee);
}
html[y2-theme="light"] .contato-btn-info strong { color: hsl(214,30%,18%); }
html[y2-theme="light"] .contato-btn-info small  { color: hsl(214,20%,40%); opacity: .8; }

/* Cores por canal */
.contato-email      { border-color: rgba(19,62,119,.3); }
.contato-email:hover { border-color: hsl(214,73%,44%); }
.contato-email .contato-btn-icon {
    background: rgba(19,62,119,.25);
    color: hsl(213,59%,75%);
}
html[y2-theme="light"] .contato-email .contato-btn-icon { background: rgba(19,62,119,.1); color: hsl(214,73%,44%); }

.contato-phone      { border-color: rgba(34,197,94,.2); }
.contato-phone:hover { border-color: hsl(142,70%,45%); }
.contato-phone .contato-btn-icon {
    background: rgba(34,197,94,.15);
    color: hsl(142,70%,55%);
}
html[y2-theme="light"] .contato-phone .contato-btn-icon { background: rgba(34,197,94,.1); color: hsl(142,60%,38%); }

.contato-whatsapp      { border-color: rgba(37,211,102,.2); }
.contato-whatsapp:hover { border-color: hsl(142,72%,50%); }
.contato-whatsapp .contato-btn-icon {
    background: rgba(37,211,102,.15);
    color: hsl(142,72%,55%);
}
html[y2-theme="light"] .contato-whatsapp .contato-btn-icon { background: rgba(37,211,102,.1); color: hsl(142,62%,35%); }

@media(max-width:700px) {
    .contato-inner { flex-direction: column; align-items: flex-start; }
    .contato-btns  { max-width: 100%; width: 100%; }
    .contato-texto h2 { font-size: clamp(2.4rem, 6vw, 3.2rem); }
}

/* ── PLANOS ─────────────────────────────────────────────── */
#planos { padding: 7rem 0 8rem; }
#planos h2 { margin-bottom: 1rem; }

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    align-items: start;
    width: 100%;
}

.plano {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.6rem;
    padding: 3.2rem 3rem;
    transition: transform .3s, box-shadow .3s;
}
.plano:hover { transform: translateY(-6px); }

/* Plano base (1 e 3) */
.plano1 {
    background: var(--y2-bg-ele, hsl(216,20%,13%));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
html[y2-theme="light"] .plano1 {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* Plano destaque (2) */
.plano2 {
    background: var(--y2-bg-ele, hsl(216,25%,15%));
    border: 2px solid hsl(214,73%,44%);
    box-shadow: 0 0 0 1px hsla(214,73%,44%,.3), 0 20px 50px rgba(19,62,119,.3);
    padding-top: 4rem;
}
.plano2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, hsl(214,73%,44%), hsl(195,80%,55%));
    border-radius: 1.6rem 1.6rem 0 0;
}
html[y2-theme="light"] .plano2 {
    background: #fff;
}

/* Badge Mais Popular */
.plano-badge {
    position: absolute;
    top: -1.4rem; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, hsl(214,73%,44%), hsl(195,80%,55%));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .38rem 1.6rem;
    border-radius: 2rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(19,62,119,.4);
}

/* Ícone do plano */
.plano-icon {
    width: 5.2rem; height: 5.2rem;
    border-radius: 1rem;
    background: rgba(19,62,119,.2);
    border: 1px solid rgba(166,196,232,.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.6rem;
    color: hsl(213,59%,72%);
    font-size: 2.4rem;
}
.plano-icon i {
    font-size: 2.6rem;
    line-height: 1;
    display: inline-block;
    font-style: normal;
}
.plano-icon2 {
    background: rgba(19,62,119,.35);
    border-color: rgba(166,196,232,.3);
    color: hsl(195,80%,65%);
}
html[y2-theme="light"] .plano-icon  { background: rgba(19,62,119,.08); border-color: rgba(19,62,119,.15); color: hsl(214,73%,40%); }
html[y2-theme="light"] .plano-icon2 { background: rgba(19,62,119,.12); border-color: rgba(19,62,119,.25); color: hsl(214,73%,35%); }

/* Título */
.plano h3 {
    font-family: var(--font);
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--y2-color, #eee);
    margin-bottom: .5rem;
}
html[y2-theme="light"] .plano h3 { color: hsl(214,40%,22%); }

/* Descrição curta */
.plano-desc {
    font-size: 1.35rem;
    opacity: .55;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    color: var(--y2-color, #eee);
}
html[y2-theme="light"] .plano-desc { color: hsl(214,20%,35%); opacity: .7; }

/* Valor */
.plano .valor {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--y2-color, #eee);
    margin-bottom: .6rem;
}
.plano .valor span {
    font-size: clamp(4rem, 5vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--y2-color, #fff);
    line-height: 1;
}
.plano2 .valor span { color: hsl(195,80%,65%); }
html[y2-theme="light"] .plano .valor span  { color: hsl(214,73%,27%); }
html[y2-theme="light"] .plano2 .valor span { color: hsl(214,73%,40%); }
.plano .valor small {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: .5;
    margin-left: .2rem;
    letter-spacing: 0;
}

/* Lista de itens */
ul.detalhes {
    list-style: none;
    padding: 1.8rem 0 2.4rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    flex: 1;
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: .8rem;
}
html[y2-theme="light"] ul.detalhes { border-color: rgba(0,0,0,.08); }
ul.detalhes li {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: 1.4rem;
    color: var(--y2-color, #ddd);
    line-height: 1.4;
}
html[y2-theme="light"] ul.detalhes li { color: hsl(214,20%,30%); }
ul.detalhes li i {
    font-size: 1.8rem;
    color: hsl(152,70%,45%);
    flex-shrink: 0;
}
.plano2 ul.detalhes li i { color: hsl(195,80%,55%); }
.plano-item-off { opacity: .35; }
.plano-item-off i { color: rgba(255,255,255,.3) !important; }
html[y2-theme="light"] .plano-item-off i { color: rgba(0,0,0,.2) !important; }

/* Botão */
.plano-btn {
    width: 100% !important;
    padding: 1.1rem !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: auto;
    border-radius: 1rem !important;
}
.plano1 .plano-btn { background: rgba(19,62,119,.4) !important; border: 1px solid hsl(214,73%,44%) !important; color: hsl(213,59%,78%) !important; }
.plano1 .plano-btn:hover { background: hsl(214,73%,44%) !important; color: #fff !important; }
html[y2-theme="light"] .plano1 .plano-btn { background: hsl(214,73%,44%) !important; color: #fff !important; border-color: transparent !important; }

/* Responsivo */
@media(max-width:900px) {
    .planos-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
    .plano2 { padding-top: 4.4rem; }
}
@media(max-width:480px) {
    .plano { padding: 2.8rem 2.4rem; }
    .plano .valor span { font-size: 4.2rem; }
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
    display: flex;
    flex-direction: column;
    background: var(--neut12);
    color: white;
    width: 100%;
    align-items: center;
    position: relative;
    top: 14px;
}
footer .footer {
    width: min(1400px, 100% - 3rem * 2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.footer img { width: min(310px, 100%); padding: 15px 0 10px; }
.by {
    border-top: 2px solid #3f3f3f;
    display: flex;
    align-items: center;
    height: 7rem;
    justify-content: space-between;
}
ul.social { display: flex; gap: .4rem; justify-content: flex-end; align-items: center; }
.social li a {
    font-size: 3.2rem;
    color: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem; height: 4.2rem;
    border-radius: .8rem;
    transition: color .2s, background .2s, transform .2s;
}
.social li a:hover { transform: translateY(-3px); }
.social-fb        { color: #1877f2; }
.social-fb:hover  { background: rgba(24,119,242,.18); }
.social-ig        { color: #e1306c; }
.social-ig:hover  { background: rgba(225,48,108,.18); }
.social-yt        { color: #ff0000; }
.social-yt:hover  { background: rgba(255,0,0,.18); }
.social-wa        { color: #25d366; }
.social-wa:hover  { background: rgba(37,211,102,.18); }
ul.aFooter { padding: 18px 0; position: relative; }
ul.aFooter li a.btn- {
    padding: 8px 16px;
    display: block;
    transition: all .3s ease-in-out;
    transform: translateY(0);
}
ul.aFooter li a.btn-:hover { color: var(--header-a-hover); transform: translateY(-3px); display: flex; }
.aFooter li a i { font-size: 2.8rem; color: #3f3f3f; position: absolute; top: 3px; left: -18px; }

@media(max-width:992px) {
    footer .PC { display: none; }
    .footer img { width: min(230px, 100%); }
}
@media(max-width:652px) {
    .footer1 { display: none !important; }
    .by div  { text-align: center; }
    ul.social { gap: 2rem; justify-content: center; }
}

/* ── AUTH ───────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.auth-box {
    width: 100%;
    max-width: 420px;
    background: var(--base);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    padding: 2.5rem;
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { margin: 0 auto .75rem; height: 52px; }
.auth-logo h1 { font-size: 1.3rem; font-family: var(--font); }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.campo { display: flex; flex-direction: column; gap: .4rem; }
.campo label { font-size: 1.3rem; font-weight: 600; }
.campo input, .campo select, .campo textarea {
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: .5rem;
    padding: .7rem .9rem;
    color: var(--txt);
    font-size: 1.4rem;
    width: 100%;
    transition: border-color .2s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
    outline: none;
    border-color: var(--principal);
}
.auth-link { text-align: center; margin-top: 1.25rem; font-size: 1.3rem; }
.auth-link a { color: var(--info); }
.alerta { padding: .85rem 1.25rem; border-radius: .5rem; font-size: 1.3rem; margin-bottom: 1rem; }
.alerta--ok   { background: rgba(0,200,100,.1); border: 1px solid rgba(0,200,100,.3); color: #00c864; }
.alerta--erro { background: rgba(217,54,0,.1); border: 1px solid rgba(217,54,0,.3); color: #ef4444; }

/**/
[y2-sidebar] {
    width: 23rem !important;
}