/* ============================================================
   home.css — Styles spécifiques à la page d'accueil (index.php)
   ============================================================ */

/* ── Process Section ─────────────────────────────────────── */
.process-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #dc3545);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #dc3545);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #212529;
}

.step-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .process-section {
        padding: 0 1rem;
    }
}

/* ── Pricing Section ─────────────────────────────────────── */
.pricing-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 3rem;
}

.pricing-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-popular {
    border-color: #4CAF50;
    transform: scale(1.05);
}

.pricing-popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-name {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: #1a1a2e;
}

.pricing-tagline {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.pricing-price {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50;
}

.price-period {
    font-size: 1rem;
    color: #888;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li i.fa-check {
    color: #4CAF50;
}

.pricing-features li i.fa-times {
    color: #ccc;
}

.pricing-features .feature-disabled {
    color: #aaa;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.pricing-guarantee {
    background: #f0f7f0;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

.pricing-guarantee i {
    margin-right: 0.5rem;
}

.pricing-guarantee-gold {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57c00;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: #e0e0e0;
    color: #333;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: #4CAF50;
    color: white;
}

.pricing-btn-popular {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.pricing-btn-popular:hover {
    background: linear-gradient(135deg, #45a049, #388e3c);
}

/* Tableau comparatif */
.comparison-table-container {
    max-width: 900px;
    margin: 4rem auto 2rem;
    overflow-x: auto;
}

.comparison-title {
    text-align: center;
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.comparison-table th {
    background: #1a1a2e;
    color: white;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .text-success {
    color: #4CAF50;
}

.comparison-table .text-muted {
    color: #ccc;
}

.comparison-table .price-row {
    background: #f8f9fa;
}

.comparison-table .price-row td {
    font-size: 1.1rem;
    color: #4CAF50;
}

.pricing-notes {
    max-width: 900px;
    margin: 2rem auto 0;
}

.pricing-note {
    color: #666;
    font-size: 0.85rem;
    margin: 0.75rem 0;
    padding-left: 1rem;
    border-left: 3px solid #4CAF50;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 2rem 1rem;
    }

    .pricing-title {
        font-size: 1.8rem;
    }

    .pricing-popular {
        transform: scale(1);
    }

    .pricing-popular:hover {
        transform: translateY(-5px);
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}
