/* 
   INDEX PAGE STYLES - Circuit 2000 
   Contains styles for Hero, Features, Parcours, Moniteurs, Reviews, Contact and FAQ.
*/

/* ── Admin : Bouton "Marquer populaire" (mode édition uniquement) ── */
.plan-card {
    position: relative;
}

.set-popular-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px dashed rgba(255, 193, 7, 0.5);
    color: rgba(255, 193, 7, 0.85);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    white-space: nowrap;
}

.set-popular-btn:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.9);
    color: #ffc107;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: grid;
    align-items: start;
    padding-top: 0;
    overflow: hidden;
}

.hero::after {
    content: '';
    grid-area: heroStack;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 40%,
            rgba(18, 18, 18, 0.2) 65%,
            rgba(18, 18, 18, 0.6) 85%,
            #121212 100%);
    z-index: 4;
    pointer-events: none;
}

.hero>* {
    grid-area: heroStack;
    width: 100%;
    height: 100%;
}

.hero-bg,
.car-foreground {
    object-fit: cover;
    object-position: center 10%;
    display: block;
    max-width: none;
}

.hero-bg {
    z-index: 0;
}

.hero::before {
    content: '';
    grid-area: heroStack;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 60px;
    padding-right: 60px;
    height: auto;
    width: 100%;
    margin-top: 27.5vh;
    pointer-events: none;
}

.hero-content>* {
    pointer-events: auto;
}

.car-foreground {
    z-index: 3;
    pointer-events: none;
}

