/* 
Theme Name: Azur Team Events
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Ideal-com
Author URI: https://www.ideal-com.com/
Template: hello-elementor
Version: 2.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
*/

/******* COMMONS *****/
.ate-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.4s ease;
}

body.admin-bar .ate-fixed-header {
    top: 32px;
}

main.site-main, 
main.jet-theme-core-location {
    padding-top: 86px;
}

.ate-call-header .elementor-icon-wrapper {
    height: 25px;
}

.ate-call-header, 
.ate-hide-desktop {
    display: none !important;
}

.ate-language-switcher li.wpml-ls-current-language {
    position: relative;
}

.ate-language-switcher li.wpml-ls-current-language a {
    color: #847D7D !important;
}

.ate-language-switcher li.wpml-ls-first-item {
    position: relative;
    padding-right: 15px;
}

.ate-language-switcher li.wpml-ls-first-item::after {
    content: "/";
    display: inline-block;
    position: absolute;
    top: 2px;
    right: 0;
    color: #ffffff;
}

.ate-language-switcher li.wpml-ls-first-item a {
    padding-right: 15px;
}

.ate-language-switcher li a {
    padding-left: 5px;
}

.ate-language-switcher li a {
    text-transform: uppercase;
}

.ate-language-switcher li.wpml-ls-current-language a {
    color: #847D7D !important;
}

.ate-language-switcher li:first-child a {
    padding-right: 0;
}

/******* MAIN *****/
.ate-post-readmore {
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 220ms ease, transform 220ms ease;
}

.ate-post-card-img {
    overflow: hidden;
    position: relative;
}

.ate-post-card-img img {
    transition: transform 320ms;
    will-change: transform;
    backface-visibility: hidden;
}

.ate-listing-grid-posts .jet-listing-grid__item:hover .ate-post-card-img img {
    transform: scale(1.06);
}

.ate-listing-grid-posts .jet-listing-grid__item:hover .ate-post-readmore {
    opacity: 1;
}

.ate-grid-posts .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(var(--columns), 1fr) !important;
    gap: 0px;
}

.ate-grid-posts .jet-listing-grid__items >.jet-listing-grid__item {
    max-width: 100%;
    width: 100%;
    flex: none;
}


.ate-parcours-chiffre .icon-box {
    display: flex;
    height: 100%;
    align-items: center;
}

.ate-parcours-chiffre .title {
    width: 40px;
    margin-right: 8px;
}

