/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.5.1767619821
Updated: 2026-01-05 13:30:21

*/

/* --- Variables --- */
:root {
    --ctp-title: #0F0B33;
    --ctp-text: #4C4A5F;
    --ctp-bg: #FAFDFF;
    --ctp-font: 'Figtree', sans-serif;
}

/* CORRECTIF SCROLL : Empêche le site de bouger horizontalement */
html, body {
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

/* --- Navbar Styles (Desktop) --- */
.ctp-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: var(--ctp-bg);
    
    /* Desktop : Sticky (reste en haut) */
    position: sticky; 
    top: 0;
    z-index: 1000;
    
    font-family: var(--ctp-font);
}

/* Logo */
.ctp-logo-img {
    height: 50px; 
    width: auto;
    object-fit: contain;
}

/* Liens Desktop */
.ctp-nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.ctp-nav-links li {
    margin-left: 2.5rem;
}

.ctp-nav-links a {
    text-decoration: none;
    color: var(--ctp-text);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.ctp-nav-links a:hover {
    color: var(--ctp-title);
}

/* Masqués sur Desktop */
.ctp-mobile-btn, .ctp-burger {
    display: none;
}

.ctp-burger div {
    width: 25px;
    height: 3px;
    background-color: var(--ctp-title);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.ctp-burger.toggle{
    z-index: 10000; /* Augmenté pour être sûr qu'il est au-dessus du menu ouvert */
}
.all-cards {
    display: flex !important;
    flex-direction: column !important;
}
.card1 {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 50px !important;
}
.card2 {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
}
.card3 {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 150px !important;
}
.card4 {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 200px !important;
}

/* --- RESPONSIVE (Mobile & Tablette < 960px) --- */
@media screen and (max-width: 960px) {
    
    /* Navbar Relative sur mobile (défile avec la page) */
    .ctp-navbar {
        position: relative;
        top: auto;
        padding: 0 20px; 
    }

    .ctp-nav-links {
        position: fixed; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        height: calc(100vh - 80px); 
        
        background-color: var(--ctp-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        
        padding-top: 2rem !important;
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 9999; 

        /* Caché par défaut */
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden; 
        transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    }

    .ctp-nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
    }

    /* Quand le menu est OUVERT */
    .nav-active {
        transform: translateX(0%);
        opacity: 1;
        visibility: visible;
        /* z-index supprimé ici car hérité de .ctp-nav-links (9999) */
    }
    
    /* Apparition progressive des liens */
    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.2s;
    }

    .ctp-burger { display: block; }
    .ctp-mobile-btn { display: block; }

    .ctp-mobile-btn a {
        background-color: var(--ctp-title);
        color: #ffffff !important;
        padding: 12px 30px;
        border-radius: 5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }
}

/* Animation Burger */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* --- Forminator & Icons --- */
.forminator-col .forminator-field button.forminator-button.forminator-button-submit {
    background-color: var(--e-global-color-primary);
    font-family: "Figtree", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.13);
    border-radius: 10px 10px 10px 10px;
    padding: 23px 31px 23px 31px;
    margin: 0;
}
h3.elementor-icon-box-title span{
    display: flex;
    gap: 10px;
}