/* =========================================================
   01. VARIÁVEIS / CORES — GFIX TECNOLOGIA
========================================================= */

:root {

    /* FUNDOS — CLAROS */
    --bg: #F7F6F4;
    --bg2: #F0EDE9;

    /* CARDS / SUPERFÍCIES */
    --card: #FFFFFF;
    --card2: #F7F6F4;

    /* CORES PRINCIPAIS — VERDE-FLORESTA */
    --primary: #3B483F;
    --primary-dark: #2D382F;

    /* DESTAQUE — NUDE TERRACOTA */
    --accent: #C5977F;
    --accent-dark: #A97962;

    /* CORES COMPLEMENTARES */
    --red: #B83232;
    --yellow: #C5977F;

    /* TEXTOS */
    --text: #242424;
    --muted: #6F6B66;
    --text-subtle: #B3A59C;

    /* TEXTO CLARO */
    --white: #FFFFFF;

    /* TRANSPARÊNCIAS */
    --primary-soft: rgba(59, 72, 63, .05);
    --primary-border: rgba(59, 72, 63, .14);

    --text-soft: rgba(36, 36, 36, .04);
    --text-border: rgba(36, 36, 36, .10);

    --white-soft: rgba(255, 255, 255, .82);

    /* SOMBRAS — SUAVES */
    --shadow: 0 18px 50px rgba(40, 45, 40, .08);

    /* FORMAS */
    --radius: 22px;

    /* ELEMENTOS ESPECIAIS */
    --sticky-text: #FFFFFF;
    --video-bg: #3B483F;
    --modal-bg: #FFFFFF;
    --line: rgba(36, 36, 36, .10);
}

/* =========================================================
   02. RESET / BASE
========================================================= */

* {
    box-sizing: border-box
}

/* =========================================================
   03. ESTRUTURA PRINCIPAL
========================================================= */

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
    background:
        radial-gradient(800px 500px at 50% -10%,
            rgba(217, 154, 32, .12),
            transparent 65%),
        linear-gradient(180deg,
            var(--bg) 0%,
            var(--bg2) 100%);

    color: var(--text);
    padding-bottom: 94px;
}

a {
    text-decoration: none;
    color: inherit
}

button {
    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,
            var(--primary),
            var(--accent));
    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: var(--bg)
}

.profile-main h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--text);
}

.handle {
    margin: 7px 0 0;
    color: var(--text-subtle);
    font-size: 12px;
}

.handle span {
    color: var(--accent);
    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(28, 50, 90, 0.16);
    /* ALTERAR MANUAL */
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(247, 250, 255, 0.55);
    /* ALTERAR MANUAL */
    transition: .25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.social:hover,
.social:active {
    border-color: #123a77;
    /* ALTERAR MANUAL */
    background: #12357728;
    /* ALTERAR MANUAL */
}

.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,
            var(--primary),
            var(--primary-dark));
    color: var(--white);

    box-shadow:
        0 16px 42px rgba(0, 36, 102, 0.18),
        /* ALTERAR MANUAL */
        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);
    cursor: pointer;
}

.cta-icon {
    font-size: 20px
}

.cta-arrow {
    font-size: 22px
}

/* =========================================================
   08. IMAGEM PRINCIPAL
========================================================= */

.featured-card {
    position: relative;
    border-radius: 27px;
    overflow: hidden;
    box-shadow:
        0 18px 50px rgba(0, 51, 102, 0.18);
    /* ALTERAR MANUAL */

    border: 1px solid rgba(0, 34, 102, 0.18);
    /* ALTERAR MANUAL */
    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;
    max-width: 768px;
    margin: auto;
}

.section-title h2 {
    margin: 0;
    font: 600 21px/1;
    letter-spacing: -.025em;
    color: var(--text);
}

/* =========================================================
   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 var(--accent);
    background: var(--card);

    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(0, 0, 0, 0.823),
            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;

    /* ALTERAR MANUAL */
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: var(--accent);
    font-size: 13px;
}

/* =========================================================
   11. CARROSSEL DE RESULTADOS E FEEDBACKS
========================================================= */

.results-rail,
.feedbacks-rail {
    gap: 10px;
}

.result-card,
.feedback-card {
    display: block;
    flex: 0 0 77%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: center;
    border-radius: 22px;
    border: 1px solid rgba(139, 30, 30, .12);
    background: var(--card);
    box-shadow: 0 4px 14px rgba(90, 45, 28, .16);
    cursor: pointer;
}

.result-card img,
.feedback-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   12. CARROSSEL DE VÍDEOS
========================================= */

