/* --- BASE & TYPO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #333; background-color: #ffffff; line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }
html { overflow-y: scroll; }

/* --- MENU FLOTTANT ARRONDI --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid #d35400; /* Le fameux liseré orange ! */
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-logo span { color: #d35400; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover { color: #d35400; }

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #d35400;
    transition: 0.3s;
}

/* --- STYLE DU TITRE ET SOUS-TITRE --- */
.form-header { text-align: center; padding: 120px 20px 50px; background: white; }

.form-header h1 {
    font-size: 2.8rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    text-wrap: balance; 
}

.form-header p {
    font-size: 1.15rem;
    color: #666 !important; 
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    text-wrap: balance;
}

/* --- STYLE ACCORDEON FAQ --- */
.faq-wrapper {
    max-width: 800px; 
    margin: -20px auto 50px; 
    padding: 0 20px; 
    position: relative;
    z-index: 10;
}

.faq-category {
    margin-bottom: 50px; /* Espace entre les catégories Apéritifs et Gâteaux */
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: #d35400;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffe0b2;
    padding-bottom: 10px;
}

.faq-container { 
    width: 100%;
}

.faq-item { 
    background: white; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border: 1px solid #eee;
}

.faq-question {
    width: 100%; 
    padding: 20px 25px; 
    text-align: left; 
    background: none; 
    border: none;
    font-family: 'Playfair Display', serif; 
    font-size: 1.15rem; 
    color: #333;
    font-weight: bold;
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    transition: 0.3s;
}

.faq-question::after { 
    content: '+'; 
    color: #d35400; 
    font-size: 1.8rem; 
    transition: transform 0.3s ease; 
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.faq-answer { 
    max-height: 0; 
    padding: 0 25px; 
    color: #555; 
    transition: all 0.3s ease-out; 
    background: #fffcf9; 
    font-size: 0.95rem;
    opacity: 0;
}

/* Quand l'item est ouvert */
.faq-item.active .faq-answer { 
    max-height: 400px; /* Un peu plus grand au cas où les réponses sont longues */
    padding: 0 25px 25px 25px; 
    opacity: 1;
}

.faq-item.active .faq-question { 
    color: #d35400; 
}

.faq-item.active .faq-question::after { 
    content: '-'; 
    transform: rotate(180deg); 
}

/* --- FOOTER 4 COLONNES --- */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
    margin-top: 50px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.footer-col h3 span { color: #d35400; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #d35400; }

.footer-col:last-child {
    text-align: center;
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px; 
}

.social-icon {
    color: #aaa; 
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    color: #d35400; 
    transform: scale(1.1); 
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* --- RESPONSIVE GSM --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .burger-menu { display: flex; }
    .burger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .form-header { padding: 100px 15px 30px; }
    .form-header h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .form-header p { font-size: 0.95rem; padding: 0 10px; line-height: 1.4; }
    
    .faq-question { font-size: 1.05rem; padding: 15px; }
    .faq-item.active .faq-answer { padding: 0 15px 15px 15px; }
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; color: #999; }