/* =========================================================
   EQUIPE
   public/css/Login/Forms/Equipe Style/equipe.css

   Compatível com:
   - Laravel
   - Bootstrap
   - Light Mode
   - Dark Mode
   ========================================================= */


/* =========================================================
   VARIÁVEIS
   ========================================================= */

.equipe-page {
    --team-bg: #f5f8fc;
    --team-bg-soft: #eef4fa;

    --team-surface: #ffffff;
    --team-surface-soft: #f8fbff;

    --team-text: #172033;
    --team-muted: #6d7b8d;

    --team-border: #dce5ef;
    --team-border-strong: #c8d6e5;

    --team-primary: #168cff;
    --team-primary-hover: #0875df;
    --team-primary-soft: rgba(22, 140, 255, 0.10);

    --team-accent: #3ca8ff;

    --team-linkedin: #0a66c2;
    --team-linkedin-hover: #084f97;

    --team-success: #27c79a;

    --team-shadow-small:
        0 8px 24px rgba(15, 31, 48, 0.06);

    --team-shadow:
        0 18px 50px rgba(15, 31, 48, 0.10);

    --team-shadow-hover:
        0 26px 70px rgba(15, 31, 48, 0.15);

    --team-radius: 18px;
    --team-radius-small: 12px;
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .equipe-page {
    --team-bg: #081420;
    --team-bg-soft: #0d1b29;

    --team-surface: #101f2e;
    --team-surface-soft: #152737;

    --team-text: #f4f8fb;
    --team-muted: #9eafbf;

    --team-border: #2d4256;
    --team-border-strong: #40586d;

    --team-primary: #329fff;
    --team-primary-hover: #168cff;
    --team-primary-soft: rgba(50, 159, 255, 0.13);

    --team-accent: #63b8ff;

    --team-linkedin: #48a9ff;
    --team-linkedin-hover: #78c0ff;

    --team-success: #4be0b7;

    --team-shadow-small:
        0 10px 28px rgba(0, 0, 0, 0.20);

    --team-shadow:
        0 20px 55px rgba(0, 0, 0, 0.28);

    --team-shadow-hover:
        0 30px 80px rgba(0, 0, 0, 0.38);
}


/* =========================================================
   BASE DA PÁGINA
   ========================================================= */

.equipe-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    color: var(--team-text);

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(22, 140, 255, 0.07),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 18%,
            rgba(39, 199, 154, 0.05),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            var(--team-bg) 0%,
            var(--team-bg-soft) 100%
        );
}


/* brilho decorativo superior */

.equipe-page::before {
    content: "";

    position: absolute;

    top: -180px;
    left: 50%;

    width: 650px;
    height: 380px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 140, 255, 0.13),
            rgba(22, 140, 255, 0.04) 45%,
            transparent 72%
        );

    pointer-events: none;

    z-index: 0;
}


/* segundo detalhe de fundo */

.equipe-page::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -130px;
    bottom: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(39, 199, 154, 0.07),
            transparent 70%
        );

    pointer-events: none;
}


/* conteúdo acima dos efeitos */

.equipe-page > .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.equipe-page .text-center.mb-5 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}


/* badge Nossa Equipe */

.equipe-page .badge.bg-primary.bg-opacity-10 {
    position: relative;

    border: 1px solid rgba(22, 140, 255, 0.18);

    border-radius: 999px;

    background:
        var(--team-primary-soft) !important;

    color:
        var(--team-primary) !important;

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


/* bolinha decorativa */

.equipe-page .badge.bg-primary.bg-opacity-10::before {
    content: "";

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--team-primary);

    box-shadow:
        0 0 0 4px rgba(22, 140, 255, 0.09);
}


/* título principal */

.equipe-page h2.fw-bold {
    color: var(--team-text);

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    font-weight: 800 !important;

    letter-spacing: -0.035em;

    line-height: 1.1;
}


/* descrição */

