/* Reset basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4; /* Fond de la page (hors header) */
}

/* --- MAIN HEADER --- */
.main-header {
    background-color: #ffffff; /* On passe sur un fond blanc, bien propre ! */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Ombre beaucoup plus douce adaptée au blanc */
    position: relative;
    z-index: 10;
}

.logo {
    height: 120px; /* BOOM, beaucoup plus grand ! (était à 110px) */
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(2.1);
}

.logo:hover {
    transform: scale(2.25); 
}

.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: #0a192f; /* Bleu nuit très foncé pour être bien lisible sur le blanc */
    font-weight: 600;
    font-size: 0.95rem; /* Taille ajustée pour les majuscules */
    text-transform: uppercase; /* Même style que le sous-header ! */
    letter-spacing: 0.5px; /* Espacement stylé */
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Ligne animée sous les liens avec les couleurs de ton logo */
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #007bff, #ff9900); 
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #007bff; /* Passe au bleu clair au survol */
}

.main-nav a:hover::after {
    width: 100%;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phone-number {
    color: #f27b00; /* Orange légèrement plus soutenu pour bien ressortir sur le blanc */
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.phone-number i {
    margin-right: 8px;
}

/* Bouton stylé et moderne */
.btn-cta {
    background: linear-gradient(90deg, #0056b3, #007bff); 
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px; 
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.btn-cta:hover {
    background: linear-gradient(90deg, #ff7b00, #ff9900); 
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    transform: translateY(-2px);
}

/* --- SUB HEADER --- */
.sub-header {
    background-color: #0a192f; /* Reste bleu nuit très profond */
    padding: 16px 5%;
    display: flex;
    justify-content: center;
    /* On enlève la bordure du haut qui ne sert plus à rien avec le header blanc */
}

.sub-nav {
    display: flex;
    align-items: center;
    gap: 50px; 
}

.sub-nav a {
    text-decoration: none;
    color: #a8b2d1;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.sub-nav a:hover {
    color: #00bfff; 
}

/* =========================================
   SECTION HERO (Accueil - Style Evogue)
   ========================================= */

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Largeur max pour pas que ce soit trop étiré sur grand écran */
    margin: 60px auto; /* Centre la section et laisse respirer en haut/bas */
    padding: 0 5%;
    gap: 40px; /* Espace entre les images et le texte */
    background-color: #f4f4f4; /* Même fond que ton body pour que ça s'intègre bien */
}

/* Gestion des images sur les côtés */
.hero-image {
    flex: 1; /* Prend 1 part de l'espace */
    max-width: 320px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover; /* Permet à l'image de bien remplir le cadre sans se déformer */
    border-radius: 20px; /* Bords bien arrondis comme sur Evogue */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Ombre douce pour faire ressortir l'image */
}

/* Contenu textuel au centre */
.hero-content {
    flex: 2; /* Prend 2 parts de l'espace (plus large que les images) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #0a192f; /* Le bleu nuit de ton identité */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px; /* Pour éviter que le texte soit trop large et illisible */
}

/* --- BOUTONS HERO --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Bouton principal plein */
.btn-solid {
    background: #0a192f; /* Bleu foncé très institutionnel */
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px; /* Très arrondi (pill-shape) comme Evogue */
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #0a192f; /* Bordure de la même couleur pour garder la taille identique à l'autre bouton */
}

.btn-solid:hover {
    background: #f27b00; /* Passe au orange de ton logo au survol */
    border-color: #f27b00;
    transform: translateY(-2px);
}

/* Bouton secondaire transparent avec bordure */
.btn-outline {
    background: transparent;
    color: #0a192f;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid #0a192f; /* Bordure bleu foncé */
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #0a192f;
    color: white;
}

/* =========================================
   SECTION 3 ÉTAPES (Cartes style Evogue)
   ========================================= */

.steps-section {
    background-color: #ffffff; /* Fond blanc pour alterner avec la hero section */
    padding: 80px 5%;
    text-align: center;
}

.steps-header {
    margin-bottom: 50px;
}

.steps-header h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.steps-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Le conteneur des 3 cartes */
.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des cartes individuelles */
.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); /* Ombre douce et élégante */
    flex: 1;
    text-align: left; /* Texte aligné à gauche comme sur ton modèle */
    border: 1px solid #f0f0f0; /* Petite bordure très légère */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px); /* La carte se soulève au survol */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2.5rem;
    color: #007bff; /* Bleu de ton logo */
    margin-bottom: 20px;
}

.step-card h3 {
    color: #0a192f;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* --- MINI GARANTIES DU BAS --- */
.steps-guarantees {
    margin-top: 60px;
}

.steps-guarantees ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none; /* Enlève les puces par défaut */
}

.steps-guarantees li {
    color: #0a192f;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-guarantees li i {
    color: #f27b00; /* Checkmark en orange */
    font-size: 1.2rem;
}

/* =========================================
   SECTION GUIDES & CONSEILS
   ========================================= */

.guide-section {
    background-color: #f4f4f4; /* Retour au fond gris clair pour l'alternance */
    padding: 80px 5%;
}

.guide-header {
    text-align: center;
    margin-bottom: 50px;
}

.guide-header h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.guide-header p {
    color: #555;
    font-size: 1.1rem;
}

/* La grille pour aligner les 4 catégories */
.guide-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* S'adapte tout seul sur petit écran ! */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style de chaque bloc catégorie */
.guide-category {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007bff; /* Petite ligne bleue en haut pour le style */
}

.guide-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.guide-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
}

.guide-category h3 {
    color: #0a192f;
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Liste des liens */
.guide-links {
    list-style: none; /* Enlève les puces standards */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.guide-links a i {
    color: #f27b00; /* Flèche orange */
    font-size: 0.8rem;
    transition: transform 0.3s ease; /* Prépare l'animation */
}

/* Animation au survol d'un lien */
.guide-links a:hover {
    color: #007bff; /* Le texte devient bleu */
}

.guide-links a:hover i {
    transform: translateX(5px); /* La petite flèche orange avance */
}

/* Conteneur pour le bouton final */
.guide-cta-container {
    text-align: center;
    margin-top: 50px;
}

/* =========================================
   SECTION PARTENARIAT (Les Echos)
   ========================================= */

.partner-section {
    background-color: #ffffff; /* Fond blanc pour alterner */
    padding: 80px 5%;
}

/* La grande carte bleue foncée */
.partner-container {
    background: #0a192f; /* Bleu nuit MonLegaliste */
    border-radius: 24px; /* Bords bien arrondis */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 60px;
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.15); /* Ombre pour détacher la carte */
    color: white; /* Tout le texte dedans sera blanc par défaut */
}

/* --- Bloc de gauche (Le Logo) --- */
.partner-logo-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.badge {
    background: rgba(242, 123, 0, 0.15); /* Fond orange transparent */
    color: #f27b00; /* Texte orange */
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(242, 123, 0, 0.3);
}

/* Faux logo "Les Echos" en attendant que tu aies l'image */
.echos-mockup {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.echos-mockup span {
    color: #000;
    font-family: 'Times New Roman', Times, serif; /* Typo très "journal" */
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

/* --- Bloc de droite (Le Contenu) --- */
.partner-content {
    flex: 1.5; /* Prend un peu plus de place que le logo */
}

.partner-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.partner-content p {
    font-size: 1.1rem;
    color: #a8b2d1; /* Un gris-bleu clair pour être lisible mais moins agressif que le blanc pur */
    margin-bottom: 30px;
    line-height: 1.6;
}

.partner-content p strong {
    color: white;
}

.partner-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partner-benefits li {
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-benefits li i {
    background: #007bff; /* Cercle bleu pour l'icône */
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

/* =========================================
   SECTION TOUTES LES ANNONCES LÉGALES (MonLegaliste Style)
   ========================================= */

.all-announcements-section {
    background-color: #f4f4f4; 
    padding: 80px 5%;
}

.all-announcements-header {
    text-align: center;
    margin-bottom: 60px;
}

.all-announcements-header h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.all-announcements-header p {
    color: #555;
    font-size: 1.1rem;
}

/* La Grille principale */
.announcements-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start; /* Évite que les cartes s'étirent inutilement vers le bas */
}

/* Colonne combinée pour les petites catégories */
.announcement-combined-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* La Carte Moderne (fond blanc, bords ronds) */
.announcement-modern-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-header i {
    background: rgba(0, 123, 255, 0.1); /* Fond bleu clair */
    color: #007bff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.card-header h3 {
    color: #0a192f;
    font-size: 1.3rem;
    font-weight: 800;
}

/* Le conteneur des boutons */
.card-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* LES BOUTONS D'ACTION (Le secret du look "SaaS/Startup") */
.action-pill {
    text-decoration: none;
    background-color: #f8f9fa; /* Gris très très clair */
    color: #333;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent; /* Prépare la bordure pour le survol */
    transition: all 0.3s ease;
}

.action-pill i {
    color: #a8b2d1;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Style des acronymes (SAS, SARL) */
.acronym {
    color: #007bff; /* Bleu par défaut */
    font-weight: 800;
    margin-right: 5px;
}

/* === L'EFFET MAGIQUE AU SURVOL === */
.action-pill:hover {
    background-color: #0a192f; /* Le bloc devient Bleu Nuit */
    color: #ffffff; /* Le texte devient blanc */
    border-color: #0a192f;
    transform: translateY(-2px); /* Se soulève un peu */
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.15);
}

.action-pill:hover i {
    color: #f27b00; /* La flèche devient orange */
    transform: translateX(4px); /* Elle avance vers la droite */
}

.action-pill:hover .acronym {
    color: #f27b00; /* L'acronyme devient orange pour bien ressortir sur le fond sombre ! */
}

/* =========================================
   FOOTER (Pied de page)
   ========================================= */

.site-footer {
    background-color: #0a192f; /* Bleu nuit MonLegaliste */
    color: #a8b2d1; /* Gris bleuté clair pour la lisibilité */
    font-size: 0.95rem;
    margin-top: 60px; /* Espace avec la section d'au dessus */
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Gère la largeur des 4 colonnes */
    gap: 40px;
}

/* Style des colonnes */
.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Petite ligne design sous les titres du footer */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background-color: #f27b00; /* Touche de orange */
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col ul a {
    text-decoration: none;
    color: #a8b2d1;
    transition: all 0.3s ease;
}

.footer-col ul a:hover {
    color: #f27b00; /* Devient orange au survol */
    padding-left: 5px; /* Petit décalage dynamique */
}

/* Colonne de la marque (Logo + Socials) */
.brand-col p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-logo {
    max-height: 60px; /* On limite la taille du logo ici pour que ça reste élégant */
    margin-bottom: 20px;
}

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

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #007bff; /* Passe au bleu clair au survol */
    transform: translateY(-3px);
}

/* Colonne Contact & Paiement */
.contact-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col ul li i {
    color: #f27b00;
    font-size: 1.1rem;
}

.secure-payment {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.secure-payment span {
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #ffffff;
}

/* Barre du bas (Copyright & Mentions) */
.footer-bottom {
    background-color: #050d1a; /* Bleu encore plus foncé pour bien marquer la fin */
    padding: 20px 5%;
}

.footer-bottom-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    text-decoration: none;
    color: #a8b2d1;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* Responsive Footer pour téléphone */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

.footer-col img {
    transform: scale(2.5); /* Agrandit légèrement les logos de paiement pour les faire ressortir */
}

/* =========================================
   EN-TÊTE DES PAGES INTERNES (Hero Page)
   ========================================= */

.page-hero {
    background-color: #0a192f; /* Bleu nuit MonLegaliste */
    background-image: linear-gradient(135deg, #0a192f 0%, #001f4d 100%); /* Léger dégradé pour le volume */
    color: white;
    padding: 100px 5% 80px 5%;
    text-align: center;
    border-bottom: 5px solid #f27b00; /* Ligne orange fine en bas pour le contraste */
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.25rem;
    color: #a8b2d1;
    line-height: 1.6;
}

/* =========================================
   PAGE ENGAGEMENTS - GRILLE DES VALEURS
   ========================================= */

.commitments-section {
    background-color: #f4f4f4;
    padding: 80px 5%;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

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

.commitment-icon {
    width: 80px;
    height: 80px;
    background: rgba(242, 123, 0, 0.1); /* Fond orange très clair */
    color: #f27b00; /* Icône orange vif */
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

/* Effet sur l'icône au survol de la carte */
.commitment-card:hover .commitment-icon {
    background: #0a192f;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.commitment-card h3 {
    color: #0a192f;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.commitment-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* =========================================
   BOTTOM CTA (Appel à l'action fin de page)
   ========================================= */

.bottom-cta {
    background-color: #ffffff;
    padding: 80px 5%;
    text-align: center;
}

.bottom-cta h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.bottom-cta p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* =========================================
   PAGE CONTACT
   ========================================= */

.contact-section {
    background-color: #f4f4f4;
    padding: 80px 5%;
}

.contact-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* --- Bloc de Gauche (Infos) --- */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-intro {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: white;
    color: #007bff; /* Bleu MonLegaliste */
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-text h4 {
    color: #0a192f;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.info-text span {
    color: #f27b00; /* Orange */
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Bloc de Droite (Le Formulaire) --- */
.contact-form-box {
    flex: 1.2;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.MonLegaliste-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #0a192f;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Style des champs de saisie */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eaeaea; /* Bordure discrète */
    border-radius: 10px;
    background-color: #fcfcfc;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Effet au clic dans un champ (Focus) */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff; /* La bordure devient bleue */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1); /* Petit halo bleu façon SaaS */
}

/* Bouton d'envoi */
.submit-btn {
    border: none;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%; /* Le bouton prend toute la largeur */
}

/* Responsive pour téléphone */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .contact-form-box {
        padding: 30px;
    }
}

/* =========================================
   PAGE "VOTRE ANNONCE LÉGALE"
   ========================================= */

.annonce-selection-section {
    background-color: #f4f4f4;
    padding: 60px 5% 100px 5%;
}

.selection-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Barre de recherche --- */
.search-formality-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 10px 10px 25px;
    border-radius: 50px; /* Très arrondi */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    margin-top: -100px; /* Fait remonter la barre sur la zone bleue de l'en-tête ! */
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-formality-box:focus-within {
    border-color: #007bff; /* S'allume en bleu quand on clique dedans */
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
}

.search-icon {
    color: #a8b2d1;
    font-size: 1.2rem;
    margin-right: 15px;
}

.search-input {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    color: #333;
    background: transparent;
    padding: 10px 0;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: 14px 30px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
}

/* --- Titre de section --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #0a192f;
    font-size: 2rem;
    font-weight: 800;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #f27b00; /* Ligne orange */
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* --- Grille des actions populaires --- */
.popular-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Cartes d'action */
.popular-action-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
}

.popular-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

/* Couleurs des icônes selon la catégorie */
.popular-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.creation-icon { background: rgba(0, 123, 255, 0.1); color: #007bff; }
.modif-icon { background: rgba(242, 123, 0, 0.1); color: #f27b00; }
.cessation-icon { background: rgba(220, 53, 69, 0.1); color: #dc3545; } /* Rouge pour cessation */

.popular-action-card h3 {
    color: #0a192f;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.popular-action-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex: 1; /* Pousse le lien "Démarrer" tout en bas */
}

/* Lien "Démarrer" */
.start-link {
    color: #007bff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.popular-action-card:hover .start-link {
    color: #f27b00; /* Devient orange au survol */
}

.popular-action-card:hover .start-link i {
    transform: translateX(5px); /* La flèche avance */
}

/* Responsive Barre de recherche */
@media (max-width: 768px) {
    .search-formality-box {
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
        gap: 15px;
    }
    .search-btn {
        width: 100%;
    }
}

/* =========================================
   PAGE JOURNAUX HABILITÉS  
   ========================================= */

.jal-intro-section {
    background-color: #ffffff;
    padding: 80px 5%;
}

.jal-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Texte d'explication (Gauche) */
.jal-text-block {
    flex: 1.2;
}

.jal-text-block h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
}

.title-underline-left {
    width: 60px;
    height: 4px;
    background: #f27b00;
    margin: 15px 0 30px 0;
    border-radius: 2px;
}

.jal-text-block p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.jal-text-block strong {
    color: #0a192f;
}

/* Bloc de recherche département (Droite) */
.jal-search-block {
    flex: 1;
    background: #f8f9fa; /* Gris très clair */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.jal-search-block h3 {
    color: #0a192f;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.search-dept-box {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 5px 5px 5px 20px;
    border: 2px solid #eaeaea;
    align-items: center;
    transition: all 0.3s ease;
}

.search-dept-box:focus-within {
    border-color: #007bff;
}

.search-dept-box i {
    color: #f27b00;
    font-size: 1.2rem;
    margin-right: 15px;
}

.search-dept-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 0;
    width: 100%;
}

.search-dept-box .search-btn {
    border-radius: 8px; /* Bouton intérieur carré aux coins ronds */
    padding: 12px 25px;
}

.coverage-badge {
    margin-top: 25px;
    background: rgba(40, 167, 69, 0.1); /* Vert clair transparent */
    color: #28a745; /* Vert succès */
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* --- Section Grille des Journaux --- */
.jal-grid-section {
    background-color: #f4f4f4;
    padding: 80px 5%;
}

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

.jal-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Faux logo de journal pour faire pro */
.jal-mockup-logo {
    background: #0a192f;
    color: white;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #f27b00;
}

.jal-card-content {
    padding: 25px;
}

.jal-card-content h4 {
    color: #0a192f;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.jal-card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.jal-tag {
    display: inline-block;
    background: #f0f4f8; /* Gris-bleu très clair */
    color: #007bff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.jal-cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 900px) {
    .jal-intro-container {
        flex-direction: column;
    }
}

/* =========================================
   PAGE TARIFS
   ========================================= */

.pricing-section {
    background-color: #f4f4f4;
    padding: 80px 5%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center; /* Permet à la carte centrale de dépasser un peu */
}

/* Style de base des cartes de prix */
.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.pricing-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.pricing-header h3 {
    color: #555;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.price-amount {
    color: #0a192f;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.price-amount span {
    font-size: 1.2rem;
    color: #888;
    font-weight: 600;
}

.price-desc {
    color: #888;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    color: #333;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: #28a745; /* Vert pour valider */
    font-size: 1.1rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* Carte mise en avant (SAS/SASU) */
.popular-pricing {
    border: 2px solid #007bff; /* Bordure bleue */
    transform: scale(1.05); /* Légèrement plus grande */
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    padding: 50px 40px; /* Un peu plus haute */
}

.popular-pricing:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-pricing .price-amount {
    color: #007bff;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff7b00, #ff9900);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

/* --- Section Tarifs Variables --- */
.variable-pricing-section {
    background-color: #ffffff;
    padding: 80px 5%;
}

.variable-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.variable-text {
    flex: 1.5;
}

.variable-text h2 {
    color: #0a192f;
    font-size: 2.2rem;
    font-weight: 800;
}

.variable-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

.variable-action {
    flex: 1;
}

.estimate-box {
    background: #0a192f;
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.2);
}

.estimate-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.estimate-box p {
    color: #a8b2d1;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.estimate-box .btn-solid {
    background: #f27b00;
    border-color: #f27b00;
    width: 100%;
}

.estimate-box .btn-solid:hover {
    background: white;
    color: #0a192f;
}

/* Responsive */
@media (max-width: 900px) {
    .variable-pricing-container {
        flex-direction: column;
    }
    .popular-pricing {
        transform: scale(1); /* On enlève le zoom sur mobile pour que ça rentre bien */
        padding: 40px;
    }
    .popular-pricing:hover {
        transform: translateY(-5px);
    }
}

/* =========================================
   TABLEAUX DE PRIX (Page Tarifs détaillée)
   ========================================= */

.detailed-pricing-section {
    background-color: #ffffff;
    padding: 20px 5% 80px 5%;
}

.detailed-pricing-container {
    max-width: 1000px; /* On limite un peu la largeur pour que les tableaux soient lisibles */
    margin: 0 auto;
}

.table-title {
    color: #f27b00;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.MonLegaliste-table-wrapper {
    overflow-x: auto; /* Permet de scroller sur téléphone si le tableau est trop large */
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
    margin-bottom: 30px;
}

.MonLegaliste-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.MonLegaliste-table th {
    background-color: #0a192f;
    color: white;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* On met une petite bordure orange en haut du tableau pour le style */
.MonLegaliste-table thead {
    border-top: 4px solid #f27b00;
}

.MonLegaliste-table td {
    padding: 16px 25px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.MonLegaliste-table tr:last-child td {
    border-bottom: none;
}

.MonLegaliste-table tr:hover td {
    background-color: #f8fcfd; /* Très léger reflet bleu au survol de la ligne */
    color: #007bff;
}

/* Liste pour la tarification au caractère */
.character-pricing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.character-pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    font-size: 0.95rem;
}

.character-pricing-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.character-pricing-list li span {
    color: #555;
    flex: 1;
    padding-right: 20px;
}

.character-pricing-list li strong {
    color: #0a192f;
    font-size: 1.1rem;
    background: white;
    padding: 5px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* =========================================
   PAGE GUIDES & ACTUS (Le Blog)
   ========================================= */

.blog-section {
    background-color: #f4f4f4;
    padding: 60px 5% 100px 5%;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Filtres de Catégories --- */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: white;
    color: #555;
    border: 2px solid #eaeaea;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.filter-btn.active {
    background: #0a192f;
    border-color: #0a192f;
    color: white;
}

/* --- Article à la Une (Featured) --- */
.featured-article {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.featured-image {
    flex: 1.2;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}

.featured-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    align-self: flex-start;
}

/* Couleurs des badges par catégories */
.badge-legislation { background: rgba(0, 123, 255, 0.1); color: #007bff; }
.badge-creation { background: rgba(40, 167, 69, 0.1); color: #28a745; }
.badge-modification { background: rgba(242, 123, 0, 0.1); color: #f27b00; }
.badge-fermeture { background: rgba(220, 53, 69, 0.1); color: #dc3545; }

.featured-content h2 {
    color: #0a192f;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-date {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.article-date i {
    margin-right: 5px;
}

.article-excerpt {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Lien avec flèche animée */
.read-more-link {
    color: #007bff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #f27b00;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* --- Grille des Articles Standards --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.article-img-wrapper {
    position: relative;
    height: 220px;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Le badge se superpose à l'image */
.article-img-wrapper .article-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white; /* On force le fond blanc pour qu'il se voie sur l'image */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.article-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-content h3 {
    color: #0a192f;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.article-card-content .article-excerpt {
    font-size: 1rem;
    margin-bottom: 25px;
    flex: 1; /* Pousse le bouton en bas */
}

/* --- Bouton "Charger plus" --- */
.load-more-container {
    text-align: center;
    margin-top: 60px;
}

.load-more-container .btn-outline {
    background: transparent;
    border: 2px solid #eaeaea;
    color: #555;
}

.load-more-container .btn-outline:hover {
    background: #0a192f;
    border-color: #0a192f;
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .featured-article {
        flex-direction: column;
    }
    .featured-image img {
        height: 250px;
        min-height: auto;
    }
    .featured-content {
        padding: 30px;
    }
}

/* =========================================
   PAGE COMMENT ÇA MARCHE (Timeline)
   ========================================= */

.hiw-section {
    background-color: #f4f4f4;
    padding: 100px 5%;
    position: relative;
}

.hiw-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* La grande ligne verticale au milieu */
.hiw-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px; /* Aligné avec le centre des numéros */
    width: 4px;
    background: #eaeaea;
    border-radius: 2px;
    z-index: 1;
}

.hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2; /* Pour passer au-dessus de la ligne */
}

.hiw-step:last-child {
    margin-bottom: 0;
}

/* Le gros numéro de l'étape */
.hiw-number {
    width: 84px;
    height: 84px;
    background: #0a192f;
    color: white;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.2);
    border: 6px solid #f4f4f4; /* Pour "couper" la ligne visuellement */
    transition: all 0.3s ease;
}

/* Effet au survol du bloc complet sur le numéro */
.hiw-step:hover .hiw-number {
    background: #f27b00; /* Devient orange */
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(242, 123, 0, 0.3);
}

/* La carte avec le contenu */
.hiw-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step:hover .hiw-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.hiw-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
}

.hiw-content h2 {
    color: #0a192f;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hiw-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive pour téléphone */
@media (max-width: 768px) {
    .hiw-container::before {
        left: 28px; /* On ajuste la ligne */
    }
    .hiw-step {
        gap: 20px;
    }
    .hiw-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        border-width: 4px;
    }
    .hiw-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 20px;
    }
}

/* =========================================
   STYLE DES FORMULAIRES INTERACTIFS (ex: SAS)
   ========================================= */

.form-section {
    background-color: #f4f4f4; /* Fond gris clair pour détacher la carte */
    padding: 60px 5% 100px 5%;
}

.form-main-container {
    max-width: 900px;
    margin: 0 auto;
}

/* En-tête spécifique dans la zone Hero */
.form-category {
    display: inline-block;
    background: rgba(242, 123, 0, 0.15); /* Fond orange transparent */
    color: #f27b00; /* Texte orange */
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(242, 123, 0, 0.3);
}

/* La carte blanche du formulaire */
.form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.form-card-header {
    margin-bottom: 30px;
}

.form-card-header h2 {
    color: #0a192f;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-card-header h2 i {
    color: #007bff; /* Icône bleue */
    font-size: 1.4rem;
}

.title-underline-left {
    width: 50px;
    height: 4px;
    background: #f27b00; /* Ligne orange */
    margin: 12px 0 0 0;
    border-radius: 2px;
}

/* Séparateur horizontal doux */
.separator {
    height: 1px;
    background: #eaeaea;
    margin: 40px 0;
}

/* Structure des lignes du formulaire */
.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.legalisia-interactive-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    flex: 1;
}

.form-row .form-group {
    margin-bottom: 0; /* Annule la marge du bas quand on est en ligne */
}

/* Gestion des largeurs */
.full-width { width: 100%; }
.half-width { width: 50%; padding-right: 12px; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }

/* Aligner les champs quand un bouton est à côté */
.form-align-bottom { align-items: flex-end; }

/* Labels et aides */
.legalisia-interactive-form label {
    color: #0a192f;
    font-weight: 600;
    font-size: 1rem;
}

.required {
    color: #dc3545; /* Rouge pour champs obligatoires */
    margin-left: 3px;
}

.help-text {
    color: #888;
    font-size: 0.85rem;
    margin-top: -5px;
}

/* --- Style des Inputs, Selects, Textareas (Style MonLegaliste Pur) --- */
.legalisia-interactive-form input[type="text"],
.legalisia-interactive-form input[type="number"],
.legalisia-interactive-form select,
.legalisia-interactive-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    background-color: #fcfcfc;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

/* Effets au focus */
.legalisia-interactive-form input:focus,
.legalisia-interactive-form select:focus,
.legalisia-interactive-form textarea:focus {
    outline: none;
    border-color: #007bff; /* Bordure bleue */
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1); /* Halo bleu soft */
}

/* Spécifique pour textarea */
.legalisia-interactive-form textarea {
    resize: vertical; /* Permet de redimensionner uniquement en hauteur */
    line-height: 1.6;
}

/* Style spécifique pour le select pour enlever le style par défaut de l'OS */
.legalisia-interactive-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a192f'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    cursor: pointer;
}

/* --- Barre d'actions en bas --- */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.form-actions button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .form-card { padding: 30px; }
    .form-row { flex-direction: column; gap: 25px; }
    .half-width { width: 100%; padding-right: 0; }
    .form-actions { flex-direction: column-reverse; gap: 20px; }
    .form-actions a, .form-actions button { width: 100%; text-align: center; }
}

/* =========================================
   MODALE APERÇU - VERSION MonLegaliste
   ========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.72);
    backdrop-filter: blur(6px);
    z-index: 1000;
    padding: 30px;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 30px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 28px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255,255,255,0.35);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #f4f7fb;
    color: #0a192f;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.08);
}

.modal-close:hover {
    background: #0a192f;
    color: #fff;
    transform: rotate(90deg);
}

.modal-left,
.modal-right {
    min-width: 0;
}

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apercu-badge {
    background: linear-gradient(90deg, #0a192f, #14345f);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    box-shadow: 0 10px 24px rgba(10, 25, 47, 0.18);
}

.paper-preview {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    background: #e9e9e9;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    padding: 24px 22px;
    box-shadow: none;
    font-family: "Courier New", Courier, monospace;
    color: #111;
    line-height: 1.45;
    font-size: 14px;
    letter-spacing: 0.2px;
    position: relative;
    max-height: 75vh;
    overflow-y: auto;
}

.paper-preview::before {
    display: none;
}

.paper-preview p {
    margin: 0 0 8px 0;
}

.preview-company-name {
    text-align: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0;
    margin: 8px 0 18px 0;
    text-transform: uppercase;
}

.coquille-text {
    margin: 20px 0 14px;
    color: #5f6b7a;
    font-size: 1rem;
}

.modal-left .btn-outline {
    border: 2px solid #d7e1ec;
    background: #fff;
    color: #0a192f;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.modal-left .btn-outline:hover {
    border-color: #0a192f;
    background: #0a192f;
    color: #fff;
}

.modal-right {
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}

.modal-right h3 {
    color: #0a192f;
    font-size: 2.1rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 22px;
}

.check-list {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 20px;
    padding: 22px 24px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.04);
}

.check-list p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #26364d;
    font-size: 1rem;
    font-weight: 600;
}

.check-list p:last-child {
    margin-bottom: 0;
}

.check-list i {
    color: #f27b00;
    font-size: 1.2rem;
}

.price-section {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(10, 25, 47, 0.05);
}

.price-section h4 {
    font-size: 1.45rem;
    color: #0a192f;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.journal-container {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 20px;
    align-items: end;
    margin-bottom: 24px;
}

.journal-container label {
    display: block;
    color: #0a192f;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.journal-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e3ebf4;
    border-radius: 14px;
    background: #f9fbfe;
    font-size: 0.98rem;
    color: #223047;
}

.journal-price {
    background: linear-gradient(135deg, #fff7ef 0%, #fff 100%);
    border: 1px solid #ffe1bf;
    border-radius: 18px;
    padding: 18px;
    text-align: left;
}

.journal-price p {
    margin: 0;
    color: #7a5a35;
    font-weight: 700;
}

.journal-price .amount {
    margin-top: 8px;
    color: #f27b00;
    font-size: 2rem;
    font-weight: 800;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 26px;
}

.price-table td {
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
    color: #223047;
    font-size: 1rem;
    font-weight: 600;
}

.price-table td:last-child {
    text-align: right;
}

.price-total {
    color: #0a192f;
    font-size: 1.08rem;
    font-weight: 800;
}

.modal-actions {
    margin-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.modal-actions span {
    color: #0a192f;
    font-weight: 700;
    font-size: 1.05rem;
}

.btn-validate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    background: linear-gradient(90deg, #ff9900, #f27b00);
    box-shadow: 0 12px 24px rgba(242, 123, 0, 0.26);
    transition: all 0.25s ease;
}

.btn-validate:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(242, 123, 0, 0.34);
}

@media (max-width: 980px) {
    .modal-container {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .journal-container {
        grid-template-columns: 1fr;
    }

    .modal-right h3 {
        font-size: 1.7rem;
        padding-right: 40px;
    }
}

@media (max-width: 640px) {
    .modal-overlay {
        padding: 12px;
    }

    .paper-preview {
        padding: 28px 22px;
        font-size: 0.95rem;
    }

    .preview-company-name {
        font-size: 1.45rem;
    }

    .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-validate {
        width: 100%;
    }
}

/* =========================================
   CHECKOUT / PAIEMENT
   ========================================= */

.checkout-hero {
    padding-bottom: 70px;
}

.checkout-section {
    background: #f4f4f4;
    padding: 60px 5% 100px;
}

.checkout-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 32px;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.checkout-sidebar {
    position: sticky;
    top: 30px;
}

.checkout-step-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.checkout-step {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.04);
}

.checkout-step span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #eef4fb;
    color: #0a192f;
    flex-shrink: 0;
}

.checkout-step p {
    margin: 0;
    color: #34455d;
    font-weight: 700;
    font-size: 0.95rem;
}

.checkout-step.done span {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.checkout-step.active {
    border-color: rgba(242, 123, 0, 0.35);
    box-shadow: 0 14px 28px rgba(242, 123, 0, 0.08);
}

.checkout-step.active span {
    background: linear-gradient(90deg, #ff9900, #f27b00);
    color: #fff;
}

.checkout-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 40px rgba(10, 25, 47, 0.06);
    border: 1px solid #edf2f7;
}

.checkout-card-header {
    margin-bottom: 24px;
}

.checkout-card-header h2 {
    color: #0a192f;
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-card-header h2 i {
    color: #007bff;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card-mini-grid {
    grid-template-columns: 1fr 160px;
}

.fake-stripe-box {
    border: 1px solid #e7edf5;
    border-radius: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
    padding: 24px;
}

.fake-stripe-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.fake-stripe-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a192f;
    font-weight: 800;
}

.fake-stripe-brand i {
    color: #28a745;
}

.fake-card-icons {
    display: flex;
    gap: 12px;
    font-size: 2rem;
    color: #718096;
}

.fake-card-input {
    position: relative;
}

.fake-card-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a8899;
    font-size: 1rem;
}

.fake-card-input input {
    padding-left: 46px !important;
}

.stripe-placeholder-note {
    margin-top: 18px;
    background: rgba(0, 123, 255, 0.08);
    color: #0a192f;
    border: 1px solid rgba(0, 123, 255, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    font-weight: 600;
}

.stripe-placeholder-note i {
    color: #007bff;
    margin-top: 2px;
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #334155;
    line-height: 1.55;
    font-weight: 500;
}

.checkout-consent input {
    margin-top: 4px;
    transform: scale(1.1);
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.checkout-back-btn {
    border-radius: 14px;
    padding: 15px 24px;
}

.checkout-pay-btn {
    border-radius: 14px;
    padding: 16px 28px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #ff9900, #f27b00);
    box-shadow: 0 12px 28px rgba(242, 123, 0, 0.25);
    font-size: 1.02rem;
}

.checkout-pay-btn:hover {
    transform: translateY(-2px);
}

.checkout-secure-line {
    margin-top: 18px;
    color: #607086;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.checkout-secure-line i {
    color: #28a745;
}

.order-summary-card {
    background: linear-gradient(180deg, #0a192f 0%, #102947 100%);
    color: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(10, 25, 47, 0.18);
    overflow: hidden;
    position: relative;
}

.order-summary-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.summary-top {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.summary-badge {
    display: inline-block;
    background: rgba(242, 123, 0, 0.16);
    color: #f8b66b;
    border: 1px solid rgba(242, 123, 0, 0.25);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.summary-top h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.summary-top p {
    color: #b7c5d9;
    font-size: 1rem;
    font-weight: 600;
}

.summary-details {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row span {
    color: #b7c5d9;
    font-size: 0.95rem;
}

.summary-row strong {
    color: #fff;
    text-align: right;
    font-size: 0.96rem;
    line-height: 1.4;
}

.summary-price-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.summary-price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.summary-price-row:last-child {
    margin-bottom: 0;
}

.summary-price-row.muted {
    color: #c7d2e2;
    font-weight: 500;
}

.summary-price-row.total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 1.15rem;
}

.summary-guarantees {
    position: relative;
    z-index: 1;
}

.summary-guarantees p {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #dbe6f4;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-guarantees p:last-child {
    margin-bottom: 0;
}

.summary-guarantees i {
    color: #f27b00;
}

@media (max-width: 1024px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-card {
        padding: 24px;
    }

    .checkout-form-grid,
    .card-mini-grid {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions a,
    .checkout-actions button {
        width: 100%;
        text-align: center;
    }
}

#preview_text_content {
    white-space: normal;
    word-break: break-word;
}

.paper-preview {
    font-size: 0.95rem;
    line-height: 1.8;
}

.price-table tr:last-child td {
    color: #007bff;
    font-weight: 800;
}

#preview_text_content strong {
    color: #0a192f;
    font-weight: 700;
}

#preview_text_content br + strong {
    display: inline-block;
    margin-top: 6px;
}

.paper-preview {
    max-height: 68vh;
    overflow-y: auto;
}

#preview_text_content {
    white-space: normal;
    word-break: break-word;
}

#preview_text_content strong {
    color: #0a192f;
}

.paper-preview {
    max-height: 68vh;
    overflow-y: auto;
}

.preview-company-name {
    margin-bottom: 20px;
}

.summary-extra-details {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.summary-extra-details h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.payment-detail-group {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.payment-detail-group:last-child {
    margin-bottom: 0;
}

.payment-detail-title {
    color: #f8b66b;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.summary-row-full {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.10);
}

.summary-row-full:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-row-full span {
    color: #c8d4e3;
    font-size: 0.9rem;
}

.summary-row-full strong {
    color: #fff;
    font-size: 0.92rem;
    text-align: right;
    max-width: 58%;
    word-break: break-word;
}

#preview_text_content {
    white-space: pre-line;
    word-break: break-word;
    color: #111;
    font-family: "Courier New", Courier, monospace;
}

#preview_text_content strong {
    font-weight: 700;
    color: #111;
}

.preview-jal-title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.preview-separator {
    text-align: center;
    letter-spacing: 2px;
    margin: 8px 0 14px;
}

.preview-centered {
    text-align: center;
}

.preview-big-title {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    text-transform: uppercase;
    margin: 14px 0;
}

.preview-line {
    margin-bottom: 6px;
}

.preview-dash {
    margin-left: 0;
}

@media (max-width: 640px) {
    .paper-preview {
        max-width: 100%;
        font-size: 13px;
        padding: 20px 16px;
    }
}

.preview-extra-details {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(10, 25, 47, 0.05);
}

.preview-extra-details h4 {
    font-size: 1.2rem;
    color: #0a192f;
    font-weight: 800;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.preview-detail-group {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e7edf5;
}

.preview-detail-group:last-child {
    margin-bottom: 0;
}

.preview-detail-title {
    color: #007bff;
    font-weight: 800;
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.preview-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #d9e3ef;
}

.preview-detail-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.preview-detail-row span {
    color: #5c6b80;
    font-size: 0.92rem;
    font-weight: 600;
    max-width: 42%;
}

.preview-detail-row strong {
    color: #0a192f;
    font-size: 0.93rem;
    text-align: right;
    max-width: 58%;
    word-break: break-word;
}

.preview-legaliste-layout {
    max-width: 1240px;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 38px;
}

.paper-preview-legaliste {
    max-width: 400px;
    min-height: 355px;
    background: #f1f1f1;
    border: 1px solid #cfcfcf;
    padding: 28px 24px;
}

.preview-right-legaliste h3 {
    color: #f27b00;
    font-size: 2rem;
    margin-bottom: 18px;
}

.legaliste-check-list {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 26px;
}

.legaliste-check-list p {
    margin-bottom: 10px;
}

.legaliste-price-section h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    border-bottom: 1px solid #cfd8e3;
    padding-bottom: 14px;
}

.legaliste-top-pricing {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: stretch;
    padding-bottom: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d9e3ef;
}

.legaliste-support-block label {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a192f;
    margin-bottom: 10px;
}

.legaliste-annonce-price-box {
    border-left: 1px solid #d9e3ef;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legaliste-annonce-price-box span {
    color: #0a192f;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.4;
}

.legaliste-annonce-price-box strong {
    color: #f27b00;
    font-size: 2rem;
    font-weight: 800;
    margin-top: 14px;
}

.legaliste-price-table td {
    padding: 10px 0;
}

.legaliste-paper-option {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.paper-copy-select {
    width: 70px;
    min-width: 70px;
    padding: 8px 10px;
    border: 1px solid #aebccc;
    border-radius: 8px;
    background: #fff;
    font-size: 0.95rem;
}

.legaliste-best-price {
    text-align: left;
    color: #007bff;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 10px;
    margin-bottom: 18px;
}

.legaliste-modal-actions {
    margin-top: 26px;
    align-items: center;
}

.legaliste-modal-actions span {
    font-size: 1rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .preview-legaliste-layout {
        grid-template-columns: 1fr;
    }

    .legaliste-top-pricing {
        grid-template-columns: 1fr;
    }

    .legaliste-annonce-price-box {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #d9e3ef;
        padding-top: 16px;
    }

    .paper-preview-legaliste {
        max-width: 100%;
    }
}

#previewModal .modal-container {
    background: #ececec;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
}

#previewModal .modal-left {
    background: #efefef;
    padding: 28px 24px 24px;
}

#previewModal .modal-right {
    background: #ececec;
    padding: 34px 34px 28px;
}

#previewModal .apercu-badge {
    background: #f4f4f4;
    color: #0a192f;
    box-shadow: none;
    border-radius: 0 0 14px 14px;
    padding: 14px 26px;
    margin-top: -28px;
}

#previewModal .paper-preview-legaliste {
    background: #f7f7f7;
    border: 1px solid #c9c9c9;
    min-height: 535px;
    max-height: 535px;
}

#previewModal .coquille-text {
    text-align: center;
    margin-top: 22px;
    margin-bottom: 16px;
    color: #0a192f;
}

#previewModal .btn-outline {
    border-radius: 8px;
    padding: 14px 24px;
}

#previewModal .preview-right-legaliste h3 {
    color: #f27b00;
    font-size: 2.2rem;
    font-weight: 500;
}

#previewModal .legaliste-check-list p {
    color: #1f2d3d;
    font-weight: 700;
}

#previewModal .legaliste-price-section {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
}

#previewModal .legaliste-price-section h4 {
    font-size: 1.05rem;
    font-weight: 800;
}

#previewModal .journal-select {
    background: #fff;
    border: 1px solid #777;
    border-radius: 3px;
    padding: 10px 12px;
}

