/*
 Template: basic-theme
 Theme Name: Basic theme Child
 Theme URI: quatorze.net
 Description: Basic theme Child Theme
 Author: quatorze.net
 Author URI: quatorze.net
 Version: 1.0.0
 Tags: 
 Text Domain: basic-theme-child
*/
@import url('https://fonts.googleapis.com/css?family=Aldrich');
@import url('https://fonts.googleapis.com/css?family=Maven+Pro');

.main-content ul li{list-style-position: initial !important;}
h1, h2, h3{padding-bottom: 10px} 

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend {font-family: 'Maven Pro', sans-serif;}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {font-family: 'Aldrich', sans-serif; text-transform: uppercase; font-weight: bold}



/* ------- HEADER CUSTOMIZATION ------- */
.wpml-ls-item span{
	font-family: 'Aldrich', sans-serif !important;
    font-size: 16px;
	line-height: 24px;
    font-weight: 700;
}

header#top nav > ul > li > a {
    font-family: 'Aldrich', sans-serif;
    font-size: 16px;
	line-height: 24px;
    font-weight: 700;
}
header#top nav ul li a:hover, header#top nav .sf-menu li.current-menu-item > a{
	border-bottom: 2px solid white;
    padding-bottom: 2px;
}
header#top nav > ul > li:before{content: '' !important;}

/* ------- FOOTER CUSTOMIZATION ------- */

footer#footer-outer #footer-widgets {
    background-image: url(/wp-content/uploads/2018/07/footer-metal.jpg);
	background-color: #2B1808;
	background-size: cover;
}
body #footer-menu{text-align: left;}
#footer-outer .row{padding-bottom: 0}
#footer-menu ul li:before{
	content: "";
	padding-right: 0px;
}
#footer-menu ul li{
	display: block;
	margin-bottom: 10px;
	padding-left: 0px;
}
#footer-menu ul li a{    
	font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
	font-weight: bold;
}
#footer-outer #copyright{
	background-color: #000; 
	border: none;
}


a .fa{color:#424242 !important;     font-size: 26px !important; margin-right:10px}
a:hover .fa{color:#4267B2 !important}

#footer-outer #footer-widgets li.current_page_item a{color: #88181B}
#footer-outer #footer-widgets li a{color: #424242}
#footer-outer #footer-widgets li a:hover{color: #88181B}
#footer-outer #copyright p, #footer-outer a, #powered-by{color: white;}
#footer-outer #copyright p {line-height: 30px;}
#footer-outer #footer-widgets .col2 a {
	font-weight: bold;
	color: #88181B;
}

#footer-outer #footer-widgets .col2 a:hover {
	font-weight: bold;
	color: #424242;
}
#footer-outer #footer-widgets .col2 li{list-style: none;}
.col1 > div {line-height: 22px;}

/* ------- RESPONSIVE CUSTOMIZATION ------- */

@media only screen and (min-width : 1000px) {
	header#top #logo img{margin-top: 10px;}
}

header#top nav > ul > li {
	float: left;
	padding: 27px 0;
	padding-left: 10px;
}

header#top nav > ul > li:before {
    content: "\b7";
    padding-right: 4px !important;
}

.vc_btn3.vc_btn3-size-md:hover{
   	background-color: #424242 !important;
}

.vc_tta-panel-title span{color:#88181B !important }

[class^="icon-"], [class*=" icon-"] {
    background-color: #424242 !important;
}

.vc_images_carousel .vc_carousel-control .icon-next:before {
    top: -4px !important;
}
.vc_images_carousel .vc_carousel-control .icon-prev:before {
top: -4px !important;
}
/* ================================
   RESET & BASE CLEANUP
   ================================ */

/* Supprime les vieux styles hérités du thème / Superfish */
header#top nav ul.sf-menu ul.sub-menu,
header#top nav ul.sf-menu .sub-menu {
    all: unset;
    display: none;
    position: absolute;
    box-sizing: border-box;
}

