@font-face {
    font-family: 'Arial';
    src: url('fonts/Arial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arial';
    src: url('fonts/Arial-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Beneficial';
    src: url('fonts/Beneficial.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Locator';
    src: url('fonts/Locator-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Locator-bold';
    src: url('fonts/Locator-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro';
    src: url('fonts/MinionPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Styles généraux */
body header, body main, body footer {
    font-family: 'Roboto', sans-serif !important;

}

/* Appliquer Beneficial aux titres principaux */
header h1 {
    font-family: 'Roboto', 'Beneficial', Arial, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}
h1 span{
    font-weight: bold;
}

/* Utiliser MinionPro pour le texte de contenu */
.score-message p,
.score-message li {
    font-family: 'Roboto', serif;
}

p,h2,h3,h4,h5,h6{
    color: #53a3b4;
}
header {
    background: linear-gradient(to bottom, #0e9a93, #fff);
    color: #009991;
    padding: 62px 0;
    text-align: center;
    position: relative;
    min-height: 168px;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}
.grey-text{
    color: #706f6f;
}
header p {
    margin: 10px 0;
    font-size: 1em;
}
header .div-header{
    /* border: 2px solid white; */
    background-image: url('./images/guimick.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 30px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -34%);
    height: 169px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* filter: drop-shadow(0px 3px 3px #4444449c); */
    width: 99%;
}
.text-center{
    text-align: center;
}
.container{
    max-width: 1300px !important;
    margin: 0 auto;
    padding-left: 16px !important;
    padding-right: 16px !important;
}
.main-content {

}
.intro{
    padding: 54px;
}
.picto-test{
    position: absolute;
    left: 0;
    top: 0px;
}
.score-section {
    background: #fef4e9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.score-section-title{
    background: #53a3b4;
    color: white;
    padding: 30.4px 23.4px 23.4px;
    box-shadow: inset 0px 6px 8px -4px rgb(48, 48, 48);
}
.score-section h2 {
    color: #f6a976;
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 20px;
}

.score-section p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1em;
    color: #333;
}
.div-questions{
    background: #fff;
    padding: 50px 0;
}
.question {
    margin: 50px 0 !important;
    padding: 0 20px;
    border-right: 3px solid #009991;
    text-align: center;
    color: #004f60;
}
.question h3 {
    color: #53a3b4 !important;
}
.question:last-child{
    border-right: none;
}

.question h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    margin-left: 23px;
    margin-right: 23px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.options label {
    position: relative;
    width: 105px;
    height: 105px;
    margin: 0;
    cursor: pointer;
}

.options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style du cercle par défaut */
.options label span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: url('./images/BTN-vierge.png') no-repeat center center;
    background-size: cover;
    color: #53a3b4;
    font-size: 19px;
    padding: 10px;
    font-family: 'Beneficial', 'Locator', Arial, sans-serif;
    line-height: 1.1;
}

/* Style au survol */
.options label:hover span {
    background: url('./images/BTN-vierge.png') no-repeat center center;
    background-size: cover;
}

/* Style quand sélectionné */
.options input[type="radio"]:checked + span {
    background: url('./images/Btn-selection.png') no-repeat center center;
    background-size: cover;
    color: white;
}

.result {
    text-align: center;
    margin-top: 20px;
}

.result-button {
    background: linear-gradient(to right, #53a3b4, #4a79a5);
    color: white;
    border: none;
    padding: 10px 50px;
    font-size: 2em;
    cursor: pointer;
    position: relative;
    margin-top: -30px;
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.3s ease;
}
.result-button::after {
    content: url('./images/picto-goutte.png');
    position: absolute;
    right: -45px;
    top: -50px;
}
.result-button:hover {
    background-position: left bottom;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer ul li a {
    text-decoration: none;
    color: #135f74;
    font-size: 0.9em;
}

.footer ul li a:hover {
    text-decoration: underline;
}
.font26pt{
    font-size: 26pt;
    font-weight: 300;
}
.font34pt{
    font-size: 34pt;
    font-weight: bold;
}
.font19pt{
    font-size: 19pt;
    font-weight: 300;
    line-height: 31px;
}
.font30pt{
    font-size: 30pt;
    font-weight: bold;
}
.font20pt{
    font-size: 20pt;
    font-weight: bold;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    
    text-align: center;
}
.bgSalmon{
    background-color: #f6a976;
    display: inline-block;
    padding: 14px 30px 14px;
    margin: 0;
    line-height: 1;
    box-shadow: 0px 6px 7px -2px rgb(48, 48, 48);
    margin-bottom: 20px;
}
.popup-content {
    background: linear-gradient(to bottom, #4b7ba6, #52a2b4);
    
    color: #fff;
    max-width: 910px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.popup-content p{
    color: #fff !important;
}
.score-title {
    margin-bottom: 20px;
    font-size: 1.4em;
    margin-bottom: 9px;
}

.score-message {
    text-align: left;
}

.score-message ul {
    margin: 15px 0;
    padding-left: 20px;
}

.score-message li {
    margin: 8px 0;
}
.score-title{
    color: #f6a976;
}

/* Styles spécifiques pour chaque niveau */


.popup-border{
    border: 2px solid #fff;
    border-right: none;
    border-top: none;
    padding: 20px;
    margin: 20px;
    position: relative;
}

.popup-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: 2px;
    background-color: #fff;
}

.popup-border::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 0;
    width: 2px;
    height: calc(100% - 40px);
    background-color: #fff;
}

#close-popup {
    padding: 10px 15px;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    position: absolute;
    top: -12px;
    right: -16px;
}
#close-popup img{
    width: 25px;
}

/* Appliquer le style Bold aux titres */
h1, h2, h3 {
    font-weight: bold;
}

/* Appliquer le style Medium pour certains éléments */
.result-button, 
.options label,
.score-message strong {
    font-weight: 500;
}
footer .footer-content .footer-lang a.current-lang {
    color: #009991 !important;
}
.footer-nav-links{
    /* width: 30%; */
}
.footer-nav{
    background-color: #f5f5f4;
    padding: 20px 0;
}
.footer-nav  ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    /* width: 100%; */
}
.footer-flex{
    justify-content: space-between;
}
.footer-logo img{
    max-width: 230px;
    width: 115px;
}
.footer-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    /* width: 53%; */
}
.footer-lang{
    display: flex; 
    align-items: center;
    justify-content: end !important;
}
.footer-lang li a{
    color: #6b6a6a !important;
    text-decoration: none;
}
.footer-lang li a:hover{
    color: #009991 !important;
    text-decoration: none;
}
.footer-lang li{
    position: relative;
}
.footer-lang li:first-child::after {
    content: '' !important;
    position: absolute;
    top: 0;
    right: -12px;
    background-color: #6b6a6a;
    width: 2px;
    height: 22px;
}
.borderBottomLink{
    position: relative;
}
.borderBottomLink::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 4px;
    background-color: #009991;
}
.footer-logo p{
    color: #6b6a6a;
}
.footer-logo-container{
    width: 115px;

}
.footer-logo-container img{
    width: 115px;
}
.asterisk{
    margin: 20px 0 40px;
    color: #6b6a6a;
    line-height: 1;
}
.grey-ultralight{
    color: #c9c9c9;
}
.illustration-popup{
    max-width: 330px;
    width: 100%;
}
.exposantTrimestre{
    margin-top: 19px;
}
/* .br-3{
    line-height: 1 !important;
} */
@media (max-width: 1034px) {
    .question h3 {
        height: 150px;
    }
}
@media (max-width: 1000px) {
    header .div-header{
        /* border: 2px solid white; */
        background-image: url('./images/Cadre-2.svg');
    }
}
@media (max-width: 768px) {
    .question h3 {
        height: inherit;
    }
    .options label {
        width: 25%;
        height: 95px;
    }
    .options label span {
        width: 95px;
        height: 95px;
        font-size: 17px;
    }
    .options{
        justify-content: space-evenly;
    }
    br{
        display: none;
    }
    .popup-content br,label span br, #score-result br{
        display: none;
    }
    .options label span br{
        display: inherit !important;
    }
    .asterisk br{
        display: inherit;
    }
    .footer-nav ul{
        flex-direction: column;
    }
    .score-section-title{
        padding-right: 0;
        padding-left: 0;
    }
    .question{
        border-right: none;
        position: relative;
        margin-bottom: 0;
        padding-bottom: 50px;
        margin: 15px 0 !important;
        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 3px;
            background-color: #53a3b4;
        }
        
    }
    .question:last-child {
        
        &::after {
            display: none;
        }
    }
    .picto-test{
        position: relative;
        top: inherit;
        left: inherit;
        margin-bottom: inherit !important;
    }
    header{
        padding: 20px 0;
        min-height: 168px !important;
    }
    header h1{
        font-size: 17pt;
        padding: 0 10px;
        width: 80%;
    }
    header h1 br{
        display: none;  
    }
    header .div-header {
        background-image: url('./images/Cadre-5.svg');
        height: 189px;
    }
    .font26pt{
        font-size: 17pt;
        font-weight: 300;
    }
    .font34pt{
        font-size: 23pt;
        font-weight: bold;
    }
    .font19pt{
        font-size: 18px;
        font-weight: 300;
        line-height: 20px;
    }
    .font30pt{
        font-size: 15pt;
        font-weight: bold;
    }
    .font20pt{
        font-size: 15pt;
        font-weight: bold;
        line-height: 20px;
    }
    .solutionMobile{
        font-size: 19pt;
    }
    .exposantTrimestre{
        margin-top: 15px;
        margin-bottom: 0;
    }
    .footer-flex{
        justify-content: center;
        flex-direction: column;
    }
    .footer-nav ul.footer-lang{
        flex-direction: inherit;
        margin-top: 20px;
    }
    .footer-nav ul{
        align-items: inherit;
    }
    .footer-logo{
        justify-content: start;
    }
    body footer .reference-number{
        text-align: center !important;
    }
}
@media (max-width: 600px) {
    header h1{
        width: inherit;
    }
    .footer-nav-container{
        flex-wrap: wrap !important;
    }
    footer .footer-nav-container .footer-nav-links{
        width: 100% !important;
    }
    
}

@media (max-width: 958px) {
    .picto-test{
        position: inherit;
        top: inherit;
        left: inherit;
        margin-bottom: -60px;
    }
}
@media (max-width: 1052px) {
    header .div-header{
        /* transform: translate(-50%, -26%); */
        transition: 0.25s;
    }
}
@media (max-width: 906px) {
    header {
        min-height: 138px;
        transition: 0.25s;
    }
    header .div-header {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.25s;
        transform: translate(-52%, -34%);
        width: 95%;
        transition: 0.25s   ;
    }
}
@media (max-width: 390px) {
    header h1{
        font-size: 15pt;
    }
}
.fontLocator{
    font-family: 'Locator-bold', Arial, sans-serif;
}



@media (max-width: 364px) {
    .options label {
        width: 95px;
        height: 95px;
    }
}