/* =========================================================
   01. VARIÁVEIS / CORES
========================================================= */

:root {
    --bg: #F8E7B8;
    --bg2: #F2D99F;
    --card: #FFF8E8;
    --card2: #F6E6C2;
    --cream: #5A2D1C;
    --cream2: #8B1E1E;
    --gold: #D99A20;
    --gold2: #6E1717;
    --muted: #80624A;
    --line: rgba(90, 45, 28, .14);
    --white: #FFFDF7;
    --shadow: 0 18px 50px rgba(90, 45, 28, .16);
    --radius: 22px;
}

/* =========================================================
   02. RESET / BASE
========================================================= */

* {
    box-sizing: border-box
}

/* =========================================================
   03. ESTRUTURA PRINCIPAL
========================================================= */

html {
    scroll-behavior: smooth;
    background: var(--bg)
}

body {
    margin: 0;
    background:
        radial-gradient(
            800px 500px at 50% -10%,
            rgba(217, 154, 32, .12),
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #F8E7B8 0%,
            #F2D99F 100%
        );

    color: var(--cream);
    font-family: inherit;
    padding-bottom: 94px;
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit;
    color: inherit
}

img,
video {
    display: block;
    max-width: 100%
}

.bio-page {
    max-width: 800px;
    margin: auto;
    padding: 28px 16px 120px
}

/* =========================================================
   04. PERFIL
========================================================= */

.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 2px 14px
}

.profile-photo-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(
        135deg,
        #8B1E1E,
        #D99A20
    );
    flex: none;
    box-shadow: 0 8px 24px rgba(90, 45, 28, .20);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #F8E7B8
}

.profile-main h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.025em;
    color: #5A2D1C;
}

.handle {
    margin: 7px 0 0;
    color: var(--cream2);
    font-size: 12px;
}

.handle span {
    color: var(--gold);
    padding: 0 4px
}

/* =========================================================
   05. REDES SOCIAIS
========================================================= */

.socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 6px 0 18px
}

.social {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(90, 45, 28, .16);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 253, 247, .55);
    transition: .25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.social:hover,
.social:active {
    border-color: rgba(139, 30, 30, .45);
    background: rgba(139, 30, 30, .08);
}

.social svg {
    height: 19px;
}

.social svg path:not(.fill-bg),
.social svg rect,
.social svg circle {
    vector-effect: non-scaling-stroke
}

.social .fill-bg {
    fill: var(--bg);
    stroke: none;
}

/* =========================================================
   06. CTA PRINCIPAL
========================================================= */

.primary-cta {
    min-height: 60px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    align-items: center;
    padding: 0 17px;
    background: linear-gradient(
        135deg,
        #8B1E1E,
        #6E1717
    );
    color: #FFFDF7;

    box-shadow:
        0 16px 42px rgba(110, 23, 23, .22),
        inset 0 1px rgba(255, 255, 255, .45);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-align: center;
    transition: .5s;
}

.primary-cta:hover {
    filter: brightness(1.2)
}

.cta-icon {
    font-size: 20px
}

.cta-arrow {
    font-size: 22px
}

/* =========================================================
   07. LINKS RÁPIDOS
========================================================= */

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0 18px
}

.quick-links a {
    min-height: 84px;

    border: 1px solid rgba(90, 45, 28, .14);
    border-radius: 19px;

    background: rgba(255, 248, 232, .88);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;
    text-align: center;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, .55);

    transition: .25s ease;
}

.quick-links a:hover {
    background: rgba(139, 30, 30, .07);
    border-color: rgba(139, 30, 30, .25);
}

.quick-icon {
    font-size: 22px;
    color: var(--cream2);
    line-height: 1
}

.quick-links b {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .09em
}

.quick-links small {
    font-size: 8px;
    color: #80624A;
}

/* =========================================================
   08. IMAGEM PRINCIPAL
========================================================= */

.featured-card {
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    box-shadow:
        0 18px 50px rgba(90, 45, 28, .18);

    border: 1px solid rgba(139, 30, 30, .12);
    margin-bottom: 28px;
}

.featured-card>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* =========================================================
   09. SEÇÕES / TÍTULOS
========================================================= */

.section {
    margin-top: 30px
}

.section.compact {
    margin-top: 24px
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px
}

.section-title h2 {
    margin: 0;
    font: 600 21px/1;
    letter-spacing: -.025em;
    color: #5A2D1C;
}

/* =========================================================
   10. CARROSSEL DE SERVIÇOS
========================================================= */

.rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 3px 1px 10px;
    overscroll-behavior-x: contain
}

.rail::-webkit-scrollbar {
    display: none
}

.service-card {
    position: relative;
    flex: 0 0 150px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;

    border: 1px solid #D99A20;
    background: #FFF8E8;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(90, 45, 28, .14);

    padding: 0;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        0deg,
        rgba(45, 20, 10, .88),
        transparent 58%
    );
}

.service-name {
    position: absolute;
    z-index: 2;
    left: 13px;
    right: 9px;
    bottom: 13px;
    font: 500 16px/1.05;
    color: white
}

.service-arrow {
    position: absolute;
    z-index: 2;
    right: 11px;
    top: 11px;

    width: 27px;
    height: 27px;

    border: 2px solid rgba(217, 154, 32, .35);
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #D99A20;
    font-size: 13px;
}

/* =========================================================
   11. CARROSSEL DE RESULTADOS
========================================================= */

.results-rail {
    gap: 10px
}

.result-card {
    flex: 0 0 77%;
    height: 300px;
    aspect-ratio: 1 / 1.04;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: center;

    border: 1px solid rgba(139, 30, 30, .12);

    box-shadow:
        0 4px 14px rgba(90, 45, 28, .16);

    padding: 0;
}

.result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* =========================================
   12. CARROSSEL DE VÍDEOS
========================================= */

.video-carousel {
    width: 100%;
    position: relative;
}

.video-rail {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0px 8px 10px !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 14px;
}

.video-rail::-webkit-scrollbar {
    display: none;
}

.video-card {
    position: relative;
    flex: 0 0 235px;
    width: 235px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: #3A1D13;
}

.video-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    padding-bottom: 10px;
}

.video-pagination-bar {
    width: 18px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(232, 194, 145, .25);
    cursor: pointer;
    transition: width .35s ease, background .35s ease, box-shadow .35s ease;
}

.video-pagination-bar.active {
    width: 34px;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(232, 194, 145, .40);
}

/* MOBILE */
@media(max-width:600px) {
    .video-rail {
        gap: 13px;
        padding: 18px 6px 10px;
    }

    .video-card {
        flex: 0 0 205px;
        width: 205px;
        border-radius: 13px;
    }

    .video-pagination {
        gap: 5px;
    }

    .video-pagination-bar {
        width: 14px;
    }

    .video-pagination-bar.active {
        width: 27px;
    }
}

/* =========================================================
   13. ESPAÇO
========================================================= */

.space-card {
    position: relative;
    min-height: 270px;
    border-radius: 25px;
    overflow: hidden;

    border: 1px solid rgba(139, 30, 30, .12);

    box-shadow:
        0 18px 50px rgba(90, 45, 28, .16);
}

.space-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.space-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.space-card a:hover img {
    transform: scale(1.02);
}

/* =========================================================
   14. CURSOS
========================================================= */

.course-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-bottom: 10px;

}

.course-rail::-webkit-scrollbar {
    display: none
}

.course-card {
    flex: 0 0 100%;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    background: none;
}

.course-card a {
    display: block;
    width: 100%;
}
dia
.course-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.muted-mini {
    border: 0;
    background: none;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 0;
    color: var(--muted)
}

/* =========================================================
   15. INFORMAÇÕES
========================================================= */

.info-section {
    border-top: 1px solid var(--line);
    padding: 24px 2px 0px
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.info-grid span {
    font-size: 8px;
    letter-spacing: .18em;
    color: #8B1E1E;
}

.info-grid p {
    font-size: 12px;
    line-height: 1.5;
    color: #80624A;
}

.info-grid b {
    color: #5A2D1C;
    font-weight: 600;
}

.info-grid a {
    font-size: 9px;
    color: var(--cream2);
    letter-spacing: .12em
}

/* =========================================================
   16. RODAPÉ
========================================================= */

footer {
    text-align: center;
    padding: 36px 8px 12px
}

footer strong {
    display: block;
    font: 600 22px;
    color: #5A2D1C;
}

footer > span {
    display: block;
    color: #80624A;
    font-size: 9px;
    letter-spacing: .12em;
    margin-top: 6px;
}

.footer-socials a {
    font-size: 9px;
    color: #8B1E1E;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px
}

.platform-ad {
    margin: 28px auto 0;
    padding: 16px;
    border-top: 1px solid var(--line);
    max-width: 390px
}

.platform-ad small {
    display: block;
    color: #7d7065;
    font-size: 8px;
    letter-spacing: .1em
}

.platform-ad b {
    display: block;
    color: var(--cream2);
    font-size: 9px;
    letter-spacing: .12em;
    margin-top: 7px
}

.platform-ad img {
    margin: auto;
}

/* =========================================================
   17. BARRA FIXA INFERIOR
========================================================= */

.sticky-actions {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateX(-50%);

    width: min(calc(100% - 18px), 540px);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, .15);

    background: rgba(90, 45, 28, .92);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 999px;

    box-shadow:
        0 20px 50px rgba(90, 45, 28, .28);
}

