/******** ICOFONT SVG ********/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?dqp7xn');
    src: url('../fonts/icomoon.eot?dqp7xn#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?dqp7xn') format('truetype'),
    url('../fonts/icomoon.woff?dqp7xn') format('woff'),
    url('../fonts/icomoon.svg?dqp7xn#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-cadenas:before {
    content: "\e900";
}

.icon-facebook-circular-logo:before {
    content: "\e901";
}

.icon-garage:before {
    content: "\e902";
}

.icon-google-plus:before {
    content: "\e903";
}

.icon-loupe:before {
    content: "\e904";
    font-size: 32px;
    color: #303030;
    cursor: pointer;
}

.icon-loupe:hover:before {
    color: #ff6600;
}

.icon-pinterest-logo:before {
    content: "\e905";
}

.icon-portiere:before {
    content: "\e906";
}

.icon-quote:before {
    content: "\e907";
}

.icon-shopping-cart:before {
    content: "\e908";
    font-size: 24px;
    color: #303030;
}

.icon-shopping-cart:hover:before {
    color: #ff6600;
}

.icon-telephone:before {
    content: "\e909";
    font-size: 34px;
    float: left;
    margin-top: 5px;
    margin-right: 20px;
    color: #303030;
}

.icon-twitter:before {
    content: "\e90a";
}

/******** CONTENU ********/

body {
    font: 14px Raleway;
    font-weight: 700;
}

a {
    display: block;
    color: #303030;
    text-transform: uppercase;
}

input {
    color: #ff6600;
    height: 40px;
    text-transform: uppercase;
    border: none;
    display: block;
    margin: 0 auto;
}

::-webkit-input-placeholder {
    padding-left: 5px;
    color: #ff6600;
}

:-moz-placeholder {
    padding-left: 5px;
    color: #ff6600;
}

::-moz-placeholder {
    padding-left: 5px;
    color: #ff6600;
}

:-ms-input-placeholder {
    padding-left: 5px;
    color: #ff6600;
}

/******** BURGER NAV ******/

.desktop {
    display: none;
}

.nav-burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 80px;
    padding: 0 20px;
        width: 100%;
    background: white;
    z-index: 10000000;
}

.nav-burger :hover {
    color: #ff6600;
}

.burger-menu {
    position: relative;
    width: 40px;
    height: 50px;
    cursor: pointer;
}

.burger {
    position: absolute;
    background: rgba(48, 48, 48, 1);
    width: 100%;
    height: 5px;
    top: 50%;
    right: 0px;
    margin-top: -5px;
    opacity: 1;
}

.burger .menu-liste {
    display: none;
    position: absolute;
    top: 45px;
    left: -20px;
    width: 320px;
    background: #fff;
    overflow: hidden;
}

.burger ul li {
    margin: 20px 10%;
    line-height: 40px;
    overflow: hidden;
}

.burger ul li a {
    display: block;
    width: 90%;
    padding-left: 5%;
    height: 40px;
}

.burger ul li a:active {
    background: #ff6600;
    color: #fff;
}

.burger ul li a:hover {
    background: #ff6600;
    color: #fff;
}

.burger::before {
    position: absolute;
    background: rgba(48, 48, 48, 1);
    width: 40px;
    height: 5px;
    top: 15px;
    content: "";
    display: block;
}

.burger::after {
    position: absolute;
    background: rgba(48, 48, 48, 1);
    width: 40px;
    height: 5px;
    bottom: 15px;
    content: "";
    display: block;
}

.burger::after, .burger::before, .burger {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.burger-menu.menu-on .burger::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    bottom: 0px;
}

.burger-menu.menu-on .burger::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 0px;
}

.burger-menu.menu-on .burger {
    background: rgba(111, 111, 111, .0);
}

nav.nav-burger > h1 {
    margin-left: 100px;
}

