/* ### HEADER ### */

header{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 56px 20px 40px;
        background : #000;
        transition: transform 0.3s ease-in-out;
        z-index: 9;
}
.admin-bar header{
        top: 32px;
}

header > .left-col {
        display: flex;
        align-items: end;
        gap: 80px;
        transition: gap 0.3s ease;
}
header.light .left-col{
        gap: 146px;
}

header .logo {
        position: relative;
}

.header-category-container{
        /*display: none;*/
}
#main .category-container{
        display: none;
}
.category-container{
        position: relative;
        display: flex;
        flex-direction: column;
        padding-bottom: 8px;
        row-gap: 12px;
        transition: padding 0.3s ease;
        z-index: 9;
}
.light .category-container{
        padding-bottom: 0;
}
.category-container .category-container-title{
        display: flex;
        align-items: center;
        gap: 24px;
}
.category-container .title {
        color: #fff;
        font-size: 68px;
        font-weight: 500;
        line-height: 1;
}
.category-container svg {
        width: 68px;
        height: 68px;
        margin-bottom: 8px;
}
.category-container-nav {
        display: flex;
        flex-wrap: wrap;
        column-gap: 32px;
        row-gap: 8px;
}
.header-light .category-container-nav{
        display: none;
}
.category-container-nav .item {
        position: relative;
        color: #fff;
}
.category-container-nav .item::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: var(--second-color);
        border-radius: 50%;
        transition: width .3s, height .3s;
        z-index: -1;
}
.category-container-nav .item.active::before,
.category-container-nav .item:hover::before,
.category-container-nav .item:focus::before{
        width: 48px;
        height: 48px;
}
.category-container-nav .item::after{
        content: '';
        position: absolute;
        top: 4px;
        right: -16px;
        width: 2px;
        height: 16px;
        background: #fff;
}
.category-container-nav .item:last-child::after{
        display: none;
}

.header-sun {
        position: absolute;
        bottom: -100px;
        left: 50%;
        transform: translate(-50%, 0);
        transition: bottom .3s;
        z-index: 10;
}
header.light .header-sun{
        bottom: -64px;
}
.header-sun svg {
        display: block;
        width: 200px;
        transition: width .3s;
}
header.light .header-sun svg{
        width: 128px;
}
header .logo svg {
        display: block;
        box-sizing: border-box;
        width: 156px;
        fill: #fff;
        transition: width .3s;
}
header.light .logo svg {
        width: 88px;
}
.under-header{
        height: 170px;
        background: #000;
}

/* ### SECTION TITLE ### */

.header-inner h1,
.header-inner h2 {
        font-weight: 500;
        font-size: 56px;
        color: #fff;
        line-height: 1;
        margin: 0;
        margin-top: 4px;
}

/* ### SHORTCUT - NAV ### */

.shortcut-nav-container {
        display: flex;
        align-items: center;
        column-gap: 32px;
}
.shortcut-nav {
        display: flex;
        align-items: center;
        column-gap: 32px;
        margin: 0;
        padding: 0;
}
.shortcut-nav.mobile{
        display: none;
}
.shortcut-nav .menu-item a {
        position: relative;
        display: block;
        font-size: 18px;
        color: #fff;
        padding: 8px 0;
}
.shortcut-nav .menu-item a::before {
        content: "";
        position: absolute;
        left: -16px;
        top: 14px;
        width: 2px;
        height: 14px;
        background: #fff;
}
.shortcut-nav .menu-item a::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 0;
        width: 0;
        height: 2px;
        background: #fff;
        transition: .3s;
}
.shortcut-nav .menu-item.current-menu-item a::after,
.shortcut-nav .menu-item a:hover::after {
        width: 100%;
}

.shortcut-nav .menu-item:nth-of-type(2) a {
        font-weight: bold;
}
.nav-item{
        text-decoration: none;
        list-style: none;
}
.nav-item::marker{
        display: none;
}
.nav-item-search,
.nav-item-burger{
        cursor: pointer;
}
.nav-item-search svg {
        width: 24px;
}
.nav-item-burger svg {
        width: 48px;
}

/* ### MAIN - NAV ### */

.nav-container {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        column-gap: 16px;
        width: 100%;
        padding: 32px 80px;
        background: #000;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.3s ease-in-out;
        overflow: hidden;
        z-index: 15;
}
.nav-container.open{
        clip-path: inset(0 0 0 0);
}

