/* ================================================
   SUPPLEMENTS PAGE - STYLES
   Page des mots-valises et injonctions
   Style inspiré de la page Modes
   ================================================ */

/* Scroll smooth pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Offset pour le menu sticky */
.word-detail {
    scroll-margin-top: 100px;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-supplements {
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f1e8 50%, #fffcf5 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-supplements h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.hero-supplements h1 strong {
    font-weight: 700;
    color: #B8941F;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.words-grid-hero {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.word-card-hero {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    cursor: pointer;
}

.word-card-hero:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.word-icon-hero {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.word-name-hero {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
}

/* ================================================
   INTRODUCTION SECTION
   ================================================ */
.intro-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.intro-section h2 strong {
    font-weight: 700;
    color: #B8941F;
}

.intro-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem;
    color: #2c3e50;
}

.intro-section p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ================================================
   WORD DETAIL SECTIONS
   ================================================ */
.word-detail {
    padding: 6rem 2rem;
}

.word-detail:nth-child(even) {
    background: #fafafa;
}

.word-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.word-detail:nth-child(even) .word-detail-container {
    grid-template-columns: 1fr 2fr;
}

.word-detail:nth-child(odd) .word-detail-container {
    direction: rtl;
}

.word-detail:nth-child(odd) .word-detail-container > * {
    direction: ltr;
}

.word-visual {
    text-align: center;
}

.word-icon-large {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

.word-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.word-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.word-subsection {
    margin-bottom: 3rem;
}

.word-subsection h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #B8941F;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.word-subsection p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: justify;
}

.word-subsection em {
    font-style: italic;
    color: #6c757d;
}

/* Encarts pour "manipulation" et "reality" */
.word-highlight {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
}

.word-highlight p {
    margin-bottom: 1rem;
}

.word-highlight p:last-child {
    margin-bottom: 0;
}

/* Couleurs spécifiques par mot-valise */
/* Tolérance - Or/Bronze */
.word-detail.tolerance .word-icon-large,
.word-detail.tolerance h3 {
    color: #D4AF37;
}

.word-detail.tolerance .word-highlight {
    border-color: #D4AF37;
}

/* Authenticité - Bleu */
.word-detail.authenticity .word-icon-large,
.word-detail.authenticity h3 {
    color: #3498db;
}

.word-detail.authenticity .word-highlight {
    border-color: #3498db;
}

/* Toxique - Rouge/Corail */
.word-detail.toxic .word-icon-large,
.word-detail.toxic h3 {
    color: #e74c3c;
}

.word-detail.toxic .word-highlight {
    border-color: #e74c3c;
}

/* Dialogue - Vert */
.word-detail.dialogue .word-icon-large,
.word-detail.dialogue h3 {
    color: #27ae60;
}

.word-detail.dialogue .word-highlight {
    border-color: #27ae60;
}

/* Ouverture d'esprit - Violet/Indigo */
.word-detail.openmind .word-icon-large,
.word-detail.openmind h3 {
    color: #6b7c93;
}

.word-detail.openmind .word-highlight {
    border-color: #6b7c93;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.1rem;
    background: white;
    color: #D4AF37;
    border: 2px solid white;
}

.btn-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ================================================
   RESPONSIVE - TABLETTE
   ================================================ */
@media (max-width: 1024px) {
    .words-grid-hero {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .word-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .word-detail:nth-child(odd) .word-detail-container {
        direction: ltr;
    }
    
    .word-visual {
        position: relative;
        top: 0;
    }
    
    .word-icon-large {
        width: 150px;
        height: 150px;
    }
}

/* ================================================
   RESPONSIVE MOBILE
   ================================================ */
@media (max-width: 768px) {
    .hero-supplements h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .words-grid-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .word-card-hero {
        padding: 1.25rem;
    }

    .word-icon-hero {
        width: 60px;
        height: 60px;
    }

    .word-name-hero {
        font-size: 1rem;
    }

    .intro-section h2 {
        font-size: 1.8rem;
    }

    .intro-section h3 {
        font-size: 1.5rem;
    }

    .intro-section p {
        font-size: 1rem;
        text-align: left;
    }

    /* FIX RESPONSIVE : Désactiver alternance gauche/droite */
    .word-detail {
        padding: 3rem 1rem;
    }

    .word-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    /* Forcer LTR pour toutes les sections */
    .word-detail:nth-child(odd) .word-detail-container,
    .word-detail:nth-child(even) .word-detail-container {
        direction: ltr;
    }

    /* Icône toujours en haut */
    .word-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    /* Contenu toujours en dessous */
    .word-content {
        order: 1;
        text-align: left;
    }

        .word-content h2 {
            font-size: 1.8rem;
            text-align: left;
        }

    .word-subsection h3 {
        font-size: 1.2rem;
        text-align: left;
    }

    .word-subsection p {
        font-size: 1rem;
        text-align: left;
    }

    .word-icon-large {
        width: 120px;
        height: 120px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.85rem 2rem;
    }
}