/* Base styles and variables */
:root {
    --primary-color: #2e7d32;
    --secondary-color: #1b5e20;
    --accent-color: #ffeb3b;
    --light-color: #e8f5e9;
    --dark-color: #1b5e20;
    --text-color: #263238;
    --light-text: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --premium-gradient: linear-gradient(135deg, #43a047, #1b5e20);
    --premium-accent: #ffd54f;
    --premium-glow: 0 0 15px rgba(255, 235, 59, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

section {
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Ajustement pour les cartes */
.premium-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-item, .advantage-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item .icon, .advantage-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Header et navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Formulaire de contact */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

/* Correction du footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    margin-top: 40px;
}

/* Responsive design amélioré */
@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .advantage-item, .service-item {
        margin-bottom: 30px;
    }
    
    .calculator {
        flex-direction: column;
    }
    
    .calculator-form, .calculator-result {
        width: 100%;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90vh;
    padding: 150px 5% 80px;
    background: linear-gradient(to bottom, #f9f9f9, #e8f5e9);
}

.hero-content {
    width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #546e7a;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    width: 45%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.light-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { opacity: 0.6; }
    to { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 235, 59, 0.8)); }
}

/* Benefits section */
.benefits {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%232e7d32" opacity="0.15"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.benefits h2 {
    color: var(--dark-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--premium-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: var(--light-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    background: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.4);
}

.benefit-card h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .benefits h2 {
        font-size: 2rem;
    }
}

/* CEE Program section */
.cee-program {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background-color: #f5f5f5;
}

.cee-content {
    width: 60%;
}

.cee-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cee-content ul {
    margin-bottom: 30px;
}

.cee-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cee-content ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.program-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.step {
    text-align: center;
    width: 22%;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.cee-image {
    width: 35%;
    animation: float 6s ease-in-out infinite;
}

/* Services section */
.services {
    text-align: center;
    background-color: var(--light-text);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--premium-gradient);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: icon-pulse 2s ease-in-out infinite alternate;
}

@keyframes icon-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Testimonials section */
.testimonials {
    text-align: center;
    padding: 80px 10%;
    background-color: #f5f5f5;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-slider .testimonial {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.5s ease;
}

.testimonial:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--premium-gradient);
    z-index: -1;
}

.testimonial .quote {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    padding: 0 30px;
}

.testimonial .quote:before,
.testimonial .quote:after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: Georgia, serif;
}

.testimonial .quote:before {
    left: -10px;
    top: -10px;
}

.testimonial .quote:after {
    right: -10px;
    bottom: -30px;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    text-align: center;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    color: #546e7a;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background: var(--secondary-color);
}

