/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

#btn-objectif {
    position: relative;
    padding-right: 40px;
    transition: all 0.3s ease;
}

#btn-objectif:after {
    content: "";
    position: absolute;
    top: 20.5px;
    right: 15px;
    width: 0; /* Largeur initiale à 0 pour cacher la barre */
    height: 3px;
    background-color: #EF7E10; /* Couleur orange par défaut */
    transform-origin: right center;
    transition: width 0.3s ease, right 0.3s ease, background-color 0.3s ease;
}

#btn-objectif:before {
    content: "";
    position: absolute;
    top: 21px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-top: 3px solid #EF7E10;
    border-right: 3px solid #EF7E10;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    transition: right 0.3s ease, border-color 0.3s ease;
}

#btn-objectif:hover:after {
    width: 22px;
    right: 6px;
    background-color: #FCF7E6;
    border-radius: 99px;
}

#btn-objectif:hover:before {
    right: 7px;
    border-top: 3px solid #FCF7E6;
    border-right: 3px solid #FCF7E6;
}

#btn-objectif-blue {
    position: relative;
    padding-right: 40px;
    transition: all 0.3s ease;
}

#btn-objectif-blue:after {
    content: "";
    position: absolute;
    top: 19px;
    right: 15px;
    width: 0;
    height: 3px;
    background-color: transparent;
    transform-origin: right center;
    transition: width 0.3s ease, right 0.3s ease, background-color 0.3s ease;
}

#btn-objectif-blue:before {
    content: "";
    position: absolute;
    top: 20px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-top: 3px solid #FCF7E6;
    border-right: 3px solid #FCF7E6;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    transition: right 0.3s ease, border-color 0.3s ease;
}

#btn-objectif-blue:hover:after {
    width: 22px;
    right: 6px;
    background-color: #1F386A;
    border-radius: 99px;
}

#btn-objectif-blue:hover:before {
    right: 7px;
    border-top: 3px solid #1F386A;
    border-right: 3px solid #1F386A;
}

/* Styles pour les liens des catégories gf-gf et control */
.amcc-plateau-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 15px;
}

.amcc-plateau-link {
    color: #F18700 !important;
    font-weight: bold !important;
    display: inline-block !important;
    margin-bottom: 8px !important;
    position: relative !important;
    padding-right: 30px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}

.amcc-plateau-link:last-child {
    margin-bottom: 0 !important;
}

.amcc-plateau-link:after {
    content: '' !important;
    position: absolute !important;
    top: 47% !important;
    right: 15px !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #F18700 !important;
    transform-origin: right center !important;
    transition: width 0.3s ease, right 0.3s ease !important;
}

.amcc-plateau-link:before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #F18700 !important;
    border-right: 2px solid #F18700 !important;
    transform: translateY(-50%) rotate(45deg) !important;
    z-index: 1 !important;
    transition: right 0.3s ease !important;
}

.amcc-plateau-link:hover {
    color: #d47700 !important;
    text-decoration: none !important;
}

.amcc-plateau-link:hover:after {
    width: 18px !important;
    right: 6px !important;
}

.amcc-plateau-link:hover:before {
    right: 7px !important;
}
