/* ================================================================
   LANDING PAGE — CLIMATISATION — Jura Énergie Solaire
   Fichier : landing-clim.css
   ================================================================ */


/* ----------------------------------------------------------------
   1. VARIABLES & RESET LANDING
   ---------------------------------------------------------------- */
:root {
    --lp-green-dark:   #133020;
    --lp-green-mid:    #327039;
    --lp-green-light:  #8AB33D;
    --lp-orange:       #EF8017;
    --lp-white:        #ffffff;
    --lp-radius:       40px;
    --lp-radius-sm:    16px;
    --lp-shadow:       0 8px 40px rgba(0, 0, 0, 0.15);
    --lp-transition:   0.3s ease;
}

.cf7-landing-grid .cf7-field-group label {
    display: none;
}

/* ----------------------------------------------------------------
   2. HERO — OVERRIDES grand-bloc pour le layout LP
   ---------------------------------------------------------------- */

/* On réutilise .grand-bloc existant + classe modificatrice */
.landing-hero .grand-bloc__content {
    width: 50%;
    padding-right: 48px;
}

/* Formulaire côté héros */
.landing-hero__form-col {
    z-index: 4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.landing-hero__form-wrapper {
    position: absolute;
    top: -48px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--lp-radius);
    padding: 40px 40px 48px;
    width: 100%;
    box-shadow: var(--lp-shadow);
}

.landing-hero__form-wrapper .wpcf7-spinner {
    display: none;
}

/* En-tête du formulaire */

.landing-form-header {
    margin: 0 0 24px 0;
}

.landing-form-pretitle {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    color: var(--lp-green-light);
    letter-spacing: 0.08em;
    margin: 0 auto 6px auto;
}

.landing-form-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lp-green-dark);
    margin: 0 auto;
    line-height: 1.3;
}

/* ----------------------------------------------------------------
   3. CHAMPS CF7 — Style intégré à la LP
   ---------------------------------------------------------------- */

/* Wrapper global CF7 */
.landing-hero__form-wrapper .wpcf7-form,
.landing-contact__form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Groupes label + input */
.landing-hero__form-wrapper .wpcf7-form-control-wrap,
.landing-contact__form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Inputs, selects, textareas */
.landing-hero__form-wrapper .wpcf7-form input[type="text"],
.landing-hero__form-wrapper .wpcf7-form input[type="email"],
.landing-hero__form-wrapper .wpcf7-form input[type="tel"],
.landing-hero__form-wrapper .wpcf7-form select,
.landing-hero__form-wrapper .wpcf7-form textarea,
.landing-contact__form .wpcf7-form input[type="text"],
.landing-contact__form .wpcf7-form input[type="email"],
.landing-contact__form .wpcf7-form input[type="tel"],
.landing-contact__form .wpcf7-form select,
.landing-contact__form .wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--lp-radius-sm);
    font-size: 1.4rem;
    font-family: inherit;
    color: var(--lp-green-dark);
    background: #f8fafb;
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition);
    box-sizing: border-box;
}

.landing-hero__form-wrapper .wpcf7-form input:focus,
.landing-hero__form-wrapper .wpcf7-form select:focus,
.landing-hero__form-wrapper .wpcf7-form textarea:focus,
.landing-contact__form .wpcf7-form input:focus,
.landing-contact__form .wpcf7-form select:focus,
.landing-contact__form .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--lp-green-light);
    box-shadow: 0 0 0 3px rgba(138, 179, 61, 0.18);
    background: #fff;
}

.landing-hero__form-wrapper .wpcf7-form textarea,
.landing-contact__form .wpcf7-form textarea {
    min-height: 90px;
    resize: vertical;
}

/* Bouton submit CF7 */
.landing-hero__form-wrapper .wpcf7-form input[type="submit"],
.landing-contact__form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--lp-green-light) 0%, var(--lp-green-mid) 100%);
    color: var(--lp-white);
    font-weight: 700;
    font-size: 1.6rem;
    font-family: "Raleway", sans-serif;
    border: none;
    border-radius: var(--lp-radius-sm);
    cursor: pointer;
    transition: opacity var(--lp-transition), transform var(--lp-transition);
    letter-spacing: 0.03em;
    margin-top: 8px;
}

.landing-hero__form-wrapper .wpcf7-form input[type="submit"]:hover,
.landing-contact__form .wpcf7-form input[type="submit"]:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* Validation CF7 */
.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 0.78rem;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 12px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    border-left: 3px solid var(--lp-green-light) !important;
}

/* ----------------------------------------------------------------
   4. BLOC AVANTAGES (bannière 4 colonnes) — override de banner
   ---------------------------------------------------------------- */
.landing-avantages {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
}

