/* ================================================
   MODES PAGE - STYLES
   Page de présentation des 4 modes comportementaux
   ================================================ */

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

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

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

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

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

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

.modes-grid-hero {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.mode-icon-hero {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.mode-name-hero {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mode-card-hero.intimidateur .mode-name-hero { color: #e74c3c; }
.mode-card-hero.interrogateur .mode-name-hero { color: #3498db; }
.mode-card-hero.plaintif .mode-name-hero { color: #27ae60; }
.mode-card-hero.indifferent .mode-name-hero { color: #6b7c93; }

.mode-tagline {
    font-size: 1rem;
    color: #6c757d;
    font-style: italic;
}

/* ================================================
   DIAGNOSTIC HERO SECTION
   ================================================ */
.diagnostic-hero {
    background: linear-gradient(135deg, var(--theme-color-1, #B8941F) 0%, var(--theme-color-2, #D4AF37) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.diagnostic-hero h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.diagnostic-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.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 p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

.mode-icon-large {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.mode-detail.intimidateur .mode-icon-large {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 4px solid #e74c3c;
}

.mode-detail.interrogateur .mode-icon-large {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    border: 4px solid #3498db;
}

.mode-detail.plaintif .mode-icon-large {
    background: linear-gradient(135deg, #f9fdf7 0%, #ffffff 100%);
    border: 4px solid #27ae60;
}

.mode-detail.indifferent .mode-icon-large {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 4px solid #6b7c93;
}

.mode-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mode-detail.intimidateur h2 { color: #e74c3c; }
.mode-detail.interrogateur h2 { color: #3498db; }
.mode-detail.plaintif h2 { color: #27ae60; }
.mode-detail.indifferent h2 { color: #6b7c93; }

.mode-tagline-detail {
    font-size: 1.3rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 2rem;
}

.mode-content p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mode-perspectives {
    margin-top: 2rem;
}

.perspective {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
}

.mode-detail.intimidateur .perspective { border-color: #e74c3c; }
.mode-detail.interrogateur .perspective { border-color: #3498db; }
.mode-detail.plaintif .perspective { border-color: #27ae60; }
.mode-detail.indifferent .perspective { border-color: #6b7c93; }

.perspective strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-detail.intimidateur .perspective strong { color: #e74c3c; }
.mode-detail.interrogateur .perspective strong { color: #3498db; }
.mode-detail.plaintif .perspective strong { color: #27ae60; }
.mode-detail.indifferent .perspective strong { color: #6b7c93; }

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

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

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

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */
@media (max-width: 768px) {
    /* Hero section */
    .hero-modes {
        padding: 2rem 1rem;
    }

    .hero-modes h1 {
        font-size: 1.8rem;
    }

    .hero-modes-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Grille 1 colonne sur mobile */
    .modes-grid-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .mode-card-hero {
        padding: 1.5rem 1rem;
    }

    .mode-icon-hero {
        width: 120px;
        height: 120px;
    }

    .mode-name-hero {
        font-size: 1.2rem;
    }

    .mode-tagline {
        font-size: 0.9rem;
    }

    /* Diagnostic Hero */
    .diagnostic-hero {
        padding: 3rem 1rem;
    }

    .diagnostic-hero h2 {
        font-size: 1.8rem;
    }

    .diagnostic-hero p {
        font-size: 1rem;
    }

    /* Sections détails - TOUT EN PLEINE LARGEUR */
    .mode-detail {
        padding: 2rem 1rem;
    }

    .mode-visual {
        display: none; /* Cache les gros SVG */
    }

    .mode-detail-container {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        direction: ltr !important;
        padding: 0;
    }

    .mode-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        direction: ltr;
    }

    .mode-detail h2 {
        font-size: 1.8rem;
        padding: 0;
    }

    .mode-tagline-detail {
        font-size: 1rem;
    }

    .mode-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Perspectives pleine largeur */
    .mode-perspectives {
        margin-top: 1.5rem;
        width: 100%;
    }

    .perspective {
        margin-bottom: 1rem;
        padding: 1rem;
        width: 100%;
    }

    .perspective strong {
        font-size: 0.85rem;
    }

    .perspective p {
        font-size: 0.9rem;
    }

    /* Intro section */
    .intro-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }

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