.sticky-actions a {
    height: 45px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fbfbfb;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.sticky-actions .sticky-main {
    background: linear-gradient(
        180deg,
        #D99A20,
        #B77A12
    );

    color: #5A2D1C;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, .65);
}

/* =========================================================
   18. MODAL / DIALOG
========================================================= */

.dialog {
    width: min(92%, 500px);
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #f7f7f7;
    color: var(--cream);
    padding: 0;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55)
}

.dialog::backdrop {
    background: rgba(5, 3, 2, .78);
    backdrop-filter: blur(5px)
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .25);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 3
}

.dialog-body {
    padding: 26px
}

.dialog-body img {
    width: 100%;
    aspect-ratio: 1.3;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 20px
}

.dialog-body .eyebrow {
    color: var(--gold)
}

.dialog-body h3 {
    font: 500 32px/1.05;
    margin: 6px 0 12px
}

.dialog-body p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    white-space: pre-line
}

.dialog-body a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    margin-top: 20px
}

/* =========================================================
   19. RESPONSIVIDADE DESKTOP
========================================================= */

@media(min-width:700px) {
    body {
        padding-bottom: 30px
    }

    .bio-page {
        padding-top: 48px
    }

    .sticky-actions {
        width: 440px
    }

    .service-card {
        flex-basis: 160px;
    }

    .result-card {
        flex-basis: 42%
    }

    .video-card {
        flex-basis: 32%
    }
}

/* =========================================================
   20. ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
========================================================= */

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

/* =========================================================
   21. PAGINAÇÃO DOS CARROSSÉIS
========================================================= */

#resultsDots,
#videoPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
    padding: 4px 0 10px;
}

/* Bolinha normal */
#resultsDots i,
#videoPagination i,
#videoPagination .video-pagination-bar {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(145, 209, 232, 0.35);
    opacity: 0.7;
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Bolinha ativa */
#resultsDots i.active,
#videoPagination i.active,
#videoPagination .video-pagination-bar.active {
    width: 7px;
    height: 7px;
    background: var(--gold);
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(232, 194, 145, 0.45);
}

/* MOBILE */
@media (max-width: 600px) {

    #resultsDots,
    #videoPagination {
        gap: 7px;
    }
}

/* =========================================================
   22. BOTÃO AVALIAÇÃO GOOGLE
========================================================= */

.google-review {
    display: flex;
    width: auto;
    padding: 8px 12px;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid rgba(90, 45, 28, .12);
}

.google-review span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.google-review svg:last-child {
    opacity: 0.6;
}

/* =========================================================
   23. ESTATÍSTICAS
========================================================= */

.results-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;

    width: 100%;
    margin: 10px 0;

    padding: 4px 0;

    border: 1px solid rgba(90, 45, 28, .18);

    border-radius: 15px;

    background: rgba(255, 248, 232, .45);
}

.result-stat {
    position: relative;
    min-height: 58px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.result-stat strong {
    color: #8B1E1E;
}

.result-stat+.result-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16%;
    width: 1px;
    height: 68%;
    background: rgba(90, 45, 28, .15);;
}

.result-stat strong {
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.result-stat strong span {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.55;
}

.result-stat small {
    margin-top: 7px;
    font-size: 8px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.1px;
    opacity: 0.5;
}

@media (max-width: 380px) {
    .results-stats {
        margin: 12px 0 18px;
    }

    .result-stat {
        padding: 7px 4px;
    }

    .result-stat strong {
        font-size: 17px;
    }

    .result-stat small {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
}

/* DOTS DO CURSO */

#courseDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
    padding: 4px 0 10px;
}

#courseDots i {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 6px;
    height: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(139, 30, 30, .28);
    opacity: 0.7;
    transition: transform 0.3s ease,
                background 0.3s ease,
                opacity 0.3s ease,
                box-shadow 0.3s ease;
    cursor: pointer;
}

#courseDots i.active {
    width: 7px;
    height: 7px;
    background: var(--gold);
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(217, 154, 32, .42);
}