#previewModal .legaliste-annonce-price-box {
    border-left: 1px solid #8f8f8f;
}

#previewModal .legaliste-annonce-price-box strong {
    font-size: 2.2rem;
}

#previewModal .legaliste-best-price {
    color: #007bff;
    font-style: italic;
}

#previewModal .legaliste-modal-actions {
    justify-content: flex-end;
}

#previewModal .legaliste-modal-actions span {
    margin-right: auto;
    color: #0a192f;
}

#previewModal .btn-validate {
    border-radius: 8px;
    padding: 14px 24px;
}

/* =========================================
   APERÇU DISSOLUTION - STYLE TYPE LELEGALISTE
   ========================================= */

.formalite-preview-modal {
    max-width: 1100px;
    background: #ececec !important;
    border-radius: 18px !important;
    padding: 0 !important;
    gap: 0 !important;
}

.formalite-preview-left {
    background: #efefef !important;
    padding: 22px 18px 24px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.formalite-preview-right {
    background: #ececec !important;
    padding: 28px 40px 34px !important;
}

.formalite-preview-left .apercu-badge {
    background: #f8f8f8 !important;
    color: #0a192f !important;
    box-shadow: none !important;
    border-radius: 0 0 18px 18px !important;
    margin-top: -22px !important;
    margin-bottom: 28px !important;
    padding: 10px 26px !important;
    font-size: 1.05rem;
}

.formalite-preview-left .paper-preview-legaliste {
    background: #f8f8f8 !important;
    border: 1px solid #c8c8c8 !important;
    width: 100%;
    max-width: 350px;
    min-height: 495px !important;
    max-height: 495px !important;
    padding: 28px 24px !important;
    box-shadow: none !important;
}

.formalite-preview-right h3 {
    color: #f27b00 !important;
    font-size: 2rem !important;
    font-weight: 500 !important;
    margin-bottom: 18px !important;
}

.formalite-preview-right .legaliste-check-list p {
    color: #1d2b3b !important;
    font-weight: 700 !important;
    font-size: 1rem;
    margin-bottom: 6px !important;
}

.formalite-preview-right .legaliste-check-list i {
    color: #4e4e4e !important;
}

.formalite-preview-right .legaliste-price-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.formalite-preview-right .legaliste-price-section h4 {
    font-size: 1rem !important;
    color: #1d2b3b !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #666 !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
}

.formalite-preview-right .legaliste-top-pricing {
    border-bottom: 1px solid #8c8c8c !important;
    padding-bottom: 14px !important;
    margin-bottom: 10px !important;
}

.formalite-preview-right .journal-select {
    background: #fff !important;
    border: 1px solid #666 !important;
    border-radius: 4px !important;
    font-size: 0.98rem;
    min-height: 38px;
}

.formalite-preview-right .legaliste-annonce-price-box {
    border-left: 1px solid #8c8c8c !important;
    padding-left: 28px !important;
}

.formalite-preview-right .legaliste-annonce-price-box span {
    color: #1d2b3b !important;
    font-size: 0.95rem;
    font-weight: 800 !important;
}

.formalite-preview-right .legaliste-annonce-price-box strong {
    color: #f27b00 !important;
    font-size: 2rem !important;
    margin-top: 10px !important;
}

.formalite-preview-right .legaliste-price-table {
    margin-bottom: 12px !important;
}

.formalite-preview-right .legaliste-price-table td {
    border-bottom: 1px solid #a8a8a8 !important;
    padding: 7px 0 !important;
    color: #1d2b3b !important;
    font-weight: 500 !important;
}

.formalite-preview-right .legaliste-price-table tr:last-child td {
    color: #007bff !important;
    font-weight: 800 !important;
}

.formalite-preview-right .legaliste-best-price {
    text-align: left !important;
    color: #007bff !important;
    font-style: italic !important;
    margin: 8px 0 18px !important;
}

.formalite-preview-right .legaliste-modal-actions {
    justify-content: space-between !important;
    align-items: center !important;
}

.formalite-preview-right .legaliste-modal-actions span {
    color: #1d2b3b !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
}

.formalite-preview-right .btn-validate {
    border-radius: 8px !important;
    padding: 14px 24px !important;
    box-shadow: none !important;
}

.formalite-preview-left .coquille-text {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    color: #1d2b3b !important;
    font-size: 0.95rem !important;
    text-align: center;
}

.formalite-preview-left .btn-outline {
    border-radius: 8px !important;
    border: 1px solid #8a96a3 !important;
    color: #5d6d7d !important;
    background: #f8f8f8 !important;
    min-width: 260px;
}

.formalite-preview-left .btn-outline:hover {
    background: #0a192f !important;
    color: #fff !important;
    border-color: #0a192f !important;
}

#preview_text_content {
    white-space: normal;
    word-break: break-word;
    color: #111;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.55;
}

