/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales enrichies */
    --primary-color: #2c7a3d;
    --primary-dark: #1e5a2b;
    --primary-light: #3d9c51;
    --secondary-color: #4caf50;
    --secondary-light: #66bb6a;
    --accent-color: #f9a825;
    --accent-dark: #f57c00;
    --accent-light: #ffc107;
    
    /* Couleurs de texte */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --text-lighter: #9e9e9e;
    
    /* Arrière-plans */
    --background-light: #f8f9fa;
    --background-lighter: #ffffff;
    --white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, #2c7a3d 0%, #4caf50 100%);
    --gradient-accent: linear-gradient(135deg, #f9a825 0%, #f57c00 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44, 122, 61, 0.95) 0%, rgba(76, 175, 80, 0.95) 100%);
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 36px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Indicateur de progression de lecture */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 9999;
    transition: width 0.1s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header et Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar {
    padding: 1.2rem 0;
    transition: padding var(--transition-normal);
}

header.scrolled .navbar {
    padding: 0.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height var(--transition-normal);
}

header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
    flex: 1;
    justify-content: center;
    max-width: 800px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-normal);
    position: relative;
    padding: 0.6rem 0;
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.btn-calculator {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(44, 122, 61, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    /* Cacher le bouton original du header */
    header .btn-calculator,
    .navbar .btn-calculator {
        display: none !important;
    }
    
    /* Bouton calculateur fixe créé par JavaScript */
    .btn-calculator-fixed {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10000 !important;
        background: var(--gradient-primary);
        color: var(--white);
        padding: 0.65rem 1.3rem;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.75rem;
        white-space: nowrap;
        box-shadow: 0 8px 25px rgba(44, 122, 61, 0.4);
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        border: none;
        cursor: pointer;
    }
    
    .btn-calculator-fixed svg {
        width: 16px;
        height: 16px;
    }
    
    .btn-calculator-fixed:hover {
        transform: translateX(-50%) !important;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
}

.btn-calculator:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 122, 61, 0.3);
}

@media (min-width: 1025px) {
    .btn-calculator:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(44, 122, 61, 0.3);
    }
}

.btn-calculator svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-subtitle {
    font-weight: 600;
    font-size: 1.25rem !important;
    margin-bottom: 2.5rem !important;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
}