@media (max-width: 1024px) {
    .landing-avantages {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .landing-avantages {
        grid-template-columns: 1fr !important;
    }
}

/* ----------------------------------------------------------------
   5. SECTION CTA CENTRALE
   ---------------------------------------------------------------- */
.landing-cta-section {
    background: transparent;
    padding: 80px 0;
}

.landing-cta-inner {
    text-align: center;
    max-width: 700px;
    width: fit-content;
    margin: 0 auto;
    padding: 48px;
    box-sizing: border-box;
    background-color: #143020;
    border-radius: 40px;
}

.landing-cta-inner h2 {
    color: var(--lp-white);
    font-size: 2.4rem;
    margin: 0 0 20px 0;
}

.landing-cta-inner p {
    color: var(--lp-white);
    font-size: 1.6rem;
    margin: 0 0 32px 0;
    opacity: 0.92;
}

/* Bouton CTA primaire (utilisé hero + section CTA) */
.landing-cta-primary,
a.landing-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--lp-white);
    color: var(--lp-green-mid) !important;
    font-weight: 700;
    font-size: 1.6rem;
    font-family: "Raleway", sans-serif;
    border-radius: var(--lp-radius-sm);
    text-decoration: none;
    transition: background var(--lp-transition), transform var(--lp-transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landing-cta-primary:hover,
a.landing-cta-primary:hover {
    background: var(--lp-green-light);
    color: var(--lp-white) !important;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   6. SECTION CONTACT FINALE
   ---------------------------------------------------------------- */
.landing-contact-section {
    background: linear-gradient(142deg, #133020 0%, #327039 100%);
    padding: 100px 0;
}

.landing-contact-section .row {
    display: flex;
    align-items: flex-start;
    gap: 64px;
}

/* Colonne infos */
.landing-contact__info {
    flex: 1;
    color: var(--lp-white);
}

.landing-contact__info h2 {
    color: var(--lp-green-light);
    font-size: 2rem;
    margin: 0 0 20px 0;
}

.landing-contact__info p {
    color: var(--lp-white);
    opacity: 0.9;
    margin: 0 0 32px 0;
    font-size: 1rem;
    line-height: 1.7;
}

/* Liste coordonnées */
.landing-contact__coordonnees {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.landing-contact__item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--lp-white);
}

.landing-contact__icon {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.landing-contact__item a {
    color: var(--lp-white);
    text-decoration: none;
    transition: color var(--lp-transition);
}

.landing-contact__item a:hover {
    color: var(--lp-green-light);
}

/* Colonne formulaire final */
.landing-contact__form {
    flex: 1;
    max-width: 500px;
}

/* ----------------------------------------------------------------
   7. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 992px) {

    /* Hero */
    .landing-hero .grand-bloc__content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .landing-hero__form-col {
        width: 100%;
        justify-content: center;
    }

    .landing-hero__form-wrapper {
        max-width: 100%;
    }

    /* Contact section */
    .landing-contact-section .row {
        flex-direction: column;
        gap: 48px;
    }

    .landing-contact__form {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {

    .landing-hero__form-wrapper {
        padding: 28px 20px 36px;
        border-radius: 24px;
    }

    .landing-contact-section {
        padding: 60px 0;
    }
}


.cf7-landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cf7-field-full {
    grid-column: 1 / -1;
}

.cf7-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cf7-field-group p {
    margin: 0;
}

.cf7-field-group br {
    display: none;
}

.cf7-field-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5568;
    font-family: "Raleway", sans-serif;
}

.cf7-field-group label abbr {
    color: #e53e3e;
    text-decoration: none;
    margin-left: 2px;
}

.cf7-rgpd {
    margin-top: 4px;
}

.cf7-rgpd .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.2rem;
    color: #718096;
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
}

.cf7-rgpd .wpcf7-acceptance label a {
    font-size: 1.2rem;
}

.cf7-rgpd .wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #8AB33D;
}

.cf7-rgpd .wpcf7-acceptance a {
    color: #8AB33D;
    text-decoration: underline;
}

@media (max-width: 500px) {
    .cf7-landing-grid {
        grid-template-columns: 1fr;
    }
}

.page-template-template-landing-clim .grand-bloc {
    display: flex;
    align-items: center;
    overflow: visible;
}

.page-template-template-landing-clim .grand-bloc .row {
    align-items: flex-start;
}

.page-template-template-landing-clim .grand-bloc .grand-bloc__content h1, .page-template-template-landing-clim .grand-bloc .grand-bloc__content p {
    margin: 0 0 16px 0;
}

.page-template-template-landing-clim .menu-hamburger-direct .logo-gauche .menu-container {
    display: none;
}

.text-image {
    position: relative;
    margin: 150px auto;
}

.text-image .pretitre p {
    color: #8AB33D;
    font-family: "Raleway";
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.text-image .text-image__texte {
}

.text-image .text-image__texte h2, .text-image .text-image__texte h3 {
    margin: 0 0 32px 0;
}

.text-image .text-image__texte a {
    margin: 32px 0 0 0;
}

.text-image .text-image__image .imgcropCtn {
    width: auto;
    height: auto;
}

.imagedroite .text-image__image .imgcropCtn {
    margin: 0;
}

.text-image__image {
    position: relative;
}

.text-image__image img {
    border-radius: 40px;
}

.text-image .text-image__image .deuxiemeImage {
    position: absolute;
    width: 50%;
    height: auto;
    bottom: -15px;
    right: -15px;
}

.text-image .autrestyle {
    border-top: unset;
    padding: unset;
}

.text-image .autrestyle h2, .text-image .autrestyle h3 {
    margin: 0 0 32px 0;
}

.text-image .autrestyle .btn {
    background-color: #EF8017;
    margin: 0;
}

.text-image .btn {
    margin: 0 0 16px 0 !important;
}

.text-image .btn:first-child {
    margin: 0 16px 16px 0 !important;
}

.text-image .btn-liste {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 32px 0 0 0;
}

@media (max-width: 992px) {
    .text-image .text-image__texte {
        padding: 32px 0;
    }

    .imagedroite .text-image__image .imgcropCtn, .text-image .text-image__image .imgcropCtn {
        margin: 0;
    }

    .text-image .text-image__image .imgcropCtn {
        width: 100%;
    }

    .imagegauche .text-image__image {
        order: 1;
    }
}

.banner, .bannerFond {
    position: relative;
    background: linear-gradient(142deg, #327039 0%, #133020 100%);
    margin: 75px 0;
}

.banner::after {
    content: "";
    position: absolute;
    opacity: 0.5;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1440/750;
    background-image: url("https://www.jura-energiesolairecom.gqoe9330.odns.fr/wp-content/uploads/2025/01/Motif-1.svg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.banner .pretitre {
    text-align: center;
    color: white;
    font-family: "Raleway";
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto;
}

.banner .banner-liste {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: auto;
    gap: 16px;
    margin: 0 0 32px 0;
}

.banner .banner-liste .banner-item {
    border-radius: 40px;
    background-color: #327039;
    padding: 24px;
}

.banner .banner-liste .banner-item .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner .banner-liste .banner-item .wrapper .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #8ab33d;
    border-radius: 200px;
    padding: 16px;
    margin: 0 0 16px;
}

.banner .banner-liste .banner-item .wrapper .titre p{
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 4px;
}

.banner .banner-liste .banner-item .wrapper .contenu p {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 0;
}

.banner .banner-liste .banner-item .wrapper .logo img {
    max-height: 40px;
}

.banner ul {
    color: white;
}

.banner ul li {
    color: white;
}

.autrestylebanner {
    background: linear-gradient(142deg, #8AB33D 28.73%, #327039 100%);
}

.banner h2, .banner h3, .banner p, .banner a {
    color: white;
    text-align: center;
}

.banner .row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.banner .row h2 {
    color: #fff;
    font-size: 3.2rem;
    width: 100%;
    margin: 0 0 32px 0;
}

.banner .row .container-content {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 1088px;
    width: 66.666%;
    margin: 0 auto;
}

.banner .row .container-content .content {
    padding: 0 0 32px;
}

.banner .row .container-content .content p {
    font-weight: 200;
    margin: 0;
}

.banner .row .container-content a {
    margin: 0 auto;
}

.autrestylebanner .row h2 {
    color: white;
}

.banner .row .container-banner-liste {
    width: 90%;
    max-width: 1366px;
}

@media (max-width: 900px) {
    .banner .row .container-content {
        width: 90%;
    }
}

.landing-contact-section {
    background: transparent;
    padding: 0 0 100px;
}

.landing-contact-section .row{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 32px;
}

.landing-contact__info h2 {
    color: black;
    text-align: center;
    font-size: 3.2rem;
    width: 100%;
    margin: 0 0 32px 0;
}

.landing-contact__info p {
    color: black;
    text-align: center;
    font-size: 1.6rem;
    max-width: 500px;
    line-height: 1.4;
    margin: 0 auto 16px auto;
}

.landing-contact__coordonnees {
    align-items: center;
    gap: 6px;
}

.landing-contact__item {
    display: flex;
    align-items: center;
    color: black;
    font-size: 1.4rem;
    gap: 8px;
    font-family: "Raleway", sans-serif;
}

.landing-contact__item a {
    display: flex;
    align-items: center;
    color: black;
    font-size: 1.4rem;
    gap: 8px;
    font-family: "Raleway", sans-serif;
    margin: 0;
    text-decoration: 1px underline solid black;
}

.landing-contact__icon {
    font-size: 1.4rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    margin: 4px 0 0 0;
}

.landing-contact-section .landing-hero__form-wrapper {
    position: relative;
    top: 0;
}

.landing-contact-section .landing-contact__form {
    max-width: 700px;
}

@media (max-width: 992px) {
    .landing-hero .landing-hero__form-wrapper {
        position: initial;
    }

    .page-template-template-landing-clim h2 {
        font-size: 2.4rem !important;
    }

    .page-template-template-landing-clim .text-image {
        margin: 80px auto !important;
    }
}