/* 
    =============================================
    STYLES GÉNÉRIQUES
    =============================================
*/
html,
body {
    margin: 0;
}

html {
    --blue-indigoo: #0063FF;
    --black: #000000;
    --grey: #333333;
    --green-fitness-tv: #76FA9F;
    --black-title: #1F1F1F;
    --white-title: #FFFFFF;
    --medium-text: #434649;
    --light-border: #CDCED0;
    --navbar-height: 80px;
    scroll-behavior: smooth;
    /* Rend le défilement plus fluide */
}

#abonner,
#desabo,
#transparence,
#footer,
#sports-preferes,
:target {
    scroll-margin-top: 80px;
}

img {
    width: 100%;
}

body {
    background-color: var(--black);
}

section {
    padding: 2em 20px;
}

section.title {
    padding: 4rem 1rem 0 1rem;
}

.desktop-size {
    margin: 0 auto;
    max-width: 768px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
a {
    font-family: 'Arial', sans-serif;
    color: white;
}

h1 {
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
}

h2 {
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

h4 {
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.4rem;
    margin: 0;
}

footer {
    padding: 2em 1em;
    color: white;
    background-color: black;
}

footer li {
    margin-bottom: 0.5em;
}

p {
    margin: 2em 0;
}

p {
    font-family: 'Arial', sans-serif;
    color: var(--white-title);
    margin: 0;
}

.separator {
    height: 20px;
    margin: 1em 0;
    background-color: var(--blue-indigoo);
}

a {
    color: white;
    text-decoration: none;
}

/*LANDING*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

main {
    margin-top: 60px;
}

/* Logo et cobranding */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    height: 25px;
    width: auto;
    margin: 15px 0 5px 0;
}

.logo-footer {
    height: 60px;
    width: auto;
}

nav {
    border-bottom: 1px solid white;
    width: 100%;
}

.logo-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: black;
    z-index: 3;
    max-width: 768px;
    margin: 0 auto;
    height: 100%;
    padding: 0 1rem;
}

.label_cobrand {
    color: #999999;
    font-size: 12px;
    font-family: 'Arial';
    margin-bottom: 5px;
}

/* Menu Burger */
.burger-menu {
    position: relative;
    z-index: 10;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 15;
}

.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-items {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    transition: top 0.4s ease;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-items.active {
    top: 60px;
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu-items ul li {
    margin: 30px 0;
}

.menu-items ul li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 10px;
}

.menu-items ul li a:hover {
    color: var(--blue-indigoo);
}

.arrow {
    width: 100px;
    padding: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/*BOUTON*/

button {
    border: none;
}

.btn {
    border-radius: 8px;
    padding: 1rem;
    font-weight: 600;
    display: inline-block;
    font-family: 'Arial', sans-serif;
    color: white;
    cursor: pointer;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: opacity 0.4s ease;
    background-color: #0063ff;
    width: 100%;
    text-align: center;
    font-size: 2rem;
}

.tarif {
    font-size: 12px;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 10px auto;
}

.safetext {
    font-size: 12px;
    margin: 0;
    color: #B2B2B2;
}

.center {
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 99, 255, 0.7);
    transition: all 0.3s ease;
    background-color: #0052d6;
}

.btn-select {
    font-style: normal;
    background-color: var(--grey);
    transition: background-color 0.2s ease;
    color: var(--light-border);
}

.btn-select:hover,
.btn-select.active {
    background-color: var(--blue-indigoo);
    color: var(--white-title);
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--blue-indigoo);
}

.btn-secondary {
    background-color: var(--grey);
    border: 1px solid var(--light-border);
}

.btn-full-width {
    justify-content: center;
    width: 100% !important;
}

.svg-button {
    display: flex;
    align-items: center;
    gap: 0.5em;
    width: max-content;
}

.svg-button img {
    transition: transform 1s ease;
}

.svg-button:hover img {
    transform: scale(1.2) translateX(0.5em);
    transition: transform 0.4s ease;
}


/*TRIFI FORM*/

form {
    display: grid;
    justify-items: center;
    grid-gap: 2vh;
}

#submitBtn:disabled {
    background: linear-gradient(#ccc, #ccc);
    color: #666;
    box-shadow: none;
}

#enter {
    font-size: 1.4rem !important;
}

#phoneNumber {
    font-size: 30px;
    border-radius: 50px;
    padding: 5px;
    text-align: center;
    width: 70%;
    letter-spacing: 2px;
}

#phoneNumber::placeholder {
    color: lightgrey;
}

#phoneNumber:invalid {
    border: 3px solid #989898;
}

#phoneNumber:valid {
    border: 3px solid #0063ff;
}

#error {
    color: red;
}

/*SWIPER*/
.swiper-wrapper {
    height: 400px !important;
}

.swiper-wrapper2 {
    height: 300px !important;
}

.swiper-slide {
    position: relative;
}

