﻿/* Page Gestion Colocation - Sections marketing (mêmes layouts que courte durée) */

.section-pad {
    padding: 4rem 0;
}

/* Hero Colocation (sans image de fond, comme partners) */
.hero-colocation {
    padding: 7rem 0 5rem !important;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #2a2a2a 100%) !important;
    color: var(--secondary-color) !important;
    text-align: center;
}

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

.hero-colocation .service-badge {
    display: inline-block !important;
    background: var(--accent-color) !important;
    color: var(--bg-dark) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.02em !important;
}

.hero-colocation-title {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    color: white !important;
    line-height: 1.2 !important;
}

.hero-colocation-subtitle {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
}

.hero-colocation-description {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

.hero-colocation-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
}

/* Problème / Solution */
.pain-solution {
    background: var(--bg-secondary) !important;
}

.pain-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-block,
.solution-block {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.pain-block {
    border-left: 4px solid #ccc;
}

.solution-block {
    border-left: 4px solid var(--accent-color);
}

.pain-icon,
.solution-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.solution-icon {
    color: var(--accent-color);
}

.pain-block h2,
.solution-block h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pain-block p,
.solution-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Comment ça marche */
.how-it-works {
    background: var(--bg-secondary) !important;
}

.how-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.how-step {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.how-step:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.how-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 12px;
    color: var(--accent-color);
}

.how-step-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    background: var(--accent-color);
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.how-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.how-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.how-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 40px;
}

@media (max-width: 768px) {
    .how-arrow {
        transform: rotate(90deg);
        min-width: 100%;
    }
    .how-steps {
        flex-direction: column;
        align-items: center;
    }
    .how-step {
        max-width: 100%;
    }
}

/* Tableau Vous vs REALVIA (adapté colocation) */
.comparison-courte {
    background: var(--bg-secondary) !important;
}

.comparison-courte-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.comparison-courte-table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    background: white;
}

.comparison-courte-table th,
.comparison-courte-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-courte-table thead th {
    background: var(--bg-dark);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-courte-table .highlight-col {
    background: rgba(212, 175, 55, 0.12);
    font-weight: 500;
}

.comparison-courte-table tbody tr:hover {
    background: var(--bg-secondary);
}

.comparison-courte-table tbody tr:last-child td {
    border-bottom: none;
}

/* Grille des services inclus (colocation) */
.inclus {
    background: var(--bg-secondary);
}

.inclus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.inclus-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.inclus-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.inclus-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.inclus-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.inclus-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Chiffres clés colocation */
.stats-bar {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
    color: white;
}

.stats-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.stats-bar .stat-item {
    text-align: center;
}

.stats-bar .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: inline;
}

.stats-bar .stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stats-bar .stat-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Pourquoi REALVIA pour la colocation */
.why-realvia {
    background: var(--bg-primary) !important;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--bg-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* CTA deux boutons (réutilisable) */
.cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cta .cta-buttons a.btn {
    margin: 0;
}

@media (max-width: 768px) {
    .pain-solution-grid {
        grid-template-columns: 1fr;
    }
    .inclus-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .stats-bar-inner {
        gap: 2rem;
    }
    .stats-bar .stat-number {
        font-size: 2rem;
    }
}


