@charset "UTF-8";
@import url('article.css?vi');

/*!
 * Version - 1.1.1
 * Copyright (c) 2025 Astrolab <info@astrolab.com> and another company

 * L’autorisation est accordée à toute personne qui en obtient une copie de ce style.
 * Il est strictement interdit de publier(vendre) sans l'autorisation préalable des auteurs.
 * Des spécialistes sont à l'origine des documents fournis.
*/

/* General */
/*
 * =================================================
 * ==================== 1. Card ====================
*/
.mck-card {
    border: 1px solid #89C05C;
    border-radius: 25px 25px 0px 25px;
}

.mck-card.card-plain-blue {
    border: 0px;
    background-color: #EDF5F8;
    border-radius: 25px 25px 0px 25px;
}

.mck-card.card-blue {
    border-color: #00719D;
}

.mck-tips {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: var(--light);
}

.mck-tips.tips-circle {
    border-radius: 2.5em;
}

/*
 * =================================================
 * ==================== 2. Typography ====================
*/
.mck-h2,
.mck-h2 * {
    color: #141F39 !important;
    font-size: 40px !important;
    font-family: var(--ff-title) !important;
    font-weight: 700 !important;
}

/*
 * =================================================
 * ==================== 3. Home ====================
*/

/* Carousel base class */
.carousel {
    margin-bottom: .5rem;
}

.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

.carousel-item {
    height: 34rem;
}

/* End Carousel base class */

#home .title,
#home .title * {
    color: var(--light);
    font-size: 3.725rem;
    font-family: var(--ff-title) !important;
    font-weight: 500;
}

#home p {
    color: var(--light);
    font-size: 1.125rem !important;
    font-weight: 300 !important;
}

/*
 * =====================================================
 * ==================== 4. Citation ====================
*/

/* Citation */

.citation-content {
    position: absolute;
    margin: 0 auto;
}

.mck-citation-span {
    font-size: 14px;
}

.mck-citation-title {
    font-size: 20px;
    line-height: 1;
    color: #8CCA34;
    font-family: var(--ff-title);
    font-weight: 600;
}

.mck-citation-image {
    width: 100vw;
    height: 100%;
}

#cta-service h2 {
    color: #141F39;
    font-size: 40px;
    font-family: var(--ff-title) !important;
    font-weight: 700;
}

/*
 * =====================================================
 * ==================== 5. Conseils ====================
*/

/* Conseils */
#conseils .item {
    position: relative;
}

#conseils .number {
    font-size: 60px !important;
    margin-top: -20px;
}

/* Conseils */
.presentation {
    position: absolute !important;
    right: 0 !important;
    height: 100% !important;
    background-image: url(../images/image-valeur.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*
 * =====================================================
 * ==================== 6. Reference ====================
*/
.category.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Les logos (conteneur grille) */
.logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, 113px);
    gap: 20px;
    transition: all 0.3s ease;
    justify-content: center;
}

/* Logo individuel */
.logo {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
    display: none;
    animation: appear 0.5s ease-out forwards;
    /* Appliquer l'animation */
}

.logo img {
    width: 113px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Quand le logo est visible */
.logo.show {
    display: block;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    animation: appear 0.5s ease-out forwards;
    /* Animation d'apparition */
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* Mobile */

@media only screen and (max-width: 767px) {

    /* Typography */
    h2,
    h2 * {
        font-size: 33px !important;
    }

    /* Home */
    #home .title,
    #home .title * {
        font-size: 2.325rem !important;
    }

    #home p {
        font-size: 0.835rem !important;
    }

    .carousel-caption {
        bottom: 0;
    }

    .carousel-item {
        /* height: 12.5rem; */
        height: 31rem;
    }

    /* Conseils */
    .presentation {
        position: relative !important;
        height: auto !important;
        background-image: url(../images/image-valeur.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    /* Citation */
    .citation-content {
        position: relative;
    }

    .citation-text {
        position: absolute;
        bottom: 10px;
        left: 20px;
        right: 20px;
    }

    .citation-text.mck-card-transparent {
        background-color: #1e1e1eb1 !important;
        color: var(--light);
    }

    .mck-citation-title {
        font-size: 16px !important;
    }

    .mck-citation-span {
        font-size: 13px;
    }
}