/* ============================================= */
/*      STYLES SPÉCIFIQUES - ÉTUDE IMPACT 2024
/* ============================================= */

/* Styles complémentaires pour la page Étude Impact 2024 */
/* Basé sur resources.css avec extensions spécifiques */

/* ===== VARIABLES SPÉCIFIQUES ===== */
:root {
    --warning-color: #dc3545;
    --warning-light: #fff5f5;
    --success-color: #198754;
    --success-light: #f0fff4;
    --info-color: #0dcaf0;
    --info-light: #f0fdff;
    --gender-color: #6f42c1;
    --gender-light: #f8f7ff;
}

/* ===== ALERT BOX ===== */
.alert-box {
    background: linear-gradient(135deg, #fff5f5, #ffe6e6);
    border: 2px solid var(--warning-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    animation: alertPulse 3s ease-in-out infinite;
}

.alert-box h2 {
    color: var(--warning-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes alertPulse {
    0%, 100% { border-color: var(--warning-color); }
    50% { border-color: #ff6b6b; }
}

/* ===== CONTEXT GRID ===== */
.context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .context-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== CONTEXT CARD ===== */
.context-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--resource-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.context-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.context-card h3 {
    color: var(--resource-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.context-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.context-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.context-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--resource-secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== METHODOLOGY CARD ===== */
.methodology-card {
    background: linear-gradient(135deg, var(--bg-card), #f8f9fa);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--resource-secondary);
}

.methodology-card h3 {
    color: var(--resource-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.methodology-details {
    display: grid;
    gap: 0.8rem;
}

.method-item {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--resource-accent);
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.method-item:hover {
    transform: translateX(5px);
}

.method-item strong {
    color: var(--resource-primary);
    font-weight: 600;
}

/* ===== PROFILE CARDS ===== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Variantes de couleurs pour les profile-cards */
.profile-card.warning {
    border-top-color: var(--warning-color);
    background: linear-gradient(135deg, var(--bg-card), var(--warning-light));
}

.profile-card.info {
    border-top-color: var(--info-color);
    background: linear-gradient(135deg, var(--bg-card), var(--info-light));
}

.profile-card.gender {
    border-top-color: var(--gender-color);
    background: linear-gradient(135deg, var(--bg-card), var(--gender-light));
}

.profile-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.profile-card.warning h4 { color: var(--warning-color); }
.profile-card.info h4 { color: var(--info-color); }
.profile-card.gender h4 { color: var(--gender-color); }

.profile-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.profile-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-card li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}

.profile-card li::before {
    content: "📊";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* ===== INSIGHTS SECTION ===== */
.insights-section {
    margin: 3rem 0;
}

.insight-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--resource-accent);
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateX(5px);
}

.insight-card h3 {
    color: var(--resource-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.insight-stats {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-highlight {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border: 2px solid;
    transition: transform 0.2s ease;
}

.stat-highlight:hover {
    transform: scale(1.02);
}

.stat-highlight.positive {
    background: var(--success-light);
    border-color: var(--success-color);
    color: var(--success-color);
}

.stat-highlight.negative {
    background: var(--warning-light);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.conclusion-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--resource-secondary);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
}

.conclusion-box strong {
    color: var(--resource-primary);
    font-weight: 600;
}

/* ===== STUDY SECTION ===== */
.study-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.study-section h2 {
    color: var(--resource-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    position: relative;
}

.study-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--resource-primary), var(--resource-secondary));
    border-radius: 2px;
}

/* ===== ADAPTATIONS RESPONSIVE ===== */
@media (max-width: 768px) {
    .context-grid {
        grid-template-columns: 1fr;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-stats {
        grid-template-columns: 1fr;
    }
    
    .methodology-details {
        grid-template-columns: 1fr;
    }
    
    .alert-box {
        padding: 1.5rem;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
    
    .study-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .context-card,
    .methodology-card,
    .profile-card {
        padding: 1rem;
    }
    
    .alert-box {
        padding: 1rem;
    }
    
    .alert-box h2 {
        font-size: 1.3rem;
    }
    
    .alert-box p {
        font-size: 1rem;
    }
    
    .study-section h2 {
        font-size: 1.4rem;
    }
}

/* ===== ANIMATIONS D'APPARITION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.insight-card,
.profile-card,
.context-card,
.methodology-card {
    animation: fadeInUp 0.6s ease-out;
}

.profile-card:nth-child(2) { animation-delay: 0.1s; }
.profile-card:nth-child(3) { animation-delay: 0.2s; }
.profile-card:nth-child(4) { animation-delay: 0.3s; }

/* ===== INSIGHTS COMPLÉMENTAIRES ===== */
.stat-box {
    background: linear-gradient(135deg, var(--info-light), #e6f9ff);
    border: 2px solid var(--info-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    text-align: center;
    font-weight: 500;
    color: var(--info-color);
    transition: transform 0.2s ease;
}

.stat-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.impact-box {
    background: linear-gradient(135deg, var(--success-light), #e8f5e8);
    border: 2px solid var(--success-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    text-align: center;
    font-size: 1.05rem;
}

.impact-box strong {
    color: var(--success-color);
    font-weight: 600;
}

.trap-stats {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.trap-stat {
    background: var(--warning-light);
    border-left: 4px solid var(--warning-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--warning-color);
    position: relative;
}

.trap-stat::before {
    content: "⚠️";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.trap-stat {
    padding-left: 2.5rem;
}

.leadership-impact {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.impact-item {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid var(--resource-accent);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.impact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.impact-item strong {
    color: var(--resource-accent);
    font-weight: 600;
}

/* ===== PLAN D'ACTION ===== */
.action-plan {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
}

.action-plan h2 {
    color: var(--resource-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.action-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    border-top: 5px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.action-card.priority-1 { border-top-color: #dc3545; }
.action-card.priority-2 { border-top-color: #fd7e14; }
.action-card.priority-3 { border-top-color: #20c997; }
.action-card.priority-4 { border-top-color: #6f42c1; }

.action-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.action-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--resource-primary);
    font-family: 'Playfair Display', serif;
    margin: 0;
    flex: 1;
}

.roi-badge {
    background: var(--resource-accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.objective,
.pack-content,
.kpi-essentials,
.deadline {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--resource-secondary);
}

.objective strong,
.pack-content strong,
.kpi-essentials strong,
.deadline strong {
    color: var(--resource-primary);
    font-weight: 600;
}

.action-details p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.action-details strong {
    color: var(--resource-primary);
    font-weight: 600;
}

/* ===== VISION 2025 ===== */
.vision-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, white);
    border-radius: var(--border-radius);
}

.vision-section h2 {
    color: var(--resource-primary);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.pillars-section {
    margin: 3rem 0;
}

.pillars-section h3 {
    color: var(--resource-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--resource-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pillar-card h4 {
    color: var(--resource-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.pillar-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== NOUVEAUX INDICATEURS ===== */
.new-indicators {
    margin: 3rem 0;
}

.new-indicators h3 {
    color: var(--resource-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.indicator-card {
    background: linear-gradient(135deg, var(--bg-card), #f8f9fa);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--resource-accent);
    transition: transform 0.3s ease;
}

.indicator-card:hover {
    transform: translateX(5px);
}

.indicator-card h4 {
    color: var(--resource-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.indicator-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== CONCLUSION ===== */
.conclusion-section {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.conclusion-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.conclusion-statement {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.conclusion-statement p {
    margin: 1rem 0;
}

.equation-box {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.equation-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.equation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.equation-part {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.equation-operator {
    font-size: 1.5rem;
    font-weight: bold;
}

.cta-question {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.cta-question p {
    margin: 1rem 0;
}

/* ===== RESOURCE CTA ===== */
.resource-cta {
    background: linear-gradient(135deg, var(--resource-accent), #ffa500);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin: 3rem 0;
    text-align: center;
    color: white;
}

.resource-cta h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.resource-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-container {
    margin-top: 2rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    background: white;
    color: var(--resource-accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--resource-accent);
    text-decoration: none;
}

/* ===== RESOURCE FOOTER ===== */
.resource-footer {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    border-top: 3px solid var(--resource-secondary);
}

.resource-footer p {
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.resource-footer em {
    font-style: italic;
}

.resource-footer a {
    color: var(--resource-primary);
    text-decoration: none;
    font-weight: 600;
}

.resource-footer a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN COMPLÉMENTAIRE ===== */
@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .indicators-grid {
        grid-template-columns: 1fr;
    }
    
    .action-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .roi-badge {
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: flex-start;
    }
    
    .equation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .equation-operator {
        transform: rotate(90deg);
    }
    
    .vision-section h2 {
        font-size: 1.8rem;
    }
    
    .conclusion-section h2 {
        font-size: 1.6rem;
    }
    
    .resource-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .action-plan,
    .vision-section,
    .conclusion-section,
    .resource-cta {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .pillar-card,
    .indicator-card,
    .action-card {
        padding: 1.5rem 1rem;
    }
    
    .pillar-icon {
        font-size: 2.5rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
}

/* ===== ANIMATIONS AVANCÉES ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.action-card:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.action-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

.pillar-card {
    animation: fadeInUp 0.6s ease-out;
}

.pillar-card:nth-child(1) { animation-delay: 0s; }
.pillar-card:nth-child(2) { animation-delay: 0.1s; }
.pillar-card:nth-child(3) { animation-delay: 0.2s; }
.pillar-card:nth-child(4) { animation-delay: 0.3s; }
.pillar-card:nth-child(5) { animation-delay: 0.4s; }