.video-carousel {
    width: 100%;
    position: relative;
    max-width: 768px;
    margin: auto;
}

.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: var(--video-bg);
}

.video-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    padding-bottom: 10px;
}

/* 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;
    }
}

/* =========================================================
   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. Workspace
========================================================= */

.ws-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-bottom: 10px;

}

.ws-rail::-webkit-scrollbar {
    display: none
}

.ws-card {
    flex: 0 0 100%;
    padding: 0;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    background: none;
}

.ws-card a {
    display: block;
    width: 100%;
}

.ws-card img {
    display: block;
    width: 100%;
    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 — HORÁRIOS E LOCALIZAÇÃO
========================================================= */

.info-section {
    border-top: 1px solid var(--line);
    padding: 28px 2px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    align-items: stretch;
}

.info-card {
    min-width: 0;
    padding: 22px 20px;
    border: 1px solid var(--text-border);
    border-radius: var(--radius);
    background: var(--card);
}

.info-label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .13em;
}

.info-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.info-heading > p {
    margin: 7px 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/* HORÁRIOS */

.hours-list {
    border-top: 1px solid var(--line);
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hours-row > span {
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
}

.hours-row > strong {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.hours-row.hours-closed > span,
.hours-row.hours-closed > strong {
    color: var(--text-subtle);
}

/* LOCALIZAÇÃO */

.info-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg2);
}

.location-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 5px 0 18px;
    border: 1px solid var(--primary-border);
    border-radius: 15px;
    color: var(--accent-dark);
    background: var(--card);
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 14px 0 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.location-address strong {
    color: var(--text);
    font-weight: 600;
}

.location-address span {
    color: var(--text-subtle);
    font-size: 11px;
}

.location-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0 14px;
    border: 1px solid var(--text-border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease;
}

.location-button span {
    color: var(--accent-dark);
    font-size: 17px;
}

.location-button:hover {
    background: var(--bg2);
    border-color: var(--accent);
    color: var(--text);
}

/* CELULAR */

@media (max-width: 600px) {
    .info-section {
        padding-top: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h2 {
        font-size: 20px;
    }

    .hours-row {
        padding: 15px 0;
    }

    .hours-row > span {
        font-size: 13px;
    }

    .hours-row > strong {
        font-size: 12px;
    }

    .location-icon {
        margin-top: 8px;
    }
}


/* =========================================================
   16. RODAPÉ
========================================================= */

footer {
    text-align: center;
    padding: 36px 8px 12px
}

footer strong {
    display: block;
    font: 600 22px;
    color: var(--text);
}

footer>span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .12em;
    margin-top: 6px;
}

.footer-socials a {
    font-size: 9px;
    color: var(--primary);
}

.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: var(--text-subtle);
    font-size: 8px;
    letter-spacing: .1em
}

.platform-ad b {
    display: block;
    color: var(--primary);
    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 1fr 1fr;
    gap: 6px;

    padding: 6px;

    border: 1px solid rgba(255, 255, 255, .15);

    background: rgba(173, 173, 173, 0.36);

    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 {
    min-height: 58px;
    border-radius: 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    color: var(--white) !important;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

.sticky-actions a span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-actions a svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sticky-actions .sticky-main {
    background: linear-gradient(180deg,
            var(--accent),
            var(--accent-dark));

    color: var(--white);

    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: var(--modal-bg);
    color: var(--text);
    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(--accent)
}

.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(--accent);
    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
    }
}

/* =========================================================
   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(36, 59, 101, 0.405);
    /* ALTERAR MANUAL */
    border-radius: 15px;
    background: rgba(247, 251, 255, 0.55);
    /* ALTERAR MANUAL */

}

.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: var(--primary);
}

.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 */

#wsDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
    padding: 4px 0 10px;
}

#wsDots 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;
}

#wsDots i.active {
    width: 7px;
    height: 7px;
    background: var(--accent);
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(217, 154, 32, .42);
}

/* =========================================================
   CATEGORIAS
========================================================= */

.category-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    overflow-x: auto;
    scrollbar-width: none;

    margin-bottom: 16px;
    padding: 3px 2px;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-tab {
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(90, 45, 28, .10);
    background: var(--card);
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

/* Categoria selecionada */
.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 14px rgba(139, 30, 30, .16);
}

/* Remove o antigo indicador inferior */
.category-tab.active::after {
    display: none;
}

/* Efeito ao tocar/clicar */
.category-tab:active {
    transform: scale(.96);
}

/* PAGINAÇÃO UNIFICADA */

