/* --- Variables et Style de Base --- */
:root {
    --primary-color: #007BFF; /* Bleu pour la confiance */
    --secondary-color: #28a745; /* Vert pour les économies */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #fff;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/368716.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-hero:hover {
    transform: scale(1.05);
}

/* --- Section "Comment ça marche" --- */
.how-it-works {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-color);
}

.how-it-works h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    max-width: 300px;
}

.step .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Section Formulaire --- */
.form-section {
    display: flex;
    align-items: center;
    margin: 60px 0;
    gap: 40px;
}

.form-image {
    flex: 1;
}

.form-image img {
    width: 100%;
    border-radius: 10px;
}

.form-box {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.form-box input {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Espace pour l'icône */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-box button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-box button:hover {
    background-color: #0056b3;
}

.form-box small {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #777;
}

/* --- Section Témoignages --- */
.testimonials {
    background-color: var(--bg-color);
    padding: 60px 20px;
    text-align: center;
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 15px 0;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #ccc;
}

footer a {
    color: var(--white);
}
.thermo-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #007BFF;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.thermo-banner a {
    color: #FFD700;
    text-decoration: underline;
    margin-left: 10px;
}


/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .form-section {
        flex-direction: column;
    }
   
}