/* 
Theme Name: Duwood - Theme 2025
Description: Le thème Duwood est basé sur Hello Elementor Child, un thème enfant de Hello Elementor, créé par l'équipe d'Elementor.
Author: Armstrong
Author URI: https://armstrong.space/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ---------------------------------------------- */
/* General */
/* ---------------------------------------------- */

html,
body {
    overscroll-behavior: none;
}

/* ----- Custom Cursor ----- */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ED2939;
    pointer-events: none;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* font */
    color: #FFF;
    font-family: "degular-text";
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
}

.cursor-follower span {
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 10000;
}

.cursor-follower.hover,
.cursor-follower.drag {
    width: 53px;
    height: 53px;
}

.cursor-follower.hover span,
.cursor-follower.drag span {
    opacity: 1;
}

a,
button,
summary {
    cursor: none !important;
}

@media screen and (max-width: 1024px) {
    .cursor-follower {
        display: none;
    }

    a,
    button,
    summary {
        cursor: auto !important;
    }
}

/* ----- Buttons ----- */
.elementor-button-content-wrapper:has(.elementor-button-icon) {
    align-items: center;
}

.elementor-button svg {
    stroke: currentColor;
}

.elementor-button:hover svg,
.elementor-button:focus svg {
    fill: none !important;
    stroke: currentColor;
}

.arrow_button .elementor-button svg {
    padding-top: 7px;
}

@media screen and (max-width: 767px) {
    .arrow_button .elementor-button svg {
        padding-top: 2px;
    }
}

/* ----- Accordeon ----- */
.elementor-widget-n-accordion .e-n-accordion details.e-n-accordion-item summary .e-opened {
    transition: .75s;
}

.elementor-widget-n-accordion .e-n-accordion details.e-n-accordion-item summary[aria-expanded="true"] .e-opened {
    transform: rotate(225deg);
}

/* ----- Swiper ----- */

.box_swiper_carousel .swiper-pagination {
    max-width: 90%;
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box_swiper_carousel .swiper-pagination span {
    border-radius: 0;
    width: 10%;
    transition-duration: .5s;
}

.image_carousel .swiper .swiper-wrapper {
    transition-timing-function: linear;
}

/* ----- Custom BackToTop ----- */
#duwood_backToTop {
    position: fixed;
    bottom: 30px;
    right: 96px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Affichage quand actif */
#duwood_backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Ne pas afficher sur mobile */
@media (max-width: 1024px) {
    #duwood_backToTop {
        display: none !important;
    }
}

/* ---------------------------------------------- */
/* Main Navigation */
/* ---------------------------------------------- */

/* Custom style for last nav element */
.main_navigation.elementor-element .elementor-nav-menu .menu-item:last-child {
    font-style: italic;
}

/* Current page style */
.main_navigation.elementor-element .elementor-nav-menu .current_page_item .elementor-item {
    font-weight: 800;
    position: relative;
}

.main_navigation.elementor-element .elementor-nav-menu .current_page_item .elementor-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 22px;
    height: 3px;
    background-color: var(--e-global-color-dd0e70f);
}

@media screen and (max-width: 1024px) {
    .main_navigation.elementor-element .elementor-nav-menu .current_page_item .elementor-item::after {
        content: none;
    }
}

/* header at scroll */
header>.e-con-inner {
    transition: padding-top .4s, padding-bottom .4s;
}

header.reduce_header {
    transform: translateY(-100%);
}

header.reduce_header.show_header {
    transform: translateY(0);
}

header.reduce_header>.e-con-inner {
    padding-top: 26px;
    padding-bottom: 26px;
}

header svg #duwood_logo_end {
    transition: all .5s linear;
}

header svg #duwood_logo_first_letter,
header svg #duwood_logo_second_letter,
header svg #duwood_logo_third_letter,
header svg #duwood_logo_four_letter,
header svg #duwood_logo_five_letter {
    transition: opacity .3s linear;
}

header svg #duwood_logo_five_letter {
    transition-delay: .45s;
}

header svg #duwood_logo_four_letter {
    transition-delay: .35s;
}

header svg #duwood_logo_third_letter {
    transition-delay: .25s;
}

header svg #duwood_logo_second_letter {
    transition-delay: .15s;
}

header svg #duwood_logo_first_letter {
    transition-delay: .05s;
}

header.reduce_header svg #duwood_logo_first_letter,
header.reduce_header svg #duwood_logo_second_letter,
header.reduce_header svg #duwood_logo_third_letter,
header.reduce_header svg #duwood_logo_four_letter,
header.reduce_header svg #duwood_logo_five_letter {
    opacity: 0;
}