.equipe-page .text-center.mb-5 > p {
    max-width: 620px;

    margin-left: auto;
    margin-right: auto;

    color: var(--team-muted) !important;

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   CARD BASE
   ========================================================= */

.equipe-page .card {
    position: relative;

    overflow: hidden;

    border:
        1px solid var(--team-border) !important;

    border-radius:
        var(--team-radius);

    background:
        linear-gradient(
            145deg,
            var(--team-surface) 0%,
            var(--team-surface-soft) 100%
        );

    box-shadow:
        var(--team-shadow-small) !important;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


/* linha superior */

.equipe-page .card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--team-primary),
            var(--team-accent),
            transparent
        );

    opacity: 0.85;
}


/* reflexo */

.equipe-page .card::after {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(22, 140, 255, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


/* hover */

.equipe-page .card:hover {
    transform: translateY(-6px);

    border-color:
        var(--team-border-strong) !important;

    box-shadow:
        var(--team-shadow-hover) !important;
}


/* corpo */

.equipe-page .card-body {
    position: relative;

    z-index: 2;
}


/* =========================================================
   PROFESSOR
   ========================================================= */

.equipe-page .row.justify-content-center.mb-5 .card {
    box-shadow:
        var(--team-shadow) !important;
}


/* card professor um pouco mais forte */

.equipe-page .row.justify-content-center.mb-5 .card::before {
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--team-primary),
            #36a4ff,
            var(--team-success)
        );
}


/* foto professor */

