:root {
    --bleu-nuit: #0A192F;
    --bleu-clair: #112240;
    --orange-action: #FF6B6B;
    --orange-hover: #FF5252;
    --blanc: #F8F9FA;
    --texte-gris: #8892B0;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 1. Activer le défilement fluide proprement */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--blanc);
    color: var(--bleu-nuit);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--bleu-nuit);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--orange-action);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px; /* J'ai réduit à 40px car 80px donnait un header trop grand */
    width: auto;  
    margin-right: 10px; 
}

.logo span { color: var(--orange-action); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--orange-action); }

.btn-nav {
    background: var(--orange-action);
    padding: 8px 18px;
    border-radius: 5px;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.badge-promo {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid var(--orange-action);
    color: var(--orange-action);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero .highlight { color: var(--orange-action); }
.hero p { max-width: 700px; margin: 0 auto 40px auto; font-size: 1.2rem; color: var(--texte-gris); }

/* --- Boutons --- */
.btn-primary {
    background-color: var(--orange-action);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* LE BOUTON AJOUTÉ POUR L'OFFRE SUR-MESURE */
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--bleu-nuit);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--bleu-nuit);
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--bleu-nuit);
    color: white;
    transform: translateY(-3px);
}

.btn-secondary-white {
    border: 2px solid white;
    color: white;
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 15px;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary-white:hover { background: white; color: var(--bleu-nuit); }

/* --- Steps --- */
.steps-section { padding: 80px 0; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 50px; }
.step { padding: 20px; transition: 0.3s; }
.step-number { 
    width: 50px; height: 50px; background: var(--bleu-nuit); color: white; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; margin: 0 auto 20px auto; font-weight: 700; font-size: 1.2rem;
    border: 2px solid var(--orange-action);
}

/* --- Pricing --- */
.pricing-section { background: #f0f2f5; padding: 100px 0; text-align: center; }
.pricing-container { display: flex; justify-content: center; margin-top: 50px; gap: 30px; flex-wrap: wrap; align-items: stretch; }

.card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 550px;
    box-shadow: var(--shadow);
    border: 2px solid var(--orange-action);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card.custom-project {
    border: 1px solid #ccc; /* Bordure plus neutre pour l'offre sur devis */
}

.card .btn-primary, .card .btn-secondary {
    margin-top: auto; /* Pousse le bouton toujours tout en bas de la carte */
}

.badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-action);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.price { font-size: 4rem; font-weight: 800; margin: 15px 0; }
.klarna-info { color: #555; background: #eee; display: inline-block; padding: 5px 15px; border-radius: 5px; font-size: 0.9rem; margin-bottom: 30px;}

.pricing-list { list-style: none; text-align: left; margin-bottom: 30px; }
.pricing-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
.pricing-list li::before { content: "✅"; margin-right: 10px; }

.subscription-box {
    background: var(--bleu-nuit);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 30px;
}
.subscription-box h4 { color: var(--orange-action); margin-bottom: 10px; }
.subscription-box ul { list-style: none; font-size: 0.9rem; }

/* --- Bannière Argumentaire Propriété --- */
.freedom-banner {
    background-color: var(--bleu-nuit);
    color: white;
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: left;
    border-left: 5px solid var(--orange-action);
}

.freedom-banner h3 {
    color: var(--orange-action);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.freedom-banner p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e2e8f0;
}

/* --- Contact --- */
.contact-section { background: var(--bleu-nuit); color: white; padding: 100px 0; text-align: center; }
.contact-form { max-width: 700px; margin: 40px auto 0 auto; background: rgba(255,255,255,0.05); padding: 40px; border-radius: 15px; }
.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border-radius: 8px; border: 1px solid #333; background: #112240; color: white; margin-bottom: 20px;
}

/* --- Style pour le menu déroulant (Select) du formulaire --- */
.contact-form select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #112240;
    color: white; 
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    appearance: none; 
    cursor: pointer;
}

.contact-form select:invalid { color: #8892B0; }
.contact-form select option { color: black; background: white; }

/* --- Features --- */
.features-grid { padding: 60px 0; background: white; border-top: 1px solid #eee; }
.features-grid .container { display: flex; justify-content: space-between; text-align: center; }
.feature-item { flex: 1; padding: 20px; }
.feature-item .icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }

/* --- Footer --- */
.site-footer { background: #050c16; padding: 40px 0; color: var(--texte-gris); text-align: center; }
.footer-links { margin-top: 15px; }
.footer-links a { color: var(--texte-gris); margin: 0 10px; text-decoration: none; font-size: 0.9rem; }

/* =========================================
   PAGE MENTIONS LÉGALES
   ========================================= */

/* Fix pour forcer le footer en bas de page */
body.page-legale {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Le body prend au minimum 100% de la hauteur de l'écran */
}

.legal-section {
    flex: 1; /* Permet à la section de pousser le footer tout en bas */
    padding: 80px 20px;
    background-color: #f0f2f5; /* Fond gris clair pour faire ressortir le bloc blanc */
}

/* Design du contenu textuel */
.legal-content {
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px; /* On réduit la largeur pour que la lecture soit plus agréable */
    margin: 0 auto;
}

.legal-content h1 {
    color: var(--bleu-nuit);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.date-maj {
    color: var(--texte-gris);
    font-style: italic;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.legal-content h2 {
    color: var(--orange-action);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Mise en forme des encarts d'information (Éditeur / Hébergeur) */
.legal-content ul {
    list-style: none;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--bleu-nuit);
}

.legal-content ul li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.legal-content ul li:last-child {
    margin-bottom: 0;
}

/* Mobile responsive pour les mentions légales */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
    .legal-content h1 {
        font-size: 2rem;
    }
}

/* =========================================
   MENU HAMBURGER & RESPONSIVE (<= 600px)
   ========================================= */

/* Le hamburger est caché par défaut sur grand écran */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

/* Les 3 barres du hamburger */
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

@media (max-width: 685px) {
    /* On centre le contenu de la barre (le logo) */
    .nav-content {
        justify-content: center; 
    }

    /* On place le hamburger absolument à gauche */
    .hamburger {
        display: flex;
        position: absolute;
        left: 20px; /* Aligné avec la marge de ton conteneur */
    }

    /* Le menu déroulant (inchangé) */
    .nav-links {
        position: absolute;
        top: 100%; 
        left: -100%; 
        width: 100%;
        background-color: var(--bleu-nuit);
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        transition: 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 3px solid var(--orange-action);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* Animation de la croix (inchangé) */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0; 
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- Bouton Espace Client (Navbar) --- */
.btn-client-nav {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-client-nav:hover {
    border-color: var(--orange-action);
    color: var(--orange-action) !important;
    background: rgba(255, 107, 107, 0.1);
}