#preview_text_content .preview-big-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 6px;
}

#preview_text_content .preview-centered {
    text-align: center;
    margin-bottom: 3px;
}

#preview_text_content .preview-separator {
    text-align: center;
    letter-spacing: 2px;
    margin: 6px 0 10px;
}

#preview_text_content .preview-line {
    margin-bottom: 6px;
}

@media (max-width: 980px) {
    .formalite-preview-modal {
        grid-template-columns: 1fr !important;
    }

    .formalite-preview-right .legaliste-top-pricing {
        grid-template-columns: 1fr !important;
    }

    .formalite-preview-right .legaliste-annonce-price-box {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #8c8c8c !important;
        padding-top: 16px !important;
    }
}

#previewModal {
    overflow-y: auto;
}

#previewModal .modal-container {
    max-height: none !important;
    overflow: visible !important;
}

#previewModal .modal-right {
    overflow: visible !important;
}

#previewModal .modal-left {
    overflow: visible !important;
}

/* =========================================
   APERÇU TUP - PLUS PROCHE LELEGALISTE
   ========================================= */

#previewModal .paper-preview-legaliste {
    background: #f5f5f5;
    border: 1px solid #bdbdbd;
    max-width: 395px;
    min-height: 335px;
    max-height: 335px;
    padding: 28px 24px;
}

