:root {

    --header-height: 88px;

    --page-bg: #1A1918;

    --white: #ffffff;

    --text-main: rgba(255, 255, 255, 0.92);

    --text-soft: rgba(255, 255, 255, 0.72);

    --text-muted: rgba(255, 255, 255, 0.48);

    --line-soft: rgba(255, 255, 255, 0.12);

    --montserrat: "Montserrat", sans-serif;

    --poppins: "Poppins", sans-serif;

}


* {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: var(--header-height);

}


body {

    margin: 0;

    min-height: 100vh;

    background: var(--page-bg);

    color: var(--text-main);

    font-family: var(--montserrat);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

}


body.menu-open {

    overflow: hidden;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font: inherit;

}


/* =========================================================
   CABEÇALHO — MATRIZ OFICIAL
   ========================================================= */


.site-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: var(--header-height);

    padding: 0 30px;

    display: grid;

    grid-template-columns:
        minmax(290px, 335px)
        minmax(0, 1fr)
        126px;

    align-items: center;

    column-gap: 34px;

    z-index: 10000;

    background: var(--page-bg);

}


.site-logo {

    position: relative;

    z-index: 11000;

    display: flex;

    align-items: center;

    justify-content: flex-start;

}


.site-logo img {

    display: block;

    width: 315px;

    max-width: 100%;

    height: auto;

}


.desktop-nav {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

}


.desktop-nav a {

    position: relative;

    padding: 34px 2px 31px;

    font-family: var(--montserrat);

    font-size: 10px;

    font-weight: 500;

    line-height: 1;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.87);

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;

}


.desktop-nav a::after {

    content: "";

    position: absolute;

    left: 2px;

    right: 2px;

    bottom: 23px;

    height: 1px;

    background: var(--white);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.3s ease;

}


.desktop-nav a:hover {

    color: var(--white);

}


.desktop-nav a:hover::after {

    transform: scaleX(1);

}


.desktop-nav a.active {

    color: var(--white);

}


.desktop-nav a.active::after {

    transform: scaleX(1);

}


.header-actions {

    display: flex;

    align-items: center;

    justify-content: flex-end;

}


.social-icons {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 18px;

}


.social-icons a {

    width: 20px;

    height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0.76;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


.social-icons a:hover {

    opacity: 1;

    transform: translateY(-1px);

}


.social-icons svg {

    display: block;

    width: 18px;

    height: 18px;

    overflow: visible;

}


.social-icons svg path {

    fill: var(--white);

}


.social-icons svg rect,
.social-icons svg circle {

    fill: none;

    stroke: var(--white);

    stroke-width: 1.6;

}


.social-icons svg .instagram-dot {

    fill: var(--white);

    stroke: none;

}


/* =========================================================
   BOTÃO MENU
   ========================================================= */


.menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: var(--white);

    align-items: center;

    cursor: pointer;

    position: relative;

    z-index: 11000;

}


.menu-lines {

    width: 29px;

    height: 20px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 8px;

}


.menu-lines i {

    display: block;

    width: 29px;

    height: 1px;

    background: var(--white);

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;

}


.menu-button.active .menu-lines i:first-child {

    transform:
        translateY(4.5px)
        rotate(45deg);

}


.menu-button.active .menu-lines i:last-child {

    transform:
        translateY(-4.5px)
        rotate(-45deg);

}


/* =========================================================
   MENU MOBILE — MATRIZ OFICIAL
   ========================================================= */


.menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 10500;

    background:
        rgba(26, 25, 24, 0.995);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;

}


.menu-overlay.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.menu-overlay-inner {

    width: min(88%, 1380px);

    height: 100%;

    margin: 0 auto;

    padding-top: 125px;

    padding-bottom: 45px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}


