/* ==========================================================================
   1. BASES & REINITIALISATION
   ========================================================================== */
* { 
    outline: 0px; 
    text-decoration: none; 
    margin: 0px; 
    padding: 0px;
    font-style: normal; 
    font-family: "Encode Sans Semi Condensed", sans-serif; 
    box-sizing: border-box;
}
body { 
    background: #ffffff; 
    color: #383a43; 
}
.inx { 
    width: 1000px; 
    margin: auto; 
}

.app { 
    position: fixed; 
    height: 100%; 
    width: 100%; 
    background: url(../wait.png) no-repeat center center white; 
    z-index: 100; 
}

/* ==========================================================================
   2. HEADER & MENU PREMIUM (STYLE FOOTER)
   ========================================================================== */
.main-header {
    background: #0d0d0d !important; /* Noir profond */
    padding: 15px 0 !important;
    border-bottom: 4px solid #d62522 !important; /* Ligne rouge flash */
    box-shadow: 0 10px 30px rgba(214, 37, 34, 0.15);
}

.container-menu.header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 1000px;
    margin: 0 auto !important;
}

.logo img {
    width: 225px !important;
    display: block !important;
}

.main-nav {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Liens transformés en Badges */
.main-nav .badge-nav {
    background: #1a1a1a !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    border-radius: 4px !important;
    border: 1px solid #333 !important;
    text-transform: uppercase !important; /* MAJUSCULES */
    letter-spacing: 0.5px;
    transition: all 0.2s ease !important;
}

.main-nav .badge-nav:hover {
    background: #d62522 !important;
    border-color: #d62522 !important;
    box-shadow: 0 0 12px rgba(214, 37, 34, 0.6) !important;
}

/* Bouton Abonnement Premium */
.main-nav .badge-nav.btn-premium-nav {
    background: linear-gradient(135deg, #d62522 0%, #991311 100%) !important;
    border-color: #d62522 !important;
    box-shadow: 0 4px 15px rgba(214, 37, 34, 0.4) !important;
}

.main-nav .badge-nav.btn-premium-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 37, 34, 0.7);
}

/* ==========================================================================
   3. BANNER & SLIDER BANDEAU ROUGE
   ========================================================================== */
.banner { text-align: center; padding: 30px 20px; }
.banner strong { font-weight: 200; font-size: 27px; }
.banner img { padding:20px; }