#resultsDots,
#feedbacksDots,
#videoPagination,
#wsDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 4px 0 0;
    padding: 6px 0 10px;
}

#resultsDots>i,
#feedbacksDots>i,
#videoPagination>i,
#videoPagination>.video-pagination-bar,
#wsDots>i {
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 7px !important;
    width: 7px !important;
    min-width: 7px !important;
    max-width: 7px !important;
    height: 7px !important;
    min-height: 7px !important;
    max-height: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--muted) !important;
    opacity: .7;
    transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .25s ease, opacity .25s ease;
}

#resultsDots>i.active,
#feedbacksDots>i.active,
#videoPagination>i.active,
#videoPagination>.video-pagination-bar.active,
#wsDots>i.active {
    background: var(--accent) !important;
    opacity: 1;
}



/* =========================================
   SEÇÃO DE DESTAQUE FULL WIDTH
   Fundo de ponta a ponta da tela
========================================= */


/* SEÇÃO EM DESTAQUE */
.section-highlight {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 36px 0;
    box-sizing: border-box;
}

/* TÍTULO CENTRALIZADO */
.section-highlight .section-title {
    text-align: center;
}

.section-highlight .section-title h2 {
    color: var(--white);
    width: fit-content;
    margin: 0 auto;
}

/* TRAÇO DO TÍTULO */
.section-highlight .section-title h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: var(--accent);
}

/* TEXTOS */
.section-highlight p,
.section-highlight small,
.section-highlight .section-description {
    color: rgba(255, 255, 255, 0.76);
}

/* DOTS DOS CARROSSÉIS */
.section-highlight .rail-dots i,
.section-highlight .video-pagination i,
.section-highlight .rail-dots button,
.section-highlight .video-pagination button {
    background-color: rgba(255, 255, 255, 0.30);
    border-color: transparent;
}

/* DOT ATIVO */
.section-highlight .rail-dots .active,
.section-highlight .video-pagination .active,
.section-highlight .rail-dots [aria-current="true"],
.section-highlight .video-pagination [aria-current="true"] {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* CELULAR */
@media (max-width: 576px) {
    .section-highlight {
        padding: 28px 20px;
    }
}


/* =========================
   CURSOS
========================= */

.courses-description {
  max-width: 768px;
  margin: 12px auto 18px;
  padding: 0 2px;
  color: var(--text-subtle);
  font-size: 13px;
  line-height: 1.6;
}

.courses-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 3px 1px 12px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.courses-rail::-webkit-scrollbar {
  display: none;
}

.course-card {
  flex: 0 0 220px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--text-border, #e5e2df);
  border-radius: 14px;
  background: #fff;
  color: var(--text, #242424);
  text-align: left;
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}

.course-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f2ef;
}

.course-card-content {
  padding: 14px;
}

.course-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.course-card p {
  margin: 6px 0 0;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.6;
}

.course-card-action {
  display: inline-block;
  margin-top: 13px;
  font-size: 12px;
  font-weight: 600;
}

.course-card:focus-visible,
.courses-modal-close:focus-visible {
  outline: 2px solid var(--text, #242424);
  outline-offset: 3px;
}

/* Modal */

.courses-modal {
  position: fixed;
  width: min(480px, calc(100% - 28px));
  max-width: 480px;
  max-height: 85vh;
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--text-border, #e5e2df);
  border-radius: 14px;
  background: #fff;
  color: var(--text, #242424);
}

.courses-modal::backdrop {
  background: rgb(0 0 0 / 45%);
}

.courses-modal-close {
  position: sticky;
  top: 10px;
  float: right;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 10px 10px -42px 0;
  border: 1px solid var(--text-border, #e5e2df);
  border-radius: 50%;
  background: #fff;
  color: var(--text, #242424);
  font-size: 21px;
  cursor: pointer;
}

.courses-modal-image {
  display: block;
  width: 100%;
  max-height: 230px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f5f2ef;
}

.courses-modal-body {
  padding: 22px;
}

.courses-modal-body h2 {
  margin: 0 0 9px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.courses-modal-category {
  margin: 0 0 12px;
  color: var(--text-subtle);
  font-size: 12px;
}

.courses-modal-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.courses-modal-block {
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--text-border, #e5e2df);
}

.courses-modal-block h3 {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 600;
}

.courses-modal-block p,
.courses-modal-block li {
  font-size: 13px;
  line-height: 1.8;
}

.courses-modal-block p {
  margin: 0;
}

.courses-modal-block ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 480px) {
  .course-card {
    flex-basis: 68%;
  }

  .courses-modal-body {
    padding: 18px;
  }
}
