/*
 Theme Name: Thème hello-child
 Template: hello-elementor
 Version: 1.0
*/

/* Ajoutez vos styles personnalisés ici */

/* === HEADER STICKY === */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.35s ease-in-out;
    background-color: #ffffffcc; /* adapte à ton design */
}

/* Classe ajoutée/retirée en JS pour cacher le header */
.site-header.header--hidden {
    transform: translateY(-100%);
}

/* IMPORTANT : évite que le contenu "saute" sous le header fixed */
body {
    padding-top: 90px; /* remplace par la hauteur réelle de ton header */
}

/* === SOULIGNEMENT MENU === */
.main-navigation ul li a {
    position: relative;
    padding-bottom: 6px;
}

.main-navigation ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: currentColor; /* ou remplace par ta couleur de marque, ex: #0073e6 */
    transition: width 0.3s ease;
}

/* Au survol */
.main-navigation ul li a:hover::after {
    width: 100%;
}

/* Page active : reste soulignée */
.main-navigation ul li.current-menu-item a::after,
.main-navigation ul li.current_page_item a::after {
    width: 100%;
}

/* CONTACT Form */

#nf-form-1-cont {
	font-size: 16px !important;
}

.nf-form-fields-required {
	font-size: 16px !important;
}