.slide { text-align: center; width: 100%; clear: both; }
.slide .in { padding: 80px 15px; background: url(../src/slay.png) no-repeat center center #EE1B15; background-size: cover;}
.slide h2 { font-size: 50px; font-weight: 900; line-height: 50px; text-transform: uppercase; color: #fff; }
.slide p { color: white; padding: 16px; }
.slide a { font-size: 29px; display: inline-block; border: solid 1px #EE1B15; color: #fff; font-weight: 700; background: #EE1B15; padding: 20px 35px; border-radius: 0px; }

/* ==========================================================================
   4. SECTIONS BLOCS PRONOSTICS & CONTENU
   ========================================================================== */
.pacoi { width: 100%; clear: both; display: block; }
.tito { text-align: center; font-size: 30px; display: block; padding: 15px; padding-top:25px; }
.tito span { color:#303030; font-weight:200; }

.pac_prono { padding: 25px; }
.pac_prono .in { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #ffffff; border-radius: 0px; }

.desc { padding: 35px; color: #383a43; }
.desc p a { color:#303030; font-weight:800; }
.desc p a:hover { text-decoration:underline; }
.desc p { font-size: 14px; line-height: 24px; }
.desc h3 { padding-bottom: 21px; font-size: 27px; color:#303030; }

.lite { padding: 20px 35px; }
.lite strong { display:inline-block; padding: 8px 20px; color:white; background:#303030; border-radius:0px; }
.lite h1 { font-size: 25px; padding: 20px 0px; color: #303030; }

.pronos { text-align: left; }
.pronos em { font-weight: 700; display: block; padding-top: 10px; }
.pronos b { display:block; background: #EE1B15; margin: 3px 0; border-radius: 0px; padding: 12px 19px; font-size: 15px; color: #fff; }

/* Blocs Annuaire & Actualités */
.pac_ann { padding: 25px; }
.pac_ann .in { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; }
.site { background: #f4f4f4; overflow: hidden; }
.site .ico { display: block; background: #61336a; } 
.site .ico b { display: block; background: url(../src/grad.png) repeat-x; background-size: auto 100%; padding: 22px; padding-top: 110px; text-align: right; font-size: 26px; color: white; }
.site p { padding: 26px; font-size: 14px; line-height: 24px; }

.more { overflow: auto; padding: 25px; padding-top: 0px; } 
.more a { display: block; float: right; border: solid 1px #303030; color: #fff; font-weight: 700; background: #303030; padding: 10px 25px; border-radius: 0px; }

.pac_actu { padding: 25px; }
.pac_actu .in { display: grid; grid-template-columns: 1fr 1fr 1fr; overflow: hidden; gap:21px; }
.article { background: #fff; overflow: hidden; }
.article .ico { display: block; background: #61336a; } 
.article .ico b { display: block; padding: 22px; padding-top: 130px; text-align: right; font-size: 19px; height: 50px; overflow: hidden; color: white; text-shadow:2px 2px 10px #150816CC; }
.article p { padding: 26px; font-size: 14px; line-height: 24px; }
.px { border: solid 1px #e1e4f1; border-top: 0px; }

.btn_phar { display: inline-block; border: solid 1px #303030; font-size: 25px; color: #fff; margin: 35px; font-weight: 700; background: #EE1B15; padding: 10px 25px; }
.bt_pac { text-align: center; }

/* ==========================================================================
   5. COPIE CONFORME DU STYLE DU FOOTER
   ========================================================================== */
footer {
    background: #0d0d0d !important;
    color: #ffffff !important;
    padding: 40px 0 20px 0 !important;
    border-top: 4px solid #d62522 !important;
    box-shadow: 0 -10px 30px rgba(214, 37, 34, 0.15);
    font-family: Arial, sans-serif;
    width: 100%;
    clear: both;
}

footer .inxo .in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-nav-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-nav-badges .badge {
    background: #1a1a1a;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 4px;
    border: 1px solid #333;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.footer-nav-badges .badge:hover {
    background: #d62522;
    border-color: #d62522;
    box-shadow: 0 0 12px rgba(214, 37, 34, 0.6);
}

.footer-contact-box { text-align: center; }
.footer-contact-box .ville { display: block; font-size: 13px; color: #888888; text-transform: uppercase; margin-bottom: 6px; }
.footer-contact-box .phone-tag { display: inline-block; background: #222222; color: #ffcc00; padding: 5px 12px; font-size: 13px; font-weight: bold; border-radius: 4px; margin: 2px; border: 1px solid #444; }

.btn-premium {
    display: inline-block;
    background: linear-gradient(135deg, #d62522 0%, #991311 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(214, 37, 34, 0.4);
    transition: all 0.2s ease;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214, 37, 34, 0.7); }

.footer-copyright { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #1a1a1a; font-size: 11px; color: #555555; text-transform: uppercase; }

/* ==========================================================================
   6. RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 992px) {
    .inx, .container-menu header-flex { width: 100% !important; padding: 0 15px; }
}

@media (max-width: 768px) {
    .container-menu.header-flex { flex-direction: column !important; gap: 15px !important; text-align: center !important; }
    .main-nav { justify-content: center !important; flex-wrap: wrap !important; }
    .pac_ann .in, .pac_actu .in, .pac_prono .in, footer .in { grid-template-columns: 1fr !important; }
    footer .inxo .in { flex-direction: column !important; text-align: center !important; }
    .slide h2 { font-size: 35px; line-height: 35px; }
}



/* ==========================================
   CORRECTIONS EXACTES POUR LA VERSION MOBILE
   ========================================== */
@media (max-width: 768px) {
    /* Évite que le texte de la course ne vienne casser le haut du site */
    body > text:first-of-type, 
    body {
        margin-top: 0 !important;
    }

    /* Force le conteneur du menu à utiliser 100% de la largeur sur mobile */
    .container-menu.header-flex {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    /* Redimensionne légèrement le logo pour qu'il passe bien sur petit écran */
    .logo img {
        width: 180px !important;
        margin: 0 auto !important;
    }

    /* Gestion des badges pour qu'ils respirent et passent à la ligne proprement */
    .main-nav {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important; /* Espace horizontal entre les badges */
        padding: 0 5px !important;
    }

    /* Style ajusté pour les badges sur mobile (un poil plus compacts) */
    .main-nav .badge-nav {
        font-size: 11px !important;
        padding: 8px 12px !important;
        display: inline-block !important;
        text-align: center !important;
        flex: calc(50% - 10px); /* Permet d'aligner proprement 2 badges par ligne sur les petits téléphones */
        min-width: 105px;
    }
    
    
    
    
    /* ==========================================
   DESIGN PREMIUM POUR LE FORMULAIRE DE CONTACT
   ========================================== */

/* Conteneur principal du formulaire */
.contact-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 15px;
}

/* Amélioration de la zone jaune d'info à gauche */
.contact-info-box {
    background: #fff3cd !important;
    border-left: 5px solid #d62522 !important;
    padding: 30px !important;
    border-radius: 4px;
}

/* Structure des champs du formulaire */
form table, 
form div {
    width: 100%;
}

/* Style moderne pour tous les champs de saisie (Inputs et Textarea) */
form input[type="text"],
form input[type="email"],
form select,
form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    margin: 8px 0 20px 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease;
}

/* Effet de focus rouge quand l'utilisateur clique dans un champ */
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #d62522 !important;
    box-shadow: 0 0 8px rgba(214, 37, 34, 0.2) !important;
    outline: none !important;
}

/* Labels des champs (ex: "Nom", "Adresse Email") */
form label,
form span {
    font-weight: bold !important;
    color: #333 !important;
    font-size: 14px !important;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Relooking du bouton ENVOYER (Style bouton Premium) */
form input[type="submit"],
form button[type="submit"] {
    background: linear-gradient(135deg, #d62522 0%, #991311 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding: 14px 35px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(214, 37, 34, 0.4) !important;
    transition: all 0.2s ease !important;
    display: inline-block;
}

form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 37, 34, 0.7) !important;
}

/* Alignement pour les petits champs côte à côte (Téléphone) */
.phone-container {
    display: flex;
    gap: 10px;
}
.phone-code { width: 25% !important; }
.phone-number { width: 75% !important; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .phone-container {
        flex-direction: column;
        gap: 0;
    }
    .phone-code, .phone-number { width: 100% !important; }
}
}

/* ==========================================================================
   REFONTE DU FORMULAIRE DE CONTACT (CORRECTION DES ALIGNEMENTS)
   ========================================================================== */

/* On force le conteneur parent à annuler ses anciennes propriétés bloquantes */
.pac_prono .in.contact-grid-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08) !important;
    border-radius: 8px !important;
    padding: 0px !important; /* Supprime les espacements internes d'origine */
    width: 100% !important;
    max-width: 1000px !important;
    align-items: stretch !important; /* Force les deux colonnes à faire exactement la même hauteur */
}

/* Bloc d'info jaune (Colonne gauche) */
.contact-info-box {
    background: #fff8e5 !important;
    padding: 45px 40px !important;
    margin: 0px !important; /* Annule les marges d'origine */
    border-right: 1px solid #f3e5c8 !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.contact-info-box h3 {
    font-size: 24px !important;
    color: #1a1a1a !important;
    line-height: 32px !important;
    margin-bottom: 30px !important;
    font-weight: 700 !important;
}

.info-item {
    margin-bottom: 25px !important;
}

.info-item b {
    display: block !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    color: #d62522 !important;
    margin-bottom: 6px !important;
}

.info-item p {
    font-size: 14px !important;
    line-height: 22px !important;
    color: #555 !important;
}

/* Zone du formulaire (Colonne droite) */
.contact-form {
    padding: 45px 40px !important;
    background: #ffffff !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.form-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #222 !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid #eaeaea !important;
    padding-bottom: 12px !important;
    letter-spacing: 0.5px !important;
}

/* Éléments de groupes */
.form-group {
    margin-bottom: 18px !important;
    width: 100% !important;
}

.form-group label, 
.contact-form i {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #444 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.5px !important;
    font-style: normal !important;
}

/* Inputs, sélections et zones de texte */
.contact-form .inp,
.contact-form .inp-select,
.contact-form .inp-textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #cccccc !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    color: #333 !important;
    box-sizing: border-box !important;
    margin: 0px !important; /* Supprime les décalages intempestifs */
    transition: all 0.2s ease-in-out !important;
}

.contact-form textarea,
.contact-form .inp-textarea {
    resize: none !important;
    font-family: inherit !important;
}

/* Focus actif rouge */
.contact-form .inp:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #d62522 !important;
    box-shadow: 0 0 8px rgba(214, 37, 34, 0.15) !important;
    outline: none !important;
}

/* Structure de la ligne Téléphone */
.tel_indic {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
}

.phone-code {
    width: 75px !important;
    text-align: center !important;
    background: #f5f5f5 !important;
    font-weight: bold !important;
    color: #444 !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px !important;
    padding: 12px 0 !important;
}

.phone-number {
    flex: 1 !important;
}

/* Bouton Envoyer */
.btn-submit, 
.contact-form .sub {
    width: 100% !important;
    background: linear-gradient(135deg, #d62522 0%, #991311 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(214, 37, 34, 0.3) !important;
    transition: all 0.2s ease !important;
    margin-top: 10px !important;
}

.btn-submit:hover,
.contact-form .sub:hover {
    box-shadow: 0 6px 20px rgba(214, 37, 34, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* Notification de succès */
.global-success-bar {
    max-width: 1000px;
    margin: 20px auto 0px auto !important;
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
    padding: 15px 20px !important;
    border-radius: 4px !important;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

/* ==========================================================================
   ADAPTATION SMARTPHONE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .pac_prono .in.contact-grid-layout {
        grid-template-columns: 1fr !important; /* Passage automatique en une colonne unique */
        width: 95% !important;
        margin: 0 auto !important;
    }
    .contact-info-box {
        border-right: none !important;
        border-bottom: 1px solid #f3e5c8 !important;
        padding: 30px 20px !important;
    }
    .contact-form {
        padding: 30px 20px !important;
    }
}