/*
Theme Name: menocommunity
Author: Betül CELIKOZ
Description: Pixel-perfect custom theme from Figma
Version: 2.0.0
*/

:root {
    /* Couleurs */
    --color-primary: #121142;
    --color-secondary: #D7D3EE;
    --color-accent: #ffca67;
    --color-white: #FFFFFF;
    --color-text: #121142;
    --col-white: #ffffff;
    --col-dark-blue: #2b255a;
    --font-title: 'Quicksand', sans-serif;
    --font-body: 'Inter', sans-serif;

    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'PP Telegraf', sans-serif;

    --margin-global: 80px;
    --gap-small: 20px;
    --gap-medium: 70px;
    --gap-large: 80px;
    --gap-columns: 115px;

    --max-width: 1440px;
}

.site-header {
    display: flex;
    justify-content: space-between;
}

.main-navigation {
    margin: 50px 0;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-navigation ul li a {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);

}

.action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-questionnaire {
    display: flex;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-white);
    background-color: transparent;
    border: 1px solid var(--color-white);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;

}

.color {
    height: 1500px;
    width: 1500px;
    background-image: radial-gradient(closest-side, #FFCA67, transparent);
    position: absolute;
    z-index: 0;
    left: -650px;
    top: 900px;
    pointer-events: none;
}

.color2 {
    height: 900px;
    width: 1100px;
    background-image: radial-gradient(closest-side, #FFCA67, transparent);
    position: absolute;
    z-index: 0;
    left: 200px;
    top: -200px;
    pointer-events: none;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.home-page {
    background-color: var(--color-secondary);
}

/* ========================================
   HEADER
======================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 30px var(--margin-global);
}

.header-logo img {
    padding-top: 20px;
    max-height: 100px;
    width: auto;
}

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

.mention-background {
    margin-bottom: 20px;
    height: 200px;
    background: no-repeat;
    background-size: 200%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.hero-section {
    position: relative;
    width: 100%;
    background-color: var(--color-secondary);
}

.hero-background {
    background-size: cover;
    background-position: center;
    min-height: 110vh;
    height: auto;
    border-bottom-left-radius: 350px;
    border-bottom-right-radius: 350px;
    padding: 0 var(--margin-global);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 110vh;
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-main-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-small);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin: 0;
    letter-spacing: -2px;
}

.hero-description {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
}

/* Testimonials */
.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
    margin-top: 0px;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3px;
    color: var(--color-white);
    max-width: 450px;
}

.author {
    font-weight: bold;
}

.testimonial-rating {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   QUIZ CTA CARD
======================================== */
.quiz-cta-section {
    position: relative;
    z-index: 10;
    background-color: var(--color-secondary);
}

.quiz-cta {
    background-color: var(--color-white);
    border-radius: 20px;
    width: 1000px;
    height: 350px;
    margin: -70px auto 0;
    padding: var(--gap-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.quiz-cta h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.quiz-cta p {
    font-family: var(--font-body);
    font-size: 25px;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.btn-quiz {
    width: 250px;
    height: 40px;
    background-color: transparent;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.btn-quiz:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.quest-popin .video-popin-wrapper {
    border-radius: 20px;
    background-color: white;
    padding: 10px;

}

.video-popin iframe,
.video-popin video {
    border-radius: 20px;
    background-color: white;
    width: 270px;
    height: 480px;
    padding: 10px;
}

.quest-popin iframe {
    border-radius: 20px;
    background-color: white;
    width: 1000px;
    height: auto;
    padding: 10px;
}


/* ========================================
   SECTION PRÉSENTATION
======================================== */
.presentation-section {
    background-color: var(--color-secondary);
    padding: 110px var(--margin-global);
}

.presentation-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 200px;
    position: relative;
    z-index: 2;
}

.presentation-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 50%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0 0 var(--gap-small) 0;
}

.presentation-description {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.5;
    margin: 0;
}

.video-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    max-width: 500px;
}

.video-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    margin-top: 200px;
}

.video-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.video-card:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.video-popin {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.20);
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

.video-popin-wrapper {
    position: relative;
}

.buton-close {
    font-size: 20px;
    position: absolute;
    top: 0;
    right: -50px;
    padding: 5px 10px;
    color: black;
    border: none;
    outline: none;
    border-radius: 100px;
}

.video-thumbnail {
    width: 100%;
    padding-top: 177.77%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-overlay {
    font-family: var(--font-body);
    font-weight: bolder;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 15px;
    opacity: 1;
    transition: 0.3s;
}

.video-description-overlay {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   SECTION SUPPORT
======================================== */
.support-section {
    padding: 100px var(--margin-global);
    background-color: var(--color-secondary);
}

.support-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.support-grid {
    display: flex;
    flex-direction: column;
    gap: var(--gap-large);
}

.support-item {
    display: flex;
    align-items: center;
    gap: var(--gap-large);
}

.support-item.image-left {
    flex-direction: row;
}

.support-item.image-right {
    flex-direction: row-reverse;
}

.support-image {
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 15px;
    overflow: hidden;
}

.support-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.support-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-content h3 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 var(--gap-small) 0;
    line-height: 1.2;
}

.support-content p {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   SECTION STATISTIQUES
======================================== */
.statistics-section {
    padding: 80px var(--margin-global);
    text-align: center;
    background-color: var(--color-secondary);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 90px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin: 0;
}

.stat-item p {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    max-width: 300px;
    margin: 30px 0 0;
    line-height: 1.4;
}

.stats-source {
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    opacity: 0.9;
    margin-top: 70px;
    z-index: 2;
}

/* ========================================
   SECTION ANIMATION / SYMPTÔMES
======================================== */

.timeline {
    height: 75px;
    position: relative;
}

.timeline-line {
    height: 100%;
    border-top: 4px white solid;
    border-left: 4px white solid;
    border-right: 4px white solid;
    border-top-right-radius: 370px;
    border-top-left-radius: 370px;

}

.timeline-indicator {
    position: absolute;
    top: 50px;
    left: -100px;
    width: 114px;
    height: 114px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    z-index: 10;
    transform: translateY(-50%);
    transition: top 500ms;
}

.animation-section {
    padding-top: 50px;
    position: relative;
    background-color: var(--color-secondary);
    padding-bottom: 100px;
}

.animation-section .container {
    max-width: 100%;
}

.animation-chiffre {
    position: relative;
    width: 100%;
}

.fond {
    width: 100%;
    margin-bottom: -5px;
}

.fond svg {
    width: 100%;
    display: block;
}

.age-range {
    position: absolute;
    top: -50px;
    left: 200px;
    width: 114px;
    height: 114px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent);
    z-index: 10;
}

@keyframes timelineMove {
    0% {
        left: 0%;
        transform: translateX(0) scale(1);
    }

    50% {
        left: 50%;
        transform: translateX(-50%) scale(1.5);
    }

    100% {
        left: 100%;
        transform: translateX(-100%) scale(1);
    }
}

.section-symptomes {
    position: relative;
    margin-top: -1px;
}

.img-animation {
    background-size: cover;
    background-position: center;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    padding: 100px var(--margin-global) 80px;
    position: relative;
}

.symptoms-container {
    display: grid;
    grid-template-columns: repeat(3, 270px);
    gap: var(--gap-small);
    column-gap: var(--gap-columns);
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
}

.symptom-bubble {
    width: 270px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    padding: 0 var(--gap-small);
    text-align: center;
}

/* ========================================
   SECTION SOLUTIONS
======================================== */
.solutions-section {
    padding: var(--gap-large) var(--margin-global);
    text-align: center;
    background-color: var(--color-secondary);
}

.contenu-card {
    display: flex;
    flex-direction: center;
    align-items: center;
    gap: var(--gap-small);
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 250px;
}

.solution-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.solutions-section .container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.solutions-section .section-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 50px 0;
}

.solutions-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-small);
    margin: 0 auto;
}

.carousel-nav {
    width: 50px;
    height: 50px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    flex-shrink: 0;
    padding: 0;
    border: 2px solid var(--color-primary);
    border-radius: 100px;
}

.carousel-nav img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: 0.3s;
}

