/* =========================================================
   🎨 VARIÁVEIS (tema)
========================================================= */
:root {
    --laranja: #ff9c00;
    --roxo: #c300ff;
    --roxo-escuro: #9d04cc;
    --laranja-escuro: #ff8902;
    --azul: #2F96BA;
    --preto: #111111;
    --cinza: #f5f7fb;
    --branco: #ffffff;
    --texto: #2a2a2a;
    --bg1: #0B1629;
    --bg2: #2D445E;

    /* extras usados no CSS */
    --whatsapp: #25D366;
    --whatsapp-hover: #20c057;
    --verde: #00BB9C;
}

/* =========================================================
   🧱 BASE
========================================================= */
body {
    color: var(--texto);
    background: linear-gradient(90deg, var(--bg1) 0%, var(--bg2) 100%);
    font-size: .825rem;
}

/* =========================================================
   🔝 TOPBAR / NAV
========================================================= */
.topbar {
    background: var(--preto);
    color: var(--branco);
    font-size: .925rem;
}

.topbar a {
    color: var(--branco);
    text-decoration: none;
    opacity: .9;
}

.topbar a:hover {
    opacity: 1;
    text-decoration: underline;
}

.navbar {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.navbar .nav-link {
    font-weight: 600;
    font-size: .825rem;
}

/* Navbar com degradê (classe extra) */
.navbar-gradient {
    background: linear-gradient(90deg, #0c180c, #9C27B0, #2196F3);
}

.navbar.navbar-gradient .nav-link,
.navbar.navbar-gradient .navbar-brand,
.navbar.navbar-gradient .navbar-brand img {
    color: #fff !important;
}

.navbar.navbar-gradient .nav-link:hover,
.navbar.navbar-gradient .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .12);
    border-radius: .5rem;
}

.navbar.navbar-gradient .nav-link.active {
    position: relative;
}

.navbar.navbar-gradient .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -6px;
    height: 3px;
    border-radius: 999px;
    background: #fff;
    opacity: .9;
}

.navbar.navbar-gradient .navbar-toggler {
    border-color: rgba(255, 255, 255, .55);
}

.navbar.navbar-gradient .navbar-toggler .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* Dropdown (geral) */
.navbar .dropdown-menu {
    border-radius: .75rem;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}


/* =========================================================
   🎞️ HERO / CAROUSEL
========================================================= */
.hero {
    height: 50vh;
    min-height: 380px;
    position: relative;
    background: #000;
}

.hero .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 50vh;
    min-height: 380px;
    filter: brightness(.65);
}

/* 🔹 Caption alinhado à esquerda */
.hero-caption {
    left: 6%;
    right: auto;
    bottom: 12%;
    text-align: left;
    max-width: 520px;
    padding: 0;
}

/* Tipografia */
.hero-caption h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.hero-caption p {
    font-size: 1.05rem;
    margin: 10px 0 18px;
    color: #eaeaea;
}

/* 🔹 Área dos botões */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 🔹 Melhor aparência dos botões */
.hero-actions .btn {
    padding: 8px 18px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-caption {
        left: 5%;
        right: 5%;
        bottom: 10%;
        max-width: 100%;
    }

    .hero-caption h2 {
        font-size: 1.6rem;
    }
}


/* =========================================================
   ⏮️⏭️ CONTROLES DO HERO / CAROUSEL (CÍRCULO PERFEITO)
========================================================= */
.hero-controls {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

/* tira o comportamento padrão do Bootstrap */
.hero-controls .carousel-control-prev,
.hero-controls .carousel-control-next {
    position: static;
    width: auto;
    opacity: 1;
    margin: 0;
    padding: 0;
}

/* botão circular */
.hero-controls button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;

    padding: 0 !important;
    /* evita oval */
    border-radius: 999px;
    /* círculo garantido */
    line-height: 1;
    /* evita esticar */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;

    transition: all .25s ease;
}

/* ícone central sem “empurrar” */
.hero-controls button i {
    font-size: 1.4rem;
    line-height: 1;
}

/* hover */
.hero-controls button:hover {
    background: rgba(0, 0, 0, .8);
    transform: translateY(-2px);
}

/* =========================================================
   🔘 BOTÕES
========================================================= */
.btn-laranja {
    background: var(--laranja);
    border-color: var(--laranja);
    color: #111;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-laranja:hover {
    background: var(--laranja-escuro);
    filter: brightness(.95);
    color: var(--branco);
}

