/* Variables CSS */
:root {
    --primary-color: #00A878;
    --primary-dark: #008060;
    --primary-light: #E8F5F1;
    --secondary-color: #2C3E50;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary-small {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary-large {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-large {
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary-large:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-exercise {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-exercise:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--text-dark);
    padding: 4rem 0;
    padding-top: 9rem;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--text-dark);
}

.separator {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.current {
    color: var(--text-dark);
    font-weight: 600;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 168, 120, 0.15);
}

.step-icon {
    font-size: 1.5rem;
}

.step-number {
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-description p {
    margin-bottom: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 3rem auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Modules Section */
.modules {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.module-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.module-number {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
}

.module-duration {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.module-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.module-intro {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.module-content {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
}

.module-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.module-content h4:first-child {
    margin-top: 0;
}

.module-list {
    list-style: none;
    padding-left: 0;
}

.module-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.module-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.module-example {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-sm);
}

.module-example h4 {
    margin-top: 0;
    color: #B8860B;
}

.module-insight {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-sm);
}

.module-insight h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.module-warning {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-sm);
}

.module-warning h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.module-exercise {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: var(--radius-md);
}

.module-exercise h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.myowo-integration {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-md);
}

.myowo-integration h4 {
    margin-top: 0;
    color: var(--primary-dark);
}

.entrepreneur-profile {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.entrepreneur-profile h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.entrepreneur-profile p {
    margin-bottom: 0.5rem;
}

.fear-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
}

.fear-item h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.commitment-box {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.commitment-box h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.commitment-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.commitment-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.module-note {
    font-style: italic;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .module-card {
        padding: 1.5rem;
    }

    .module-title {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 7rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 2rem auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Styles spécifiques Étape 6 */

.levier-item,
.structure-pillar,
.recruitment-step,
.export-step,
.financing-source,
.vision-framework {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.levier-item h5,
.structure-pillar h5,
.recruitment-step h5,
.export-step h5,
.financing-source h5,
.vision-framework h5 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.levier-item p strong,
.structure-pillar p strong,
.recruitment-step p strong,
.export-step p strong,
.financing-source p strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {

    .levier-item,
    .structure-pillar,
    .recruitment-step,
    .export-step,
    .financing-source,
    .vision-framework {
        padding: 1rem;
    }
}

/* ========================================
   OUTIL DE SIMULATION DE MICROCRÉDIT
   ======================================== */

.credit-tool-container {
    background: #ffffff;
    border: 2px solid #00A878;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.credit-tool-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credit-tool-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.credit-section {
    margin-bottom: 2.5rem;
}

.credit-section-title {
    font-size: 1.2rem;
    color: #00A878;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.credit-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.credit-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.credit-form-group {
    display: flex;
    flex-direction: column;
}

.credit-label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.credit-input,
.credit-select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.credit-input:focus,
.credit-select:focus {
    outline: none;
    border-color: #00A878;
}

.credit-add-btn {
    background: #00A878;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.credit-add-btn:hover {
    background: #008c65;
    transform: translateY(-2px);
}

.credit-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-style: italic;
}

.credit-scenario-card {
    background: white;
    border-left: 4px solid #00A878;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.credit-scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.credit-scenario-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.credit-scenario-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.credit-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.credit-delete-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.credit-scenario-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.credit-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.credit-detail-row:last-child {
    border-bottom: none;
}

.credit-detail-label {
    color: #666;
    font-size: 0.95rem;
}

.credit-detail-value {
    font-weight: 600;
    color: #333;
}

.credit-scenario-results {
    background: linear-gradient(135deg, #e8f5f1 0%, #d4edda 100%);
    padding: 1rem;
    border-radius: 6px;
}

.credit-result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.credit-result-label {
    color: #333;
    font-size: 0.95rem;
}

.credit-result-value {
    font-weight: 600;
    font-size: 1.05rem;
}

.credit-negative {
    color: #dc3545;
}

.credit-total {
    color: #00A878;
    font-size: 1.2rem;
}

.credit-monthly {
    color: #007bff;
}

.credit-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.credit-action-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.credit-action-primary {
    background: #00A878;
    color: white;
}

.credit-action-primary:hover {
    background: #008c65;
    transform: translateY(-2px);
}

.credit-action-secondary {
    background: #6c757d;
    color: white;
}

.credit-action-secondary:hover {
    background: #5a6268;
}

.credit-action-danger {
    background: #dc3545;
    color: white;
}

.credit-action-danger:hover {
    background: #c82333;
}

.comparison-intro {
    background: #e8f5f1;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.comparison-intro h4 {
    color: #00A878;
    margin-bottom: 0.5rem;
}

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

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.comparison-best {
    border: 3px solid #28a745;
}

.comparison-worst {
    border: 3px solid var(--primary-color);
}

.comparison-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-badge-warning {
    background: var(--primary-color);
    color: var(--white);
}

.comparison-card h5 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
}

.comparison-type {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.comparison-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #00A878;
    text-align: center;
    margin: 1rem 0;
}

.comparison-label {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comparison-details {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.comparison-details div {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-details div:last-child {
    border-bottom: none;
}

.comparison-savings {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-savings h5 {
    color: #155724;
    margin-bottom: 1rem;
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin: 1rem 0;
}

.savings-note {
    color: #155724;
    font-size: 0.95rem;
}

.comparison-table-wrapper {
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: #00A878;
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-row-best {
    background: #d4edda;
    font-weight: 600;
}

.comparison-recommendations {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.comparison-recommendations h5 {
    color: #856404;
    margin-bottom: 1rem;
}

.comparison-recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}

.comparison-recommendations li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.capacity-result-box {
    background: white;
    border: 2px solid #00A878;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.capacity-result-box h5 {
    color: #00A878;
    margin-bottom: 1.5rem;
}

.capacity-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.capacity-detail-total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #00A878;
    border-bottom: none;
}

.capacity-label {
    font-size: 1rem;
    color: #333;
}

.capacity-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.capacity-positive {
    color: #28a745;
}

.capacity-negative {
    color: #dc3545;
}

.capacity-recommendations {
    margin-top: 1.5rem;
}

.capacity-alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.capacity-alert-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.capacity-alert-danger {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

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

.capacity-limit {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.capacity-limit-comfortable {
    border: 2px solid #28a745;
}

.capacity-limit-maximum {
    border: 2px solid var(--primary-color);
}

.capacity-limit-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.capacity-limit-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00A878;
    margin: 0.5rem 0;
}

.capacity-limit p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
}

.capacity-advice {
    background: #e8f5f1;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
}

.capacity-advice h6 {
    color: #00A878;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .credit-form-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 720px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }

    .capacity-limits {
        grid-template-columns: 1fr;
    }

    .credit-actions {
        flex-direction: column;
    }

    .credit-action-btn {
        width: 100%;
    }
}

/* ===================================
   OUTIL MOBILE MONEY (Module 6.8)
   =================================== */

.mobile-money-tool-container {
    background: white;
    border: 2px solid #00A878;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.mobile-money-tool-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mobile-money-tool-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.mobile-money-section {
    margin-bottom: 40px;
}

.mobile-money-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #00A878;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.mobile-money-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mobile-money-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.mobile-money-form-group {
    display: flex;
    flex-direction: column;
}

.mobile-money-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.mobile-money-input,
.mobile-money-select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-money-input:focus,
.mobile-money-select:focus {
    outline: none;
    border-color: #00A878;
    box-shadow: 0 0 0 3px rgba(0, 168, 120, 0.1);
}

.mobile-money-compare-btn,
.mobile-money-calculate-btn {
    background: #00A878;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.mobile-money-compare-btn:hover,
.mobile-money-calculate-btn:hover {
    background: #008c64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 120, 0.3);
}

.mobile-money-reset-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mobile-money-reset-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.mobile-money-empty {
    text-align: center;
    color: #999;
    padding: 30px;
    font-style: italic;
}

/* Tableau de comparaison */
.comparison-table {
    margin-top: 30px;
}

.comparison-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.mobile-money-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-money-table thead {
    background: #00A878;
    color: white;
}

.mobile-money-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.mobile-money-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-money-table tbody tr:hover {
    background: #f5f5f5;
}

.mobile-money-table .best-option {
    background: #e8f5e9;
    font-weight: 600;
}

.best-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 5px;
}

.net-amount {
    color: #00A878;
    font-weight: 600;
}

/* Insight de comparaison */
.comparison-insight {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.comparison-insight h5 {
    color: #1976D2;
    margin-bottom: 10px;
    font-size: 16px;
}

.comparison-insight p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Coût mensuel */
.monthly-cost-summary {
    background: white;
    border: 2px solid #00A878;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.monthly-cost-summary h5 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.cost-breakdown {
    margin-bottom: 20px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.cost-label {
    color: #666;
    font-size: 15px;
}

.cost-value {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.cost-totals {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.cost-total-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cost-total-item:last-child {
    margin-bottom: 0;
}

.cost-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cost-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #00A878;
}

.cost-annual {
    font-size: 22px;
    color: #FF6B00;
}

.cost-tips {
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.cost-tips h5 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 16px;
}

.cost-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cost-tips li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-money-tool-container {
        padding: 20px;
    }

    .mobile-money-form {
        padding: 15px;
    }

    .mobile-money-form-grid {
        grid-template-columns: 1fr;
    }

    .mobile-money-table {
        font-size: 14px;
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 720px;
    }

    .mobile-money-table th,
    .mobile-money-table td {
        padding: 10px 8px;
    }

    .cost-item {
        flex-direction: column;
        gap: 5px;
    }

    .cost-total-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}