/*
Theme Name: Hello Elementor Child
Description: Thème enfant pour Hello Elementor
Author: Votre nom
Template: hello-elementor
Version: 1.0.0
*/

/* Importation du style du thème parent */
@import url("../hello-elementor/style.css");

.logos_partenaires {
  --logo-h: 150px !important;
  width: 80% !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 24px !important;
}

.logos_partenaires .logos_track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  will-change: transform;
}

.logos_partenaires > * {
  flex: 0 0 auto !important;
}

.logos_partenaires .elementor-widget-image img,
.logos_partenaires img {
  height: var(--logo-h);
  width: auto !important;
  max-width: none;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.logos_partenaires .e-con,
.logos_partenaires .e-con-inner {
  width: auto !important;
  max-width: none !important;
}

.logos_partenaires .elementor-widget-heading {
  line-height: 1.2;
  font-size: 14px;
}

/* CIBLE UNIQUEMENT CE FORMULAIRE (sélecteur + spécifique).
   Si l’ID change en prod, remplace-le par l’ID affiché chez toi. */
#wpcf7-f64-p12-o1 .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
}

/* Lignes à 2 colonnes */
#wpcf7-f64-p12-o1 .wpcf7-form .first-row,
#wpcf7-f64-p12-o1 .wpcf7-form .second-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;              /* passe en colonne sur petit écran */
    width: 100%;
}

/* Chaque enfant direct (label, p, div…) prend 50% et s’empile correctement */
#wpcf7-f64-p12-o1 .wpcf7-form .first-row > *,
#wpcf7-f64-p12-o1 .wpcf7-form .second-row > * {
    flex: 1 1 0%;
    min-width: 260px;             /* évite des colonnes trop étroites */
    display: flex;
    flex-direction: column;
    gap: .4rem;
    color: #fff;                  /* labels en blanc, comme ta maquette */
    font-weight: 600;
    font-size: .95rem;
}

/* Champs : remplissent 100% de la largeur disponible */
#wpcf7-f64-p12-o1 .wpcf7-form input[type="text"],
#wpcf7-f64-p12-o1 .wpcf7-form input[type="email"],
#wpcf7-f64-p12-o1 .wpcf7-form input[type="tel"],
#wpcf7-f64-p12-o1 .wpcf7-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: none;
    background: #fff;
    color: #333;
    font-size: 1rem;
    border-radius: 0;
    box-sizing: border-box;
}

#wpcf7-f64-p12-o1 .wpcf7-form input:focus,
#wpcf7-f64-p12-o1 .wpcf7-form textarea:focus {
    outline: 2px solid #f9c739;
}

/* Textarea pleine largeur et plus haute */
 .wpcf7-form .information-input {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-not-valid-tip {
    color: #f9c739;
    font-size: 1em;
    font-weight: bold;
    display: block;
}

/* 1) Tous les labels directement dans .wpcf7-form (hors first/second row) prennent 100% */
 .wpcf7-form > label {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: .4rem;
}

/* 2) Le textarea lui-même s’étire à 100% */
.wpcf7-form textarea.information-input {
    display: block;
    width: 100% !important;
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
}

/* 3) Si Contact Form 7 a ajouté un wrapper autour (span.wpcf7-form-control-wrap), on le force aussi */
.wpcf7-form label textarea.information-input {
    width: 100% !important;
}

.wpcf7-form > p label {
    display: inline;
    color: #fff;
}

/* RGPD : ton shortcode [acceptance class:check-confirmation] génère un wrap ;
   on force l’alignement horizontal propre. */
#wpcf7-f64-p12-o1 .wpcf7-form .check-confirmation {
    display: inline-flex !important;
    align-items: center;
    gap: .5rem;
    color: #fff !important;
    font-size: .85rem;
    line-height: 1.4;
}
#wpcf7-f64-p12-o1 .wpcf7-form .check-confirmation input[type="checkbox"] {
    accent-color: #f9c739;
    width: 18px;
    height: 18px;
}

/* Bouton envoyer (CF7 rend un <input type="submit"> avec ta classe) */
#wpcf7-f64-p12-o1 .wpcf7-form input.submit-button {
    background-color: #f9c739;
    color: #000;
    font-weight: 600;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    box-shadow: 2px 3px 4px rgba(0,0,0,.25);
    transition: background-color .2s, transform .1s;
}
#wpcf7-f64-p12-o1 .wpcf7-form input.submit-button:hover {
    background-color: #e5b92b;
    transform: translateY(1px);
}

.site-footer {
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
}

/* Responsive : force une seule colonne sous 768px */
@media (max-width: 768px) {
    #wpcf7-f64-p12-o1 .wpcf7-form .first-row,
    #wpcf7-f64-p12-o1 .wpcf7-form .second-row {
        flex-direction: column;
    }

    #title-presentation {
        position: relative;
    }
}

/* (Optionnel) réduis l’espace par défaut si CF7 a mis des <p> */
#wp cf7-f64-p12-o1 .wpcf7-form p { margin: 0 0 1rem; }