
/* ==================== CSS COMMUN - CADRES & STANDARDS ==================== */
/* À utiliser pour toutes les pages : Cadre National, Architecture, Gouvernance */

/* Import Figtree Font */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap');

/* ==================== VARIABLES ==================== */
:root {
    --jokkoo-vert: #059252;
    --jokkoo-jaune: #EFAF42;
    --jokkoo-noir: #000000;
    --jokkoo-blanc: #FFFFFF;
    --jokkoo-gris-texte: #475569;
    --jokkoo-gris-clair: #f8fafc;
}

/* ==================== BASE ==================== */
body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ==================== HERO ==================== */
.hero {
    background: white;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Hero subtitle - Justifié à gauche et droite */
.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--texte-principal);
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -moz-hyphens: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
}

/* ==================== SECTIONS ==================== */
.mission-section,
.partners-section {
    padding: 3rem 2rem;
}

.mission-section {
    background: white;
}

.partners-section {
    background: #f8fafc;
}

.mission-container,
.partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-header,
.section-header {
    margin-bottom: 2.5rem;
}

/* ==================== TITRES ==================== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: left;
}

.section-subtitle-h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 2rem 0 1.5rem 0;
    font-weight: 700;
    text-align: left;
}

/* ==================== TEXTES ==================== */
.mission-description,
.section-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--jokkoo-gris-texte);
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

/* ==================== VALUES GRID ==================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.value-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(5, 146, 82, 0.15);
    border-color: var(--jokkoo-vert);
}

.value-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    text-align: left;
    line-height: 1.4;
}

.value-content p {
    color: var(--jokkoo-gris-texte);
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

/* ==================== ICÔNES ==================== */
.icon-placeholder {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.niveau-icon,
.principe-icon,
.standard-icon,
.resource-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* ==================== BOXES SUCCESS/HIGHLIGHT ==================== */
.jokkoo-success-box {
    background: #f8f9fa;
    border-left: 6px solid var(--jokkoo-vert);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: left;
    box-shadow: 0 4px 16px rgba(5, 146, 82, 0.15);
}

.jokkoo-success-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-weight: 800;
    text-align: left;
}

.jokkoo-success-text {
    color: var(--jokkoo-gris-texte);
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
}

.jokkoo-highlight-box {
    background: #f8f9fa;
    border-left: 6px solid var(--jokkoo-jaune);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 4px 16px rgba(239, 175, 66, 0.15);
}

.jokkoo-highlight-title {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-weight: 800;
    text-align: left;
}

.jokkoo-highlight-text {
    color: var(--jokkoo-gris-texte);
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
    text-justify: inter-word;
}

/* ==================== QUOTE SECTION ==================== */
.jokkoo-quote-section {
    background: #f8f9fa;
    color: #1e293b;
    padding: 4rem 2rem;
    text-align: center;
    margin: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.jokkoo-quote-container {
    max-width: 900px;
    margin: 0 auto;
}

.jokkoo-quote-text {
    font-size: 1.75rem;
    line-height: 1.8;
    font-weight: 400;
    font-style: italic;
    color: var(--jokkoo-gris-texte);
}

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

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta-button {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.cta-button-primary {
    background-color: white;
    color: #2c3e50;
    border: none;
}

.cta-button-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .mission-section,
    .partners-section {
        padding: 2.5rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 2rem;
    }
    
    .icon-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .jokkoo-quote-text {
        font-size: 1.35rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .mission-section,
    .partners-section {
        padding: 2rem 1rem;
    }
    
    .jokkoo-success-box,
    .jokkoo-highlight-box {
        padding: 2rem;
    }
}