.hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}:root {
    --primary: #133345;
    --primary-light: #1e4a5c;
    --primary-dark: #0a1f2a;
    --secondary: #6c757d;
    --dark: #222831;
    --medium: #5c6370;
    --light: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --whatsapp: #25d366;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Raleway', sans-serif;
    --section-spacing: 100px;
    --container-padding: 15px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--body-font);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    font-weight: 600;
    color: var(--dark);
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.75rem; }
p { color: var(--medium); font-size: 1.1rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utilitaires */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-padding { padding: var(--section-spacing) 0; }
.text-center { text-align: center; }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding-top: 80px;
}

.hero * {
    color: #ffffff !important;
}

.hero .hero-text,
.hero .stat-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero .stat-number {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1973&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    text-align: left;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: space-between;
    max-width: 600px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Section headers */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.2rem;
}

/* Features Section */
.features {
    background-color: var(--light);
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19, 51, 69, 0.1) 0%, rgba(19, 51, 69, 0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 26px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--medium);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-image {
    width: 200px;
    height: 200px;
    display: block;
    margin: 30px auto 20px;
    object-fit: contain;
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-text {
    margin-bottom: 25px;
    color: var(--medium);
}

.service-features {
    margin-bottom: 25px;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.service-feature i {
    color: var(--success);
    margin-right: 10px;
}

/* Process Section */
.process {
    background-color: var(--light);
}

.process-container {
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-text {
    color: var(--medium);
}

/* Calculator Section */
.calculator {
    background-color: var(--white);
}

.calculator-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.calculator-content {
    flex: 1;
    max-width: 500px;
}

.calculator-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.calculator-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--medium);
}

.calculator-benefits {
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.benefit-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: rgba(19, 51, 69, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    margin-right: 15px;
    margin-top: 3px;
}

.calculator-form-container {
    flex: 1;
    max-width: 500px;
}

.calculator-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.calculator-form h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
}

/* Résultats calculateur */
.calculator-results {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header h4 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(19, 51, 69, 0.1);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item.highlight {
    background-color: rgba(19, 51, 69, 0.05);
    padding: 15px 10px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid var(--primary);
}

.result-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.result-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.result-item.highlight .result-value {
    color: var(--success);
    font-size: 1.3rem;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 51, 69, 0.1);
    outline: none;
}

.form-range {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    padding: 0;
    margin: 10px 0;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--medium);
}

/* FAQ Section */
.faq {
    background-color: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 30px;
    background-color: var(--white);
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header i {
    font-size: 16px;
    transition: var(--transition);
}

.accordion-item.active .accordion-header {
    color: var(--primary);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body {
    padding: 0 30px 30px;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-info-text {
    margin-bottom: 40px;
    color: var(--medium);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(19, 51, 69, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--primary);
    margin-right: 20px;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--medium);
    margin: 0;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
    margin-top: 40px;
}

.contact-form h3 {
    margin-bottom: 30px;
    margin-top: 0;
    color: var(--dark);
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-group .form-group {
    flex: 1;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding-top: 80px;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.copyright a {
    color: #ffffff;
    text-decoration: underline;
    margin: 0 5px;
}

.copyright a:hover {
    color: var(--secondary);
}

/* Widgets */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(19, 51, 69, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--medium);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary);
}

.modal h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.modal-body {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .calculator-container,
    .contact-container {
        flex-direction: column;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 0 0 50%;
        margin-bottom: 50px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero .container {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--white);
        flex-direction: column;
        overflow: hidden;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--box-shadow);
    }
    
    .nav-menu.active {
        height: auto;
        padding: 20px 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .nav-item { margin: 10px 0; }
    
    .hero {
        height: auto;
        padding: 120px 0 60px;
        min-height: 500px;
    }
    
    .hero-bg-image { display: none; }
    
    .hero .container {
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title { font-size: 2.8rem; }
    
    .hero-buttons { 
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .process-step { flex: 0 0 100%; }
    
    .input-group {
        flex-direction: column;
        gap: 0;
    }

    .features-container,
    .services-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    
    .back-to-top,
    .whatsapp-widget {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .service-image {
        width: 150px;
        height: 150px;
    }

    .calculator-results {
        padding: 20px;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .result-value {
        font-size: 1.1rem;
    }
}