.slide-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slide-card-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    border-radius: 20px;
    border: 2px solid #0063ff;
    background-color: var(--color-bg-2);
    padding: 1em;
    width: 90%;
    box-sizing: border-box;
    margin: 0 auto 20px;
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-card-2 img {
    height: 60px;
    width: 60px;
    margin-bottom: 20px;
}

.slide-card-2 p {
    font-style: italic;
    color: white;
}

.slide-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1.5), transparent);
    z-index: 1;
}

.slide-card .slide-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 5px;
    color: #e5e3e3;
    font-size: 14px;
    text-align: center;
    z-index: 2;
    text-transform: uppercase;
    font-style: italic;
    font-family: 'Arial', sans-serif;
    font-size: 17px;
    font-weight: 800;
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
    width: 90%;
    margin-bottom: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    padding: 1em;
    height: 20px !important;
    width: 20px !important;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.8em !important;
    font-weight: bold;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, -5px) !important;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, -5px) !important;
}

swiper-button-next.black,
.swiper-button-prev.black {
    color: white !important;
}


/*FAQ*/

.grey {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0px;
}

.faq {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
}

.toggle-section {
    border-bottom: #0063ff 1px solid;
    margin-bottom: 1rem;
    width: 100%;
}

.toggle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.toggle-header h2 {
    text-align: left;
    letter-spacing: 0;
    margin: 0;
    font-size: 1.2rem;
}

.toggle-content {
    max-height: 0;
    margin: 5px 0;
    overflow: hidden;
    transition: max-height 0.2sease -out;
}

.toggle-content a {
    color: white;
}

.toggle-icon {
    transition: transform 0.2sease-out;
    width: 0.8rem;
}

.toggle-icon.expanded {
    transform: rotate(180deg);
    transition: transform 0.2s ease-out;
}

.transparence {
    font-family: Arial, sans-serif;
}

.transparence ul {
    color: white;
}

.faq-link {
    color: #0063ff !important;
    text-decoration: underline;
}

/*FOOTER*/

footer {
    background: #000000;
    padding: 4vh 0 0;
    display: grid;
    justify-items: center;
    grid-gap: 2vh;
}

.int {
    width: 100px;
}

.seize {
    width: 3rem;
}

.menuFooter {
    display: grid;
    width: 100%;
}

footer a {
    color: #ffffff;
    padding: 1em;
    font-weight: 700;
    font-size: 12px;
    text-transform: capitalize;
    text-align: center;
}

#mandatory_fr_lp_text {
    background-color: black;
    color: white;
    font-size: 12px;
    padding: 10px;
    display: block;
    font-family: 'Arial', sans-serif;
}

.boxSlide h2 {
    margin: 0.5rem 0;
}

/*MOBILE LANDSCAPE*/
@media screen and (max-width: 1000px) and (orientation: landscape) {
    .btn {
        width: 52%;
    }

    .boxCTA {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .swiper {
        width: 80%;
    }

    .slide-card-2 {
        width: 30%;
        justify-content: start;
    }

    .boxSlide {
        display: flex;
        justify-content: space-evenly;
    }

    .slide-card-2 p {
        font-size: 12px;
    }

    section {
        padding: 1em 2em;
    }

    .logo {
        height: 20px;
        width: auto;
        margin: 10px 0 0;
    }

    .arrow {
        width: 50px;
        padding: 1rem;
        animation: bounce 2s infinite;
    }

    h1 {
        text-align: center;
        text-transform: uppercase;
        font-style: italic;
        font-weight: 700;
        font-size: 18px;
        margin: 0;
    }

    h2 {
        font-weight: 600;
        font-size: 12px;
    }

    #phoneNumber {
        font-size: 21px;
        border-radius: 50px;
        padding: 5px;
        text-align: center;
        width: 35%;
        letter-spacing: 2px;
    }

    .btn {
        border-radius: 8px;
        padding: 10px;
        font-weight: 600;
        display: inline-block;
        font-family: 'Arial', sans-serif;
        color: white;
        cursor: pointer;
        text-decoration: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: opacity 0.4s ease;
        background-color: #0063ff;
        width: 70%;
        text-align: center;
        font-size: 20px;
    }

    .burger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
        z-index: 15;
    }

}

/*DESKTOP*/
@media screen and (min-width: 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }

    h4 {
        font-size: 1.6rem;
    }

    .btn {
        width: 70%;
        margin: 0 auto;
    }

    #phoneNumber {
        width: 40%;
    }


    .slide-card-2 img {
        height: 60px;
        width: 60px;
        margin-bottom: 20px;
        margin: 0 auto;
    }

    .slide-card-2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0 auto;
        border-radius: 20px;
        border: 2px solid #0063ff;
        background-color: var(--color-bg-2);
        padding: 1em;
        width: 40%;
        box-sizing: border-box;
        margin: 0 auto 20px;
    }
}
