/*
Site: 		
Url: 		
Autor: 		MonWebPro.com
Version: 	
*/

@font-face {
	font-family: 'icomoon';
	src:  url('fonts/icomoon.eot?b2om2p');
	src:  url('fonts/icomoon.eot?b2om2p#iefix') format('embedded-opentype'),
	url('fonts/icomoon.ttf?b2om2p') format('truetype'),
	url('fonts/icomoon.woff?b2om2p') format('woff'),
	url('fonts/icomoon.svg?b2om2p#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.icon {
	font-family: 'icomoon';
}

html, body {
	width: 100%;
	height: 100%;
}
div.clearboth {
	width: 100%; 
	height: 0;
	clear: both; 
	float: none;
}

/* HEADER */
header {
    width: 100%;
    height: 150px;
    padding: 0;
    font-family: "Unbounded", sans-serif;
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 100;
    background: #fff;
    transition: 0.5s;
    border-bottom: solid 3px #fdca7c;
}
header div.phone {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    display: flex; /* Aligné verticalement et horizontalement */
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, rgba(40, 63, 53, 1), rgba(40, 63, 53, 0));
    border-left: 0;
    border-right: 0;
    border-top: 0;
}
header div.phone a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #283f35;
    font-size: 0.9em;
    transition: color 0.3s;
}
header div.phone a span {
    color: #fdca7c;
    margin-right: 6px;
    font-size: 1.1em;
}
header div.phone a:hover {
    color: #fdca7c;
}

header div.logo {
	width: auto;
    height: 100px;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}