.ate-parcours-chiffre .icon-box-description {
    margin-bottom: 0;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav-list .tab-nav {
    display: flex;
    flex-direction: column;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav {
    padding: 10px 0px;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav-list .tab-nav .tab-title {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav-list .tab-nav:hover .tab-title{
    background-color: #EEEEEE;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav-list .tab-nav.active .tab-title {
    background-color: #847D7D;
    color: #ffffff !important;
}

.ate-about-tabs .jeg-elementor-kit.jkit-tabs.layout-vertical .tab-nav-list .tab-nav:last-child {
    border-width: 0 !important;
}

.ate-post-meta-separator .elementor-icon {
    position: relative;
    top: 3px;
}

.ate-post-terms .jet-listing {
    line-height: 15px;
}

.ate-search-filter .jet-search-filter .jet-search-filter__submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 9;
}

.ate-search-filter .jet-search-filter__input:focus {
    outline: none;
    border-color: #EEEEEE !important;
}

.ate-post-content .jet-listing-dynamic-field__content h2, 
.ate-post-content .jet-listing-dynamic-field__content h3, 
.ate-post-content .jet-listing-dynamic-field__content h4, 
.ate-post-content .jet-listing-dynamic-field__content strong {
    color: #000000 !important;
}

.ate-post-content .jet-listing-dynamic-field__content h2 {
    font-size: 38px;
}

.ate-post-content .jet-listing-dynamic-field__content h3 {
    font-size: 24px;
}

.ate-post-content .jet-listing-dynamic-field__content .wp-block-image, 
.ate-post-content .jet-listing-dynamic-field__content .wp-element-caption {
    display: block;
    text-align: center;
}

.ate-post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ate-post-navigation .nav-links .nav-previous, 
.ate-post-navigation .nav-links .nav-next {
    max-width: 48%;
}

.ate-post-navigation .nav-links .nav-next {
    text-align: right;
}

.ate-post-navigation a:hover {
    color: #4A4141;
}

.ate-txt-break2 {
    display: block;
}

/*** FORMS ***/
.ate-form {
    padding: 30px;
    background: black;
    color: white;
}

.ate-form .gform_heading .gform_title{
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-family: 'Gilda Display', 'arial';
}

.ate-form form .ginput_container input, 
.ate-form form .ginput_container textarea, 
.ate-form form .ginput_container select {
    background: #4A4141;
    color: white !important;
    font-size: 16px !important;
    font-family: 'Raleway', 'arial' !important;
}

.ate-form form .ginput_container input, 
.ate-form form .ginput_container textarea {
    padding: 24px;
}

.ate-form form .ginput_container select {
    padding: 0 24px;
    height: 50px;
    line-height: 50px;
    border-radius: 0px;
}

.ate-form form .ginput_container input::placeholder, .ate-form form .ginput_container textarea::placeholder, 
.ate-form .gform-theme--framework .gfield:where(.gfield--type-fileupload,.gfield--input-type-fileupload) .ginput_preview .gfield_fileupload_filename {
    color: white;
}

.ate-form form .ginput_container #gfield_upload_rules_2_9, .ate-form form .ginput_container.ginput_container_textarea .charleft.ginput_counter.gfield_description {
    display: none;
}

.ate-form form #gform_submit_button_2, .ate-form form #gform_submit_button_4{
    margin: 0 auto;
    background: white;
    color: black;
    border-radius: 0px;
    padding: 15px 30px;
}

.ate-form form .gfield--input-type-html{
    display: flex;
    align-items: center;
}

.ate-form form .gfield--input-type-html p {
    margin-bottom: 0px;
}

#input_2_9 {
    width: 100%;
    color: transparent;
    padding: 0px;
    border: none;
    border-top: 1px solid #4A4141;
}

#input_2_9::file-selector-button {
    padding: 4px 28px;
    background-color: #000;
    border: 1px solid #fff;
    border-radius: 0px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

/* Hover */
#input_2_9::file-selector-button:hover {
    border: 2px solid #fff;
}

.ginput_container_fileupload .gf-file-name {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #ffffff;
    font-weight: 300;
}

@media (min-width: 640px) {
    .gform-theme--foundation .gform_fields {
        row-gap: 20px;
    }
}

/******** PLAN DU SITE *********/

/* ===== CONTAINER SITEMAP ===== */
.ate-sitemap .wsp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2b2b2b;
    border-radius: 12px;
}

/* ===== GRID 2 COLONNES ===== */
.ate-sitemap .wsp-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

/* ===== COLONNES EXPLICITES ===== */
.ate-sitemap .wsp-pages-title {
    grid-column: 1;
    grid-row: 1;
}

.ate-sitemap .wsp-pages-list {
    grid-column: 1;
    grid-row: 2;
}

.ate-sitemap .wsp-posts-title {
    grid-column: 2;
    grid-row: 1;
}

.ate-sitemap .wsp-posts-list {
    grid-column: 2;
    grid-row: 2;
}

/* ===== TITRES H2 ===== */
.ate-sitemap .wsp-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e1e8ed;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

/* ===== LISTES PRINCIPALES ===== */
.ate-sitemap .wsp-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ate-sitemap .wsp-container li {
    margin-bottom: 0;
}

