/* Forcer la police DaimlerCAC sur les titres Elementor avec police de secours pour les accents */
.elementor-heading-title {
    font-family: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif !important;
}

/* Spécifiquement pour le H1 principal de la page offres */
.elementor-element-5374a0b0 .elementor-heading-title {
    font-family: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif !important;
    font-size: 65px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
}

/* Autres titres sur la page */
.elementor-element-6c00b217 .elementor-heading-title {
    font-family: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif !important;
}

/* Appliquer la police Mercedes aux titres H2 dans les widgets Text Editor */
.elementor-widget-text-editor .elementor-widget-container h2 {
    font-family: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin-bottom: 20px !important;
}

/* Police Lato sur tous les bold/strong du site (cohérent avec le body) */
strong, b {
    font-family: "MBCorpo Text", "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Styles bold dans les widgets Text Editor (sous-titres des fiches véhicules) */
.elementor-widget-text-editor .elementor-widget-container strong,
.elementor-widget-text-editor .elementor-widget-container b {
    display: block !important;
    margin-top: 1.2rem !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.4 !important;
}

/* Premier titre bold ne doit pas avoir de marge top */
.elementor-widget-text-editor .elementor-widget-container p:first-child b,
.elementor-widget-text-editor .elementor-widget-container p:first-child strong {
    margin-top: 0 !important;
}

/* Supprimer le br dans les titres bold pour éviter le double saut de ligne */
.elementor-widget-text-editor .elementor-widget-container b br,
.elementor-widget-text-editor .elementor-widget-container strong br {
    display: none !important;
}

/* Infobox cards : bold inline, pas de display block, taille héritée */
.eael-infobox .infobox-content strong,
.eael-infobox .infobox-content b {
    font-family: "MBCorpo Text", "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    display: inline !important;
    margin: 0 !important;
    line-height: inherit !important;
}

/* Correction globale pour tous les widgets Heading - comme l'ancien site */
.elementor-widget-heading .elementor-heading-title {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--heading) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

/* Correction spécifique pour les widgets Heading avec size-default */
.elementor-widget-heading .elementor-heading-title.elementor-size-default {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--heading) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    font-size: var(--wp--preset--font-size--large);
}

/* Correction pour les widgets Heading avec balise <p> spécifiquement */
.elementor-widget-heading p.elementor-heading-title {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--heading) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    font-size: var(--wp--preset--font-size--large);
}

/* Appliquer la police aux paragraphes dans les widgets Text Editor */
.elementor-widget-text-editor .elementor-widget-container p {
    font-family: "Lato", "Roboto", Arial, sans-serif;
}

/* Appliquer la police Mercedes aux titres H3 dans les widgets Text Editor */
.elementor-widget-text-editor .elementor-widget-container h3 {
    font-family: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin-bottom: 15px !important;
}

/* Styles globaux pour tous les titres H2 sur le site - comme l'ancien */
h2 {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 400;
    line-height: 1.2;
    font-size: var(--wp--preset--font-size--x-large);
}

/* Styles globaux pour tous les titres H3 sur le site - comme l'ancien */
h3 {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 400;
    line-height: 1.2;
}

/* Puces modernes pour les listes Mercedes (fiches véhicules) */
ul.owc-simple-teaser-item__bullet-list {
    list-style: none !important;
    padding-left: 1.2rem !important;
    margin: 0.8rem 0 !important;
}

ul.owc-simple-teaser-item__bullet-list li.owc-simple-teaser-item__bullet-item {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 14px;
    color: #333;
}

ul.owc-simple-teaser-item__bullet-list li.owc-simple-teaser-item__bullet-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    background-color: #999999;
    border-radius: 50%;
}

/* Fallback si les variables WordPress ne sont pas définies */
:root {
    --wp--preset--color--contrast: #000000;
    --wp--preset--font-family--heading: "DaimlerCAC-Regular", "Roboto", Arial, sans-serif;
    --wp--preset--font-size--x-large: 48px;
    --wp--preset--font-size--large: 32px;
}
