/* CSS for Video Section */
.video-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Masque pour cacher la partie supérieure de la vidéo */
.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0px; /* Ajustez la hauteur pour couvrir la partie à masquer */
    background-color: #ffffff; /* Couleur de fond du masque */
    opacity: 0.95; /* Transparence légère */
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-section h2 {
        font-size: 2rem;
    }

    .video-container {
        max-width: 100%;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .video-section h2 {
        font-size: 2rem;
    }

    .video-container {
        max-width: 100%;
    }
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* Top Banner */
.top-banner {
    background-color: white;
    color: #333;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.top-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.btn-simulez {
    background-color: #ff7e00;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-simulez:hover {
    background-color: #e66b00;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 80px; /* For the fixed header space */
}


.hero-content {
    background-color: rgba(250, 188, 27, 0.7); /* Fond semi-transparent */
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
margin-top: 70px;
}

.hero h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.2em;
}

/* Pompes à Chaleur Section */
.pompes-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.pompes-section h2 {
    font-size: 2em;
    margin-bottom: 40px;
color:#FABC1B;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.card-body p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fabc1b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
	color:#fff;
}

/* Aides au Financement Section */
.aides-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.aides-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
color:#FABC1B;
}

.aide-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.aide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.aide-card-body {
    padding: 20px;
}

.aide-card-body h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.aide-card-body p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.btn-aide {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-aide:hover {
    background-color: #0056b3;
}

/* Avis Clients Section */
.avis-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.avis-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
color:#FABC1B;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.avis-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.avis-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.avis-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.avis-card h4 {
    font-size: 1.2em;
    color: #333;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Certifications Section */
.certifications-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.certifications-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
	color:#FABC1B;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.certifications-grid img {
    max-width: 150px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.certifications-grid img:hover {
    transform: scale(1.1);
}

/* Avis Clients Section */
.avis-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.avis-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.avis-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avis-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

.avis-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
	margin-top: 18px;
}

.avis-card h4 {
    font-size: 1.2em;
    color: #333;
}

/* Footer */
footer {
    padding: 20px;
    background-color: #333;
    color: white;
    text-align: center;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    color: #0056b3;
}
/* Version Desktop par défaut */
.logo {
    height: 75px;
}

/* Version Mobile */
@media (max-width: 768px) {
    .logo {
        height: 65px; /* Taille réduite pour les mobiles */
        margin: 0 auto;
        display: block;
    }

    .top-banner .container {
        flex-direction: column; /* Centrer le contenu en mobile */
        text-align: center;
    }

    .btn-simulez {
        margin-top: 10px;
    }
}
/* Bloc Tout savoir sur les Pompes à Chaleur */
.details-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    margin-top: 40px;
}

.details-section h2 {
    font-size: 2.5em;
    color: #FFA500; /* Couleur personnalisée pour le titre */
    margin-bottom: 40px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.detail-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Ombre légère */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* Ombre plus forte au survol */
}

.detail-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.detail-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.detail-card .btn {
    background-color: #FFA500;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.detail-card .btn:hover {
    background-color: #e69500;
}
/* Section Informations */
.info-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: left;
}

.info-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Résumé En Bref */
.info-summary {
    background-color: #eef5ff;
    padding: 20px;
    border-radius: 10px;
}

.info-summary h3 {
    font-size: 1.8em;
    color: #0033a0;
    margin-bottom: 15px;
}

.info-summary ul {
    list-style: none;
    padding-left: 0;
}

.info-summary ul li {
    font-size: 1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.icon {
    font-size: 1.5em;
    margin-right: 10px;
    color: #007bff;
}

/* Détails sur les Pompes à Chaleur */
.info-details {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-details h2 {
    font-size: 2em;
    color: #0033a0;
    margin-bottom: 15px;
}

.info-details p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: #eef5ff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.highlight-box p {
    font-size: 1em;
    color: #0033a0;
}

/* Boîte d'Estimation du Prix */
.info-box {
    background-color: #007bff;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.info-box h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.btn-info {
    background-color: white;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.btn-info:hover {
    background-color: #e6e6e6;
	color:#000;
}

.small-text {
    font-size: 0.9em;
    margin-top: 10px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr; /* Les colonnes se transforment en rangées */
        gap: 20px;
    }

    .info-summary, .info-details, .info-box {
        padding: 15px;
    }

    .info-summary ul li {
        font-size: 0.9em; /* Taille de police réduite pour les petits écrans */
    }

    .info-details h2 {
        font-size: 1.5em; /* Réduction de la taille des titres */
    }

    .info-details p, .highlight-box p {
        font-size: 0.9em;
    }

    .info-box h3 {
        font-size: 1.5em; /* Taille de titre réduite */
    }

    .info-box p {
        font-size: 1.2em; /* Taille du texte réduite */
    }

    .btn-info {
        font-size: 0.9em; /* Réduction de la taille des boutons */
        padding: 8px 15px;
    }

    .small-text {
        font-size: 0.8em;
    }
}