/* Contact section */
.contact {
    background-color: var(--light-text);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.contact-info {
    width: 45%;
}

.contact-info p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.eligibility {
    margin-bottom: 30px;
}

.eligibility h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.eligibility ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.eligibility ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-direct {
    margin-top: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.contact-methods a {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-methods a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-methods a:hover {
    color: var(--primary-color);
}

.contact-form {
    width: 50%;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px;
}

.form-success i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Enhanced Calculator Styles */
.calculator-section {
    background: linear-gradient(to bottom, #f9f9f9, #e8f5e9);
    padding: 100px 0;
    position: relative;
}

.calculator-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.calculator-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    border-radius: 10px;
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.calculator-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

.calculator-form .form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
    outline: none;
}

.calculator-form button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.calculator-form button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.results-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    flex: 1;
    min-width: 150px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.result-item h4 {
    color: var(--dark-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.result-item p {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: auto;
}

.chart-wrapper {
    flex: 1;
    min-width: 200px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chart-wrapper h4 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.chart-wrapper canvas {
    width: 100%;
    height: 200px;
}

.payback-visualization {
    position: relative;
    height: 60px;
    margin-top: 20px;
}

.payback-timeline {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.payback-marker {
    position: absolute;
    top: 12px;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: left 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.payback-labels {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--dark-color);
}

@media (max-width: 992px) {
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-form,
    .calculator-results {
        width: 100%;
    }
}

/* Premium visual enhancements */
.premium-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
}

.premium-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--premium-gradient);
}

.premium-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.premium-button {
    position: relative;
    overflow: hidden;
    background: var(--premium-gradient);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(27, 94, 32, 0.3);
    transition: all 0.3s ease;
}

.premium-button:hover {
    box-shadow: 0 15px 25px rgba(27, 94, 32, 0.4);
    transform: translateY(-5px);
}

.premium-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.premium-button:hover:before {
    left: 100%;
}

.floating-element {
    animation: float-premium 6s ease-in-out infinite;
}

@keyframes float-premium {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(10px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.premium-glow {
    animation: premium-pulse 3s ease-in-out infinite alternate;
}

@keyframes premium-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(255, 235, 59, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 235, 59, 0.8)); }
}

/* 3D Flip card animation */
.flip-card {
    perspective: 1000px;
    height: 300px;
    margin: 20px 0;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flip-card-front {
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flip-card-back {
    background: var(--premium-gradient);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Progress counter animation */
.counter-container {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.counter-item {
    text-align: center;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Footer styles */
footer {
    background-color: #263238;
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    width: 30%;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links, .footer-legal {
    width: 30%;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a, .footer-legal ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 120px;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
        max-width: 500px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cee-program {
        flex-direction: column;
    }
    
    .cee-content, .cee-image {
        width: 100%;
    }
    
    .cee-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
    
    .footer-logo, .footer-links, .footer-legal {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .btn-contact {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .program-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 45%;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .logo span {
        display: none;
    }
    
    nav ul {
        gap: 10px;
    }
    
    .step {
        width: 100%;
    }
    
    .testimonial {
        padding: 20px 15px;
    }
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Styles des boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-accent:hover {
    background-color: #FFD54F;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    margin-right: 10px;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

/* Section calculatrice */
.calculator-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.calculator-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 2;
    min-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.results-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.result-item {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #444;
    font-size: 16px;
}

.result-item p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.chart-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.chart-wrapper h4 {
    margin-top: 0;
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

/* Style fixe pour le graphique de consommation */
#consumption-chart {
    height: 300px !important;
    width: 100% !important;
}

/* Visualisation du retour sur investissement */
.roi-visualization {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.roi-message {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.roi-message span {
    font-weight: bold;
    color: #27ae60;
}

.roi-progress-container {
    height: 25px;
    background: #e9ecef;
    border-radius: 5px;
    position: relative;
    margin-bottom: 15px;
}

.roi-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #27ae60, #2ecc71);
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
    position: relative;
}

.roi-progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.roi-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 5px;
    padding: 10px 0;
}

.roi-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6;
}

.timeline-marker {
    font-size: 12px;
    color: #6c757d;
    position: relative;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 10px;
    background-color: #6c757d;
}

/* Nouveaux styles pour les visualisations d'économies et environnementales */

/* Styles pour les résultats */
.results-card {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.result-item {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    border-right: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-right: none;
}

.result-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.result-value {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
}

/* Styles pour la visualisation des économies cumulées */
.savings-visualization {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.savings-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 220px;
    padding-top: 20px;
}

.savings-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.savings-bar {
    width: 80px;
    min-height: 30px;
    background: linear-gradient(to top, #27ae60, #2ecc71);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: height 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.savings-bar-value {
    position: absolute;
    top: -25px;
    font-weight: bold;
    color: #2c3e50;
}

.savings-bar-label {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

/* Styles pour la visualisation environnementale */
.eco-visualization {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.eco-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.eco-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eco-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.eco-value {
    font-size: 24px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 5px;
}

.eco-label {
    font-size: 14px;
    color: #555;
}

.eco-description {
    font-size: 16px;
    color: #2c3e50;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

#total-co2-reduction {
    font-weight: bold;
    color: #27ae60;
}

/* Ajoutez un graphique de consommation à nouveau */
.chart-wrapper:first-child {
    margin-bottom: 30px;
}

.chart-wrapper h4 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}