.carousel-prev,
.carousel-next {
    cursor: pointer;
}

.solutions-grid {
    display: flex;
    gap: var(--gap-medium);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: var(--gap-small) 5px;
    max-width: 900px;
}

.solutions-grid::-webkit-scrollbar {
    display: none;
}

.solution-card {
    width: 240px;
    height: 160px;
    min-width: 240px;
    background-color: var(--color-white);
    border-radius: 15px;
    padding: var(--gap-small);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.solution-card h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.btn-discover {
    width: 155px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-discover:hover {
    opacity: 0.85;
}

.solutions-description {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-primary);
    max-width: 800px;
    margin: var(--gap-large) auto 0;
    line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */
.custom-footer {
    position: relative;
    color: var(--color-white);
    padding: var(--gap-large) var(--margin-global) 30px;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-small);
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    max-height: 70px;
    width: auto;
}

.footer-cta h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 100%;
    height: 45px;
    object-fit: contain;
}

.footer-bottom {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-white);
    margin-top: var(--gap-small);
}

.footer-bottom p {
    margin-bottom: 20px;
}

.footer-bottom p:hover {
    transform: scale(1.1);
}

.custom-footer {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 20px 40px;
    color: var(--col-white);
    font-family: var(--font-body);
    text-align: center;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    display: block;
}