#preview_text_content {
    font-family: "Courier New", Courier, monospace;
    font-size: 11.8px;
    line-height: 1.45;
    color: #111;
}

#preview_text_content .preview-big-title {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

#preview_text_content .preview-centered {
    text-align: center;
    margin-bottom: 2px;
}

#preview_text_content .preview-line {
    margin-bottom: 6px;
    text-align: left;
}

#preview_text_content .preview-line-space {
    height: 12px;
    margin-bottom: 0;
}

#previewModal .formalitie-preview-right,
#previewModal .formalite-preview-right {
    padding: 28px 34px 28px !important;
}

#previewModal .legaliste-annonce-price-box strong {
    font-size: 2.05rem;
    line-height: 1.1;
}

.preview-price-unit {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f27b00;
}

#previewModal .legaliste-price-table td {
    font-size: 0.95rem;
}

#previewModal .legaliste-price-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

#preview_price_calc_row {
    font-weight: 500 !important;
    color: #1d2b3b !important;
}

#previewModal .legaliste-best-price {
    margin-top: 14px !important;
}

@media (max-width: 980px) {
    #previewModal .paper-preview-legaliste {
        max-width: 100%;
        min-height: 360px;
        max-height: 360px;
    }
}

/* =========================================
   APERÇU CONTINUATION - RENDU LELEGALISTE
   ========================================= */