header.reduce_header svg #duwood_logo_five_letter {
    transition-delay: 0s;
}

header.reduce_header svg #duwood_logo_four_letter {
    transition-delay: .1s;
}

header.reduce_header svg #duwood_logo_third_letter {
    transition-delay: .2s;
}

header.reduce_header svg #duwood_logo_second_letter {
    transition-delay: .3s;
}

header.reduce_header svg #duwood_logo_first_letter {
    transition-delay: .4s;
}

header.reduce_header svg #duwood_logo_end {
    transform: translateX(calc(54px - 100%));
}

header.reduce_header .elementor-nav-menu>li:not(:first-child)>a {
    margin-inline-start: 16px;
}

header.reduce_header .elementor-nav-menu--main .elementor-item {
    font-family: var(--e-global-typography-9c108c0-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-9c108c0-font-size) !important;
    font-weight: var(--e-global-typography-9c108c0-font-weight) !important;
    text-transform: var(--e-global-typography-9c108c0-text-transform) !important;
    line-height: var(--e-global-typography-9c108c0-line-height) !important;
    letter-spacing: var(--e-global-typography-9c108c0-letter-spacing) !important;
}

header.reduce_header .elementor-nav-menu>li:not(:last-child)>a {
    margin-inline-end: 16px;
}