.overlay-nav {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.menu-main-link,
.portfolio-toggle {

    border: 0;

    background: transparent;

    color: var(--white);

    font-family: var(--poppins);

    font-size:
        clamp(
            27px,
            3vw,
            47px
        );

    line-height: 1.45;

    font-weight: 300;

    letter-spacing: -0.025em;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.menu-main-link:hover,
.portfolio-toggle:hover {

    color: #b8b8b8;

    transform: translateX(7px);

}


.portfolio-toggle {

    display: flex;

    align-items: center;

    gap: 18px;

}


.portfolio-symbol {

    font-size: 25px;

    font-weight: 300;

}


.portfolio-submenu {

    max-height: 0;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    padding-left: 28px;

    transition:
        max-height 0.45s ease;

}


.portfolio-submenu.open {

    max-height: 390px;

}


.portfolio-submenu a {

    padding: 5px 0;

    font-family: var(--montserrat);

    font-size: 12px;

    font-weight: 400;

    line-height: 1.3;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #898989;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.portfolio-submenu a:hover {

    color: var(--white);

    transform: translateX(5px);

}


.menu-footer {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    color:
        rgba(255, 255, 255, 0.70);

    font-family: var(--montserrat);

    font-size: 11px;

    font-weight: 300;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;

}


.menu-footer:hover {

    color:
        rgba(255, 255, 255, 0.28);

}


.menu-social {

    display: flex;

    gap: 18px;

}


.menu-social a {

    transition:
        color 0.25s ease,
        opacity 0.25s ease;

}


.menu-social a:hover {

    color:
        rgba(255, 255, 255, 0.28);

}


.menu-footer p {

    margin: 0;

}


/* =========================================================
   PÁGINA WORKSHOPS
   ========================================================= */


.workshops-page {

    min-height: 100vh;

    padding-top: var(--header-height);

}


/* =========================================================
   TÍTULO
   ========================================================= */


.workshops-intro {

    width: calc(100% - 60px);

    max-width: 1500px;

    margin: 0 auto;

    padding: 55px 0 28px;

}


.workshops-intro h1 {

    margin: 0;

    font-family: var(--montserrat);

    font-size: 28px;

    font-weight: 300;

    line-height: 1.2;

    letter-spacing: 0.14em;

    color:
        rgba(255, 255, 255, 0.72);

}


/* =========================================================
   GALERIA DE VÍDEOS
   ========================================================= */


.workshops-gallery {

    width: calc(100% - 60px);

    max-width: 1500px;

    margin: 0 auto;

    padding-bottom: 70px;

}


.workshops-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

}


/* =========================================================
   CARD DE VÍDEO
   ========================================================= */


.workshop-video-card {

    position: relative;

    width: 100%;

    aspect-ratio:
        16 / 9;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    cursor: default;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;

}


.workshop-video-card::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        rgba(26, 25, 24, 0);

    pointer-events: none;

    transition:
        background 0.32s ease;

}


.workshop-video-card[role="button"]:hover::before {

    background:
        rgba(26, 25, 24, 0.48);

}


.workshop-video-card::after {

    content:
        attr(
            data-workshop-slot
        );

    position: absolute;

    right: 14px;

    bottom: 12px;

    z-index: 3;

    color:
        rgba(255, 255, 255, 0.5);

    font-family: var(--montserrat);

    font-size: 10px;

    font-weight: 400;

    letter-spacing: 0.12em;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;

}


.workshop-video-card[role="button"]:hover::after {

    color:
        rgba(255, 255, 255, 0.22);

}


/* =========================================================
   PLAY
   ========================================================= */


.workshop-play {

    position: relative;

    z-index: 2;

    width: 52px;

    height: 52px;

    border:
        1px solid
        rgba(255, 255, 255, 0.72);

    border-radius: 50%;

    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;

}


.workshop-play::after {

    content: "";

    position: absolute;

    top: 50%;

    left: 52%;

    width: 0;

    height: 0;

    transform:
        translate(-42%, -50%);

    border-top:
        6px solid transparent;

    border-bottom:
        6px solid transparent;

    border-left:
        9px solid
        rgba(255, 255, 255, 0.9);

    transition:
        border-left-color 0.3s ease;

}