.btn-link::after {
    content: '→';
    margin-left: 5px;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link:hover::after {
    transform: translateX(5px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: color var(--transition-normal);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Questions CTA Section */
.questions-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.questions-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.questions-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.questions-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.questions-intro {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.question-preview {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.question-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.preview-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.question-preview p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: left;
    margin: 0;
    line-height: 1.4;
}

.questions-highlight {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-large svg {
    stroke: currentColor;
}

@media (max-width: 768px) {
    .questions-content h2 {
        font-size: 1.8rem;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--background-light);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--accent-color);
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555555;
}

.footer-bottom p {
    color: #cccccc;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .navbar .container {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .services,
    .faq,
    .contact-section,
    .page-header {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Tablette - menu reste visible */
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: relative;
        flex-direction: row;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        background: transparent;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        gap: 0.8rem;
        flex-wrap: nowrap;
    }

    .logo img {
        height: 45px;
    }

    header.scrolled .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        order: 3;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin: 0;
        max-width: none;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 450px;
        padding: 0.5rem 0;
    }

    .nav-menu li {
        text-align: center;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .nav-menu a:hover {
        background-color: rgba(44, 122, 61, 0.05);
    }

    /* Ajouter le bouton calculateur dans le menu mobile */
    .nav-menu::after {
        content: '';
        display: block;
        padding: 1rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-header p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }

    /* Améliorer les boutons sur mobile */
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        width: auto;
        min-width: 150px;
    }

    .cta .btn {
        margin: 0.5rem;
    }

    /* Améliorer les formulaires sur mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important; /* Évite le zoom iOS */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }

    .services h2,
    .faq h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        display: block;
        margin: 0.5rem auto;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta .btn {
        width: 100%;
        max-width: none;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    /* FAQ sur mobile */
    .faq-item {
        padding: 1.2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding-right: 2.5rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* Contact grid sur mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.2rem;
    }
}

/* Bouton Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Success Banner */
.success-banner {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c7a3d 0%, #4caf50 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(44, 122, 61, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: all 0.3s ease;
    max-width: 90%;
    width: 500px;
}

.success-banner.show {
    top: 30px;
}

.success-banner svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.success-banner span {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .success-banner {
        width: calc(100% - 40px);
        padding: 15px 20px;
        top: -80px;
    }
    
    .success-banner.show {
        top: 20px;
    }
    
    .success-banner span {
        font-size: 0.9rem;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--background-light);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--text-lighter);
    font-size: 1.2rem;
}

.breadcrumb-list a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* Animations générales */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Éléments avec apparition au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== STYLES POUR PAGE SERVICES ENRICHIE ===== */

/* Badge */
.badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Process Timeline */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.step-content:hover {
    transform: translateX(10px);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Sectors Section */
.sectors-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.sectors-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sectors-grid .sector-card:first-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .sectors-grid .sector-card:first-child {
        grid-column: 1;
        max-width: 100%;
    }
}

.sector-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.sector-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.sector-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sector-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.sector-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.sector-benefits span {
    background: var(--background-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Benefits Numbers */
.benefits-numbers {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.benefits-numbers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefits-numbers .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

.number-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.number-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.number-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.number-value {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.number-label {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.number-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.why-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Service Testimonials */
.service-testimonials {
    padding: 80px 0;
    background-color: var(--background-light);
}

.service-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid .testimonial-card:first-child {
    grid-column: 1 / -1;
    max-width: 550px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:first-child {
        grid-column: 1;
        max-width: 100%;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.testimonial-service {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* FAQ Services */
.faq-services {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.calculator-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.calculator-form {
    margin-bottom: 2rem;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.input-group select,
.input-group input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

.input-group select:focus,
.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 122, 61, 0.1);
}

.input-help {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-calculate {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.btn-calculate svg {
    stroke: currentColor;
}

.calculator-results {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.calculator-results h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Disposition pyramide : 2 cartes en haut, 1 centrée en bas */
.results-grid .result-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    min-width: 350px;
    justify-self: center;
}

.result-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    min-height: 180px;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Animation pendant le comptage */
.result-card.counting {
    animation: card-pulse 0.8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    border-color: var(--primary-color);
}

@keyframes card-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    }
}

.result-card.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    color: var(--white);
}

.result-card.primary.counting {
    animation: card-pulse-primary 0.8s ease-in-out infinite;
}

@keyframes card-pulse-primary {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(76, 175, 80, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.7);
    }
}

.result-card.primary .result-label,
.result-card.primary .result-detail {
    color: rgba(255, 255, 255, 0.9);
}

.result-card.primary .result-value {
    color: var(--white);
}

.result-icon {
    font-size: 3rem;
    line-height: 1;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.result-content {
    flex: 1;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
}

.calc-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.calc-input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.calc-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.calculator-result h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.3rem;
}

.result-detail {
    font-size: 0.8rem;
    color: var(--text-lighter);
    line-height: 1.4;
}

.result-note {
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.calculation-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.calculation-details h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--white);
    border-radius: 8px;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.detail-value {
    font-weight: 600;
    color: var(--primary-color);
}

.calculator-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.calculator-disclaimer p {
    margin-bottom: 0.5rem;
}

.calculator-disclaimer p:last-child {
    margin-bottom: 0;
}

.calculator-disclaimer strong {
    color: var(--text-dark);
}

/* Schéma du cycle biogaz */
.biogas-cycle-schema {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.cycle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-width: 80px;
    transition: transform 0.3s ease;
}

.cycle-step:hover {
    transform: translateY(-3px);
}

.cycle-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cycle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cycle-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    animation: pulse-arrow 1.5s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* Bloc CTA du calculateur */
.calculator-cta {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.calculator-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.calculator-cta h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.calculator-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.cta-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.btn-cta-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-btn 2s ease-in-out infinite;
}

.btn-cta-pulse:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .calculator-wrapper {
        padding: 2rem 1.5rem;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .results-grid .result-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .result-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .result-icon {
        font-size: 2.5rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .biogas-cycle-schema {
        gap: 0.3rem;
        padding: 1rem;
    }

    .cycle-step {
        padding: 0.7rem;
        min-width: 60px;
    }

    .cycle-icon {
        font-size: 1.5rem;
    }

    .cycle-label {
        font-size: 0.75rem;
    }

    .cycle-arrow {
        font-size: 1.2rem;
    }

    .calculator-cta {
        padding: 1.5rem;
    }

    .calculator-cta h4 {
        font-size: 1.2rem;
    }

    .cta-benefits li {
        font-size: 0.85rem;
    }

    .btn-cta-pulse {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Services Link Section */
.services-link-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.link-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #2c7a3d 0%, #4caf50 100%);
    color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.link-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.link-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.link-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.highlight-item strong {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.highlight-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.link-card .btn {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-top: 1rem;
}

.link-card .btn:hover {
    background: var(--light-bg);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .link-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        min-width: 120px;
        padding: 0.8rem 1rem;
    }
    
    .link-card h2 {
        font-size: 1.5rem;
    }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive adjustments for Services page */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .calculator-wrapper {
        padding: 2rem 1.5rem;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
    background-color: var(--white);
}

.service-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 3rem;
}

.service-detail-item.reverse {
    flex-direction: row-reverse;
}

.service-detail-content {
    flex: 1;
}

.service-detail-item .service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-detail-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-detail-item p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-detail-item ul {
    list-style: none;
    padding: 0;
}

.service-detail-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-detail-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .service-detail-item,
    .service-detail-item.reverse {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Contact page tablette */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
}

.about-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f9f6 0%, #ffffff 100%);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    pointer-events: none;
}

.map-info-card {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    pointer-events: all;
    animation: slideInLeft 0.6s ease-out;
}

.map-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.map-info-card p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.map-info-card .btn {
    pointer-events: all;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Map */
@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .map-overlay {
        position: static;
        margin-top: 15px;
    }
    
    .map-info-card {
        animation: none;
    }
}

.map-placeholder {
    background-color: var(--white);
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder p {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-note {
    font-size: 1rem !important;
    color: var(--text-light) !important;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
    background-color: var(--white);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-mission {
    font-size: 1.3rem !important;
    color: var(--text-dark) !important;
    margin-top: 2rem !important;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

/* Our Difference Section */
.our-difference {
    padding: 80px 0;
    background-color: var(--background-light);
}

.our-difference h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.difference-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.difference-card {
    grid-column: span 2;
}

.difference-card:nth-child(4) {
    grid-column: 2 / 4;
}

.difference-card:nth-child(5) {
    grid-column: 4 / 6;
}

@media (max-width: 968px) {
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .difference-card {
        grid-column: span 1;
    }
    
    .difference-card:nth-child(4),
    .difference-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .difference-grid {
        grid-template-columns: 1fr;
    }
}

.difference-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.difference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.difference-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.difference-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.difference-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.cta-button {
    text-align: center;
}

/* Realisations Section */
.realisations {
    padding: 80px 0;
    background-color: var(--white);
}

.realisations h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.realisations-list {
    max-width: 900px;
    margin: 0 auto;
}

.realisation-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.realisation-item:hover {
    transform: translateX(10px);
}

.realisation-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.realisation-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.realisation-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Vision Section */
.vision {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.vision h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.vision-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vision-axes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-axis {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.vision-axis:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.axis-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-axis h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.vision-axis p {
    line-height: 1.7;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .realisation-item {
        flex-direction: column;
        gap: 1rem;
    }

    .realisation-number {
        width: auto;
    }

    .story-content h2,
    .realisations h2,
    .vision h2 {
        font-size: 2rem;
    }
}
/* Language Switcher Styles */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.lang-switcher-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    min-width: 80px;
    justify-content: center;
}

.lang-switcher-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 0.5rem 0;
}

.lang-switcher:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.9rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--accent-color);
    color: var(--white);
}

.lang-option.active {
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: auto;
        order: 2;
        position: relative;
    }
    
    .lang-switcher-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        min-width: 70px;
        border-width: 1.5px;
    }

    .lang-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        margin-top: 0.5rem;
    }

    /* Forcer le dropdown à se fermer par défaut sur mobile */
    .lang-switcher:hover .lang-dropdown {
        opacity: 0;
        visibility: hidden;
    }

    /* Activer le dropdown au clic sur mobile */
    .lang-switcher.active .lang-dropdown,
    .lang-dropdown.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .service-card,
    .faq-item {
        padding: 1.5rem;
    }

    .services-grid,
    .contact-grid {
        gap: 1.5rem;
    }

    /* Contact page responsive */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .map-card {
        height: 300px;
    }
}

/* ====== CORRECTIONS MOBILE ====== */

/* Repositionner le bouton scroll-to-top au-dessus du bouton calculateur sur mobile */
@media (max-width: 1024px) {
    .scroll-to-top {
        bottom: 85px !important;
        right: 15px !important;
        width: 42px;
        height: 42px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Calculateur - Corrections mobile */
@media (max-width: 768px) {
    /* Bouton calculer - réduire la taille */
    .btn-calculate {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        justify-content: center;
    }

    .btn-calculate svg {
        width: 18px;
        height: 18px;
    }

    /* Cartes de résultats - éviter le débordement */
    .result-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .result-icon {
        font-size: 2rem;
    }

    .result-value {
        font-size: 1.3rem;
        word-break: break-word;
    }

    .result-label {
        font-size: 0.85rem;
    }

    .result-detail {
        font-size: 0.8rem;
    }

    /* CTA du calculateur */
    .calculator-cta {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .calculator-cta h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .calculator-cta p {
        font-size: 0.9rem;
    }

    .cta-benefits {
        padding-left: 1.2rem;
    }

    .cta-benefits li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .btn-cta-pulse {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Formulaire du calculateur */
    .calculator-form {
        padding: 1.5rem;
    }

    .input-group label {
        font-size: 0.9rem;
    }

    .input-group select,
    .input-group input {
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .input-help {
        font-size: 0.75rem;
    }
}

/* Extra petit écran */
@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 80px !important;
        right: 10px !important;
        width: 38px;
        height: 38px;
    }

    .btn-calculator-fixed {
        padding: 0.55rem 1rem;
        font-size: 0.7rem;
    }

    .result-value {
        font-size: 1.15rem;
    }

    .calculator-wrapper {
        padding: 1rem;
    }

    .calculator-form {
        padding: 1rem;
    }

    .results-grid {
        gap: 0.8rem;
    }
}

/* ====== AMÉLIORATIONS RESPONSIVE CALCULATEUR ====== */

/* Menus déroulants - amélioration tactile */
.input-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232c7a3d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.input-group select:hover {
    border-color: var(--primary-light);
}

/* Amélioration des champs sur tablette */
@media (max-width: 1024px) {
    .input-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .input-group select,
    .input-group input {
        padding: 14px 16px;
        font-size: 16px; /* Empêche le zoom auto sur iOS */
        min-height: 50px;
    }

    .input-group select {
        padding-right: 45px;
        background-position: right 15px center;
    }

    .btn-calculate {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 54px;
    }
}

/* Amélioration des champs sur mobile */
@media (max-width: 768px) {
    .calculator-section {
        padding: 2.5rem 0;
    }

    .calculator-header h2,
    .calculator-section h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .calculator-header .section-intro {
        font-size: 0.95rem;
    }

    .input-group {
        margin-bottom: 0.5rem;
    }

    .input-group label {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .input-group select,
    .input-group input {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        min-height: 52px;
        width: 100%;
        border-width: 2px;
    }

    .input-group select {
        padding-right: 45px;
        background-size: 14px;
    }

    .input-group select option {
        padding: 12px;
        font-size: 15px;
    }

    .input-help {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        line-height: 1.4;
    }

    /* Bouton calculer - plus gros et accessible */
    .btn-calculate {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 56px;
        border-radius: 12px;
        margin-top: 1.5rem;
        font-weight: 600;
        gap: 0.6rem;
    }

    .btn-calculate svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Résultats du calculateur */
    .calculator-results h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .results-grid {
        gap: 1rem;
    }

    .results-grid .result-card:last-child {
        min-width: auto;
        max-width: 100%;
    }

    .result-card {
        padding: 1.25rem;
        border-radius: 14px;
        min-height: auto;
    }

    /* CTA du calculateur */
    .calculator-cta {
        padding: 1.5rem;
        border-radius: 14px;
        margin-top: 2rem;
    }

    .calculator-cta h4 {
        font-size: 1.15rem;
        margin-bottom: 0.8rem;
    }

    .calculator-cta p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta-benefits {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-benefits li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .btn-cta-pulse {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Disclaimer du calculateur */
    .calculator-disclaimer {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .calculator-disclaimer p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* Extra petit écran (petits smartphones) */
@media (max-width: 400px) {
    .calculator-wrapper {
        padding: 0.8rem;
        border-radius: 14px;
    }

    .calculator-header h2,
    .calculator-section h2 {
        font-size: 1.4rem;
    }

    .input-group select,
    .input-group input {
        padding: 12px 14px;
        font-size: 15px;
        min-height: 48px;
    }

    .input-group label {
        font-size: 0.9rem;
    }

    .btn-calculate {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        min-height: 50px;
    }

    .result-card {
        padding: 1rem;
    }

    .result-icon {
        font-size: 1.8rem;
    }

    .result-value {
        font-size: 1.1rem;
    }

    .result-label {
        font-size: 0.8rem;
    }

    .calculator-cta {
        padding: 1.2rem;
    }

    .calculator-cta h4 {
        font-size: 1.05rem;
    }

    .btn-cta-pulse {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

/* Amélioration du focus pour accessibilité */
.input-group select:focus,
.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 122, 61, 0.15);
}

/* Animation de transition pour les champs */
.input-group select,
.input-group input,
.btn-calculate,
.btn-cta-pulse {
    transition: all 0.2s ease;
}

/* Amélioration du bouton calculer au hover sur mobile */
@media (hover: hover) {
    .btn-calculate:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(249, 168, 37, 0.4);
    }

    .btn-cta-pulse:hover {
        transform: scale(1.02);
    }
}

/* Amélioration tactile - états actifs */
@media (hover: none) {
    .btn-calculate:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(249, 168, 37, 0.3);
    }

    .btn-cta-pulse:active {
        transform: scale(0.98);
    }

    .input-group select:active,
    .input-group input:active {
        border-color: var(--primary-color);
    }
}

/* ====== STYLES CONTACT FORM 7 ====== */

/* Sections du formulaire */
.wpcf7 .form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.wpcf7 .form-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Lignes du formulaire */
.wpcf7 .form-row {
    margin-bottom: 1.5rem;
}

.wpcf7 .form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .wpcf7 .form-row.two-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Labels */
.wpcf7 label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Champs de saisie */
.wpcf7 .form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7 .form-control:focus,
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 122, 61, 0.15);
}

/* Select customisé */
.wpcf7 select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232c7a3d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Section consentement */
.wpcf7 .consent-section {
    background: #f0f8f2;
    border-left-color: var(--secondary-color);
}

.wpcf7 .consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.wpcf7 .consent-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpcf7 .consent-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Bouton d'envoi */
.wpcf7 .form-submit {
    margin-top: 2rem;
    text-align: center;
}

.wpcf7 .btn-submit,
.wpcf7 input[type="submit"] {
    width: 100%;
    max-width: 400px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* Messages de validation */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border: 2px solid #e74c3c !important;
    background: #fef5f5 !important;
    color: #e74c3c;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    border: 2px solid var(--secondary-color) !important;
    background: #f0f8f2 !important;
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Spinner de chargement */
.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 1rem;
    vertical-align: middle;
}

/* Champs invalides */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border-color: #e74c3c;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .wpcf7 .form-section {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .wpcf7 .form-section h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .wpcf7 input,
    .wpcf7 select,
    .wpcf7 textarea {
        font-size: 16px; /* Évite le zoom iOS */
        padding: 14px;
    }

    .wpcf7 .btn-submit,
    .wpcf7 input[type="submit"] {
        width: 100%;
        max-width: 100%;
    }
}

/* Animation d'envoi */
.wpcf7 form.submitting {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.wpcf7 form.submitting::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-cf7 0.8s linear infinite;
    z-index: 10;
}

@keyframes spin-cf7 {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ====== CONSENT ITEMS CF7 ====== */
.wpcf7 .consent-section .consent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.wpcf7 .consent-section .consent-item .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .consent-section .consent-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.wpcf7 .consent-section .consent-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.wpcf7 .consent-section .consent-item a:hover {
    color: var(--primary-dark);
}

/* ====== PAGE PRIVACY POLICY ====== */
.privacy-policy-section {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.privacy-section ul {
    padding-left: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.privacy-section ul li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-section ul li::marker {
    color: var(--primary-color);
}

.privacy-section ul li strong {
    color: var(--text-dark);
}

.privacy-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.privacy-footer p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 2rem 0;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-footer {
        padding: 1.5rem;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary-color, #2c7a3d);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark, #1e5a2b);
    transform: translateY(-1px);
}

.cookie-btn-refuse {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #666;
}

.cookie-btn-refuse:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #999;
}

.cookie-link {
    color: #90caf9;
    font-size: 0.8rem;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-link:hover {
    color: #bbdefb;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        padding: 1.25rem 1rem;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}