.nav-burger .connection {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 200px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/******** 1ER BANDEAU ********/

.background {
    background: url('../img/back-mea.jpg') no-repeat;
    background-size: cover;
    width: 100%;
}

.mea {
    width: 100%;
    margin: 0 auto;
    padding: 70px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/******* TROUVER SON VEHICULE *******/

.vehicule {
    width: 600px;
    height: 300px;
    background: #ff6600;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.vehicule ul {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 55px;
    background: #eaeaea;
}

.vehicule ul li {
    display: block;
    width: 200px;
    height: 100%;
    line-height: 55px;
    text-align: center;
    color: #ff6600;
}

.vehicule ul li.active, .vehicule ul li:hover {
    color: #fff;
    background: #ff6600;
    cursor: pointer;
}

.vehicule form {
    color: #fff;
}

form.par_vehicule {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 245px;
}

form.par_immatriculation {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 245px;
}

form.par_carte_grise {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 245px;
}

.vehicule form p {
    width: 450px;
    margin: 0 0 30px 0;
    line-height: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}

form.par_carte_grise p:last-child {
    margin: 30px 0 0;
}

.vehicule form select {
    width: 350px;
    height: 40px;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ff6600;
}

.vehicule form select:last-child {
    margin: 0;
}

/******** TROUVER UN GARAGE *******/

.garage {
    width: 205px;
    height: 300px;
    background: #eaeaea;
}

.garage h2 {
    height: 55px;
    line-height: 55px;
    text-transform: uppercase;
    text-align: center;
}

.garage img {
    display: block;
    margin: 35px auto 50px;
}

.garage input {
    width: 160px;
    text-align: center;
}

/******** RECHERCHE ET CONTACT *******/

.contact {
    background: #eaeaea;
    text-transform: uppercase;
    height: 300px;
}

.recherche {
    position: relative;
    width: 360px;
    background: #ff6600;
    padding: 20px 0;
}

.contact input {
    width: 320px;
}

.contact address {
    width: 300px;
    margin: 20px auto;
    padding-left: 15px;
}

.contact address p {
    letter-spacing: 1px;
    line-height: 20px;
}

.contact address p:last-child {
    margin-top: 15px;
    padding-left: 55px;
    font-size: 24px;
    color: #ff6600;
}

.contact h2 {
    text-align: center;
    margin: 30px auto 15px;
    letter-spacing: 1px;
}

.newsletter {
    position: relative;
}

.contact .newsletter::after {
    content: 'OK';
    width: 32px;
    height: 32px;
    background: #ff6600;
    color: #fff;
    display: block;
    line-height: 32px;
    text-align: center;
    position: absolute;
    right: 25px;
    bottom: 5px;
    cursor: pointer;
}

/******** publicités ********/

#slider {
    display: none;
}

/*SECTION INFORMATIONS*/
.informations {
    width: 100%;
    margin: 70px auto 0;
    text-align: center;
}

.informations h2 {
    font-size: 24px;
    color: #ff6600;
    text-transform: uppercase;
    width: 100%;
    margin: auto;
    line-height: 25px;
    letter-spacing: 2px;
}

.informations p {
    font-size: 16px;
    font-weight: 100;
    line-height: 25px;
    width: 80%;
    margin: 50px auto 0;
}

.informations ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 50px 150px;
}

.informations ul li {
    margin: 0 30px 30px;
}

.informations ul li span:first-child {
    font-size: 40px;
    text-transform: uppercase;
}

.informations ul li span:last-child {
    font-size: 20px;
    text-transform: uppercase;
}

.informations ul li i {
    display: block;
    font-size: 60px;
    margin-bottom: 30px;
}

.informations span {
    display: block;
    font-size: 30px;
    line-height: 35px;
}

/*SECTION CATEORIE*/

