/* ==============================
   CONFIGURAÇÕES GERAIS
============================== */

:root {
    --preto: #080909;
    --fundo: #101212;
    --card: #151818;
    --amarelo: #e9c900;
    --amarelo-claro: #ffe84d;
    --branco: #f5f5f5;
    --texto: #a6aaaa;
    --borda: rgba(255,255,255,.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--preto);
    color: var(--branco);
    font-family: 'Inter', Arial, sans-serif;
}

body.lightbox-aberto {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--amarelo);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}


/* ==============================
   CABEÇALHO
============================== */

.feedback-header {
    min-height: 78px;
    padding: 14px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 20;

    background: rgba(8,9,9,.91);
    border-bottom: 1px solid var(--borda);

    backdrop-filter: blur(14px);
}

.feedback-logo {
    font: 30px 'Anton', sans-serif;
    letter-spacing: 1px;
}

.feedback-logo span {
    color: var(--amarelo);
}

.feedback-voltar {
    border: 1px solid rgba(233,201,0,.7);
    color: var(--amarelo);

    padding: 11px 17px;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    transition: .25s;
}

.feedback-voltar:hover {
    background: var(--amarelo);
    color: var(--preto);
}


/* ==============================
   APRESENTAÇÃO
============================== */

.feedback-hero,
.depoimentos-section,
.chamada-final {
    width: min(1180px, 90%);
    margin: auto;
}

.feedback-hero {
    padding: 100px 0 76px;
}

.feedback-eyebrow,
.secao-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--amarelo);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.feedback-eyebrow i {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--amarelo);
}

.feedback-hero h1,
.chamada-final h2 {
    margin-top: 23px;

    font: clamp(48px,7.5vw,88px)/.98 'Anton',sans-serif;

    letter-spacing: .3px;
}

.feedback-hero h1 span,
.secao-titulo h2 span,
.chamada-final h2 span {
    color: var(--amarelo);
}

.feedback-hero > p {
    max-width: 590px;
    margin-top: 23px;

    color: var(--texto);

    font-size: 15px;
    line-height: 1.8;
}

.hero-indicadores {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 30px;

    color: #858b8b;
    font-size: 11px;
}

.hero-indicadores b {
    color: var(--amarelo);
    font-size: 16px;
}

.indicador-ponto {
    width: 4px;
    height: 4px;

    background: var(--amarelo);
    border-radius: 50%;
}


/* ==============================
   TÍTULO DA GALERIA
============================== */

.depoimentos-section {
    padding-bottom: 100px;
}

.secao-titulo {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;

    margin-bottom: 30px;
}

.secao-titulo h2 {
    margin-top: 11px;

    font: clamp(28px,4vw,43px)/1.05 'Anton',sans-serif;
}

.secao-titulo > p {
    max-width: 300px;

    color: var(--texto);

    font-size: 12px;
    line-height: 1.7;
}


/* ==============================
   GRID DE DEPOIMENTOS
============================== */

.depoimentos-grid {
    display: grid;

    grid-template-columns: repeat(3,minmax(0,1fr));

    gap: 18px;

    align-items: stretch;
}


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

.depoimento-card {
    --brilho: rgba(233,201,0,.14);

    position: relative;
    isolation: isolate;

    min-height: 315px;

    padding: 25px 24px 21px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: linear-gradient(
        155deg,
        #1a1d1d 0%,
        #111414 58%,
        #17170f 100%
    );

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 19px;

    box-shadow: 0 12px 35px rgba(0,0,0,.22);

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

.depoimento-card::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 230px;
    height: 230px;

    right: -105px;
    bottom: -135px;

    border-radius: 50%;

    background: var(--brilho);

    filter: blur(45px);

    transition: .35s;
}

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

    border-color: rgba(233,201,0,.45);

    box-shadow: 0 18px 42px rgba(0,0,0,.38);
}

.depoimento-card:hover::before {
    transform: scale(1.35);
}


/* ==============================
   IDENTIFICAÇÃO DO ALUNO
============================== */

.card-topo {
    display: flex;
    align-items: center;
    gap: 13px;
}

.avatar {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--preto);

    background: linear-gradient(
        135deg,
        #ffe84d,
        var(--amarelo)
    );

    font-size: 15px;
    font-weight: 800;

    border: 2px solid rgba(255,255,255,.2);
}

.aluno-info {
    min-width: 0;
}