.btn-roxo {
    background: var(--roxo);
    border-color: var(--roxo-escuro);
    color: #111;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-roxo:hover {
    background: var(--roxo-escuro);
    filter: brightness(.95);
    color: var(--branco);
}





.btn-azul {
    background: var(--azul);
    border-color: var(--azul);
    color: var(--branco);
    font-weight: 800;
}

.btn-azul:hover {
    filter: brightness(.96);
    color: var(--branco);
}

.btn-mais-depoimentos,
.btn-mais-cursos,
.btn-mais-portfolio {
    background: linear-gradient(135deg, var(--azul), var(--verde));
    color: var(--branco);
    border: none;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: .5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: all .3s ease;
    text-transform: uppercase;
}

.btn-mais-depoimentos:hover,
.btn-mais-cursos:hover,
.btn-mais-portfolio:hover {
    background: linear-gradient(135deg, var(--verde), var(--azul));
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

/* =========================================================
   🧩 SEÇÕES (genéricas)
========================================================= */
section.section {
    padding: 64px 0;
}

.section-muted {
    background: var(--cinza);
}

.section-title {
    font-weight: 900;
    letter-spacing: .4px;
    color: var(--branco);
}

.section-lead {
    color: #acacac;
    text-align: center;
}

/* =========================================================
   ⭐ FEATURES
========================================================= */
#features {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .9), rgba(59, 104, 251, .9));
    position: relative;
    overflow: hidden;
}

#features .features-overlay {
    background: rgba(0, 0, 0, .3);
    padding: 60px 0;
}

.feature-card {
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);

    /* versão “glass” (prevalece no seu CSS original por ser a mais recente) */
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
}

.feature-card:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: .6rem;
    background: linear-gradient(135deg, var(--azul), var(--laranja));
    box-shadow: 0 8px 18px rgba(47, 150, 186, .35);
}

/* Card inteiro clicável */
.feature-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.feature-card .d-flex i {
    min-width: 36px;
}

/* =========================================================
   🎓 CURSOS
========================================================= */
.section-dark-cursos {
    background: linear-gradient(160deg, #0f141a 0%, #112240 50%, #0a0f15 100%);
    color: #fff;
    padding: 80px 0;
}

.section-dark-cursos .section-title {
    color: #fff;
    letter-spacing: .5px;
}

.curso-card {
    background: rgba(255, 255, 255, .05);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    transition: all .35s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}

.curso-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.curso-card img {
    width: 100%;
    object-fit: cover;
}

/* imagem do card (com zoom) */
.curso-img-wrapper {
    position: relative;
    overflow: hidden;
}

.curso-img-wrapper img {
    height: 200px;
    transition: transform .5s ease;
}

.curso-card:hover img {
    transform: scale(1.08);
}

/* ícone sobre a imagem */
.curso-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .7);
    color: #FBB03B;
    font-size: 1.5rem;
    padding: 10px 14px;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(251, 176, 59, .5);
    transition: all .3s ease;
}

.curso-card:hover .curso-icon {
    background: rgba(251, 176, 59, .9);
    color: #000;
    box-shadow: 0 0 20px rgba(251, 176, 59, .8);
}

/* link */
.curso-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   💬 DEPOIMENTOS (PARALLAX)
========================================================= */
#depoimentos {
    background-image: url("https://professoreugenio.com/img/excel/bg1.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    background-color: #000;
}

#depoimentos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

#depoimentos .container {
    position: relative;
    z-index: 1;
}

/* overlay opcional (se você usa uma div .depo-overlay dentro da seção) */
#depoimentos .depo-overlay {
    background: rgba(0, 0, 0, .7);
    padding: 60px 0;
}

/* card */
.depo-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.depo-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

/* link do card */
.depo-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* foto do aluno */
.depo-foto {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .3);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.quote {
    color: var(--laranja);
    font-size: 1.25rem;
}

.about-badge {
    background: var(--azul);
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700;
}

/* =========================================================
   📚 E-BOOK
========================================================= */
.section-dark-ebook {
    background: radial-gradient(circle at top right, rgba(47, 150, 186, .5) 0%, rgba(17, 34, 64, 1) 80%);
    color: #fff;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.section-dark-ebook::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, .4) 0%, rgba(17, 34, 64, .8) 100%);
    z-index: 0;
}

.section-dark-ebook .container {
    position: relative;
    z-index: 1;
}