.equipe-page .row.justify-content-center.mb-5 img {
    position: relative;

    padding: 4px;

    border:
        1px solid var(--team-border);

    background:
        linear-gradient(
            135deg,
            var(--team-primary),
            var(--team-success)
        );

    box-shadow:
        0 12px 30px rgba(22, 140, 255, 0.18);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


/* efeito foto */

.equipe-page .row.justify-content-center.mb-5 .card:hover img {
    transform: scale(1.035);

    box-shadow:
        0 16px 38px rgba(22, 140, 255, 0.24);
}


/* badge professor */

.equipe-page .row.justify-content-center.mb-5 .badge.bg-primary {
    border-radius: 999px;

    padding:
        0.52rem
        0.9rem;

    background:
        linear-gradient(
            135deg,
            var(--team-primary),
            #46adff
        ) !important;

    color: #ffffff;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.025em;

    box-shadow:
        0 8px 18px rgba(22, 140, 255, 0.18);
}


/* nome professor */

.equipe-page .row.justify-content-center.mb-5 h3 {
    color: var(--team-text);

    font-size: 1.65rem;

    letter-spacing: -0.02em;
}


/* idade professor */

.equipe-page .row.justify-content-center.mb-5 p {
    color:
        var(--team-muted) !important;

    font-weight: 500;
}


/* =========================================================
   DESENVOLVEDORES
   ========================================================= */

.equipe-page .row.g-4 > [class*="col-"] .card {
    isolation: isolate;
}


/* foto */

.equipe-page .row.g-4 img {
    position: relative;

    padding: 3px;

    border:
        1px solid var(--team-border);

    background:
        linear-gradient(
            135deg,
            var(--team-primary),
            #59bbff
        );

    box-shadow:
        0 10px 26px rgba(22, 140, 255, 0.14);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


/* crescimento discreto */

.equipe-page .row.g-4 .card:hover img {
    transform: scale(1.05);

    box-shadow:
        0 14px 34px rgba(22, 140, 255, 0.22);
}


/* nome */

.equipe-page .row.g-4 h5 {
    color: var(--team-text);

    font-size: 1.06rem;

    font-weight: 750 !important;

    letter-spacing: -0.012em;
}


/* idade */

.equipe-page .row.g-4 p {
    color:
        var(--team-muted) !important;

    font-size: 0.88rem !important;

    font-weight: 500;
}


/* =========================================================
   LINKEDIN
   ========================================================= */

.equipe-page .btn-outline-primary {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(10, 102, 194, 0.32);

    border-radius: 10px;

    padding:
        0.62rem
        1rem;

    background:
        rgba(10, 102, 194, 0.055);

    color:
        var(--team-linkedin);

    font-weight: 700;

    box-shadow: none;

    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


/* brilho passando no botão */

.equipe-page .btn-outline-primary::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transition:
        left 0.5s ease;
}


/* hover linkedin */

.equipe-page .btn-outline-primary:hover,
.equipe-page .btn-outline-primary:focus {
    border-color:
        var(--team-linkedin);

    background:
        var(--team-linkedin);

    color: #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 24px rgba(10, 102, 194, 0.24);
}


/* animação brilho */

.equipe-page .btn-outline-primary:hover::before {
    left: 120%;
}


/* botão pequeno */

.equipe-page .btn-sm.btn-outline-primary {
    padding:
        0.48rem
        0.85rem;

    font-size: 0.84rem;
}


/* ícone linkedin */

.equipe-page .bi-linkedin {
    font-size: 1em;
}


/* =========================================================
   DARK MODE - AJUSTES ESPECÍFICOS
   ========================================================= */

html[data-theme="dark"] .equipe-page {
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(50, 159, 255, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 25%,
            rgba(75, 224, 183, 0.06),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #0b1825 0%,
            var(--team-bg) 52%,
            #06101a 100%
        );
}


/* cards dark */

html[data-theme="dark"] .equipe-page .card {
    background:
        linear-gradient(
            145deg,
            rgba(17, 33, 48, 0.96),
            rgba(13, 28, 42, 0.96)
        );

    box-shadow:
        var(--team-shadow-small) !important;
}


/* botão linkedin dark */

html[data-theme="dark"] .equipe-page .btn-outline-primary {
    border-color:
        rgba(72, 169, 255, 0.32);

    background:
        rgba(72, 169, 255, 0.07);
}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

.equipe-page a:focus-visible,
.equipe-page button:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(22, 140, 255, 0.18);
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1199.98px) {

    .equipe-page .row.g-4 .card {
        min-height: 100%;
    }

}


@media (max-width: 991.98px) {

    .equipe-page {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }


    .equipe-page .row.justify-content-center.mb-5 .card-body {
        padding: 2rem !important;
    }


    .equipe-page .text-center.mb-5 {
        margin-bottom: 2.5rem !important;
    }

}


@media (max-width: 767.98px) {

    .equipe-page {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }


    .equipe-page h2.fw-bold {
        font-size: 2rem;
    }


    .equipe-page .row.justify-content-center.mb-5 .card-body {
        padding: 1.6rem !important;
    }


    .equipe-page .row.justify-content-center.mb-5 img {
        width: 130px !important;
        height: 130px !important;
    }


    .equipe-page .row.justify-content-center.mb-5 h3 {
        font-size: 1.45rem;
    }


    .equipe-page .row.g-4 .card-body {
        padding: 1.6rem !important;
    }


    .equipe-page .row.g-4 img {
        width: 100px !important;
        height: 100px !important;
    }

}


@media (max-width: 575.98px) {

    .equipe-page .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .equipe-page .badge.bg-primary.bg-opacity-10 {
        font-size: 0.7rem;
    }


    .equipe-page h2.fw-bold {
        font-size: 1.8rem;
    }


    .equipe-page .text-center.mb-5 > p {
        font-size: 0.92rem;
    }


    .equipe-page .card {
        border-radius: 15px;
    }


    .equipe-page .row.justify-content-center.mb-5 {
        margin-bottom: 2.5rem !important;
    }


    .equipe-page .btn-outline-primary {
        width: 100%;
    }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .equipe-page .card,
    .equipe-page img,
    .equipe-page .btn-outline-primary,
    .equipe-page .btn-outline-primary::before {
        transition: none !important;
    }


    .equipe-page .card:hover,
    .equipe-page .card:hover img,
    .equipe-page .btn-outline-primary:hover {
        transform: none;
    }

}