/* ==========================================================================
   STYLE GUIDE & CONFIGURATION PRO
   ========================================================================== */
:root {
    --brand-emerald: #00562f;      /* Vert Corporate chic, plus pro */
    --brand-mint: #10b981;         /* Vert Lumineux pour les accents */
    --brand-accent: #f59e0b;       /* Ambre pour marquer l'innovation */
    --text-main: #1f2937;          /* Gris Anthracite ultra lisible */
    --text-muted: #4b5563;        /* Gris intermédiaire */
    --bg-main: #f9fafb;            /* Fond de page blanc-gris très propre */
    --bg-card: #ffffff;
    --border-color: #e5e7eb;       /* Bordures très fines et discrètes */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ==========================================================================
   RESET DE QUALITÉ
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HERO SECTION (Premium Design)
   ========================================================================== */
.hero-section {
    background: radial-gradient(circle at top left, #004225, #001f11);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--brand-mint);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 35px;
    font-weight: 400;
}

/* BOUTONS */
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--brand-mint);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
    display: block;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   COMPOSANT CARTES COMPACTES & PRO
   ========================================================================== */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    margin-top: -40px; /* Effet de chevauchement élégant sur le premier */
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.card:not(:first-of-type) {
    margin-top: 0; /* Reset du chevauchement pour les cartes suivantes */
}

.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-emerald);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* STRUCTURE GRILLES RESPONSIVES */
.grid {
    display: grid;
    gap: 30px;
}

.col-2 { grid-template-columns: 1fr 1fr; }
.col-3 { grid-template-columns: 1fr 1fr 1fr; }
.items-center { align-items: center; }

/* LISTES STYLEES */
ul {
    list-style: none;
}

ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

ul li strong {
    color: var(--text-main);
}

ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand-mint);
}

/* BOX DIAGNOSTIC */
.analysis-box {
    padding: 25px;
    border-radius: var(--radius-md);
    background-color: #fcfdfd;
    border: 1px solid #f0f2f5;
}

.analysis-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* ==========================================================================
   MODULE ETAPES OBLIGATOIRES (Filière entrepreneuriat)
   ========================================================================== */
.highlight-card {
    background: linear-gradient(to bottom right, #ffffff, #f7fee7);
    border-left: 4px solid var(--brand-mint);
}

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.12);
    position: absolute;
    top: 15px;
    right: 20px;
}

.step-card h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--brand-emerald);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PASSERELLE DE COMMUNICATION INTERACTIVE
   ========================================================================== */
.interactive-bridge {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 35px;
    border-radius: var(--radius-md);
}

.interactive-bridge h4 {
    color: var(--brand-emerald);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.status-indicator {
    display: inline-block;
    font-size: 0.85rem;
    color: #15803d;
    font-weight: 600;
    background-color: #dcfce7;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   TABLEAU CLEAN & CORPORATE
   ========================================================================= */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.pro-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pro-table th {
    background-color: #f3f4f6;
    color: var(--text-main);
    font-weight: 600;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.pro-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.pro-table tr:last-child td {
    border-bottom: none;
}

/* Mise en valeur de la colonne unique */
.pro-table .our-col {
    background-color: #fafee6;
    color: var(--brand-emerald);
    font-weight: 500;
    border-left: 1px solid rgba(16, 185, 129, 0.1);
}

th.our-col {
    background-color: #f0fdf4 !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 60px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .col-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.3rem; }
    .col-2 { grid-template-columns: 1fr; }
    .card { padding: 25px; }
    .hero-actions { flex-direction: column; }
}