/*
Theme Name: Kloud Child
Theme URI: http://kloud.jwsthemeswp.com
Template: kloud
Author: the JWSThemes team
Author URI: https://themeforest.net/user/jwsthemes
Description: Kloud is an engaging and enticing, visually stimulating and malleable, professional and polished, responsive WordPress creative multipurpose website theme. Kloud is a robust platform for the development of all sorts of beautiful modern websites in a speedy and uncomplicated manner and with plentiful freedom for visual and creative styling.
Tags: two-columns,three-columns,left-sidebar,right-sidebar,custom-background,custom-header,custom-menu,editor-style,featured-images,flexible-header,full-width-template,microformats,post-formats,rtl-language-support,sticky-post,theme-options,translation-ready,accessibility-ready
Version: 2.1.0
Updated: 2021-08-03 13:09:24
*/

.title-bar-header {
	background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Agrandir le texte du menu Kloud */
#nav li a {
    font-size: 16px !important; /* Ajuste le chiffre selon tes besoins */
    font-weight: 400 !important; /* Pour un aspect plus gras comme sur l'image */
    text-transform: none !important; /* Change en 'uppercase' si tu veux tout en majuscules */
    letter-spacing: 0.5px; /* Pour l'élégance */
}

/* Ajuster l'espacement entre les éléments si nécessaire */
#nav li {
    margin-left: 15px !important;
    margin-right: 15px !important;
}

@media (max-width: 768px) {
  .title-bar-header .page-breadcrumbs h4 {
    font-size: 36px !important;
  }
}

.right-header{
    height: 140px !important;
}

/* Style du bouton dans le header */
.btn-socio-header {
    background-color: #ffffff !important;
    color: #003366 !important; /* Ajustez avec votre bleu marine */
    padding: 10px 22px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    font-size: 18px !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.btn-socio-header:hover {
    background-color: #f0f0f0 !important;
    color: #003366 !important;
}

#jws-main {
    position: unset !important;
}

#jws_header.jws-header-v1 {
  padding: 0px !important;
}

.main-content.ro-container {
    padding-top: 120px;
}

@media (max-width: 1024px) {
    .main-content.ro-container {
        padding-top: 80px; /* ajuste selon ta hauteur mobile */
    }
}

#jws_header .is-sticky .mainmenu-area {
    background: #0e3a5d !important;
}

#back-to-top i {
    display: none;
}

#back-to-top::after {
    content: "\f3d8"; /* code Ionicons ion-ios-arrow-up */
    font-family: "Ionicons";
    font-size: 20px;
}

#back-to-top {
    background: #0E3A5D !important;
    bottom: 30px !important;
    right: 50px !important;
}

/* --- Bloc pour masquer sur mobile --- */
@media (max-width: 767px) {
    #back-to-top {
        display: none !important;
    }
}

.joinchat__button {
	bottom: 1px !important;
    left: 30px !important;
}
.vc_do_btn .vc_btn3 {
    background-color: #1C7C8C !important;
    border-color: #1C7C8C !important;	
    background-image: none !important; /* Supprime d'éventuels dégradés natifs */
}

.vc_do_btn .vc_btn3:hover {
    opacity: 0.9 !important;
}

.page-breadcrumbs h4 {
    font-size: 60px !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
}

.regular-logo {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

/* 1. Traduction de "LOAD MORE" */
.kloud-blog-load-more .text_label {
    font-size: 0 !important; /* Cache le texte anglais */
}

.kloud-blog-load-more .text_label::after {
    content: "CARGAR MÁS";
    font-size: 14px; /* Redonne la taille d'origine au texte espagnol (à ajuster selon ton design) */
    text-transform: uppercase;
}

/* 2. Traduction de "All Posts Loaded." */
.posts-loaded {
    font-size: 0 !important; /* Cache le texte anglais */
}

.posts-loaded::after {
    content: "Todas las publicaciones cargadas.";
    font-size: 14px; /* Redonne la taille d'origine (à ajuster si besoin) */
}

.blog-footer .kloud-blog-load-more .text_label {
	padding-left: 21px !important;
}

.blog-footer .kloud-blog-load-more .icon {
	background: #0E3A5D !important;
}

/* Force tous les champs à prendre 100% de la largeur */
.wpcf7 input[type="text"], 
.wpcf7 input[type="email"], 
.wpcf7 textarea,
.wpforms-form input,
.wpforms-form textarea,
.elementor-form input,
.elementor-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important; /* Évite que le champ dépasse à cause des marges */
    margin-bottom: 15px !important; /* Espace entre les champs */
}

/* Cache les étiquettes de texte externes si nécessaire */
.wpcf7-form label, .wpforms-form label, .elementor-form label {
    display: none !important;
}

