/* ==========================================================================
   FAQ PAGE STYLES (AXOLOCA CARTOON STYLE)
   ========================================================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 5rem 1rem;
    position: relative;
}

/* Titre et Introduction */
.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.faq-title {
    font-family: 'SavoryCurry', 'Grandstander Clean', cursive;
    font-size: 4rem;
    color: #333;
    margin: 0;
    text-shadow: 4px 4px 0px #fff, 8px 8px 0px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
}

.faq-subtitle {
    font-family: 'Grandstander Clean', sans-serif;
    font-size: 1.4rem;
    color: #555;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
}

/* Éléments décoratifs */
.faq-header::before {
    content: "★";
    position: absolute;
    left: -60px;
    top: -20px;
    color: #ffca28;
    font-size: 3.5rem;
    animation: bounce 3s infinite;
    text-shadow: 3px 3px 0px #333;
}

.faq-header::after {
    content: "✿";
    position: absolute;
    right: -60px;
    bottom: -10px;
    color: #ef5350;
    font-size: 3.5rem;
    animation: bounce 4.5s infinite;
    text-shadow: 3px 3px 0px #333;
}

/* Accordéon FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #ffffff;
    border: 4px solid #333;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 6px 6px 0px #333;
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-family: 'Grandstander Clean', sans-serif;
    font-size: 1.3rem;
    color: #333;
    padding-right: 1rem;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #e3f2fd;
    border: 3px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

/* État ouvert */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #ffcdd2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fdfdfd;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    border-top: 2px dashed #eee;
    padding-top: 1.5rem;
}

/* Décorations flottantes autour de la liste */
.faq-container::before {
    content: "✦";
    position: absolute;
    left: -100px;
    top: 40%;
    color: #64b5f6;
    font-size: 3rem;
    animation: rotate 10s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

.faq-container::after {
    content: "☼";
    position: absolute;
    right: -100px;
    top: 60%;
    color: #ffb74d;
    font-size: 3.5rem;
    animation: bounce 5s infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        width: 100% !important;
        max-width: none !important;
        padding: 1rem 4px !important;
    }
    .faq-title { font-size: 2.5rem; }
    .faq-header { margin-bottom: 2rem; }
    .faq-header::before, .faq-header::after { display: none; }
    .faq-question { padding: 1rem 1.25rem; }
    .faq-question h3 { font-size: 1.1rem; }
    .faq-answer-content { padding: 1rem 1.25rem 1.5rem 1.25rem; }
    .faq-container::before, .faq-container::after { display: none; }
}

@media (max-width: 480px) {
    .faq-title { font-size: 2rem; }
}