#preview_text_content {
    white-space: normal !important;
    word-break: normal !important;
    color: #1a1a1a !important;
    font-family: "Courier New", Courier, monospace !important;
    font-size: 12.6px !important;
    line-height: 1.72 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

#preview_text_content,
#preview_text_content * {
    font-family: "Courier New", Courier, monospace !important;
}

#preview_text_content strong {
    font-weight: 700 !important;
    color: #111 !important;
}

.preview-legaliste-company {
    text-align: center;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.preview-legaliste-centered {
    text-align: center;
    margin-bottom: 2px;
}

.preview-legaliste-separator {
    text-align: center;
    margin: 8px 0 10px;
    letter-spacing: 1px;
    white-space: pre;
}

.preview-legaliste-body {
    text-align: left;
    margin-top: 4px;
}

#previewModal .paper-preview-legaliste {
    background: #f7f7f7 !important;
    border: 1px solid #c2c2c2 !important;
    max-width: 392px !important;
    min-height: 332px !important;
    max-height: 332px !important;
    padding: 30px 24px !important;
    box-shadow: none !important;
}

.formalite-preview-left .paper-preview-legaliste {
    max-width: 392px !important;
    min-height: 332px !important;
    max-height: 332px !important;
    padding: 30px 24px !important;
}

#preview_text_content {
    white-space: pre-line !important;
}