.nav-item-burger.close {
        position: absolute;
        transform: translate(0, -50%);
        top: 50%;
        right: 40px;
}

.nav {
        column-gap: 64px;
}
.nav .dropdown-menu {
        position: relative;
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 0;
        background: none;
        border: 0;
        border-radius: unset;
        z-index: 1;
}
.nav .menu-item a {
        color: #fff;
        padding: 0;
        margin: 0;
}
.nav .menu-item a:after{
        display: none;
}
.nav .menu-item a .caret {
        display: none;
}
.dropdown-menu .dropdown-item.active {
        background: none;
}

.nav > .menu-item {
        width: calc((100% / 4) - 48px);
}
.nav > .menu-item > a {
        padding-top: 16px;
        margin-bottom: 8px;
        font-size: 24px;
        font-weight: 800;
        cursor: default;
        pointer-events: none;
}
.nav > .menu-item .section-icon {
        display: flex;
        justify-content: center;
        padding-bottom: 16px;
        height: 64px;
        border-bottom: 1px solid #fff;
}
.nav .menu-item .dropdown-menu .menu-item {
        width: fit-content;
}
.nav .menu-item .dropdown-menu a {
        position: relative;
        line-height: 1;
        padding: 4px 0;
}
.nav .menu-item .dropdown-menu a:hover,
.nav .menu-item .dropdown-menu a:focus {
        background: none;
}
.nav .menu-item .dropdown-menu a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        background: var(--second-color);
        border-radius: 50%;
        transition: width .3s, height .3s;
        z-index: -1;
}

.nav .menu-item .dropdown-menu a:hover::before,
.nav .menu-item .dropdown-menu a:focus::before{
        width: 48px;
        height: 48px;
}

.nav-item-search, .nav-item-burger {
        transition: transform .3s;
}

.section-icon svg {
        width: 64px;
}
.section-icon:nth-of-type(1) svg {
        width: 58px;
}
.section-icon:nth-of-type(2) svg {
        width: 50px;
}


/* ### FOOTER ### */
#footer {
        position: relative;
        padding: 80px 0 40px 0;
        background: #000;
        color: #fff;
        font-size: 14px;
        margin-top: 104px;
}
.home #footer {
        margin-top: 0;
}
footer::before {
        content: "";
        position: absolute;
        top: 36px;
        left: 0;
        width: 100%;
        height: 1px;
        background: #fff;
}
#footer p {
        margin: 0;
}
.footer-inner{
        display: flex;
        justify-content: space-between;
        column-gap: 32px;
        max-width: 1280px;
        padding: 0 24px;
        margin: 0 auto;
}
footer .logos {
        display: flex;
        align-items: center;
        column-gap: 32px;
}
footer .logos .tcm svg {
        width: 88px;
}
footer .logos .ville svg {
        width: 200px;
}
footer .infos {
        position: relative;
        display: flex;
        flex-direction: column;
        row-gap: 16px;
}
footer .infos::before,
footer .infos::after {
        content: "";
        position: absolute;
        top: 0;
        width: 1px;
        height: 80%;
        background: #fff;
}
footer .infos::before{
        left: -3.5vw;
}
footer .infos::after {
        right: -3.5vw;
}
#footer .infos .name {
        font-size: 24px;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        margin: 0;
}
footer .contact {
        display: grid;
        grid-template-columns: 40% 60%;
        column-gap: 24px;
}
footer .contact p {
        color: #fff;
}
footer .contact-inner {
        position: relative;
}
footer .contact-inner::before {
        content: "";
        position: absolute;
        height: 100%;
        top: 0;
        left: -20px;
        width: 1px;
        background: #fff;
}
footer .newsletter {
        display: flex;
        flex-direction: column;
        row-gap: 8px;
}
footer .newsletter input {
        padding: 4px 16px;
        background: #858585;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 56px;
        max-width: 400px;
}
footer .newsletter input::placeholder {
        color: #c0c0c0;
}
footer .newsletter input:focus-visible {
        outline: 1px solid #fff;
}
footer .sub-pages {
        display: flex;
        flex-direction: column;
        row-gap: 16px;
}
.footer-nav {
        display: flex;
        flex-direction: column;
        row-gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
}
.footer-nav li {
        padding: 0;
        margin: 0;
}
.footer-nav li a {
        padding: 0;
        color: #fff;
        font-size: 14px;
        transition: .3s;
}
.footer-nav li a:hover {
        color: var(--primary-color);
}
#footer .menu-item a[aria-current=page]{
        color: var(--primary-color);
}
footer .socials-network {
        display: flex;
        align-items: center;
        column-gap: 16px;
}
footer .socials-network .facebook {
        position: relative;
        width: 16px;
}
footer .socials-network .instagram {
        position: relative;
        width: 24px;
}
footer .socials-network .facebook svg,
footer .socials-network .instagram svg{
        transition: .3s;
}