@media screen and (max-width: 1024px) {
    header.reduce_header>.e-con-inner {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.carousel_gsap {
    transition: none !important;
}

.carousel_gsap.p_right .swiper {
    padding-right: 150px;
}

@media screen and (max-width: 1024px) {
    .carousel_gsap.p_right .swiper {
        padding-right: 75px;
    }
}

@media screen and (max-width: 767px) {
    .carousel_gsap.p_right .swiper {
        padding-right: 35px;
    }
}

/* ---------------------------------------------- */
/* Contact Form */
/* ---------------------------------------------- */
.elementor-form .elementor-field-type-acceptance .elementor-field-option {
    display: flex;
    gap: 20px;
}

.elementor-form .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid var(--e-global-color-text);
    background-color: var(--e-global-color-383336d) !important;
    display: block;
    margin-top: 8px;
}

.elementor-form .elementor-field-type-acceptance .elementor-field-option label {
    width: calc(100% - 40px);
    font-size: var(--e-global-typography-text-font-size) !important;
    line-height: var(--e-global-typography-text-line-height) !important;
}

/* ---------------------------------------------- */
/* Footer */
/* ---------------------------------------------- */
.footer_contact a {
    text-decoration: underline;
    text-underline-position: from-font;
    color: inherit;
    transition-duration: 0.3s;
}

.footer_contact a:hover {
    color: var(--e-global-color-2f5f5e0);
}

/* ---------------------------------------------- */
/* Home */
/* ---------------------------------------------- */
.home_news_carousel .elementor-loop-container .swiper-wrapper div.swiper-slide:nth-of-type(2n) .e-con-full {
    background-color: var(--e-global-color-6e3e26c);
}

/* ---------------------------------------------- */
/* Projects */
/* ---------------------------------------------- */

.projets_cat_filter button.e-filter-item[aria-pressed="true"] {
    font-weight: 800 !important;
}

.projets_cat_filter button.e-filter-item:not(:last-of-type):before {
    content: '—';
    padding-right: 7px;
    font-weight: 400 !important;
    color: var(--e-filter-normal-text-color) !important;
}

.project_tags_filter_icon {
    cursor: pointer;
}

.project_tags_filter {
    display: none;
}

.template_project_content h2 {
    margin-top: 0px;
    margin-bottom: 50px;
    padding-bottom: 7px;
    color: var(--e-global-color-text);
    border-bottom: 1px solid var(--e-global-color-text);
    max-width: 60%;
    /* font */
    font-weight: 700;
}

@media screen and (max-width: 1024px) {
    .template_project_content h2 {
        max-width: 75%;
    }
}

@media screen and (max-width: 767px) {
    .template_project_content h2 {
        max-width: 90%;
        /* font */
        font-size: 1em;
    }
}

.project_keywords {
    margin-bottom: 75px;
}

.project_keywords .project_keyword {
    display: inline-block;
    padding: 2px 22px;
    margin-right: 24px;
    margin-bottom: 24px;
    border: 1px solid #D4D4D4;
    color: #D4D4D4;
    border-radius: 16px;
    /* font */
    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    font-weight: 200;
    text-transform: var(--e-global-typography-text-text-transform);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

.project_content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 80px;
}

.project_content .project_content_item.width_12 {
    grid-column: span 12;
}

.project_content .project_content_item.width_8 {
    grid-column: span 8;
}

.project_content .project_content_item.width_6 {
    grid-column: span 6;
}

.project_content .project_content_item.width_4 {
    grid-column: span 4;
}

.project_content .project_content_item.width_3 {
    grid-column: span 3;
}

.project_content .project_content_item .project_content_image {
    height: 100%;
    display: flex;
    align-items: center;
}

.project_content .project_content_item .project_content_image img {
    width: 100%;
}

.project_content .project_content_item .project_content_text {
    max-width: 65%;
    color: var(--e-global-color-text);
    /* font */
    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

.project_content .project_content_item .project_content_swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media screen and (max-width: 1500px) {
    .project_content .project_content_item .project_content_text {
        max-width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .project_content {
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
    }

    .project_content .project_content_item.width_12 {
        grid-column: span 6;
    }

    .project_content .project_content_item.width_8 {
        grid-column: span 4;
    }

    .project_content .project_content_item.width_6 {
        grid-column: span 3;
    }

    .project_content .project_content_item.width_4 {
        grid-column: span 2;
    }

    .project_content .project_content_item.width_3 {
        grid-column: span 2;
    }

    .project_content .project_content_item .project_content_text {
        max-width: 100%;
    }

    .project_content .project_content_item .project_content_swiper {
        padding-right: 0;
    }

    .project_content .project_content_item .project_content_swiper .swiper-slide img {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .project_keywords {
        margin-bottom: 50px;
    }

    .project_keywords .project_keyword {
        margin-right: 12px;
        margin-bottom: 12px;
    }

    .project_content {
        gap: 20px;
    }
}

/* ---------------------------------------------- */
/* News */
/* ---------------------------------------------- */
.news_list .elementor-loop-container div.e-loop-item:nth-of-type(3n+1) .e-con-full {
    background-color: var(--e-global-color-2611314);
}

.news_list .elementor-loop-container div.e-loop-item:nth-of-type(3n+2) .e-con-full {
    background-color: var(--e-global-color-6e3e26c);
}

.template_post_content h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    /* font */
    font-size: var(--e-global-typography-0e01e01-font-size);
    font-weight: 700;
    line-height: 131%;
    letter-spacing: var(--e-global-typography-0e01e01-letter-spacing);
}

.template_post_content p {
    margin-bottom: 40px;
}

.template_post_content p a {
    word-break: break-all;
}

.template_post_content figure {
    width: 100%;
    height: auto;
    margin: 110px 0;
}

.template_post_content figure img {
    width: 100%;
    height: auto;
}

.cookie_content #cmplz-document {
    max-width: 100%;
}

.cookie_content #cmplz-document h2 {
    margin-top: 40px;
    margin-bottom: 0px;
    padding-bottom: 20px;
    /* font */
    font-family: var(--e-global-typography-b594208-font-family), Sans-serif;
    font-size: var(--e-global-typography-b594208-font-size);
    font-weight: var(--e-global-typography-b594208-font-weight);
    text-transform: var(--e-global-typography-b594208-text-transform);
    line-height: var(--e-global-typography-b594208-line-height);
    letter-spacing: var(--e-global-typography-b594208-letter-spacing);
    color: var(--e-global-color-text);
}

.cookie_content #cmplz-document p {
    margin-bottom: 40px;
    font-family: var(--e-global-typography-9c108c0-font-family), Sans-serif;
    font-size: var(--e-global-typography-9c108c0-font-size);
    text-transform: var(--e-global-typography-9c108c0-text-transform);
    line-height: var(--e-global-typography-9c108c0-line-height);
    color: var(--e-global-color-text);
}

.cookie_content #cmplz-document p.cmplz-subtitle {
    margin-bottom: 20px;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    text-transform: var(--e-global-typography-text-text-transform);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

.cookie_content #cmplz-document a,
.cookie_content #cmplz-document a:hover {
    color: var(--e-global-color-accent);
}

.cookie_content #cmplz-document li {
    font-family: var(--e-global-typography-9c108c0-font-family), Sans-serif;
    font-size: var(--e-global-typography-9c108c0-font-size);
    text-transform: var(--e-global-typography-9c108c0-text-transform);
    line-height: var(--e-global-typography-9c108c0-line-height);
    color: var(--e-global-color-text);
}