/* ==================== CSS SPÉCIFIQUE - CADRE NATIONAL D'INTEROPÉRABILITÉ ==================== */
/* À charger APRÈS cadre-commun.css */

/* ==================== ÉLÉMENTS CLÉS (NIVEAUX) ==================== */
.elements-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jokkoo-vert);
    margin: 1.5rem 0 1rem 0;
}

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

.elements-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--jokkoo-gris-texte);
    line-height: 1.8;
    font-size: 0.9rem;
}

.elements-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--jokkoo-vert);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* ==================== CATÉGORIES PRINCIPES ==================== */
.categorie-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 3rem 0 2rem 0;
    text-align: left;
}

/* ==================== PRINCIPES GRID ==================== */
.principes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

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

.principe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 146, 82, 0.15);
    border-color: var(--jokkoo-vert);
}

.principe-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.principe-card p {
    color: var(--jokkoo-gris-texte);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

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

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

.standard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 146, 82, 0.15);
    border-color: var(--jokkoo-vert);
}

.standard-header {
    margin-bottom: 1.5rem;
}

.standard-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    text-align: left;
}

.standard-description {
    color: var(--jokkoo-gris-texte);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.standard-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jokkoo-vert);
    margin: 1.5rem 0 1rem 0;
}

.standard-specs,
.standard-uses {
    list-style: none;
    padding: 0;
    margin: 0;
}

.standard-specs li,
.standard-uses li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--jokkoo-gris-texte);
    line-height: 1.7;
    font-size: 0.9rem;
}

.standard-specs li:before,
.standard-uses li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--jokkoo-vert);
    font-weight: bold;
}

.standard-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
}

.standard-badge.obligatoire {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #EFAF42;
}

.standard-badge.pilote {
    background: #dbeafe;
    color: #1e3a8a;
    border: 1px solid #3b82f6;
}

/* ==================== ROADMAP TIMELINE ==================== */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

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

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 146, 82, 0.15);
}

.phase-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-badge.phase-1 {
    background: var(--jokkoo-vert);
    color: white;
}

.phase-badge.phase-2 {
    background: var(--jokkoo-jaune);
    color: white;
}

.phase-badge.phase-3 {
    background: #3b82f6;
    color: white;
}

.phase-badge.phase-4 {
    background: #8b5cf6;
    color: white;
}

.phase-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: left;
}

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

.phase-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--jokkoo-gris-texte);
    line-height: 1.7;
    font-size: 0.9rem;
}

.phase-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--jokkoo-vert);
    font-weight: bold;
    font-size: 1.1rem;
}

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

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

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(5, 146, 82, 0.15);
    border-color: var(--jokkoo-vert);
}

.resource-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.resource-card p {
    color: var(--jokkoo-gris-texte);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

/* ==================== CHECKLIST ==================== */
.checklist-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0 3rem 0;
}

.checklist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checkbox {
    font-size: 1.5rem;
    color: var(--jokkoo-vert);
    flex-shrink: 0;
    font-weight: 700;
}

.checklist-text {
    color: var(--jokkoo-gris-texte);
    font-size: 1rem;
    line-height: 1.7;
}

/* 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;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .categorie-title {
        font-size: 1.5rem;
    }
    
    .principes-grid,
    .standards-grid,
    .roadmap-timeline,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .principe-card,
    .standard-card,
    .phase-card,
    .resource-card {
        padding: 2rem;
    }
    
    .checklist-container {
        padding: 2rem;
    }
}