:root {
    /* COLORS */
    --primary-color: #6941C6;
    --second-color: #7F56D9;
    --text-color: #535862;
    --light-gray-color: #FAFAFA;

    /* FONTS SIZE */
    --p-size: 1.5em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
}

/*==============================*/
/*                      BOUTONS*/

.btn {
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    box-shadow: 0 6px 16px rgba(127, 86, 217, 0.4);
}

.btn:active {
    box-shadow: 0 2px 8px rgba(127, 86, 217, 0.2);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--second-color));
    color: var(--light-gray-color);
    box-shadow: 0 4px 12px rgba(127, 86, 217, 0.3);
}

.btn--second {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--light-gray-color);
}

.btn--second:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--second-color));
    color: var(--light-gray-color);
}


/*=======================================================*/
/*                                                 HOME*/
/*===================================================================*/
/*                                                  NAVBAR HOME PAGE*/

.home_navbar {
    background-color: var(--light-gray-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5em;
}

.home_navbar__menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.logo {
    /* margin-right: auto; */
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.home_navbar-link {
    display: flex;
    text-decoration: none;
    padding: 1em 2em;
}

.home_navbar__menu .home_navbar-link {
    color: var(--text-color);
}


.p-violet {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5em;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;

    text-align: center;
}

.titre-section {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.home-title-h2 {
    width: 100%;
    line-height: 1.5;
    font-size: clamp(0.3rem, calc(7vw + 1rem), 3rem);
    /*min, pref, max*/
}

.home_container {
    width: 100vw;
    min-height: 100vh;
    padding: 80px 40px;
}
i{
    margin: 5px;
}

/*============================================*/
/*                                       HERO*/

.hero {
    max-height: 180vh;
    background: linear-gradient(to bottom,
            #ffffff 0%,
            rgba(105, 65, 198, 0.2) 50%,
            #ffffff 89%);
}

.hero__btn {
    min-width: 100px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero__picture-content {
    max-width: 953px;
    height: auto;
    position: relative;
    display: inline-block;
    margin-top: 64px;
}

.pic-web {
    border-radius: 8px;
    max-width: 90%;
    height: auto;
}

.pic-phone {
    max-width: 50%;
    max-height: 100%;
    border-radius: 8px;
    border: 1px solid #000000;

    position: absolute;
    top: 8%;
    right: -5%;
    z-index: 1;
}

.p-title{
    width: 650px;
    font-size: 20px;
}

/*========================================*/
/*                                   CARD*/

.section__card {
    max-width: 100vw;
    min-height: 30vh;
    margin: 0 5.625rem;
    display: flex;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap; /* Permet d'anticiper le responsive design(empilement automatique des cards */
}

.home_card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #E9EAEB;
    min-height: 100%;
    border-radius: 8px;
    padding: 1.5rem;
}

.icone {
    height: 48px;
    width: 48px;
    background-color: rgb(188, 161, 219);
    margin-bottom: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icone i {
    display: inline-block;
    color: #ffffff;
    font-size: 2rem;
}

.titre-card {
    margin-bottom: 10px;
}

.p-card {
    width: 330px;
}


/*===========================================*/
/*                                       FAQ*/
.faq {
    min-height: 170vh;
    max-height: 220vh;
}

.faq-flex{
    max-width: 1200px;
    margin: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.faq__container-items {
    width: 100vw;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-answer {
    display: none;
    height: 20%;
    font-size: 1.25rem;
    color: #535862;
    margin-top: 1.5rem;
}

.toggleBtn {
    font-size: 1.25rem;
    text-decoration: none;
}

.faq-question {
    /* height: 30%; */
    font-weight: 600;

    display: flex;
    justify-content: space-between;
    align-items: end;
}

.faq-question i {
    color: #6941C6;

}

.faq-hr {
    margin-top: 5%;
    color: #EAECF0;
}

.faq__items {
    width: 70%;
    height: auto;
}

.faq-contact {
    max-width: 70%;
    background-color: #FAFAFA;
    border-radius: 16px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.faq-contact a {
    width: 90px;
}

.footer {
    background-color: var(--light-gray-color);
    height: 200px;
    display: flex;
    align-items: center;
    padding: 20px;
}