/* ========================================
    SECTION PRINCIPALE - WELCOME
    ======================================== */

.container_welcome_main {
    height: 100vh;
    width: 100%;
    background-image: url("../images/welcome/bg_welcome.png");
    margin: 0;
    padding: 0;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome_titre {
    color: var(--blanc_glacial);
}

.welcome_sous_titre {
    margin-top: 10px;
    color: var(--blanc_glacial);
    font-weight: 500;
}

/* ========================================
    SECTION SWIPER - CAROUSEL
    ======================================== */

.swiper {
    width: 100%;
    height: 70%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide iframe {
    display: block;
    width: 80%;
    height: 100%;
    object-fit: cover;
    background-color: white;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bleu_clair);
}

.swiper-button-prev {
    position: absolute !important;
    left: 50px !important;
}

.swiper-button-next {
    position: absolute !important;
    right: 50px !important;
}

/* ========================================
    BOUTON CTA - BESOIN
    ======================================== */

.btn_besoin {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--vert);
    color: var(--blanc_glacial);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_besoin i {
    margin-left: 10px;
    font-size: x-large;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.btn_besoin:hover {
    background-color: var(--vert_fonce);
    color: var(--blanc_glacial);
    text-decoration: none;
}

.btn_besoin:hover i {
    animation: arrow_welcome 1s ease-in-out forwards;
    -webkit-animation: arrow_welcome 1s ease-in-out forwards;
}

@keyframes arrow_welcome {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
    }

    40% {
        transform: translateY(10px) rotate(90deg);
        -webkit-transform: translateY(10px) rotate(90deg);
        -moz-transform: translateY(10px) rotate(90deg);
        -ms-transform: translateY(10px) rotate(90deg);
        -o-transform: translateY(10px) rotate(90deg);
    }

    60% {
        transform: translateY(0px) rotate(90deg);
        -webkit-transform: translateY(0px) rotate(90deg);
        -moz-transform: translateY(0px) rotate(90deg);
        -ms-transform: translateY(0px) rotate(90deg);
        -o-transform: translateY(0px) rotate(90deg);
    }

    80% {
        transform: translateY(10px) rotate(90deg);
        -webkit-transform: translateY(10px) rotate(90deg);
        -moz-transform: translateY(10px) rotate(90deg);
        -ms-transform: translateY(10px) rotate(90deg);
        -o-transform: translateY(10px) rotate(90deg);
    }

    100% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
    }
}

/* ========================================
    SECTION SOLUTIONS
    ======================================== */