footer .socials-network .facebook:hover svg path,
footer .socials-network .instagram:hover svg path{
        fill: var(--primary-color);
}

@media (max-width: 1400px) {
        .category-container{
                display: none !important;
        }
        .header-sun{
                display: none;
        }
}

@media (max-width: 1200px) {
        header .logo svg{
                width: 128px;
        }

        footer .infos::before,
        footer .infos::after{
                display: none;
        }
}

@media (max-width: 992px) {
        header .logo svg {
                width: 96px;
        }
        .shortcut-nav-container {
                column-gap: 24px;
        }
        .shortcut-nav {
                display: none;
        }
        .shortcut-nav.mobile{
                display: flex;
        }

        .nav-container {
                align-items: center;
                justify-content: center;
                height: 100svh;
                padding: 24px 40px;
        }
        .nav-container-inner {
                display: flex;
                column-gap: 24px;
        }
        .nav {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                row-gap: 32px;
        }
        .nav > .menu-item{
                width: 100%;
                border: none;
                padding: 0 0 0 112px;
        }
        .nav > .menu-item::before {
                content: "";
                position: absolute;
                top: 50%;
                transform: translate(0, -50%);
                left: 84px;
                width: 1px;
                height: 90%;
                background: #fff;
        }
        .nav > .menu-item > a {
                padding-top: 0;
        }
        .nav > .menu-item .section-icon {
                position: absolute;
                top: 50%;
                left: 0;
                transform: translate(0, -50%);
                justify-content: flex-start;
                align-items: center;
                border-bottom: 0;
        }
        .nav-item-burger.close {
                transform: none;
                top: 24px;
                right: 24px;
        }
        .section-icon svg {
                width: 40px;
        }

        .header-category-container{
                display: none;
        }

        #footer {
                padding: 72px 0 32px 0;
        }
        .footer-inner{
                flex-direction: column;
                row-gap: 48px;
        }
        footer .contact {
                display: flex;
                column-gap: 40px;
        }
        footer .contact-inner::before {
                left: -20px;
        }
        .footer-nav {
                flex-direction: row;
                column-gap: 24px;
        }
}

@media (max-width: 768px) {
        .admin-bar header {
                top: 46px;
        }
        header {
                padding: 16px 24px;
        }
        .nav-item-burger svg {
                width: 40px;
        }

        .header-light .category-container,
        .category-container{
                gap: 16px;
                padding: 24px var(--margin-section);
        }
        .category-container.have-nav{
                padding: 24px var(--margin-section);
        }
        .category-container svg{
                width: 48px;
        }
        .category-container .title{
                font-size: 40px;
        }

        header.light .header-sun{
                bottom: -64px;
        }
        .header-sun svg {
                display: block;
                width: 232px;
                transition: width .3s;
        }
        .nav-container{
                padding: 24px 40px 24px 24px;
        }

        footer .contact-inner::before{
                display: none;
        }
        footer .contact {
                flex-direction: column;
                row-gap: 16px;
        }
}

@media (max-width: 576px) {
        header {
                padding: 16px;
        }
        header .logo svg {
                width: 64px;
        }
        header.light .logo svg {
                width: 64px;
        }

        .nav-item-burger.close {
                right: 16px;
        }

        .header-light .category-container,
        .category-container{
                gap: 12px;
                padding: 16px var(--margin-section);
        }
        .category-container.have-nav{
                padding: 16px var(--margin-section);
        }
        .category-container svg{
                width: 40px;
        }
        .category-container .title{
                font-size: 32px;
        }

        .footer-inner {
                padding: 0 16px;
        }
        .footer-nav {
                flex-direction: column;
        }
        footer .sub-pages {
                justify-content: space-between;
        }
}