/* -------------------------------------------------------------------------- */
/*  SNOUSSI STUDIO - GENERIC CONTENT STYLES (SEO / TEXT PAGES)                */
/* -------------------------------------------------------------------------- */

/* Container Principal pour la lecture */
.content-generic-section {
    padding: 150px 5vw 100px 5vw;
    min-height: 100vh;
    background-color: var(--bg-deep);
    display: flex;
    justify-content: center;
}

.content-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    color: var(--text-white);
    opacity: 0.85;
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */

.content-container h1, .content-container h2 {
    text-align: center;
}

.content-container h1 {
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 20px;
}

.content-container h2 {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-white);
    margin-top: 60px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-container h3 {
    font-family: var(--font-tech);
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.content-container p {
    margin-bottom: 25px;
}

.content-container strong {
    color: var(--text-white);
    font-weight: 600;
    position: relative;
    box-shadow: inset 0 -10px 0 rgba(124, 58, 237, 0.3); /* Soulignement stylé */
}

/* ==========================================================================
   LISTES
   ========================================================================== */
.content-container ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style: none;
}

.content-container ul li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 25px;
}

.content-container ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-mauve);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-mauve);
}

/* ==========================================================================
   FAQ - MENUS DÉROULANTS (ACCORDÉON)
   ========================================================================== */

.faq-container {
    margin-top: 40px;
    border-top: 1px solid var(--border-dim);
}

.faq-item {
    border-bottom: 1px solid var(--border-dim);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: var(--border-dim);
}

.faq-question {
    list-style: none; /* Enlève la flèche native */
    padding: 25px 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pseudo-élément pour enlever la flèche native sur Safari */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question h3 {
    margin: 0; /* Reset des marges H3 pour l'alignement */
    font-size: 1.2rem;
    color: var(--text-white);
    transition: color 0.3s ease;
    padding-right: 40px; /* Espace pour l'icône */
}

.faq-item:hover .faq-question h3 {
    color: var(--accent-light);
}

/* Icône '+' / '-' Customisée */
.faq-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-mauve);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Barre horizontale du '+' */
.faq-icon::before {
    top: 50%; left: 0; right: 0; height: 2px;
    transform: translateY(-50%);
}

/* Barre verticale du '+' */
.faq-icon::after {
    top: 0; bottom: 0; left: 50%; width: 2px;
    transform: translateX(-50%);
}

/* Animation lors de l'ouverture (<details open>) */
.faq-item[open] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item[open] .faq-icon::before {
    background-color: var(--text-white);
}

.faq-answer {
    padding-bottom: 25px;
    animation: slideDown 0.4s ease-out;
}

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

/* Animation douce pour l'accordéon */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