.section-dark-ebook .section-title {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.section-dark-ebook .section-lead {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.section-dark-ebook .btn-laranja {
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(251, 176, 59, .4);
}

.section-dark-ebook .btn-laranja:hover {
    background: #ffb84d;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(251, 176, 59, .6);
}

/* =========================================================
   👨‍🏫 SOBRE (parallax)
========================================================= */
.section-dark-sobre {
    position: relative;
    color: #fff;
    padding: 80px 0;
    background-image: url("https://professoreugenio.com/img/excel/bg1.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.sobre-overlay {
    background: linear-gradient(160deg, rgba(0, 0, 0, .9) 0%, rgba(10, 25, 47, .95) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-dark-sobre .section-title {
    color: #fff;
    letter-spacing: .5px;
}

.professor-item {
    text-align: center;
}

.professor-foto {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .3);
    box-shadow: 0 0 15px rgba(255, 255, 255, .1);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.professor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.professor-foto:hover {
    transform: scale(1.08);
    border-color: #FBB03B;
    box-shadow: 0 0 25px rgba(251, 176, 59, .5);
}

.section-dark-sobre .btn-laranja {
    border: none;
    border-radius: 50px;
    letter-spacing: .5px;
    box-shadow: 0 6px 18px rgba(251, 176, 59, .4);
}

.section-dark-sobre .btn-laranja:hover {
    background: #ffb84d;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(251, 176, 59, .6);
}

/* =========================================================
   🖼️ PORTFÓLIO
========================================================= */
.section-dark-portfolio {
    background: linear-gradient(160deg, #0f141a 0%, #0a192f 50%, #0b1220 100%);
    color: #fff;
    padding: 80px 0;
}

.pf-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pf-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
    height: 100%;
}

.pf-card:hover,
.pf-card-link:focus .pf-card {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .55);
    outline: none;
}

.pf-thumb {
    position: relative;
    overflow: hidden;
}

.pf-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}

.pf-card:hover .pf-thumb img {
    transform: scale(1.06);
}

.pf-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .75);
    color: #FBB03B;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(251, 176, 59, .45);
}

.pf-body {
    padding: 16px 18px 20px;
}

.pf-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: .3px;
}

.pf-desc {
    font-size: .95rem;
    line-height: 1.4;
}

/* =========================================================
   🧷 THUMBS / FOOTER
========================================================= */
.portfolio-thumb {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .07);
}

.portfolio-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

footer {
    background: #0f141a;
    color: #cfd8e3;
    padding: 36px 0;
}

footer a {
    color: #e9eef6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================================================
   💬 WHATSAPP (flutuante)
========================================================= */
.whatsapp-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 3px solid #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
    text-decoration: none;
    transition: all .3s ease;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
    color: #fff;
}

/* balão de mensagem */
.whatsapp-msg {
    position: absolute;
    right: 70px;
    bottom: 16px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
    white-space: nowrap;
    animation: fadeIn .6s ease forwards;
    opacity: 0;
    pointer-events: none;
}

.whatsapp-msg::after {
    content: "";
    position: absolute;
    right: -8px;
    bottom: 14px;
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* =========================================================
   📞 CONTATO / TOPO
========================================================= */
#contato {
    background: linear-gradient(135deg, #000 0%, #20192c 100%);
}

/* botão voltar ao topo */
#btnTopo.btn-topo {
    position: fixed;
    bottom: 24px;
    right: 124px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: var(--verde);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
    z-index: 2147483647;
}

#btnTopo.btn-topo.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#btnTopo.btn-topo:hover {
    background: var(--laranja);
    transform: scale(1.06);
}

a.linkloginadm {
    display: block;
    width: 30px;
    height: 30px;
    /* background-color: #ffb84d; */
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
}
/* =========================================================
   🎬 ANIMAÇÕES
========================================================= */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* =========================================================
   📱 RESPONSIVO
========================================================= */
@media (max-width:768px) {

    .feature-card,
    .depo-card {
        text-align: center;
    }

    .feature-card .d-flex,
    .depo-card .d-flex {
        justify-content: center;
    }

    .depo-foto {
        margin: 0 auto 1rem auto;
    }

    .depo-card .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .curso-card img {
        height: 180px;
    }

    .curso-icon {
        bottom: 10px;
        left: 10px;
        font-size: 1.3rem;
    }

    .professor-foto {
        width: 80px;
        height: 80px;
    }

    .section-dark-sobre p {
        font-size: .95rem;
    }

    .sobre-overlay {
        padding: 60px 0;
    }

    .pf-thumb img {
        height: 180px;
    }
}

.user-box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}