/* ============================================
   INFORMATIONS GÉNÉRALES PAGE
   ============================================ */

/* Remove container constraints */
body:has(.info-hero) .container {
    padding: 0 !important;
    max-width: none !important;
}

/* Hero Section */
.info-hero {
    width: 100%;
    background: linear-gradient(rgba(4, 0, 53, 0.3), rgba(4, 0, 53, 0.3)),
                url('/images/background-img/background%20image%20marque.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
}

.info-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    color: white;
    text-align: center;
}

.info-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* Content Section */
.info-content-section {
    background: white;
    padding: 3rem 0;
}

.info-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
}

/* Sidebar Navigation - Sticky */
.info-sidebar-nav {
    position: sticky;
    top: 90px;
    flex-shrink: 0;
    width: 280px;
    height: fit-content;
    align-self: flex-start;
}

/* Main Content */
.info-main-content {
    flex: 1;
    max-width: 900px;
}

.info-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.info-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.info-nav-item:hover {
    background: rgba(10, 22, 53, 0.05);
    color: #0a1635;
}

.info-nav-item.active {
    background: #0a1635;
    color: white;
}

.info-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-nav-icon svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.info-main-content {
    max-width: 900px;
}

.info-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
    scroll-margin-top: 100px;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1635;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #0a1635;
}

.info-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin: 2rem 0 1rem 0;
}

.info-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.info-section p strong {
    color: #0a1635;
    font-weight: 600;
}

.info-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.info-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
}

/* Image Carousel */
.info-image-carousel {
    margin-top: 3rem;
}

.info-image-carousel .about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}

.info-image-carousel .about-image img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.info-image-carousel .image-label {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(5, 0, 82, 0.9);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.6s ease-in-out;
}

/* Responsive */
@media (max-width: 1024px) {
    .info-sidebar-nav {
        width: 240px; /* Smaller sidebar on tablet */
        top: 90px;
    }

    .info-content-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .info-hero h1 {
        font-size: 1.8rem;
    }

    .info-content-container {
        flex-direction: column; /* Stack vertically on mobile */
        padding: 0 1rem;
    }

    /* Keep sticky on mobile */
    .info-sidebar-nav {
        position: sticky;
        top: 90px;
        margin-bottom: 2rem;
        width: 100%;
    }

    .info-nav-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.75rem;
    }

    .info-nav-item {
        flex-direction: column;
        text-align: center;
        white-space: nowrap;
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .info-nav-icon {
        font-size: 1.5rem;
    }

    .info-section h2 {
        font-size: 1.5rem;
    }

    .info-section h3 {
        font-size: 1.1rem;
    }

    .info-image-carousel .about-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .info-hero h1 {
        font-size: 1.5rem;
    }

    .info-section {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
    }

    .info-image-carousel .about-image img {
        height: 250px;
    }
}

/* ============================================
   FAQ STYLES
   ============================================ */

.hero-subtitle {
    font-size: 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-subtitle a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.hero-subtitle a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.faq-item {
    background: white;
    border: 2px solid rgba(5, 0, 82, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: visible;
}

.faq-item:hover {
    border-color: rgba(5, 0, 82, 0.2);
    box-shadow: 0 2px 8px rgba(5, 0, 82, 0.05);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(5, 0, 82, 0.9);
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s ease;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(5, 0, 82, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
    color: rgba(5, 0, 82, 1);
}

.faq-item summary:hover {
    color: rgba(5, 0, 82, 1);
}

.faq-item[open] {
    border-color: rgba(5, 0, 82, 0.25);
}

.faq-item[open] summary {
    color: rgba(5, 0, 82, 1);
    border-bottom: 1px solid rgba(5, 0, 82, 0.1);
}

.faq-answer {
    padding: 1.5rem;
    color: rgba(5, 0, 82, 0.7);
    line-height: 1.8;
    animation: fadeIn 0.3s ease;
    max-height: none;
    overflow: visible;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: rgba(5, 0, 82, 0.9);
    font-weight: 600;
}

