/* ============================================
   COMPOSANTS ADDITIONNELS - Fleuris&Vous
   Styles consolidés depuis les pages HTML
   ============================================ */

/* ============================================
   FAQ & CGV - Table des matières
   ============================================ */
.faq-toc {
    max-width: 900px;
    margin: 0 auto;
}

.toc-category {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.toc-category:last-child {
    border-bottom: none;
}

.toc-category h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: 600;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.toc-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.toc-list a {
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.toc-list a:hover {
    color: #d4af37;
    padding-left: 5px;
}

/* ============================================
   FAQ & CGV - Items de contenu
   ============================================ */
.faq-item {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.faq-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-left: 30px;
    padding-left: 20px;
    border-left: 3px solid #d4af37;
    margin-bottom: 0;
    margin-top: 0;
}

/* Espacement après le dernier paragraphe */
.faq-item p:last-of-type {
    margin-bottom: 15px;
}

/* Espacement entre paragraphes consécutifs pour bordure continue */
.faq-item p + p {
    padding-top: 15px;
}

.faq-item ul {
    margin-left: 30px;
    padding-left: 40px;
    border-left: 3px solid #d4af37;
    margin-bottom: 0;
    margin-top: 0;
}

/* Espacement après la dernière liste */
.faq-item ul:last-child {
    margin-bottom: 15px;
}

/* Espacement entre paragraphe et liste pour bordure continue */
.faq-item p + ul {
    padding-top: 15px;
}

.faq-item ul + p {
    padding-top: 15px;
}

.faq-item ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.faq-item strong {
    color: #2c3e50;
    font-weight: 600;
}

/* ============================================
   CHECKLIST MARIAGE - Hero Section
   ============================================ */
.checklist-hero {
    background: linear-gradient(135deg, #f5e6d3 0%, #e6d7c8 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.checklist-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.checklist-hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* ============================================
   CHECKLIST MARIAGE - Périodes
   ============================================ */
.period {
    margin: 2rem auto;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.period:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.period-header {
    background: linear-gradient(135deg, #ccaa99 0%, #d4b5a1 100%);
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-header:hover {
    background: linear-gradient(135deg, #b89888 0%, #c9a593 100%);
}

.period-header.active {
    background: linear-gradient(135deg, #d4b5a1 0%, #e0c3b0 100%);
}

.period-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: white;
    margin: 0;
    font-weight: 500;
}

.period-icon {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.period-header.active .period-icon {
    transform: rotate(180deg);
}

.period-content {
    padding: 2rem;
    display: none;
}

.period-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CHECKLIST MARIAGE - Rôles et tâches
   ============================================ */
.role-section {
    margin-bottom: 2rem;
}

.role-section:last-child {
    margin-bottom: 0;
}

.role-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #ccaa99;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.task-item:hover {
    background: #fafafa;
}

.task-item.completed {
    opacity: 0.6;
}

.task-checkbox {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-right: 1rem;
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: #ccaa99;
}

.task-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

.task-item.completed .task-text {
    text-decoration: line-through;
}

/* ============================================
   CHECKLIST MARIAGE - Actions
   ============================================ */
.actions-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Boutons spécifiques checklist */
.btn {
    font-family: 'Montserrat', sans-serif;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #ccaa99;
    color: white;
}

.btn-primary:hover {
    background: #b89888;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #ccaa99;
    border: 2px solid #ccaa99;
}

.btn-secondary:hover {
    background: #ccaa99;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   CHECKLIST MARIAGE - Section conseils
   ============================================ */
.tips-section {
    background: linear-gradient(135deg, rgba(204, 170, 153, 0.05) 0%, rgba(230, 215, 206, 0.05) 100%);
    padding: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    border-radius: 12px;
    border-left: 4px solid #ccaa99;
}

.tips-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tips-section p {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.progress-text {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ccaa99 0%, #d4b5a1 100%);
    border-radius: 20px;
    transition: width 0.5s ease;
}

/* ============================================
   DEMO MEGA MENU - Styles spécifiques
   ============================================ */
.nav-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mega-column h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
}

.mega-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-column li {
    margin-bottom: 0.75rem;
}

.mega-column a {
    color: #666;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.mega-column a:hover {
    color: #d4af37;
    padding-left: 0.5rem;
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
    /* Checklist Hero */
    .checklist-hero h1 {
        font-size: 2rem;
    }
    
    .period-header {
        padding: 1rem 1.5rem;
    }
    
    .period-header h2 {
        font-size: 1.4rem;
    }
    
    .period-content {
        padding: 1.5rem;
    }
    
    .role-title {
        font-size: 1.3rem;
    }
    
    .task-text {
        font-size: 0.9rem;
    }
    
    .actions-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    /* FAQ/CGV Items */
    .faq-item p,
    .faq-item ul {
        margin-left: 15px;
        padding-left: 15px;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
    
    .toc-category h3 {
        font-size: 1.3rem;
    }
    
    /* Mega menu devient normal sur mobile */
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

/* ============================================
   UTILITIES - Classes utilitaires
   ============================================ */
.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 3rem;
}

.mt-large {
    margin-top: 3rem;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délais d'animation pour éléments multiples */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