.container_welcome_solutions {
    height: 230vh;
    width: 100%;
    background-color: var(--blanc_glacial);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h1_solutions {
    margin-top: 50px;
}

.p_solutions {
    width: 50%;
    text-align: center;
    color: var(--bleu_foncer);
    line-height: 1.6;
}

/* Wrapper Solutions */
.wrapper_solutions {
    margin-top: 25px;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: var(--bleu_foncer);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.wrapper_solutions h1 {
    color: var(--blanc_glacial);
    margin-left: 20px;
}

/* Cards Solutions */
.wrapper_cards_solutions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
}

.card_solution {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
}

.card_solution i {
    font-size: 40px;
    margin-bottom: 10px;
}

.card_solution p {
    text-align: start;
    width: 80%;
}

.card_solution a {
    margin-bottom: 30px;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

/* Variantes de couleurs pour les cards */
.card_blue,
.card_blue h4 {
    color: var(--bleu_clair);
}

.card_green,
.card_green h4 {
    color: var(--vert);
}

.bg_blue {
    background-color: var(--bleu_clair);
    color: var(--blanc_glacial);
    border-radius: 4px;
}

.bg_green {
    background-color: var(--vert);
    color: var(--blanc_glacial);
    border-radius: 4px;
}

.card_solution a:hover {
    background-color: var(--bleu_foncer);
}

/* ========================================
    SECTION SERVICES
    ======================================== */

.title_valeur {
    margin-top: 50px;
}

.wrapper_cards_services {
    margin-top: 25px;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card_service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30%;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.cs_blue_foncer,
.cs_blue_foncer h4 {
    color: var(--bleu_clair);
    background-color: var(--bleu_foncer);
}

.cs_blue_clair,
.cs_blue_clair h4 {
    color: var(--bleu_foncer);
    background-color: var(--bleu_clair);
}

/* ========================================
    SECTION AVIS - SWIPER
    ======================================== */

.wrapper_card_avis {
    margin-top: 50px;
    width: 80%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: flex-start;
    background-color: var(--bleu_foncer);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    padding: 20px;
}

.wrapper_card_avis .swiper_avis {
    width: 99%;
    height: 100%;
}

.wrapper_card_avis .swiper_avis .swiper-slide {
    background-color: var(--blanc_glacial);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    height: auto;
}

/* Titre du Swiper Card */
.title_swiper_card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.title_swiper_card img {
    width: 50px;
    height: 50px;
}

.title_swiper_card h2 {
    font-weight: 700;
}

/* Paragraphe du Swiper Card */
.paragraphe_swiper_card {
    width: 100%;
    text-align: left;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.paragraphe_swiper_card img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.start_guillemet {
    width: 80%;
    height: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.end_guillemet {
    width: 80%;
    height: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
}

.paragraphe_swiper_card p {
    display: inline;
    font-style: italic;
    color: var(--bleu_foncer);
    width: 80%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.scrollable_avis {
    height: 60%;
    overflow: auto;
    word-break: break-all;
}

/* Date du Swiper Card */
.date_swiper_card {
    width: 100%;
    height: 10%;
    text-align: right;
}

/* État sans avis */
.no-avis {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blanc_glacial);
}

.no-avis h3 {
    color: white;
}

/* ========================================
    SECTION FORMULAIRE AVIS
    ======================================== */

.form_avis {
    margin-top: 30px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.form_avis .form_group {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-center;
    justify-content: center;
    margin-bottom: 15px;
}

.form_avis .form_group label {
    margin-bottom: 5px;
    color: var(--bleu_foncer);
}

.form_avis .form_group input,
.form_avis .form_group textarea {
    width: 100%;
    padding: 8px;
    background-color: var(--bleu_clair);
    border: 1px solid var(--bleu_foncer);
    border-radius: 4px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}
#centered {
    width: 40%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rating-neon {
    display: flex;
    flex-direction: row-reverse; /* Important pour la logique du survol */
    justify-content: flex-end;
}

.rating-neon input {
    display: none; /* On cache les boutons radio */
}

.rating-neon label {
    cursor: pointer;
    width: 30px;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.2); /* Couleur de base éteinte */
    transition: all 0.2s ease-in-out;
}

.rating-neon label:before {
    content: "★"; /* Tu peux remplacer par une icône FontAwesome si tu préfères */
}

/* Effet au survol et quand c'est coché */
.rating-neon label:hover,
.rating-neon label:hover ~ label,
.rating-neon input:checked ~ label {
    color: #00f2ff; /* Ton bleu cyan néon */
    text-shadow:
        0 0 10px rgba(0, 242, 255, 0.8),
        0 0 20px rgba(0, 242, 255, 0.5);
}

.form_avis .btn_submit {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background-color: var(--bleu_clair);
    color: var(--bleu_foncer);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}

.form_avis .btn_submit:hover {
    background-color: var(--bleu_foncer);
    color: var(--blanc_glacial);
    text-decoration: none;
}

.p_avis {
    margin-top: 20px;
    width: 60%;
    text-align: center;
    color: var(--bleu_foncer);
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
    RESPONSIVE DESIGN - TABLETTE ET MOBILE
    ======================================== */

@media all and (max-width: 992px) {
    /* Welcome Main */
    .container_welcome_main {
        justify-content: center;
        padding-bottom: 20px;
    }

    .welcome_sous_titre {
        text-align: center;
        font-size: 22px;
    }

    /* Solutions */
    .p_solutions {
        width: 80%;
        font-size: large;
    }

    .h1_solutions,
    .title_valeur {
        text-align: center;
        font-size: 22px;
    }

    .wrapper_solutions {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .wrapper_solutions h1 {
        margin-left: 0;
    }

    /* Cards */
    .wrapper_cards_solutions {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .card_solution {
        width: 90%;
        margin-bottom: 20px;
    }

    .card_service {
        width: 80%;
    }

    /* Container */
    .container_welcome_solutions {
        height: auto;
    }

    /* Swiper */
    .swiper_slide_responsive {
        width: 90% !important;
    }

    /* Formulaire */
    .form_avis .form_group {
        width: 80%;
    }

    .p_avis {
        width: 90%;
        font-size: medium;
    }

    h1 {
        font-size: 26px;
    }
}