.footer-cta {
    width: 100%;
    max-width: 500px;
}

.footer-cta h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}

.footer-cta h3::before,
.footer-cta h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--col-white);
    opacity: 0.6;
}

/* ========================================
   RESPONSIVE MOBILE - HEADER, QUIZ, PRÉSENTATION
======================================== */

/* ========================================
   MENU BURGER
======================================== */

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    gap: 4px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.burger-menu span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   MOBILE (jusqu'à 768px)
======================================== */

@media (max-width: 768px) {


    .color {
        height: 600px;
        width: 600px;
        background-image: radial-gradient(closest-side, #FFCA67, transparent);
        position: absolute;
        z-index: 0;
        left: -70px;
        top: 450px;
    }

    .color2 {
        height: 700px;
        width: 700px;
        background-image: radial-gradient(closest-side, #FFCA67, transparent);
        position: absolute;
        z-index: 0;
        left: -90px;
        top: -200px;
    }

    /* ===== HEADER MOBILE ===== */
    .site-header {
        position: absolute;
        justify-content: center;
        align-items: center;
        padding: 15px 20px;
    }

    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 15px;
    }

    .header-logo img {
        max-height: 45px;
        padding-top: 0;
    }

    .burger-menu {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background-color: var(--color-primary);
        padding: 80px 30px 30px;
        transition: left 0.3s ease;
        z-index: 999;
        margin: 0;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }

    .main-navigation ul li a {
        font-size: 16px;
    }

    .btn-questionnaire {
        display: none;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9;
    }

    .menu-overlay.active {
        display: block;
    }

    /* ===== HERO SECTION MOBILE ===== */
    .hero-section {
        margin-bottom: 50px;
    }

    .hero-background {
        border-bottom-left-radius: 80px;
        border-bottom-right-radius: 80px;
        min-height: auto;
        padding: 0 20px;
    }

    .hero-content {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-main-text {
        gap: 15px;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1px;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.4;
    }

    .testimonials-container {
        display: none;
    }

    /* ===== QUIZ CTA MOBILE - SANS FOND BLANC ===== */
    .quiz-cta-section {
        background-color: var(--color-secondary);
        padding: 40px 20px 40px;
        margin-top: 0;
    }

    .quiz-cta {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 50px;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        background-color: transparent;
    }

    .quiz-cta h3 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 10px;
        color: var(--color-primary);
        text-align: center;
    }

    .quiz-cta p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
        color: var(--color-primary);
        text-align: center;
    }

    .btn-quiz {
        width: 100%;
        max-width: 280px;
        height: 45px;
        font-size: 14px;
        margin-top: 5px;
        background-color: transparent;
        border: 1px solid var(--color-primary);
        color: var(--color-primary);
    }

    .btn-quiz:hover {
        background-color: var(--color-primary);
        color: var(--color-white);
    }

    /* ===== PRÉSENTATION MOBILE ===== */
    .presentation-section {
        padding: 60px 20px 50px;
        background-color: var(--color-secondary);
        margin-top: 0;
    }

    .presentation-section .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .presentation-text {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .presentation-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .video-grid {
        order: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        overflow-x: scroll;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding: 20px;
        max-width: 100%;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    .video-grid::-webkit-scrollbar {
        display: none;
    }

    .video-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .video-card {
        flex: 0 0 auto;
        width: 180px;
        min-width: 180px;
        scroll-snap-align: center;
        transition: all 0.3s ease;
        opacity: 0.6;
        transform: scale(0.85);
    }

    .video-card.active {
        width: 260px;
        min-width: 260px;
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

    .video-card:nth-child(1),
    .video-card:nth-child(2),
    .video-card:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
        transform: scale(0.85);
    }

    .video-card.active:nth-child(1),
    .video-card.active:nth-child(2),
    .video-card.active:nth-child(3) {
        transform: scale(1);
    }

    .video-thumbnail {
        width: 100%;
        padding-top: 177.77%;
        border-radius: 20px;
    }

    .video-carousel-nav {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        order: 3;
        width: 100%;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid var(--color-primary);
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .carousel-arrow:active {
        background-color: var(--color-primary);
        transform: scale(0.95);
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
        fill: var(--color-primary);
    }

    .carousel-arrow:active svg {
        fill: var(--color-white);
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button::after {
        border-left: 12px solid var(--color-primary);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .video-description-overlay {
        font-size: 11px;
        padding: 12px 8px;
    }

    .video-overlay {
        padding: 15px 10px;
    }
}

/* ===== TRÈS PETITS ÉCRANS (max 480px) ===== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-section {
        margin-bottom: 40px;
    }

    .quiz-cta-section {
        padding-top: 30px;
    }

    .quiz-cta h3 {
        font-size: 16px;
    }

    .quiz-cta p {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .presentation-description {
        font-size: 13px;
    }

    .video-card {
        width: 150px;
        min-width: 150px;
    }

    .video-card.active {
        width: 220px;
        min-width: 220px;
    }

    .presentation-section {
        margin-top: 0;
    }
}

/* ===== SECTION SUPPORT MOBILE ===== */
@media (max-width: 768px) {

    .support-section {
        padding: 50px 20px;
        background-color: var(--color-secondary);
    }

    .support-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .support-item,
    .support-item.image-left,
    .support-item.image-right {
        flex-direction: column !important;
        gap: 20px;
        align-items: center;
    }

    .support-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .support-image img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        border-radius: 20px;
    }

    .support-content {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .support-content h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .support-content p {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .support-section {
        padding: 40px 20px;
    }

    .support-grid {
        gap: 35px;
    }

    .support-image img {
        height: 220px;
        border-radius: 15px;
    }

    .support-content h3 {
        font-size: 22px;
    }

    .support-content p {
        font-size: 13px;
    }
}

/* ===== SECTION STATISTIQUES MOBILE ===== */
@media (max-width: 768px) {

    .statistics-section {
        padding: 50px 20px;
        background-color: var(--color-secondary);
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
        flex-wrap: nowrap;
        padding: 0 50px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .stat-item:nth-child(1) {
        align-items: flex-start;
        text-align: left;
    }

    .stat-item:nth-child(2) {
        align-items: flex-end;
        text-align: right;
    }

    .stat-item:nth-child(3) {
        align-items: flex-start;
        text-align: left;
    }

    .stat-number {
        font-family: var(--font-heading);
        font-size: 70px;
        font-weight: 700;
        color: var(--color-primary);
        line-height: 1;
        margin: 0 0 10px 0;
    }

    .stat-item p {
        font-family: var(--font-body);
        font-size: 20px;
        font-weight: 400;
        color: var(--color-primary);
        max-width: 60%;
        margin: 20px 0;
        line-height: 1.4;
    }

    .stats-source {
        font-family: var(--font-body);
        font-size: 16px;
        color: var(--color-primary);
        opacity: 0.7;
        margin-top: 50px;
        margin-bottom: 50px;
        text-align: center;
        width: 100%;
    }
}

/* Petits écrans */
@media (max-width: 480px) {
    .statistics-section {
        padding: 40px 20px;
    }

    .stats-grid {
        gap: 30px;
        padding: 0 20px;
    }

    .stat-number {
        font-size: 60px;
    }

    .stat-item p {
        font-size: 15px;
    }

    .stats-source {
        font-size: 12px;
        margin-top: 40px;
    }
}

/* ===== SECTION ANIMATION / SYMPTÔMES RESPONSIVE ===== */

.btn-see-more {
    display: none;
}

.symptom-bubble.symptom-hidden {
    display: flex;
}

@media (max-width: 768px) {

    .animation-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .animation-chiffre {
        position: relative;
        margin-bottom: 40px;
    }

    .fond {
        width: 100%;
        display: block;
    }

    .fond img {
        width: 100%;
    }

    .age-range {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        font-size: 36px;
        background-color: var(--color-white);
        color: var(--color-accent);
    }

    .section-symptomes {
        margin-top: 0;
    }

    .img-animation {
        background-size: cover;
        background-position: center;
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
        padding: 60px 20px 50px;
        display: block;
    }

    .symptoms-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }

    .symptom-bubble {
        width: 100%;
        max-width: 280px;
        height: auto;
        min-height: 50px;
        font-size: 14px;
        padding: 12px 20px;
    }

    .symptom-bubble.symptom-hidden {
        display: none;
    }

    .symptom-bubble.symptom-hidden.show {
        display: flex;
    }

    .btn-see-more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 30px auto 0;
        padding: 12px 30px;
        background-color: var(--color-primary);
        color: var(--color-white);
        border: none;
        border-radius: 50px;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-see-more:hover {
        opacity: 0.9;
    }

    .btn-see-more .arrow-down {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .btn-see-more.expanded .arrow-down {
        transform: rotate(180deg);
    }
}

@media (max-width: 480px) {
    .animation-chiffre {
        margin-bottom: 30px;
    }

    .age-range {
        width: 70px;
        height: 70px;
        font-size: 32px;
        top: -35px;
    }

    .img-animation {
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
        padding: 50px 15px 40px;
    }

    .symptom-bubble {
        max-width: 260px;
        font-size: 13px;
        min-height: 45px;
        padding: 10px 18px;
    }

    .btn-see-more {
        font-size: 13px;
        padding: 10px 25px;
        margin-top: 25px;
    }
}

/* ===== SECTION SOLUTIONS RESPONSIVE ===== */

@media (max-width: 768px) {

    .solutions-section {
        padding: 50px 20px;
        text-align: center;
        background-color: var(--color-secondary);
    }

    .solutions-section .section-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .solutions-carousel {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: relative;
    }

    .solutions-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        overflow: visible;
        padding: 40px 20px 20px;
        max-width: 100%;
        width: 100%;
        position: relative;
        height: 200px;
    }

    .solution-card {
        position: absolute;
        width: 160px;
        height: 140px;
        min-width: 160px;
        background-color: var(--color-white);
        border-radius: 15px;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        transition: all 0.4s ease;
        opacity: 0.5;
        transform: scale(0.85);
        z-index: 1;
        cursor: pointer;
    }

    .solution-card:nth-child(1) {
        left: 10%;
        transform: scale(0.85) translateX(-20%);
    }

    .solution-card.active {
        position: relative;
        left: auto;
        width: 220px;
        height: 180px;
        min-width: 220px;
        opacity: 1;
        transform: scale(1);
        z-index: 5;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        cursor: default;
    }

    .solution-card:nth-child(3),
    .solution-card:last-child {
        right: 10%;
        left: auto;
        transform: scale(0.85) translateX(20%);
    }

    .solution-card:not(.active):not(:nth-child(1)):not(:nth-child(3)) {
        display: none;
    }

    .solution-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .solution-icon img {
        width: 90px;
        height: 90px;
        object-fit: contain;
    }

    .solution-card.active .solution-icon img {
        width: 90px;
        height: 90px;
    }

    .solution-card h3 {
        font-size: 13px;
        font-weight: 700;
        margin: 0;
        text-align: center;
        line-height: 1.3;
    }

    .solution-card.active h3 {
        font-size: 16px;
    }

    .btn-discover {
        width: 110px;
        height: 32px;
        font-size: 11px;
        margin-top: 8px;
    }

    .solution-card.active .btn-discover {
        width: 140px;
        height: 38px;
        font-size: 13px;
    }

    .solutions-navigation {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        order: 1;
    }

    .carousel-nav {
        display: flex;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        border: 2px solid var(--color-primary);
        background-color: var(--color-white);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .carousel-nav:active {
        background-color: var(--color-primary);
        transform: scale(0.95);
    }

    .carousel-nav img {
        width: 16px;
        height: 16px;
    }

    .solutions-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        order: 2;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--color-primary);
        opacity: 0.3;
        transition: opacity 0.3s ease;
        cursor: pointer;
    }

    .dot.active {
        opacity: 1;
    }

    .solutions-description {
        font-size: 13px;
        margin-top: 30px;
        padding: 0 10px;
        line-height: 1.5;
        order: 3;
    }
}

@media (max-width: 480px) {
    .solutions-section {
        padding: 40px 15px;
    }

    .solutions-section .section-title {
        font-size: 22px;
    }

    .solutions-grid {
        padding: 30px 15px 20px;
        height: 180px;
    }

    .solution-card {
        width: 140px;
        height: 130px;
    }

    .solution-card.active {
        width: 200px;
        height: 170px;
        margin-top: -10px;
    }

    .solution-icon img {
        width: 50px;
        height: 50px;
    }

    .solution-card.active .solution-icon img {
        width: 80px;
        height: 80px;
    }

    .solution-card h3 {
        font-size: 12px;
    }

    .solution-card.active h3 {
        font-size: 15px;
    }

    .btn-discover {
        width: 100px;
        height: 30px;
        font-size: 10px;
    }

    .carousel-nav {
        width: 32px;
        height: 32px;
    }

    .carousel-nav img {
        width: 14px;
        height: 14px;
    }

    .solutions-description {
        font-size: 12px;
        margin-top: 25px;
    }
}

/* POPINS VIDÉO + QUESTIONNAIRE - RESPONSIVE */
@media (max-width: 768px) {
    .video-popin {
        padding: 10px;
    }

    .video-popin-wrapper {
        max-width: 100%;
        width: 100%;
        max-height: 95vh;
        overflow: auto;
        background-color: #ffffff;
        border-radius: 16px;
        padding: 20px;
        box-sizing: border-box;
    }

    .quest-popin .video-popin-wrapper {
        max-width: 96vw;
        width: 96vw;
        max-height: 96vh;
    }

    .video-popin iframe,
    .video-popin video {
        width: 100%;
        height: auto;
        max-height: 70vh;
    }

    .buton-close {
        top: 10px;
        right: 10px;
        font-size: 20px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #ffffff;
        color: #121142;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-popin-wrapper {
        max-height: 93vh;
        padding: 16px;
        border-radius: 12px;
    }

    .quest-popin .video-popin-wrapper {
        max-height: 95vh;
    }

    .buton-close {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}