/**
* CSS THEME ENFANT
*/

.header2 .logo3 img {
    height: 80px;
}

.header2 .logo3 {
    padding: 15px 0 15px;
}

.mainmenu > ul > li > a:hover,
.heading-meipaly-custom h2:hover,
.wp-child-theme-meipaly-child .banner_content h4 a:hover,
.wp-child-theme-meipaly-child .slider-subtitle,
.wp-child-theme-meipaly-child .footer_1 .aboutwidget p,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_categories ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_archive ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_recent_comments ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_pages ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_recent_entries ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_meta ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_nav_menu ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.meipaly_social_widget ul li a:hover {
    background: -webkit-linear-gradient(to right, #92FE9D, #00C9FF); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #92FE9D, #00C9FF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.wp-child-theme-meipaly-child .back,
.wp-child-theme-meipaly-child .ab_img2:after,
.wp-child-theme-meipaly-child .agency_img1:after,
.wp-child-theme-meipaly-child .input-form.reqError,
.wp-child-theme-meipaly-child input.input-form:focus,
.wp-child-theme-meipaly-child textarea.input-form:focus,
.wp-child-theme-meipaly-child .ab_border,
.wp-child-theme-meipaly-child .subscribefrom input[type="email"]:focus,
.wp-child-theme-meipaly-child .sidebar .meipaly_servicequery input[type="text"]:focus,
.wp-child-theme-meipaly-child .sidebar .meipaly_servicequery input[type="email"]:focus,
.wp-child-theme-meipaly-child .sidebar .meipaly_servicequery textarea:focus,
.wp-child-theme-meipaly-child input.input-form:focus, textarea.input-form:focus,
.wp-child-theme-meipaly-child .contactFrom input:focus,
.wp-child-theme-meipaly-child .contactFrom textarea:focus {
    border-color: transparent;
    border-image: linear-gradient(to right, #92FE9D, #00C9FF) 1;
}

.wp-child-theme-meipaly-child .common_btn.red_bg:after,
.wp-child-theme-meipaly-child .common_btn:after,
.wp-child-theme-meipaly-child .singleFeature:hover .f_count,
.wp-child-theme-meipaly-child .singleFeature:hover .featurebar {
    background: #00C9FF; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #92FE9D, #00C9FF); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #92FE9D, #00C9FF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.heading-meipaly-custom h2 {
    font-size: 50px;
    line-height: 60px;
    font-weight: 400;
    color: #000;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 25px;
}

.title-project-footer h2 span,
.heading-meipaly-custom h2 span {
    font-size: 4rem;
    font-weight: 200;
    color: inherit;
}

.elementor-column-img-meipaly-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-column-img-meipaly-child .elementor-widget-container {
    position: relative;
    aspect-ratio: 4/3; /* par exemple */
    width: 100%;
    max-width: 800px;
}

.wp-child-theme-meipaly-child h2.sec_title {
    font-size: 45px;
}

/********* SLIDER *************/
.wp-child-theme-meipaly-child .js-text-slider {
    --transition-time: 0.6s;
    font-size: 50px !important;
    font-weight: 600;
    height: 1em !important;
    line-height: 1em !important;
    margin-top: 21px;
    overflow: hidden;
    text-transform: uppercase;
    cursor: default;
    transition: opacity 0.3s ease-in-out;
}

.wp-child-theme-meipaly-child .js-text-slider div {
    display: flex;
    flex-direction: column;
    gap: 1em;
    transform: translateY(calc(var(--step, 0) * -2em));
    transition: transform var(--transition-time) ease-in-out;
}

/* 💡 Effet visuel doux au survol */
.wp-child-theme-meipaly-child .js-text-slider:hover {
    opacity: 0.7;
}

/************ END SLIDER *********/


/**************** FOOTER ***********/
.wp-child-theme-meipaly-child .title-project-footer h2.sec_title{
    font-size: 50px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 60px;
    letter-spacing: 2px;
    margin: 0;
}

.wp-child-theme-meipaly-child .footer_1 .widget {
    padding: 0 0 20px;
}

.wp-child-theme-meipaly-child .footer_1 .widget .widget_title {
    margin: 0 0 20px;
}

.wp-child-theme-meipaly-child .footer_1 .widget.widget_categories ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_archive ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_recent_comments ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_pages ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_recent_entries ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_meta ul li a:hover,
.wp-child-theme-meipaly-child .footer_1 .widget.widget_nav_menu ul li a:hover {
    color: inherit;
}

.wp-child-theme-meipaly-child .footer_1 .aboutwidget {
    display: flex;
    justify-content: start;
    align-items: center;
}

.wp-child-theme-meipaly-child .footer_1 .aboutwidget a {
    flex: 1;
}

.wp-child-theme-meipaly-child .footer_1 .aboutwidget p {
    flex: 2;
    font-size: 3.2rem;
    margin-left: 0.5em;
}

.wp-child-theme-meipaly-child .footer_1 .aboutwidget img {
    margin: 0;
}

/**************** END FOOTER ***********/


/* Responsive (tablette & mobile) */
@media (max-width: 1024px) {
    .wp-child-theme-meipaly-child .js-text-slider {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    .wp-child-theme-meipaly-child .js-text-slider {
        font-size: 28px !important;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .wp-child-theme-meipaly-child .js-text-slider {
        font-size: 22px !important;
        margin-top: 10px;
    }
}