.hero-reveal {
    opacity: 0;
    transform: scale(1.1);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.hero-reveal.active {
    opacity: 1;
    transform: scale(1);
}

.hero-bg.hero-reveal {
    opacity: 0.3;
}

.hero-bg.hero-reveal.active {
    opacity: 1;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: none;
}

.title-top {
    font-family: var(--font-custom);
    font-size: 5.4vw;
    line-height: 1.1;
    letter-spacing: 0.5vw;
    color: var(--primary-white);
    font-weight: normal;
    text-transform: uppercase;
}

.title-bottom {
    font-family: var(--font-custom);
    font-size: 4.5vw;
    line-height: 0.95;
    letter-spacing: 0.1vw;
    text-shadow: 0 0.3vw 0.8vw rgba(0, 0, 0, 0.3);
    font-weight: normal;
}
.hero-description {
    font-size: 1.1vw;
    font-weight: 700;
    max-width: 30vw;
    color: var(--primary-white);
    line-height: 1.6;
    margin-bottom: 2.5vw;
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        margin-top: -1100px;
        min-height: calc(100dvh + 1100px);
    }
    .title-top {
        font-size: 5.5vw;
    }
    .title-bottom {
        font-size: 4.8vw;
    }
    .hero-description {
        font-size: 1.6vw;
        max-width: 45vw;
    }
    .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
    }
    .parcours-section {
        margin-top: -650px;
        position: relative;
        z-index: 10;
        background: linear-gradient(to bottom, #121212 0%, #0d0d0d 350px);
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: -66.5dvh;
        min-height: 166.5dvh;
    }

    h1 {
        transform: none;
        width: 100%;
        margin-bottom: 20px;
        gap: 8px;
    }
    .title-top {
        font-size: clamp(1.5rem, 6.5vw, 2.5rem);
        letter-spacing: 0.8vw;
        display: block;
        line-height: 1.2;
    }
    .title-bottom {
        font-size: clamp(1.2rem, 5.5vw, 2.2rem);
        letter-spacing: 0.2vw;
        display: block;
        line-height: 1.2;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 15vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-description {
        font-size: clamp(0.85rem, 3.5vw, 1.2rem);
        max-width: 90%;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    .cta-button {
        padding: 12px 24px;
        margin-top: 15px;
        font-size: 0.85rem;
        align-self: flex-start;
    }    .hero-bg.hero-reveal.active,
    .car-foreground.hero-reveal.active {
        transform: scale(1.05) translateY(-4vh);
    }

    /* Features Section Mobile */
    .features-section {
        display: none;
    }

    /* Moniteurs Mobile */
    .moniteurs-grid {
        gap: 10px;
    }

    .moniteur-card {
        flex: 0 0 calc(33.33% - 7px);
        border-radius: 10px;
    }

    .moniteur-img-container {
        height: 100px;
    }

    .moniteur-info {
        padding: 10px 5px;
    }

    .moniteur-info h3 {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .moniteur-location {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

/* Features Section */
.features-section {
    padding: 8vw 3.2vw;
    display: flex;
    justify-content: center;
    gap: 8vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -20vw;
    position: relative;
    z-index: 10;
}

.feature-item {
    text-align: center;
    max-width: 22vw;
}

.feature-icon-wrapper {
    margin-bottom: 1.8vw;
    display: inline-flex;
    justify-content: center;
}

.badge-icon {
    width: 4.5vw;
    height: 4.5vw;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.2);
}

.badge-icon svg {
    width: 1.8vw;
    height: 1.8vw;
    color: var(--primary-white);
}

.feature-item h3 {
    font-family: var(--font-custom);
    font-weight: normal;
    font-size: 2.2vw;
    margin-bottom: 0.8vw;
    letter-spacing: 0.08vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.feature-item p {
    font-size: 1vw;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-weight: 400;
}

/* Parcours Section (Moved from index.php) */
.parcours-section {
    padding: 12vw 5% 100px;
    margin-top: -22vw;
    position: relative;
    overflow: hidden;
    z-index: 10;
    background: linear-gradient(to bottom, transparent 0%, #121212 120px, #121212 100%);
}
.parcours-section .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.parcours-section h2 {
    text-align: center;
    font-family: var(--font-custom), 'Oswald', sans-serif;
    font-size: 3.8vw;
    font-weight: normal;
    color: var(--primary-white, #fff);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .parcours-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }
}

.parcours-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.parcours-route {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 91%, transparent 100%);
}

.desktop-route {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    display: block;
}

.mobile-route {
    display: none;
}

.parcours-route svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.route-line {
    fill: none;
    stroke: #ff3333;
    stroke-width: 4;
    stroke-dasharray: 15, 10;
    filter: drop-shadow(0 0 8px rgba(255, 51, 51, 0.8));
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

.parcours-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.parcours-step {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    min-height: 100px;
}

.parcours-step.left {
    justify-content: flex-start;
}

.parcours-step.right {
    justify-content: flex-end;
}

.step-content {
    width: calc(50% - 50px);
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    border-color: #ff3333;
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.2);
}
.step-icon {
    position: absolute;
    background: #0a0a0a;
    border: 2px solid #ff3333;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3333;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
    top: 50%;
    z-index: 3;
}

.parcours-step.left .step-icon {
    left: calc(50% - 50px);
    transform: translate(-50%, -50%);
}

.parcours-step.right .step-icon {
    left: calc(50% + 50px);
    transform: translate(-50%, -50%);
}

.step-content h3 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.step-content p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .parcours-section {
        padding-top: 150px;
        margin-top: -42dvh;
        position: relative;
        z-index: 10;
        background: linear-gradient(to bottom, transparent 0%, #121212 120px, #121212 100%);
    }

    .desktop-route {
        display: block;
        width: 80px;
    }

    .mobile-route {
        display: none;
    }

    .parcours-step {
        min-height: auto;
    }

    .step-content {
        width: calc(50% - 40px);
        padding: 15px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }

    .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .parcours-step.left .step-icon {
        left: calc(50% - 40px);
    }

    .parcours-step.right .step-icon {
        left: calc(50% + 40px);
    }

    .step-content h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Moniteurs Section (Moved from index.php) */
.moniteurs-section {
    padding: 60px 5%;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.moniteurs-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 3.8vw;
    font-weight: normal;
    color: var(--primary-white);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .moniteurs-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }
}

.moniteurs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.moniteur-card {
    flex: 0 1 240px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.moniteur-card:hover {
    transform: translateY(-10px);
    border-color: #ed1c24;
    background: rgba(255, 255, 255, 0.05);
}

.moniteur-img-container {
    height: 240px;
    overflow: hidden;
    background: #222;
}

.moniteur-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.moniteur-card:hover .moniteur-img-container img {
    transform: scale(1.1);
}

.moniteur-info {
    padding: 20px;
    text-align: center;
}

.moniteur-info h3 {
    margin: 0 0 5px 0;
    font-family: var(--font-custom);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
}

.moniteur-location {
    color: #f2333a;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.no-moniteurs {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.5;
    padding: 50px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 5%;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 3.8vw;
    font-weight: normal;
    margin-bottom: 15px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    color: var(--primary-white);
    line-height: 1.2;
}

/* Google Reviews Header & Badges */
.reviews-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 35px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.google-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

.google-rating-summary .rating-stars {
    color: #ffb703;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.google-rating-summary .rating-score strong {
    color: #ffffff;
    font-size: 1.25rem;
}

.google-maps-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-google-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.btn-google-maps:hover {
    background: rgba(66, 133, 244, 0.2);
    border-color: #4285F4;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-admin-widget {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(237, 28, 36, 0.12);
    color: #f2333a;
    border: 1px solid rgba(237, 28, 36, 0.28);
    transition: all 0.25s ease;
}

.btn-admin-widget:hover {
    background: #d71920;
    color: white;
}

.google-widget-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    min-height: 120px;
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.review-user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-user-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-badge-verified {
    font-size: 0.72rem;
    color: #4285F4;
    font-weight: 500;
}

/* Reviews Marquee */
.reviews-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.reviews-marquee {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 30px;
    padding-right: 30px;
}

.marquee-forward .marquee-content {
    animation: scroll-forward 60s linear infinite;
}

.marquee-backward .marquee-content {
    animation: scroll-backward 60s linear infinite;
}

.reviews-marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-forward {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-backward {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.review-card {
    flex: 0 0 310px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.stars {
    color: #ffcc00;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #d71920;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 210px;
        max-width: 75vw;
        padding: 15px;
        gap: 12px;
    }
    .review-text {
        font-size: 0.8rem;
    }
    .review-author {
        font-size: 0.8rem;
    }
    .marquee-forward .marquee-content,
    .marquee-backward .marquee-content {
        animation-duration: 40s;
    }
}

/* FAQ SECTION */
.faq-section {
    padding: 120px 5%;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d71920;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #d71920;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: #f2333a;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.faq-section h2 {
    text-align: center;
    font-family: var(--font-custom);
    font-size: 2.8vw;
    font-weight: normal;
    color: var(--primary-white);
    margin-bottom: 25px;
    letter-spacing: 0.15vw;
    text-transform: uppercase;
    line-height: 1.2;
}

.title-accent {
    width: 60px;
    height: 4px;
    background: #d71920;
    margin: 0 auto;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #d71920;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

/* FAQ Edit Styles */
.faq-question {
    position: relative;
}
.faq-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.delete-faq-btn {
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid rgba(237, 28, 36, 0.2);
    color: #f2333a;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.delete-faq-btn:hover {
    background: #d71920;
    color: white;
    transform: scale(1.1);
}
.delete-faq-btn svg {
    width: 16px;
    height: 16px;
}
.faq-admin-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.add-faq-btn {
    background: white;
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.add-faq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #d71920;
    color: white;
}
.add-faq-btn svg {
    width: 20px;
    height: 20px;
}
.faq-edit-q, .faq-edit-a {
    outline: none;
    transition: 0.3s;
    display: inline-block;
    width: 100%;
}
.faq-edit-q:focus, .faq-edit-a:focus {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(237, 28, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faq-item.active::before {
    height: 70%;
}

.faq-question {
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-align: left;
}

.faq-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
    background: #d71920;
    border-color: #ed1c24;
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
}

.faq-icon-plus {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-icon-plus::before,
.faq-icon-plus::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: 0.3s;
}

.faq-icon-plus::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon-plus::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon-plus::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 40px 40px 40px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 991px) {
    .features-section {
        display: none;
    }

    .faq-section h2 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        letter-spacing: 3.5px;
    }

    .faq-question {
        padding: 25px 30px;
        font-size: 1.1rem;
    }

    .faq-answer-inner {
        padding: 0 30px 30px 30px;
    }

    .faq-item:hover {
        transform: none;
    }

    .reviews-container-wrapper {
        padding: 0 10px;
    }

    .slider-arrow {
        display: none;
    }
}

/* Ensure moniteurs stay 3 per row on tablet and mobile */
@media (max-width: 991px) {
    .moniteurs-grid {
        gap: 10px;
    }
    .moniteur-card {
        flex: 0 0 calc(33.33% - 7px);
        border-radius: 10px;
    }
    .moniteur-img-container {
        height: 110px;
    }
    .moniteur-info {
        padding: 10px 5px;
    }
    .moniteur-info h3 {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    .moniteur-location {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .moniteur-img-container {
        height: 100px;
    }
    .moniteur-info h3 {
        font-size: 0.75rem;
    }
    .moniteur-location {
        font-size: 0.55rem;
    }

    .parcours-section,
    .moniteurs-section,
    .reviews-section,
    .contact-section,
    .faq-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    #home-tarifs-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        letter-spacing: 3px;
        text-align: center;
    }
}

#home-tarifs-title {
    font-family: var(--font-custom), 'Oswald', sans-serif;
    font-size: 4.5vw;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.15vw;
    line-height: 1.2;
    text-align: center;
}