.aluno-nome {
    font-size: 13px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.aluno-legenda {
    margin-top: 4px;

    color: #858b8b;

    font-size: 10px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.card-selo {
    margin-left: auto;

    color: var(--amarelo);

    font-size: 18px;
    opacity: .8;
}


/* ==============================
   TEXTO DO DEPOIMENTO
============================== */

.card-divisor {
    height: 1px;

    margin: 20px 0 17px;

    background: linear-gradient(
        90deg,
        rgba(233,201,0,.35),
        rgba(255,255,255,.05)
    );
}

.card-relato {
    flex: 1;

    color: #e5e7e7;

    font-size: 14px;
    line-height: 1.75;
}


/* ==============================
   RODAPÉ DO CARD
============================== */

.card-rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;
}

.card-assinatura {
    color: #858b8b;

    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.card-estrelas {
    color: var(--amarelo);

    letter-spacing: 2px;
    font-size: 13px;
}

.card-estrelas.sem-nota {
    color: #777;

    letter-spacing: 0;
    font-size: 9px;
}

.card-abrir {
    margin-top: 13px;

    align-self: flex-start;

    padding: 0;

    border: 0;
    background: none;

    color: var(--amarelo);

    font-size: 11px;
    font-weight: 700;
}

.card-abrir:hover {
    color: var(--amarelo-claro);
}


/* ==============================
   BOTÕES DA GALERIA
============================== */

.feedback-acoes {
    display: flex;
    justify-content: center;

    margin-top: 38px;
}

.botao-mais,
.botao-menos {
    min-height: 48px;

    padding: 14px 25px;

    border: 1px solid var(--amarelo);
    border-radius: 4px;

    background: var(--amarelo);
    color: var(--preto);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;

    transition: .25s;
}

.botao-mais span,
.botao-menos span {
    margin-left: 10px;
    font-size: 15px;
}

.botao-mais:hover,
.botao-menos:hover {
    transform: translateY(-2px);
    background: var(--amarelo-claro);
}

.botao-menos {
    margin-left: 10px;

    background: transparent;
    color: var(--amarelo);
}

.botao-menos:hover {
    color: var(--preto);
}

.contador {
    margin-top: 14px;

    text-align: center;

    color: #737979;
    font-size: 11px;
}


/* ==============================
   CHAMADA FINAL
============================== */

.chamada-final {
    margin-bottom: 75px;
    padding: 65px 25px;

    text-align: center;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;

    background:
        radial-gradient(
            ellipse at 50% 0,
            rgba(233,201,0,.11),
            transparent 65%
        ),
        #111414;
}

.chamada-final h2 {
    font-size: clamp(38px,5vw,60px);
}

.chamada-final p {
    max-width: 480px;

    margin: 20px auto 25px;

    color: var(--texto);

    font-size: 13px;
    line-height: 1.8;
}

.botao-chamada {
    display: inline-block;

    padding: 15px 22px;

    background: var(--amarelo);
    color: var(--preto);

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;

    transition: .25s;
}

.botao-chamada:hover {
    transform: translateY(-2px);
    background: var(--amarelo-claro);
}

.botao-chamada span {
    margin-left: 8px;
}


/* ==============================
   RODAPÉ
============================== */

.feedback-footer {
    padding: 30px 5%;

    border-top: 1px solid var(--borda);

    text-align: center;
}

.feedback-footer p {
    margin-top: 9px;

    color: #747a7a;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}


/* ==============================
   LIGHTBOX
============================== */

.feedback-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;

    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    background: rgba(0,0,0,.94);

    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: .25s;
}

.feedback-lightbox.ativo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-card {
    width: min(480px,calc(100% - 110px));

    max-height: 85vh;

    overflow: auto;
}

.lightbox-fechar,
.lightbox-seta {
    display: grid;
    place-items: center;

    border: 1px solid #444;
    border-radius: 50%;

    background: #191d1d;
    color: white;

    transition: .2s;
}

.lightbox-fechar {
    position: absolute;

    top: 22px;
    right: 25px;

    width: 42px;
    height: 42px;

    font-size: 27px;
}

.lightbox-seta {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    font-size: 27px;
}

.lightbox-fechar:hover,
.lightbox-seta:hover {
    background: var(--amarelo);
    color: var(--preto);
}

.lightbox-card .depoimento-card {
    min-height: 300px;
    cursor: default;
}


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

@media(max-width:950px) {

    .depoimentos-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .feedback-hero {
        padding-top: 75px;
    }

}


@media(max-width:620px) {

    .feedback-header {
        min-height: 68px;
        padding: 12px 4%;
    }

    .feedback-logo {
        font-size: 25px;
    }

    .feedback-voltar {
        padding: 10px 12px;
        font-size: 10px;
    }

    .feedback-hero,
    .depoimentos-section,
    .chamada-final {
        width: 92%;
    }

    .feedback-hero {
        padding: 65px 0 55px;
    }

    .feedback-hero h1 {
        font-size: clamp(43px,12vw,62px);
    }

    .feedback-hero > p {
        font-size: 13px;
    }

    .hero-indicadores {
        flex-wrap: wrap;
        font-size: 10px;
    }

    .secao-titulo {
        display: block;
    }

    .secao-titulo > p {
        margin-top: 12px;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .depoimento-card {
        min-height: 275px;
        padding: 22px;
    }

    .card-relato {
        font-size: 13px;
    }

    .botao-mais,
    .botao-menos {
        width: 100%;
    }

    .botao-menos {
        margin: 10px 0 0;
    }

    .feedback-acoes {
        flex-direction: column;
    }

    .chamada-final {
        padding: 48px 18px;
        margin-bottom: 45px;
    }

    .feedback-lightbox {
        gap: 7px;
        padding: 12px;
    }

    .lightbox-card {
        width: calc(100% - 76px);
    }

    .lightbox-seta {
        flex-basis: 32px;
        width: 32px;
        height: 38px;
        font-size: 21px;
    }

    .lightbox-fechar {
        top: 12px;
        right: 12px;

        width: 36px;
        height: 36px;
    }

}


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

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

}