/*    Fichier CSS
_________________________
_________________________

Créé par LM SYSTEM
Michaël LEBREF
Copyright © 2026
Tous droits réservés
_________________________
_________________________

*/
/* =========================================
            *** General ***
   ========================================= */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
}

body {
    background-color: #f2efec;
    overflow-x: hidden;
}


/* =========================================
            *** Header ***
   ========================================= */

#header {
    width: 100%;
    max-height: 150px;
    box-sizing: border-box;
    padding: 10px 50px;
    background-color: #566181;
    text-align: left;
    color: white;
}

#header h1 {
    margin: 0;
}


/* =========================================
            *** Navigation ***
   ========================================= */

nav ul#menu {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;
}

#menu li {
    margin: 0;
    text-align: center;
}

#menu li a {
    display: block;
    text-decoration: none;
    color: black;

    padding: 10px 20px;
    border-radius: 5px;

    background-color: #d9d7d4;
}

#menu li a:hover {
    background-color: #c2bfb9;
    color: white;
}

/* =========================================
            *** Lang Selector ***
   ========================================= */
   
 nav ul#lang {
    list-style-type: none;
    padding: 0;
    margin: -30px 0 0 0;

    display: flex;
    justify-content: right;
    align-items: right;

    gap: 10px;
}  
   

/* =========================================
            *** Main Banner ***
   ========================================= */


#header {

}

.entete {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin: 0;

}

#sub_header {
    background: url('../img/Banniere-PMT_Batterie_001.jpg')
        no-repeat center center;

    height: 670px;

    background-size: cover;
}


/* =========================================
            *** Sub sub Header ***
   ========================================= */

#sub_sub_header {
    background: url('../img/Background_sub_sub_header.jpg')
        no-repeat center center;

    min-height: 50px;

    background-size: cover;
    text-align: center;

    padding: 40px 20px;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;
}

.presentation {
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin: 0;
}


/* =========================================
            *** Main ***
   ========================================= */

#center {
    padding: 20px;

    background-color: #d9d7d4;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);

    border-radius: 5px;

    margin: 20px;

    box-sizing: border-box;
}

#content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#content h1 {
    font-size: 26px;
    text-align: left;
}

h2 {
    font-size: 24px;
    text-align: left;
}

h3 {
    font-size: 22px;
    text-align: center;

}

h4  {
    font-size: 32px;
    text-align: right;
    color: #DB1702;
}

p {
    font-size: 16px;
    text-align: justify;

    margin: 15px 0;
    padding: 0 10px;

    box-sizing: border-box;
}


.special {

    font-size: 22px;
    text-align: center;
}

/*
.special2 {
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    text-align: center;    
}
*/



/* =========================================
            ** Tables ***
   ========================================= */

table {
    width: 100%;
    border-spacing: 30px;
    box-sizing: border-box;
}

td {
    vertical-align: top;
}


/* =========================================
            *** Images ***
   ========================================= */

.responsive {
    max-width: 100%;
    height: auto;

    margin-left: 0;
}


/* =========================================
            *** Footer ***
   ========================================= */

#footer {
    background-color: #566181;
    color: white;
    text-align: center;
    padding: 20px 10px;
    box-sizing: border-box;
}

#footer a {
    
    text-decoration: none;
    color: white;
}

#footer a:hover {

    color: blue;
}

.footer {
    font-size: 12px;
    margin: 0;
}


/* =========================================
            *** Tablet ***
   ========================================= */

@media (max-width: 768px) {


    table, tbody, tr, td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    td {
        margin-bottom: 30px;
    }
    /* ----------------------------------------------------- */

  
    #header {
        padding: 15px;
        text-align: center;
    }


.entete {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin: 0;

}


    nav ul#menu {
        flex-wrap: wrap;
        gap: 8px;
    }

    #menu li a {
        padding: 8px 12px;
    }

    #sub_header {
        height: 400px;
        background-attachment: scroll;
    }

    #sub_sub_header {
        min-height: 100px;
        padding: 25px 15px;
    }

    .presentation {
        font-size: 20px;
    }

    #center {
        margin: 10px;
        padding: 15px;
    }

}



/* =========================================
            *** Smartphone ***
   ========================================= */

@media (max-width: 480px) {

    #header {
        padding: 15px 10px;
    }

.entete {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin: 0;

}

    nav ul#menu {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    #menu li {
        width: 100%;
    }

    #menu li a {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        font-size: 14px;
    }


    /* Banner */

    #sub_header {
        height: 250px;
        background-attachment: scroll;
    }


    /* Presentation */

    #sub_sub_header {
        min-height: 120px;
        padding: 20px 10px;
    }

    .presentation {
        font-size: 17px;
        line-height: 1.4;
    }


    /* Main content */

    #center {
        margin: 5px;
        padding: 10px;
        border-radius: 3px;
    }

    #content h3 {
        font-size: 19px;
    }

    p {
        font-size: 14px;
        padding: 0 5px;
    }


    /* Tables */

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    table {
        border-spacing: 0;
    }

    td {
        margin-bottom: 30px;
    }


    /* Footer */

    #footer {
        padding: 15px 5px;
    }

    .footer {
        font-size: 10px;
    }
}
