/* =======================================================
   style_certification_hqe_batiment.css
   Styles dédiés à la page certification-hqe-batiment.php
======================================================= */

/* ----- SECTION 1 : Hero ----- */
.hero-section {
    position: relative;
    background-size: cover;
    background-image: url('https://www.ecomelio.fr/images/eau.jpg');
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #111111; /* Couleur principale du texte */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(3.5rem, 2.63vw + 2.99rem, 5.25rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(1.125rem, 0.56vw + 1.02rem, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 40px;
}

/* ----- Bouton CTA global ----- */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #111111;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    margin-bottom: 30px;
}

.cta-button:hover {
    background-color: #333333;
}

/* ----- SECTION 2 : Hero-Section-2 (Présentation HQE) ----- */
.hero-section-2 {
    padding: 80px 20px;
    position: relative;
    z-index: 8;
}

.hero-section-2 .section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    padding: 20px 140px;
}

.hero-section-2 .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    margin-bottom: 20px;
}

.hero-section-2 .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.69rem + 2vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
}

.hero-section-2 .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

.hero-section-2 .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.hero-section-2 .background-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* ----- SECTION 3 : Hero-Section-3 (Avantages HQE) ----- */
.hero-section-3 {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.hero-section-3 .section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    padding: 20px 140px;
}

.hero-section-3 .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero-section-3 .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2rem, 1.69rem + 2vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
}

.hero-section-3 .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

.hero-section-3 .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.hero-section-3 .background-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

/* ----- Key Points (avantages en colonnes) ----- */
.key-points {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

.key-point {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    flex: 1;
    max-width: 300px;
    padding: 20px;
}

.key-point h2 {
    font-size: clamp(1.5rem, 1.39rem + 0.56vw, 1.875rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 10px;
}

.key-point p {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.5;
}

/* ----- SECTION 4 : section-equipe (Engagement EcoMelio) ----- */
.section-equipe {
    padding: 100px 20px;
    position: relative;
    z-index: 8;
}

.section-equipe .section-header {
    text-align: center;
}

.section-equipe .section-header h2 {
    font-size: clamp(2.25rem, 1.74rem + 2.63vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    font-family: "Tiempos Headline", Georgia, serif;
    line-height: 1.16;
    margin-bottom: 80px;
}

.section-equipe .separator-line {
    width: 80px;
    height: 3px;
    background-color: #111;
    margin: 20px auto;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}

.team-member {
    max-width: 300px;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 1rem;
    line-height: 1.4;
    color: #111111;
}

/* ----- SECTION 5 : section-securite (CTA Certification) ----- */
.section-securite {
    position: relative;
    padding: 100px 20px;
    z-index: 8;
}

.section-securite .section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 140px;
    gap: 50px;
}

.section-securite .media-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.section-securite .background-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
}

.section-securite .text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.section-securite .hero-subtitle {
    font-size: clamp(0.875rem, 0.38vw + 0.8rem, 1.125rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-securite .title {
    font-family: 'Tiempos Headline', 'Lucida', Georgia, serif;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 1.69rem + 4.14vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.0075em;
    line-height: 1.16;
}

.section-securite .subtitle {
    font-size: clamp(1.125rem, 1.02rem + 0.56vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.005em;
    font-family: 'Futura PT', system-ui, 'Helvetica Neue', sans-serif;
    line-height: 1.24;
    margin-bottom: 30px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .hero-section-2 .section-content,
    .hero-section-3 .section-content,
    .section-securite .section-content {
        flex-direction: column;
        padding: 20px;
    }

    .hero-section-2 .text-content,
    .hero-section-3 .text-content,
    .section-securite .text-content {
        text-align: center;
    }
    .hero-section-2 .media-content,
    .hero-section-3 .media-content,
    .section-securite .media-content {
        order: 2;
        margin-top: 20px;
    }

    .key-points {
        flex-direction: column;
        border-top: none;
        border-bottom: none;
        align-items: center;
    }
    .key-point {
        border-bottom: 1px solid #e1e1e1;
    }
    .key-point:last-child {
        border-bottom: none;
    }

}
