/*
Theme Name: hello-elementor-child
Description: Dev spécial ValDuMadon x elementor
Author: Fx @Pinkdesign
Author URI: https://www.valdumadon.fr
Template: hello-elementor
Version: 1.0
*/

/* ==========================================================
   CONTENU
========================================================== */

/* Listes standards dans le contenu des pages/articles */

.entry-content ul,
.elementor-widget-text-editor ul {
    margin-left: 0;
    padding-left: 0.9em;
}


/* ==========================================================
   TITRES
========================================================== */

.titre h1::after {
    content: "";
    display: block;
    position: relative;

    width: 80px;
    height: 2px;

    top: 25px;
    left: calc(50% - 40px);

    background: #FF7D00;
}

.sous_titre h3::after {
    content: "";
    display: block;
    position: relative;

    width: 80px;
    height: 2px;

    top: 25px;
    left: 0;

    background: #FF7D00;
}


/* ==========================================================
   LISTES PERSONNALISÉES
========================================================== */

:root {
    --list-accent-color: #F3AD67;
}


/* Variantes d’icônes */

.list-check {
    --list-icon-image: url('/wp-content/uploads/2025/11/check_icon.svg');
}

.list-phone {
    --list-icon-image: url('/wp-content/uploads/2025/11/telephone_icon.svg');
}

.list-info {
    --list-icon-image: url('/wp-content/uploads/2025/11/infos_icon.svg');
}

.list-telechargement {
    --list-icon-image: url('/wp-content/uploads/2025/11/telechargement_icon.svg');
}


/* Structure */

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    position: relative;

    padding: 12px 0 12px 36px;

    border-bottom: 1px solid var(--list-accent-color);

    font-size: 16px;
    line-height: 1.4;

    color: var(--e-global-color-text);
}


/* Icône */

.custom-list li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    transform: translateY(-50%);

    width: 22px;
    height: 22px;

    border: 2px solid var(--list-accent-color);
    border-radius: 50%;

    background-image: var(--list-icon-image);
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
}


/* Liens */

.custom-list li a {
    padding: 0;

    font-weight: 600;

    color: var(--list-accent-color) !important;
    background-color: transparent !important;

    transition: .2s ease;
}

.custom-list li a:hover {
    padding: 0 10px;

    color: #FFF !important;
    background-color: var(--list-accent-color) !important;
}


/* ==========================================================
   BOUTON FAMILIZZ
========================================================== */

.navD .btn-familizz > a {
    display: inline-flex;
    align-items: center;

    font-weight: 600;

    color: #FFF !important;
    text-decoration: none;

    background: linear-gradient(90deg, #4C4CFF, #0085FF);
    border-radius: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


/* Emplacement icône */

.navD .btn-familizz > a::after {
    content: "";

    display: block;

    width: 18px;
    height: 20px;

    background-size: contain;
    background-repeat: no-repeat;
}


/* Hover */

.navD .btn-familizz > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 105, 255, .25);
}

/* ==========================================================
   LISTE PERSONNALISÉE - APERÇU TINYMCE
========================================================== */

ul.liste-perso {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.liste-perso li {
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid #F3AD67;
    line-height: 1.4;
}

ul.liste-perso li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 22px;
    height: 22px;

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

    border: 2px solid #F3AD67;
    border-radius: 50%;

    color: #F3AD67;
    font-size: 11px;
    box-sizing: border-box;
}