#previewModal .paper-preview-legaliste {
    min-height: 420px !important;
    max-height: 420px !important;
}

#previewModal .formalitie-preview-right,
#previewModal .formalite-preview-right {
    padding: 30px 34px !important;
}

@media (max-width: 980px) {
    #previewModal .paper-preview-legaliste {
        min-height: 320px !important;
        max-height: 320px !important;
    }
}

/* =========================================
   APERÇU CHANGEMENT NOM PATRONYMIQUE
   ========================================= */

#preview_text_content {
    white-space: pre-line !important;
    font-family: "Courier New", Courier, monospace !important;
    font-size: 12.4px !important;
    line-height: 1.8 !important;
    color: #111 !important;
}

#previewModal .paper-preview-legaliste {
    min-height: 370px !important;
    max-height: 370px !important;
    max-width: 395px !important;
    padding: 28px 24px !important;
}

#previewModal .formalite-preview-right h3 {
    color: #f27b00 !important;
    font-weight: 500 !important;
}

@media (max-width: 980px) {
    #previewModal .paper-preview-legaliste {
        min-height: 320px !important;
        max-height: 320px !important;
    }
}

/* =========================================
   RESPONSIVE GLOBAL MOBILE - MonLegaliste
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.beta-banner {
    background-color: #ffc107;
    color: #856404;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: bold;
    border-bottom: 1px solid #ffeeba;
}

.beta-banner i {
    margin-right: 8px;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: #0a192f;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.25rem;
    cursor: pointer;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Corrige le logo trop grand sur desktop/tablette */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 125px;
    width: auto;
    object-fit: contain;
    transform: none !important;
}