.workshop-video-card[role="button"]:hover
.workshop-play {

    border-color:
        rgba(255, 255, 255, 0.92);

    transform:
        scale(1.06);

}


.workshop-video-card[role="button"]:hover
.workshop-play::after {

    border-left-color:
        #ffffff;

}


.workshop-video-card:has(iframe)::before,
.workshop-video-card:has(iframe):hover::before {

    background: transparent;

}


.workshop-video-card:has(iframe)::after {

    display: none;

}


/* =========================================================
   RODAPÉ — MATRIZ OFICIAL
   ========================================================= */


.site-footer {

    width: calc(100% - 60px);

    max-width: 1500px;

    min-height: 108px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

    padding:
        34px
        0
        36px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    background:
        var(--page-bg);

    color:
        rgba(255, 255, 255, 0.72);

    font-family: var(--montserrat);

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.footer-left,
.footer-right {

    color:
        rgba(255, 255, 255, 0.72);

    transition:
        color 0.3s ease,
        opacity 0.3s ease;

}


.footer-left:hover,
.footer-right:hover {

    color:
        rgba(255, 255, 255, 0.28);

}


.footer-right {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 22px;

    text-align: right;

}


.site-footer .cookie-settings-link {

    margin-left: 0;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        rgba(255, 255, 255, 0.72);

    font-family: var(--montserrat);

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;

}


.site-footer .cookie-settings-link:hover {

    color:
        rgba(255, 255, 255, 0.28);

}


/* =========================================================
   DESKTOP INTERMÉDIO
   ========================================================= */


@media (max-width: 1420px) {

    .site-header {

        grid-template-columns:
            minmax(250px, 285px)
            minmax(0, 1fr)
            112px;

        column-gap: 22px;

        padding-left: 26px;

        padding-right: 26px;

    }


    .site-logo img {

        width: 270px;

    }


    .desktop-nav {

        gap: 8px;

    }


    .desktop-nav a {

        font-size: 9px;

        letter-spacing: 0.09em;

    }


    .social-icons {

        gap: 13px;

    }

}


/* =========================================================
   TABLET
   ========================================================= */


@media (max-width: 1200px) {

    .site-header {

        display: flex;

        justify-content: space-between;

    }


    .desktop-nav {

        display: none;

    }


    .social-icons {

        display: none;

    }


    .menu-button {

        display: flex;

    }


    .site-logo img {

        width: 265px;

    }


    .header-actions {

        margin-left: auto;

        gap: 22px;

    }


    .workshops-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


/* =========================================================
   MOBILE
   ========================================================= */


@media (max-width: 760px) {

    :root {

        --header-height: 80px;

    }


    .site-header {

        padding:
            0
            18px;

    }


    .site-logo img {

        width: 215px;

    }


    .menu-overlay-inner {

        width: 86%;

        padding-top: 105px;

        padding-bottom: 35px;

    }


    .menu-main-link,
    .portfolio-toggle {

        font-size: 29px;

    }


    .menu-footer {

        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

    }


    .workshops-intro {

        width:
            calc(
                100% -
                36px
            );

        padding:
            38px
            0
            22px;

    }


    .workshops-intro h1 {

        font-size: 24px;

        letter-spacing: 0.12em;

    }


    .workshops-gallery {

        width:
            calc(
                100% -
                36px
            );

        padding-bottom: 50px;

    }


    .workshops-grid {

        grid-template-columns:
            1fr;

        gap: 10px;

    }


    .site-footer {

        width:
            calc(
                100% -
                36px
            );

        min-height: auto;

        padding:
            26px
            0
            30px;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

    }


    .footer-right {

        justify-content: flex-start;

        text-align: left;

        gap: 14px;

    }

}