.categorie {
    width: 100%;
    margin: 70px auto 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.categorie a:hover {
    color: #fff;
}

.mecanique, .carrosserie, .entretiens {
    text-transform: uppercase;
    width: 100%;
    margin: 0 auto;
}

.mecanique ul, .carrosserie ul, .entretiens ul {
    padding: 20px 0 70px 60px;
    font-size: 18px;
    line-height: 30px;
}

.mecanique figcaption, .carrosserie figcaption, .entretiens figcaption {
    width: 320px;
    padding: 50px 30px 0;
    background-color: rgba(220, 220, 220, 0.5);
}

.mecanique h2, .carrosserie h2, .entretiens h2 {
    font-size: 36px;
    text-align: center;
    line-height: 30px;
    margin-bottom: 20px;
}

.mecanique {
    background: url(../img/engine.jpg) no-repeat;
}

.mecanique figcaption {
    float: right;
}

.carrosserie {
    background: url(../img/carrosserie_tab.jpg) no-repeat;
}

.carrosserie figcaption {
    float: left;
    height: 385px;
}

.quote {
    display: none;
}

.entretiens {
    background: url(../img/entretien.jpg);
}

.entretiens figcaption {
    float: right;
}

/******** SOCIAL *******/

.social h2 {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    color: #ff6600;
    padding-top: 50px;
    clear: both;
}

.social-network {
    text-align: center;
    margin: auto;
    display: block;
    width: 100%;
    font-size: 60px;
    color: #303030;
}

.social-network li i {
    color: #303030;
}

.social-network li i:hover {
    color: #ff6600;
}

.social-network li {
    display: inline-block;
    padding: 40px 40px 0;
}

/*FOOTER*/

footer {
    text-transform: uppercase;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

footer li > h2 {
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    color: #ff6600;
    padding: 40px 0 10px;
    border-bottom: 1px solid #ff6600;
    margin: 0 0 10px;
}

footer ul h2 {
    color: #303030;
}

.bloc-1, .bloc-2, .bloc-3 {
    text-align: center;
    padding: 0 30px;
}

.bloc-1 h2, .bloc-2 h2, .bloc-3 h2 {
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 50px;
}

footer ul li a {
    font-weight: 500;
    line-height: 30px;
}

footer a:link, footer a:visited {
    color: #000;
    text-decoration: none;
}

footer ul li a:hover {
    color: #ff6600;
}

footer > ul.bloc-3 > li:nth-child(11) {
    display: none;
}

.moteur {
    display: none;
    background: rgba(0, 0, 0, 0.4);
    width: 66%;
    height: 430px;
    color: #fff;
}

/******** LIENS DESACTIVES (pas de page/backend derriere) ********/

.disabled {
    display: block;
    padding: 7px 20px;
    line-height: 30px;
    color: #b0b0b0;
    cursor: not-allowed;
}

footer .disabled {
    display: block;
    font-weight: 500;
    line-height: 1.9;
    color: #b0b0b0;
    cursor: not-allowed;
}

.social-network .disabled {
    cursor: not-allowed;
}

.social-network .disabled i {
    color: #c8c8c8;
}

/******** BOUTONS DE FORMULAIRE ********/

.vehicule form button,
.garage form button,
.newsletter button {
    display: block;
    margin: 20px auto 0;
    height: 40px;
    padding: 0 30px;
    background: #303030;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.vehicule form button:hover,
.garage form button:hover,
.newsletter button:hover {
    background: #ff6600;
}

.garage form {
    text-align: center;
}

.recherche button {
    position: absolute;
    right: 0;
    top: 20px;
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.newsletter {
    text-align: center;
}

.newsletter button {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 10px auto 0;
}

/******** MESSAGES DE DEMONSTRATION ********/

.demo-message {
    margin-top: 12px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
    text-align: center;
}

.vehicule .demo-message {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/******** PAGES CATEGORIE (mecanique / carrosserie / entretien) ********/

.category-hero {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.category-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.category-hero--mecanique { background-image: url('../img/engine.jpg'); }
.category-hero--carrosserie { background-image: url('../img/carrosserie_tab.jpg'); }
.category-hero--entretien { background-image: url('../img/entretien.jpg'); }

.category-hero_content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 40px;
    color: #fff;
}

.category-hero_content h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.category-hero_content p {
    font-weight: 400;
    font-size: 15px;
    max-width: 500px;
    margin-bottom: 20px;
}

.category-hero_back {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 1px solid #ff6600;
}

.category-hero_back:hover {
    color: #ff6600;
}

.demo-banner {
    background: #ffe8d6;
    text-align: center;
    padding: 15px 40px;
}

.demo-banner p {
    font-weight: 500;
    font-size: 13px;
    text-transform: none;
    color: #7a3d00;
}

.subsection {
    width: 100%;
    padding: 0 40px;
    margin: 50px auto 0;
}

.subsection:last-child {
    padding-bottom: 50px;
}

.subsection h2 {
    font-size: 24px;
    text-transform: uppercase;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    width: calc(50% - 10px);
    padding: 20px;
    background: #f4f4f4;
    text-align: center;
}

.product-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-card_price {
    color: #ff6600;
    font-size: 15px;
    font-weight: 700;
}
/* Bloc "avis client" réutilisé en pleine page sur carrosserie.html (hors du
   contexte figure/figcaption d'origine) : on annule le float/height fixes. */
#avis .quote {
    float: none;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0 auto;
    padding: 60px 30px;
}
