/* page particuliers    */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HERO */

.hero {
    position: absolute;
    /* top:0; */
    left: 0;
    /* z-index: -1; */
    width: 100%;
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url('images/hero_entreprise_panneau_solaire.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 650px;
    margin-left: 8%;
}

.hero-content p {
    color: #F5F5F5;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .intro {
        margin-top: 75vh !important;
    }
}


@media screen and (min-width: 1024px) {
    .hero h1 {
        width: 700px !important;
    }
}

/* INTRO */

.intro {
    margin-top: 100vh;
    background: #f8f8f8;
    text-align: center;
    padding: 80px 20px;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.intro p {
    max-width: 800px;
    margin: auto;
    color: #555;
    line-height: 2;
}

/* CTA */

.cta {
    height: 500px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('images/puissance_solaire.avif');
    background-size: 100%;
    background-position: 50% 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0px 20px;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

/* SOLAR SECTION */

.solar-section {
    padding: 0;
}

.solar-container {
    display: flex;
    min-height: 100vh;
}

.solar-image {
    flex: 1;
    background: url('images/panneau_solaire_pour_les_entreprise.avif') center/cover no-repeat;
}

.solar-content {
    flex: 1;
    background-color: #2f7d32;
    display: flex;
    align-items: center;
    padding: 80px;
}

.solar-inner {
    max-width: 520px;
}

.solar-content h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 25px;
}

.intro-text {
    color: #dfeede;
    margin-bottom: 40px;
    line-height: 1.6;
}

.solar-item {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.solar-item:first-of-type {
    border-top: none;
}

.solar-item h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.solar-item h3::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c6f3c3;
    font-weight: bold;
}

.solar-item p {
    color: #e6f5e6;
    font-size: 14px;
}

.solar-btn {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: #2f7d32;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

/* BENEFITS */

.benefits-section {
    background-color: #f5f3ef;
    padding: 80px 20px;
}

.benefits-section h2 {
    text-align: left;
    border-top: solid 0.5px black;
    padding-top: 40px;
    margin-bottom: 40px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 50px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.benefit-left {
    flex: 1;
}

.benefit-left h3 {
    font-size: 32px;
    font-weight: 500;
    color: #111;
}

.benefit-right {
    flex: 1;
}

.benefit-right p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #aeea00, #004d40);
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

/* EVOLUTION */

.evolution-section {
    background-color: #fcfaf5;
    padding: 60px 20px;
    text-align: center;
}

.main-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    color: #2a2a2a;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-item {
    max-width: 220px;
}

.feature-item p {
    margin-top: 20px;
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.5;
}

.icon-par {
    width: 70px;
    height: 70px;
    margin: auto;
    color: #2f6e21;
    border: solid 1px #2f6e21;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-par svg {
    width: 40px;
    height: 40px;
}

.bottom-text p {
    font-size: 18px;
    color: #1a1a1a;
    margin: 10px 0;
}

/* FAQ */

.faq-section {
    background-color: #f0eee9;
    padding: 80px 20px;
}

.faq-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-left {
    flex: 1;
}

.faq-left h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    color: #1a1a1a;
}

.faq-right {
    flex: 1.2;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: #fcfaf5;
    border: none;
    padding: 22px 25px;
    font-size: 20px;
    text-align: left;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    padding: 0 20px;
}

.faq-answer p {
    margin: 15px 0;
    font-size: 16px;
    color: #333;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-btn {
    display: block;
    text-align: center;
    margin-top: 25px;
    padding: 16px;
    border: 1px solid #333;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

/* OFFERS */

.offers-section {
    background-color: #fcfaf5;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 70px;
    color: #1a1a1a;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.offer-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    height: 420px;
    display: block;
    transition: transform 0.4s ease;
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.offer-content {
    position: absolute;
    bottom: 40px;
    left: 30px;
    right: 30px;
    color: #fff;
}

.offer-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.offer-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
}

.offer-card:hover {
    transform: translateY(-8px);
}

.offer-card:hover img {
    transform: scale(1.05);
}

/* RESPONSIVE */

@media (max-width:1024px) {

    .hero h1 {
        font-size: 42px;
    }

    .main-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

}

@media (max-width:900px) {

    .solar-container {
        flex-direction: column;
    }

    .solar-image {
        height: 300px;
    }

    .solar-content {
        padding: 40px 25px;
    }

    .benefit-card {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }

    .faq-container {
        flex-direction: column;
        gap: 40px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        height: 320px;
    }

}

@media (max-width:768px) {

    .hero {
        height: 80vh;
    }

    .hero-content {
        margin: 0 20px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta {
        height: 350px;
        background-size: cover;
    }

    .cta h2 {
        font-size: 28px;
    }

    .main-title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 18px;
    }

    .faq-left h2 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    border: solid 1px #ffffff;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
}

/* section rentabilité */

.solar-example {
    background: #f5f3ef;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.example {
    padding-bottom: 90px;
}

.solar-example-container {
    max-width: 1200px;
    margin: auto;
}

.solar-title {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 60px;
    max-width: 700px;
}

.solar-content-dev {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* IMAGE */

.solar-image-box {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.solar-image-box img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    object-position: 50% 0%;
    display: block;
}

.solar-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.solar-overlay p {
    margin: 8px 0;
    color: #ffffff;
}

/* TEXTE */

.solar-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}

.solar-text p {
    margin-bottom: 25px;
    color: #000000;
}

/* RESPONSIVE */

@media (max-width:900px) {

    .solar-content-dev {
        flex-direction: column;
    }

    /* .solar-image-box img{
height:350px;
} */

    .solar-title {
        font-size: 34px;
    }

}

.espace {
    padding-bottom: 10px;
}

.solar-btn {
    border: solid 1px #2f7d32;
}

.espace {
    width: 100%;
    /* S'assure que le conteneur prend toute la largeur */
    display: flex;
    flex-direction: column;
}

.one {
    display: block;
    /* Force le lien à se comporter comme un bloc */
    width: 100%;
    /* Lui permet de prendre 100% du parent .espace */
    text-align: center;
    /* Centre le texte à l'intérieur du bouton */
    box-sizing: border-box;
    /* Très important pour que le padding ne fasse pas déborder le bouton */

    /* Vos styles visuels (exemple) */
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 8px;
}