/* Évite les bonds / comportements étranges */
header#top nav ul.sf-menu li {
    position: relative;
}

/* ================================
   SOUS-MENU MODERNE
   ================================ */

header#top nav ul.sf-menu > li {
    position: relative;
}

header#top nav ul.sf-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; /* Alignement à gauche */
    background: #ffffff;
    min-width: 300px; /* Largeur pour éviter les retours de ligne */
    padding: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 99999;
    box-sizing: border-box;
}

/* Affichage au survol */
header#top nav ul.sf-menu li:hover > ul.sub-menu {
    display: block !important;
}

/* ================================
   ITEMS DU SOUS-MENU
   ================================ */

header#top nav ul.sf-menu ul.sub-menu li {
    display: block;
    width: 100%;
}

header#top nav ul.sf-menu ul.sub-menu li a {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 16px; /* Typographie visible et moderne */
    font-family: 'Aldrich', sans-serif;
    font-weight: 700;
    color: #333 !important;
    white-space: nowrap; /* Empêche les découpes bizarres */
    line-height: 1.3;
    text-decoration: none;
}

/* Hover propre */
header#top nav ul.sf-menu ul.sub-menu li a:hover {
    background-color: #f2f2f2 !important;
    color: #000 !important;
    border-bottom: none !important;
}

/* ================================
   ALIGNEMENT GLOBAL
   ================================ */

/* Alignement du menu principal */
header#top nav > ul.sf-menu {
    text-align: left !important;
}

/* Supprime les puces / bullets héritées du thème */
header#top nav ul.sf-menu,
header#top nav ul.sf-menu ul.sub-menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* Ajuste le spacing entre les éléments du menu principal */
header#top nav > ul.sf-menu > li > a {
    padding-right: 20px;
}

/* Aligner le menu WPML "English" avec les autres items */
header#top nav ul.sf-menu > li.wpml-ls-item {
    padding: 27px 0 !important;
    padding-left: 10px !important;
    float: left;
    line-height: 24px;
}
/* Cache le menu mobile sur desktop */
#mobile-menu {
    display: none !important;
}
/* Force l'alignement de l'item WPML */
header#top nav ul.sf-menu > li.wpml-ls-item,
header#top nav ul.sf-menu > li[class*="wpml"] {
    padding: 27px 0 !important;
    padding-left: 10px !important;
    float: left !important;
    line-height: 24px !important;
    margin: 0 !important;
}
/* Cache l'icône hamburger sur desktop */
@media (min-width: 1000px) {
    #toggle-nav {
        display: none !important;
    }
}
/* Force l'alignement de l'item WPML "English" */
header#top nav ul.sf-menu > li.menu-item-wpml-ls-2-en,
header#top nav ul.sf-menu > li.wpml-ls-item {
    float: left !important;
    padding: 27px 0 !important;
    padding-left: 10px !important;
    margin: 0 !important;
    line-height: 24px !important;
    display: block !important;
}
header#top nav ul.sf-menu > li[class*="wpml"] {
    padding: 27px 0 !important;
    padding-left: 10px !important;
}
/* Envoie l'item WPML complètement à droite */
header#top nav ul.sf-menu > li.wpml-ls-item,
header#top nav ul.sf-menu > li[class*="wpml"] {
    margin-left: auto !important;  /* pousse l’item aussi loin que possible */
    float: none !important;        /* enlève le float */
    display: inline-block !important;
    vertical-align: middle !important;
}

header#top nav ul.sf-menu {
    display: flex !important;
    align-items: center !important;
    gap: 20px;
}
/* Empêche le saut vertical sur le hover de l’item English */
header#top nav ul.sf-menu > li.wpml-ls-item a,
header#top nav ul.sf-menu > li[class*="wpml"] a {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