/* --- DESIGN COMPLET : BLOCS CONSTRASTÉS AVEC TÉLÉPHONE --- */

/* Conteneur transparent pour laisser voir l'image de fond */
.wpcf7-form, .wpforms-form, form.contact-form, .elementor-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px 0;
    background: transparent !important;
    box-shadow: none !important;
}

/* Tous les champs (y compris téléphone) à 100% de largeur avec fond blanc */
.wpcf7 input[type="text"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"], /* Prise en compte du champ téléphone */
.wpcf7 textarea,
.wpforms-form input,
.wpforms-form textarea,
.elementor-form input,
.elementor-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important; /* Fond blanc pour une lisibilité totale */
    border: 2px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    color: #0E3A5D !important; /* Couleur du texte tapé */
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Style des textes d'indication (Placeholders) */
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder,
.wpforms-form input::placeholder, .wpforms-form textarea::placeholder,
.elementor-form input::placeholder, .elementor-form textarea::placeholder {
    color: #556B7D !important; /* Bleu-gris foncé bien visible */
    opacity: 1 !important;
}

/* Effet au clic dans un champ (Focus) */
.wpcf7 input:focus, .wpcf7 textarea:focus,
.wpforms-form input:focus, .wpforms-form textarea:focus,
.elementor-form input:focus, .elementor-form textarea:focus {
    border-color: #0E3A5D !important;
    background: #F4F7F9 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ton bouton d'envoi d'origine adapté à la largeur 100% */
.wpcf7-submit, .wpforms-submit, .elementor-button[type="submit"], form.contact-form button[type="submit"] {
    width: 100% !important;
    background-color: #0E3A5D !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(14, 58, 93, 0.2) !important;
}

/* Effet au survol du bouton */
.wpcf7-submit:hover, .wpforms-submit:hover, .elementor-button[type="submit"]:hover {
    background-color: #0b2d49 !important;
    transform: translateY(-1px);
}

/* Masquage des étiquettes de texte externes */
.wpcf7-form label, .wpforms-form label, .elementor-form label {
    display: none !important;
}

/* --- STYLE DES MESSAGES DE RETOUR (SUCCÈS & ERREUR) --- */

/* 1. Style de base de la boîte de message */
.wpcf7-response-output {
    margin: 25px 0 0 0 !important; /* Espace de 25px sous le bouton Enviar */
    padding: 16px 20px !important;
    border-radius: 8px !important; /* Arrondis identiques à tes champs */
    font-size: 15px !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* 2. ÉTAT : Erreur (Champs vides, mauvaise saisie, etc.) */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    background-color: #FFF5F5 !important; /* Fond rouge/rose très doux et opaque */
    border: 2px solid #E53E3E !important; /* Bordure rouge dynamique */
    color: #C53030 !important; /* Texte rouge foncé ultra lisible */
}

/* 3. ÉTAT : Succès (Message bien envoyé !) */
.wpcf7-form.sent .wpcf7-response-output {
    background-color: #F0FFF4 !important; /* Fond vert très doux et opaque */
    border: 2px solid #38A169 !important; /* Bordure verte */
    color: #22543D !important; /* Texte vert foncé ultra lisible */
}

/* 4. ÉTAT : Spam ou problème technique majeur */
.wpcf7-form.spam .wpcf7-response-output {
    background-color: #FFFDF5 !important;
    border: 2px solid #D69E2E !important;
    color: #744210 !important;
}

/* --- STYLE DES ERREURS SOUS CHAQUE CHAMP (INLINE) --- */

.wpcf7-not-valid-tip {
    display: block !important;
    color: #C53030 !important; /* Rouge foncé très lisible */
    background-color: rgba(255, 245, 245, 0.95) !important; /* Fond rose/blanc opaque pour bloquer l'image de fond */
    border-left: 4px solid #E53E3E !important; /* Petite barre rouge d'alerte à gauche */
    padding: 8px 14px !important;
    
    /* Gestion des espaces pour coller le message juste sous le champ */
    margin-top: -15px !important; /* Remonte le message pour réduire l'espace avec le champ blanc */
    margin-bottom: 20px !important; /* Recrée de l'espace avec le champ suivant */
    
    border-radius: 0 6px 6px 0 !important; /* Arrondit uniquement les angles droits */
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* 1. Correction du bouton "Enviar Mensaje" */
.wpcf7-form input[type="submit"] {
    background-color: #333333 !important; /* Couleur de fond foncée */
    color: #ffffff !important;           /* Texte blanc */
    border: none !important;
    padding: 12px 25px !important;
    cursor: pointer;
    transition: background 0.3s ease;
	margin-top: 20px;
}

/* Effet au survol (plus lisible) */
.wpcf7-form input[type="submit"]:hover {
    background-color: #000000 !important;
}

