/* COULEURS AJUSTÉES */
        :root {
            --primary-blue: #2995bc;
            --primary-white: #ffffff;
            --light-bg: #f4f7fc;
            --medium-gray: #e1e8f0;
            --dark-gray: #4a5568;
            --text-dark: #111111;
            --text-soft: #334155;
            --accent-orange: #e29d34;
            --accent-hover: #c07b12;
            --border-soft: #cbd5e1;
            --overlay-gradient: linear-gradient(90deg, rgba(215,215,215,0.7) 0%, rgba(215,215,215,0.7) 40%, rgba(215,215,215,0.7) 100%);
            --card-shadow: 0 20px 40px rgba(0,0,0,0.15);
            --result-shadow: 0 15px 35px rgba(255,107,53,0.1);
        }

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

        body {
            font-family: 'Roboto', sans-serif;
            color: var(--text-dark);
            background-color: var(--light-bg);
            line-height: 1.6;
        }

        /* HEADER TRANSPARENT */
        .site-header {
            background-color: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            width: 100%;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            border-bottom: 1px solid rgba(255,107,53,0.2);
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .logo span {
            color: var(--accent-orange);
            font-weight: 800;
        }

        .main-nav {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }

        .main-nav a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s;
        }

        .main-nav a:hover {
            color: var(--accent-orange);
        }

        .main-nav a.active {
            color: var(--accent-orange);
        }

        .contact-btn {
            background-color: var(--primary-blue);
            border: none;
            color: var(--primary-white)!important;
            padding: 0.7rem 2.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            text-transform: uppercase;
            transition: all 0.3s;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(100,100,100,0.3);
        }

        .contact-btn:hover {
            background-color: var(--primary-blue);
            box-shadow: 0 6px 15px rgba(200,200,200,0.4);
        }

        /* HERO SECTION */
        .hero-section {
            position: relative;
            min-height: 1000px;
            display: flex;
            align-items: center;
            margin-top: 80px;
            background-image: url('../img/main-header.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            padding: 3rem 0;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--overlay-gradient);
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto ;
            padding: 0 2rem;
            width: 100%;
            position: relative;
            z-index: 2;
        }

        /* Texte à gauche */
        .title-container {
            width:100%;
            margin-top:-70px;
        }

        .title-container img{
            margin-left:25%;
            width:50%;
        }

        .hero-text {
            color: var(--text-dark);
            padding-right: 3rem;
            width:100%;
        }

        .hero-title {
            width:100%!important;
            font-size: 3.2rem;
            font-weight: 500;
            line-height: 1.2;
            margin-top:15px;
            color: var(--text-dark);
            text-shadow: 2px 2px 4px rgba(255,255,255,0.1);
            text-align:center;
        }

        .hero-title span {
            color: var(--text-dark);
            display: block;
            font-size: 2.2rem;
            font-weight: 500;
            margin-top:15px;
            text-shadow: 2px 2px 4px rgba(255,255,255,0.1);
        }

        .hero-subtitle {
            font-size: 1.15rem;
            color: var(--text-dark);
            margin-top:15px;
            line-height: 1.8;
            font-weight: 500;
            text-shadow: 1px 1px 3px rgba(255,255,255,0.1);
            text-align:center;
        }

        .hero-features {
            list-style: none;
            padding: 0;
            margin-top: 2.5rem;
        }

        .hero-features li {
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: var(--text-dark);
            font-weight: 600;
            text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
        }

        .hero-features li i {
            color: var(--primary-blue);
            font-size: 1.3rem;
            width: 28px;
            filter: drop-shadow(0 2px 4px rgba(255,255,255,0.5));
        }

        /* Formulaire à droite */
        .simulator-card {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 4rem 3rem;
            box-shadow: var(--card-shadow);
            width: 100%;
            max-width: 580px;
            margin-left: auto;
            border: 1px solid rgba(255,255,255,0.5);
            min-height: 650px;
            position: relative;
            transition: all 0.3s ease;
        }

        .simulator-card:hover {
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }

        /* Onglets corrigés */
        .tabs-container {
            display: flex;
            border-bottom: 2px solid rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            width: 100%;
            cursor: pointer;
        }

        .tab-button {
            flex: 1;
            text-align: center;
            padding: 1rem 0.5rem;
            font-weight: 700;
            color: var(--dark-gray);
            background: transparent;
            border: none;
            transition: all 0.3s;
            font-size: 1rem;
            position: relative;
            cursor: pointer;
        }

        .tab-button i {
            margin-right: 0.5rem;
            color: var(--accent-orange);
        }

        .tab-button:hover {
            color: var(--accent-orange);
            background: rgba(255,107,53,0.05);
        }

        .tab-button.active {
            color: var(--accent-orange);
        }

        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--accent-orange);
        }

        .tab-content {
            display: block;
        }

        .tab-pane {
            display: none;
        }

        .tab-pane.active {
            display: block;
        }

        .simulator-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .simulator-header h3 {
            color: var(--text-dark);
            font-weight: 700;
            font-size: 2rem;
            margin-bottom: 0.8rem;
        }

        .simulator-header p {
            color: var(--dark-gray);
            font-size: 0.95rem;
            font-weight: 500;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
        }

        .form-label i {
            color: var(--accent-orange);
            width: 20px;
            font-size: 1rem;
        }

        .form-control, .form-select {
            border: 2px solid rgba(0,0,0,0.1);
            border-radius: 12px;
            padding: 0.9rem 1rem;
            transition: all 0.3s;
            font-size: 0.95rem;
            background: white;
            font-weight: 500;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--accent-orange);
            box-shadow: 0 0 0 4px rgba(255,107,53,0.05);
        }

        .input-group-text {
            background: var(--light-bg);
            border: 2px solid rgba(0,0,0,0.1);
            border-radius: 12px;
            font-weight: 600;
            color: var(--text-dark);
            padding: 0.9rem 1rem;
        }

        .btn-calculate {
            background-color: var(--accent-orange);
            color: white;
            border: none;
            padding: 1.1rem;
            border-radius: 100px;
            font-weight: 700;
            width: 100%;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 1rem;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(100,100,100,0.3);
        }

        .btn-calculate:hover {
            background-color: var(--accent-hover);
            box-shadow: 0 8px 20px rgba(100,100,100,0.4);
        }

        .btn-back {
            background-color: transparent;
            color: var(--text-dark);
            border: 2px solid rgba(0,0,0,0.1);
            padding: 0.9rem;
            border-radius: 12px;
            font-weight: 600;
            width: 100%;
            transition: all 0.3s;
            margin-top: 1rem;
            font-size: 0.95rem;
            cursor: pointer;
        }

        .btn-back:hover {
            border-color: var(--accent-orange);
            color: var(--accent-orange);
            background: rgba(255,107,53,0.05);
        }

        /* Badge de puissance */
        .badge-custom {
            font-size: 0.8rem;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            white-space: nowrap;
        }

        /* ANIMATION POUR LE FORMULAIRE */

        @keyframes fadeIn {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }

        .tab-pane {
            animation: fadeIn 0.7s ease-in-out;
        }


        /* ANIMATION POUR LE RÉSULTAT */

        @keyframes slideInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .result-container {
            animation: slideInUp 0.5s ease-out;
        }


        .result-box {
            background: white;
            border-radius: 20px;
            padding: 1.8rem;
            border: 2px solid var(--accent-orange);
            box-shadow: var(--result-shadow);
        }

        .result-box h5 {
            color: var(--text-dark);
            font-weight: 800;
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.8rem;
            border-bottom: 3px solid var(--accent-orange);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .result-box h5 i {
            color: var(--accent-orange);
            font-size: 1.3rem;
        }

        .price-large {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text-dark);
            line-height: 1.2;
            background: linear-gradient(135deg, #f8f9fa, white);
            padding: 0.8rem;
            border-radius: 12px;
            margin-bottom: 1.2rem;
            border: 1px solid var(--medium-gray);
        }

        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            padding: 0.8rem 0;
            border-bottom: 1px dashed var(--border-soft);
            display: flex;
            justify-content: space-between;
            color: var(--text-dark);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .alert-success-custom {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: none;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1.2rem;
            font-weight: 600;
        }

        .economies-box {
            background: var(--light-bg);
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1rem;
            border: 1px solid var(--accent-orange);
        }

        /* Footer */
        .site-footer {
            background-color: var(--light-bg);
            color: var(--text-dark);
            padding: 4rem 0 2rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-title {
            color: var(--accent-orange);
            font-weight: 800;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            color: var(--primary-blue);
        }

        .footer-links li {
            color: var(--text-dark);
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .footer-links i {
            color: var(--primary-blue);
            width: 20px;
        }

        .footer-links a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.3s;
        }

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

        .footer-bottom {
            border-top: 1px solid #4a5568;
            margin-top: 2rem;
            padding-top: 2rem;
            text-align: center;
            color: #94a3b8;
            font-size: 0.95rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .main-nav {
                width:100%;
            }

            .main-nav .contact-btn{
                margin:auto;
            }
            
            .hero-title{
                margin-top:100px;
            }

            .title-container img,.hero-title span{
                display:none;
            }
            
            .hero-container{
                padding: 15px;
            }
            
            .hero-text {
                padding-right: 0;
                margin-bottom: 3rem;
                text-align: center;
            }
            
            .hero-features li {
                justify-content: center;
            }
            
            .simulator-card {
                padding: 4rem 2.1rem;
                margin: 0 auto;
                width: 100%;
            }
            
            .hero-title {
                font-size: 2.8rem;
            }
            
            .hero-title span {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .tab-button {
                font-size: 0.85rem;
            }
            
            .tab-button i {
                display: none;
            }
        }
