@import url(./fonts.css);

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-size: 16px;
    /* background-image: url(../img/bg_phone.jpg); */
    /* background: radial-gradient( circle at center,
        rgba(39, 39, 39, 0.01) 0,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 1) 100%); */
    background: #000;
}

.el-motif {
    position: absolute;
    top: 0;
    right: 0;
    width: 230px;
    z-index: -1;
}

.el-content-area {
    padding: 1rem;
    max-width: 1400px;
    width: 100%;
}

.el-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#el-header {
    width: 100%;
    height: 400px;
}

#el-header .el-top h1 {
    font-family: montserrat;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f2f2f2;
    text-transform: uppercase;
    padding-top: .5rem;
}

#el-header .el-top p.el-light {
    font-family: montserrat;
    font-size: 1rem;
    font-weight: 400;
    color: #f2f2f2;
    text-transform: uppercase;
}

#el-header .el-top p.el-short {
    font-family: montserrat;
    font-size: .41rem;
    font-weight: 400;
    color: #f2f2f2;
}

#el-header .el-top {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: 0 1rem .5rem;
    position: relative;
    width: 100%;
}

#el-header .el-content-area {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0;
    max-width: none;
}

#el-header .el-middle {
    width: 100%;
    position: relative;
    height: 300px;
}

#el-header .el-middle::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, .7), transparent);
}

#el-header .el-middle .el-content h2 {
    font-family: alpha;
    font-size: 3rem;
    font-weight: 400;
    color: #f2f2f2;
    line-height: 3rem;
}

#el-header .el-middle .el-content h3 {
    font-family: montserrat;
    font-size: 1.5rem;
    font-weight: 900;
    color: #f2f2f2;
    text-transform: uppercase;
    text-shadow: 0 0 3px rgba(0, 0, 0, .7);
}

#el-header .el-middle .el-content button {
    font-family: sans-serif;
    font-size: .65rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    padding: .25rem .5rem;
    outline: none;
    border: none;
    border-radius: 4px;
    background-image: linear-gradient(to top, rgb(203, 152, 63), rgb(250, 193, 98), rgb(250, 239, 159), rgb(212, 175, 97), rgb(203, 152, 63));
    cursor: pointer;
    animation: blink 1.5s ease-in-out infinite;
    animation-delay: 4s;
}

#el-header .el-middle .el-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

#el-header .el-middle .el-container-starts {
    display: flex;
    align-items: center;
    gap: 0rem;
    position: absolute;
    left: 50%;
    bottom: -27px;
    transform: translateX(-50%);
}

#el-header .el-middle .el-container-starts img {
    width: 30px;
}

#el-header .el-middle .el-container-starts img:nth-child(3) {
    width: 50px;
}

#el-header .el-middle .el-circle {
    width: 20px;
    position: absolute;
    z-index: 2;
}

#el-header .el-middle .el-first-child {
    transform: rotateY(180deg);
}

#el-header .el-middle .el-last-child {
    bottom: 0;
    right: 0;
}

.el-caracteristique {
    transition: .3s;
}

.el-caracteristique:hover {
    transform: scale(.9);
}

.el-caracteristique label {
    cursor: pointer;
}

.el-caracteristique input[type="radio"] {
    display: none;
}

.el-caracteristique span {
    display: inline-block;
    position: relative;
    background: rgb(206, 197, 197);
    padding: .5em 1em;
    color: #333;
    border-radius: 2em;
    font-size: .85em;
    transition: .3s;
    user-select: none;
    overflow: hidden;
    box-shadow: 0 8px 10px rgba(224, 218, 218, .15);
    text-transform: capitalize;
    font-weight: 700;
    z-index: 2;

    font-size: .75rem;
    font-family: montserrat;
    font-weight: 600;
    cursor: pointer;
}

.el-caracteristique span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(226, 216, 216, .5);
    z-index: -1;
}

.el-caracteristique input[type="radio"]:checked~span {
    background: rgb(232, 31, 40);
    color: #f2f2f2;
    box-shadow: 0 8px 10px rgba(232, 31, 40, .3);
}

.el-caracteristique input[type="radio"]:checked~span::before {
    background: rgba(238, 215, 215, .35);
}

.el-container-caracteristiques .el-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


.el-card-question .el-question {
    font-size: 1rem;
    font-family: montserrat;
    font-weight: 600;
    color: #f2f2f2;
}

.el-card-question {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-bottom: 1px solid rgba(226, 216, 216, .15);
    padding-bottom: 2.5rem;
}


main#el-main-page {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

main#el-main-page .el-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

#el-footer-page .el-content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: auto;
}

#el-footer-page .el-btn-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#el-footer-page .el-btn-controls button {
    outline: none;
    border: none;
    font-family: montserrat;
    font-size: .8rem;
    font-weight: 600;
    color: #f2f2f2;
    text-transform: uppercase;
    cursor: pointer;
    padding: .5rem 1rem;
    background-image: linear-gradient(to right, #ff0000, #910000);
    border-radius: 4px;
}

#el-footer-page .el-btn-controls button:last-of-type {
    position: relative;
}

#el-footer-page .el-container-chevron {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -2px;
    width: 100%;
}

#el-footer-page .el-container-chevron img {
    width: 20px;
    animation: blink 1.5s ease-in-out infinite;
}

#el-footer-page .el-container-chevron img:nth-child(2) {
    animation-delay: 0.5s;
}

#el-footer-page .el-container-chevron img:nth-child(3) {
    animation-delay: 1s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

#el-grid-resultat {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.el-article-resultat {
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.el-article-resultat::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent, transparent);
}

.el-article-resultat .el-content {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    top: 1.5rem;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    padding: .5rem 1rem .5rem .5rem;
    gap: .5rem;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    backdrop-filter: blur(3px);

    font-family: montserrat;
    font-size: 1rem;
    font-weight: 600;
    color: #f2f2f2;
    text-transform: uppercase;
}

.el-article-resultat .el-content img {
    width: 20px;
}


/* Éléments cachés pour animation au scroll */
[data-anime] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.1s, transform 0.3s;
}

#el-footer-page .el-btn-controls {
    opacity: 0;
    transform: translateY(20px);
    transition: none; /* Anime.js gère l’animation, pas le CSS */
}

#el-text-result{
    font-family: montserrat;
    font-size: 1rem;
    font-weight: 600;
    color: #f2f2f2;
}