header#top nav ul.sf-menu > li.wpml-ls-item a:hover,
header#top nav ul.sf-menu > li[class*="wpml"] a:hover {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
/* Aligne English verticalement avec les autres items du menu */
header#top nav ul.sf-menu > li.wpml-ls-item,
header#top nav ul.sf-menu > li[class*="wpml"] {
    margin-left: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: 74px !important; /* même hauteur que les autres LI */
}
/* On montre le menu hamburger seulement en mobile */
@media (max-width: 999px) {
    #toggle-nav {
        display: block !important;
    }

    /* On cache le menu desktop en mobile */
    header#top nav > ul.sf-menu {
        display: none !important;
    }
}
/* Conteneur du menu mobile caché par défaut */
#mobile-menu {
    display: none;
    background: #222;
    padding: 20px;
}

#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu ul li {
    border-bottom: 1px solid #444;
}

#mobile-menu ul li a {
    color: white;
    padding: 12px 0;
    display: block;
    text-decoration: none;
}

/* Quand il est ouvert */
#mobile-menu.open {
    display: block !important;
}

/* Uniformisation des champs du formulaire Contact */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 3px;
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

#contact-form input[type="submit"] {
    background: #88181B;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

#contact-form input[type="submit"]:hover {
    background: #444;
}
/* ===============================
   FORMULAIRE – RESTAURATION STYLE ORIGINAL
   =============================== */

#contact-form {
    max-width: 600px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 160px;
    resize: vertical;
}

#contact-form input[type="submit"] {
    background-color: #88181B;
    border: none;
    padding: 12px 28px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Aldrich', sans-serif;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

#contact-form input[type="submit"]:hover {
    background-color: #5d0f12;
}

/* Messages d’erreur / succès */
#error-messages li,
#success-messages li {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 3px;
    list-style: none;
}

#error-messages li {
    background: #ffd9d9;
    border-left: 4px solid #c30000;
    color: #700;
}

#success-messages li {
    background: #d8f6d8;
    border-left: 4px solid #2f8f2f;
    color: #1c5d1c;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    #contact-form {
        width: 100%;
    }
}
/* ===========================================================
   Réaligner le menu principal correctement
   =========================================================== */

/* Container UL en mode flex */
header#top nav > ul.sf-menu {
    display: flex;
    align-items: center;
    gap: 25px; /* espacement entre les items gauche */
    width: 100%;
}

/* Groupe d'items du menu principal (Nos services + Contact) */
header#top nav > ul.sf-menu > li {
    float: none !important; /* retire l'ancien système flottant */
}

/* Le bouton WPML "English" complètement à droite */
header#top nav > ul.sf-menu > li.wpml-ls-item {
    margin-left: auto !important; /* pousse English à droite */
}

/* Ajustement vertical pour garantir qu'il est bien aligné */
header#top nav > ul.sf-menu > li.wpml-ls-item a {
    padding-top: 27px;
    padding-bottom: 27px;
}
/* ========= Correction du menu principal (empêche le wrap) ========= */

header#top nav > ul.sf-menu {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap !important; /* empêche English de descendre */
}

/* English poussé à droite */
header#top nav > ul.sf-menu > li.wpml-ls-item {
    margin-left: auto !important;
}

/* Forcer English à rester sur la même ligne */
header#top nav > ul.sf-menu > li,
header#top nav > ul.sf-menu > li a {
    white-space: nowrap !important;
}
/* ========= Rendre le sous-menu lisible ========= */

/* Style du conteneur du sous-menu */
.sf-menu ul.sub-menu {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    padding: 8px 0 !important;
    min-width: 260px !important;
}

/* Style des liens */
.sf-menu ul.sub-menu li a {
    color: #222 !important;
    padding: 10px 15px !important;
    background: #ffffff !important;
    display: block !important;
}

/* Hover propre */
.sf-menu ul.sub-menu li a:hover {
    background: #f2f2f2 !important;
    color: #000 !important;
    font-weight: 600;
    border-bottom: none !important;
}