.logo:hover {
    transform: scale(1.04) !important;
}

.main-header {
    min-height: 130px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Tablettes */
@media (max-width: 1100px) {
    .main-header {
        padding: 14px 4%;
        gap: 20px;
    }

    .main-nav {
        gap: 20px;
    }

    .cta-container {
        gap: 16px;
    }

    .phone-number {
        font-size: 0.95rem;
    }

    .btn-cta {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    .sub-nav {
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 2.3rem;
    }

    .partner-container {
        padding: 42px;
        gap: 35px;
    }

    .announcements-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logo {
        height: 110px;
    }

    .main-header {
        min-height: 105px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .beta-banner {
        font-size: 0.78rem;
        line-height: 1.4;
        padding: 9px 12px;
    }

    .main-header {
        min-height: auto;
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .logo {
        height: 90px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .header-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding-top: 16px;
    }

    .site-header.menu-open .header-menu {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #f8f9fa;
        border: 1px solid #eaeaea;
        border-radius: 16px;
        overflow: hidden;
    }

    .main-nav a {
        padding: 15px 16px;
        border-bottom: 1px solid #eaeaea;
        font-size: 0.9rem;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav a::after {
        display: none;
    }

    .cta-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .phone-number {
        text-align: center;
        font-size: 1rem;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
        font-size: 0.86rem;
    }

    .sub-header {
        padding: 0;
        display: none;
    }

    .site-header.menu-open .sub-header {
        display: block;
    }

    .sub-nav {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }

    .sub-nav a {
        padding: 14px 18px;
        border-top: 1px solid rgba(255,255,255,0.08);
        font-size: 0.84rem;
        text-align: center;
    }

    .hero-section {
        margin: 34px auto;
        padding: 0 18px;
        flex-direction: column;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 14px;
    }

    .hero-buttons a,
    .btn-solid,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .steps-section,
    .guide-section,
    .partner-section,
    .all-announcements-section,
    .commitments-section,
    .contact-section,
    .pricing-section,
    .variable-pricing-section,
    .jal-intro-section,
    .jal-grid-section,
    .blog-section,
    .form-section {
        padding: 55px 18px;
    }

    .steps-header h2,
    .guide-header h2,
    .all-announcements-header h2,
    .partner-content h2,
    .contact-info h2,
    .variable-text h2,
    .jal-text-block h2,
    .bottom-cta h2 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-card {
        padding: 30px 24px;
    }

    .steps-guarantees ul {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        max-width: 320px;
        margin: 0 auto;
    }

    .guide-container,
    .popular-actions-grid,
    .jal-grid,
    .pricing-grid,
    .articles-grid,
    .commitments-grid {
        grid-template-columns: 1fr;
    }

    .guide-category,
    .announcement-modern-card,
    .popular-action-card,
    .pricing-card,
    .commitment-card {
        padding: 26px 22px;
    }

    .partner-container {
        flex-direction: column;
        padding: 32px 22px;
        gap: 28px;
        text-align: center;
    }

    .partner-content {
        width: 100%;
    }

    .partner-benefits li {
        align-items: flex-start;
        text-align: left;
    }

    .echos-mockup {
        padding: 24px 20px;
    }

    .echos-mockup span {
        font-size: 2rem;
    }

    .announcements-modern-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .announcement-combined-column {
        gap: 22px;
    }

    .card-header {
        align-items: flex-start;
    }

    .card-header h3 {
        font-size: 1.15rem;
    }

    .action-pill {
        gap: 12px;
        align-items: flex-start;
        padding: 14px;
        font-size: 0.92rem;
    }

    .action-pill span {
        line-height: 1.35;
    }

    .page-hero {
        padding: 70px 18px 58px;
    }

    .page-hero h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .form-main-container {
        max-width: 100%;
    }

    .form-card {
        padding: 26px 18px !important;
        border-radius: 18px;
    }

    .sub-section-title {
        font-size: 1.08rem !important;
        line-height: 1.35;
    }

    .legalisia-interactive-form input,
    .legalisia-interactive-form select,
    .legalisia-interactive-form textarea,
    .action-select {
        font-size: 1rem !important;
        padding: 14px 16px !important;
    }

    .half-width,
    .full-width {
        width: 100%;
        padding-right: 0;
    }

    .contact-container,
    .jal-intro-container,
    .variable-pricing-container {
        flex-direction: column;
        gap: 32px;
    }

    .contact-form-box,
    .jal-search-block,
    .estimate-box {
        width: 100%;
        padding: 28px 20px;
    }

    .featured-article {
        flex-direction: column;
    }

    .featured-content {
        padding: 28px 22px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .search-formality-box {
        margin-top: -70px;
        margin-bottom: 55px;
    }

    .footer-container {
        padding: 55px 24px;
    }

    .footer-col img,
    .footer-logo {
        transform: none !important;
        max-height: 70px;
    }
}

/* Très petits écrans */
@media (max-width: 420px) {
    .hero-content h1,
    .page-hero h1 {
        font-size: 1.72rem;
    }

    .steps-header h2,
    .guide-header h2,
    .all-announcements-header h2 {
        font-size: 1.55rem;
    }

    .btn-solid,
    .btn-outline,
    .btn-cta {
        padding: 13px 18px;
        font-size: 0.92rem;
    }

    .announcement-modern-card,
    .guide-category,
    .step-card {
        padding: 22px 18px;
    }

    .action-pill {
        font-size: 0.88rem;
    }

    .form-card {
        padding: 22px 14px !important;
    }

    .modal-overlay {
        padding: 8px;
    }

    #previewModal .modal-right,
    #previewModal .modal-left,
    .formalite-preview-right,
    .formalite-preview-left {
        padding: 22px 16px !important;
    }

    .formalite-preview-right h3 {
        font-size: 1.5rem !important;
    }

    .legaliste-annonce-price-box strong {
        font-size: 1.55rem !important;
    }
}