header div.logo a {
	width: 100%;
    height: 100px;
    padding: 0;
    margin: 0;
    display: block;
    align-items: center;
    justify-content: center;
}
header div.logo a strong {
	width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
header div.logo a strong img {
	width: auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header ul.social {
    width: auto;
    position: absolute;
    top: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 0 15px;
    height: 50px;
    display: flex; /* Flexbox pour alignement horizontal et centrage vertical */
    align-items: center;
    gap: 10px;

    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(to left, rgba(40, 63, 53, 1), rgba(40, 63, 53, 0));

    border-left: 0;
    border-right: 0;
    border-top: 0;
}
header ul.social li {
    display: inline-block;
    height: auto; /* Supprimé le line-height rigide */
}
header ul.social li a {
    display: flex;
    align-items: center;
    padding: 0;
    text-decoration: none;
    font-size: 1.5em;
    color: #283f35;
}
header ul.social li a span {
    color: #283f35;
    margin-right: 5px;
}
header ul.social li a strong {
    font-weight: normal;
    display: none;
}
header ul.social li a:hover span {
    color: #fdca7c;
}

header nav {
    height: 50px;
    width: 100%;
}
header nav a.mini {
    display: none;
}
header nav ul {
    height: 50px;
    width: 980px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex; /* On transforme la liste en conteneur flex */
    justify-content: space-around; /* Aligne et répartit l'espace automatiquement entre les boutons */
    align-items: center;
}
header nav ul li {
    /* Supprimé : width: calc(100% / 4); */
    /* Supprimé : float: left; */
    height: 100%;
    display: flex;
    flex-grow: 1; /* Permet à chaque élément de prendre une part égale de l'espace */
}
header nav ul li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Centre horizontalement et verticalement le texte */
    height: 100%;
    text-decoration: none;
    color: #283f35;
    transition: 0.5s;
    box-sizing: border-box;
}
header nav ul li a:hover,
header nav ul li a.active {
    color: #fdca7c;
    transition: 0.5s;
}

header.mini {
    height: 50px;
    transition: 0.5s;
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
    background: #fdca7c;
}
header.mini div.logo,
header.mini ul.social,
header.mini div.phone { /* On cache aussi le bloc téléphone en mini */
    display: none;
}
header.mini nav ul li a:hover,
header.mini nav ul li a.active {
    color: #fff;
}

/*** MAIN ***/
main {
    width: 100%;
    font-family: "Unbounded", sans-serif;
    margin: 150px 0 0 0;
    position: relative;
    z-index: 10;
}

/*** FOOTER ***/
footer {
	width: 100%;
    font-family: "Unbounded", sans-serif;
    background: #283f35;
    color: #fff;
    text-align: center;
    padding: 0;
    font-size: 0.8em;
}
footer div.top {
	width: 1200px;
    height: 150px;
    padding: 10px 0;
    margin: 0 auto;

}
footer div.menu {
	width: 500px;
    height: 130px;
    display: flex;
    align-items: center;
    float: left;
}
footer div.menu ul {
    width: 100%;
	list-style: none;
    text-align: left;
}
footer div.menu ul a {
	color: rgba(255,255,255,0.5);
    text-decoration: none;
}
footer div.menu ul a strong {
	font-weight: normal;
    display: inline;
}
footer div.logo {
	width: 200px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
}
footer div.logo img {
	width: auto;
	height: auto;
    max-height: 100px;
}
footer div.contact {
	width: 500px;
    height: 130px;
    display: flex;
    align-items: center;
    float: left;
}
footer div.contact ul {
    width: 100%;
	list-style: none;
    text-align: right;
}
footer div.contact ul a {
	color: rgba(255,255,255,0.5);
    text-decoration: none;
}
footer div.contact ul a span {
    display: inline;
    margin-right: 5px;
}
footer div.contact ul a strong {
	font-weight: normal;
}

footer div.bottom {
	width: 100%;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    float: none; 
    clear: both;
    color: rgba(255,255,255,0.5);

}
footer div.bottom a {
	color: rgba(255,255,255,0.5);
    text-decoration: none;
}


@media screen and (max-width: 1200px) {
    footer div.top {
        width: 100%;
    }
    footer div.menu,
    footer div.contact {
        width: calc(50% - 110px);
    }
}
@media screen and (max-width: 980px) {
    header nav ul {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    footer div.top div.menu {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    footer div.top div.menu ul {
        width: 100%;
        text-align: center;
    }
    footer div.top div.menu ul li:not(.head) {
        width: calc(100% / 4);
        float: left;
        text-align: center;
    }

    footer div.top div.logo {
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    } 

    footer div.top div.contact {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    footer div.top div.contact ul {
        width: 100%;
        text-align: center;
    }
    footer div.top div.contact ul li:not(.head) {
        width: calc(100% / 2);
        float: left;
        text-align: center;
    }
    footer div.top div.contact ul li:nth-child(2) {
        width: 100%;
        float: none;
        text-align: center;
    }
}
@media screen and (max-width: 640px) {
    header {
        height: 100px;
    }
    header nav a.mini {
        display: block;;
        position: absolute;
        top: 32px;
        right: 0;
        width: 68px;
        height: 68px;
        line-height: 68px;
        text-align: center;
        font-size: 1.5em;
        text-decoration: none;
        color: #000;
    }
    header nav ul {
        display: none;
        position: fixed;
        top: 100px;
        right: 0;
        width: 100%;
        height: auto;
        overflow: auto;
        background: #fff;
        box-shadow: 0 0 4px 1px rgba(0,0,0,0.15);
    }
    header nav ul li {
        float: none;
        clear: both;
        width: 100%;
    }
    header nav ul li a {
        text-align: right;
        padding: 0 10px;
    }

    header h1 {
        display: block;
        width: 90px;
        height: 90px;
        padding: 5px;
    }
    header h1 a,
    header h1 a strong,
    header h1 a strong img {
        width: 90px;
        height: 90px;
    }

    header.mini {
        background: #fff;
    }
    header.mini nav a.mini {
        top: 0;
        height: 50px;
        line-height: 50px;
    }
    header.mini nav ul {
        top: 50px;
    }
    header.mini nav ul li a.active {
        color:#fdca7c;
    }

    main {
        margin: 100px 0 0 0;
    }
    
    footer div.bottom span.trait {
        display: none;
    }
    footer div.bottom a {
        display: block;
    }
}
@media screen and (max-width: 540px) {
    header div.phone,header ul.social {
        display: none;
    }

    header h1 {
        margin: 0;
    }

    footer div.top div.menu ul,
    footer div.top div.contact ul {
        margin: 0;
        padding: 0;
    }
    footer div.top div.menu ul li,
    footer div.top div.menu ul li:not(.head) {
        width: 100%;
        float: none;
    }
    footer div.top div.contact ul li,
    footer div.top div.contact ul li:not(.head) {
        width: 100%;
        float: none;
    }
}