/* ===== ITEMS DE PAGES ===== */
.ate-sitemap .wsp-pages-list > li {
    margin-bottom: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ate-sitemap .wsp-pages-list > li:hover {
    background: #ffffff;
    border-left-color: #000;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
    transform: translateX(4px);
}

/* ===== PAGE COURANTE ===== */
.ate-sitemap .current_page_item {
    background: #f0f7ff !important;
    border-left-color: #000 !important;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2) !important;
}

.ate-sitemap .current_page_item > a {
    font-weight: 600;
    color: #000;
}

/* ===== LIENS ===== */
.ate-sitemap .wsp-container a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ate-sitemap .wsp-container a:hover {
    color: #000;
}

/* ===== PAGES AVEC ENFANTS ===== */
.ate-sitemap .page_item_has_children {
    padding-bottom: 12px !important;
}

.ate-sitemap .page_item_has_children > a {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

/* ===== SOUS-PAGES (CHILDREN) ===== */
.ate-sitemap .page_item_has_children > ul.children {
    margin-top: 10px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 2px solid #e5e7eb;
}

.ate-sitemap .children li {
    padding: 6px 12px;
    margin-bottom: 4px;
    background: #f9fafb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ate-sitemap .children li:hover {
    background: #f3f4f6;
    padding-left: 16px;
}

.ate-sitemap .children li a {
    font-size: 0.9rem;
    color: #6b7280;
}

.ate-sitemap .children li:hover a {
    color: #000;
    font-weight: 800;
}



/* ===== SECTION ARTICLES ===== */
.ate-sitemap .wsp-posts-list > li {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.ate-sitemap .wsp-posts-list > li:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===== TITRE CATÉGORIE ===== */
.ate-sitemap .wsp-category-title {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid #e5e7eb;
}

.ate-sitemap .wsp-category-title a {
    color: #1f2937;
    display: inline;
    font-weight: 600;
}

.ate-sitemap .wsp-category-title a:hover {
    color: #4a90e2;
}

/* ===== LISTE DES POSTS ===== */
.ate-sitemap .wsp-posts-list .wsp-posts-list {
    margin-top: 10px;
}

.ate-sitemap .wsp-post {
    padding: 10px 14px;
    margin-bottom: 6px;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.ate-sitemap .wsp-post:hover {
    background: #f0f7ff;
    border-left-color: #4a90e2;
    padding-left: 18px;
}

.ate-sitemap .wsp-post a {
    font-size: 0.9rem;
    color: #4b5563;
}

.ate-sitemap .wsp-post:hover a {
    color: #2563eb;
}

/* ===== CATÉGORIE VIDE ===== */
.ate-sitemap .wsp-posts-list > li:has(.wsp-category-title):not(:has(.wsp-post)) {
    opacity: 0.6;
}

.gf-file-upload-custom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== CUSTOM BUTTON UPLOAD FILE ===== */

.ate-form .gf-file-upload-custom .gf-custom-file-button {
    padding: 4px 28px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 0px !important;
    cursor: pointer;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease !important;
}

.ate-form .gf-file-upload-custom .gf-custom-file-button:hover {
    border: 2px solid #fff !important;
}

.gf-file-name {
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* Hide the native file input */
.ate-form .ginput_container_fileupload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 900px) {
    .ate-sitemap .wsp-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .ate-sitemap .wsp-pages-title,
    .ate-sitemap .wsp-pages-list,
    .ate-sitemap .wsp-posts-title,
    .ate-sitemap .wsp-posts-list {
        grid-column: 1;
    }

    .ate-sitemap .wsp-pages-title {
        grid-row: 1;
    }

    .ate-sitemap .wsp-pages-list {
        grid-row: 2;
    }

    .ate-sitemap .wsp-posts-title {
        grid-row: 3;
    }

    .ate-sitemap .wsp-posts-list {
        grid-row: 4;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 600px) {
    .ate-sitemap .wsp-container {
        padding: 30px 15px;
        gap: 30px;
        border-radius: 0;
    }

    .ate-sitemap .wsp-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .ate-sitemap .wsp-pages-list > li {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .ate-sitemap .page_item_has_children > ul.children {
        margin-left: 8px;
        padding-left: 12px;
    }

    .ate-sitemap .wsp-posts-list > li {
        padding: 15px;
    }
}

/* ===== AMÉLIORATION ACCESSIBILITÉ ===== */
.ate-sitemap .wsp-container a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== SCROLL SMOOTH ===== */
.ate-sitemap .wsp-container {
    scroll-behavior: smooth;
}

/******* RESPONSIVE *****/
@media screen and (min-width: 1025px) and (max-width: 1632px) {
    .ate-header-menu .jeg-elementor-kit.jkit-nav-menu .jkit-menu-wrapper ul.jkit-menu > li > a {
        font-size: 13px !important;
        padding: 5px 5px 5px 5px !important;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1380px) {
    .ate-header-cta .jeg-elementor-kit.jkit-button a {
        letter-spacing: 1px !important;
        padding: 15px 15px 15px 15px !important;
    }

    .ate-avis-verifies img {
        width: 150px !important;
    }

    .ate-header-col-right {
        gap: 30px 20px !important;
    }

    .ate-header-menu ul.jkit-menu.jkit-menu-direction-flex {
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    .ate-call-header {
        display: block !important;
    }

    .ate-header-cta {
        display: none;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .ate-col-footer-rx {
        gap: 20px !important;
    }

    .ate-hide-desktop {
        display: block !important;
    }
}

@media screen and (min-width: 1025px) {
    .ate-container > .e-con-inner{
        width: 90% !important;
        max-width: 1340px !important;
    }

    .ate-txt-break {
        display: block;
    }

    .ate-icon-box-about .jkit-icon-box-wrapper {
        min-height: 344.64px;
    }
}

@media screen and (max-width: 1541px) {
    .ate-avis-verifies {
        width: 130px;
    }

    .ate-header-cta .elementor-button {
        padding: 15px !important;
        font-size: 13px !important;
    }

    .ate-header-rx .elementor-social-icons-wrapper {
        --grid-column-gap: 5px;
    }

     .ate-header-rx .elementor-social-icons-wrapper a {
        width: 30px;
        height: 30px;
        --icon-padding: 0.35em;
     }

    .ate-header-col-right {
        gap: 30px 10px !important;
    }
}

@media screen and (min-width: 992px) {
    .ate-module-hover-txt .heading-section-description, 
    .ate-module-hover-btn .jeg-elementor-kit.jkit-icon-box .icon-box.icon-box-body .icon-box-button {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: translateY(20px);
        transition: opacity 0.5s ease, 
                    transform 0.5s ease, 
                    visibility 0.5s,
                    max-height 0.5s ease;
    }

    .ate-module-hover-txt:hover .heading-section-description, 
    .ate-module-hover-btn:hover .jeg-elementor-kit.jkit-icon-box .icon-box.icon-box-body .icon-box-button {
        opacity: 1;
        visibility: visible; 
        transform: translateY(0);
    }

    .ate-module-hover-txt:hover .heading-section-description {
        max-height: 100px; 
    }

    .ate-module-hover-btn:hover .jeg-elementor-kit.jkit-icon-box .icon-box.icon-box-body .icon-box-button {
        max-height: 45px; 
    }
}

@media screen and (min-width: 768px) {
    .ate-sticky-sidebar {
        position: sticky;
        position: -webkit-sticky;
        top: 100px;
        align-self: flex-start;
    }
}

@media screen and (max-width: 1024px) {
    .ate-hide-desktop {
        display: block !important;
    }

    body.admin-bar main.site-main, 
    body.admin-bar main.jet-theme-core-location {
        padding-top: 70px;
    }
}

@media screen and (max-width: 767px) {
    .ate-post-content .jet-listing-dynamic-field__content h2 {
        font-size: 30px;
    }

    .ate-post-navigation .nav-links {
        flex-direction: column;
    }

    .ate-post-navigation .nav-links .nav-previous, 
    .ate-post-navigation .nav-links .nav-next {
        max-width: 100%;
        text-align: left;
    }

    .ate-parcours-chiffre .icon-box {
        flex-direction: column;
    }

    .ate-parcours-chiffre .title {
        width: auto;
        margin-right: 0;
    }

    .ate-deps-tabs .tab-navigation .tab-nav-list {
        flex-wrap: wrap !important;
    }

    .ate-grid-posts .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
}