/* Page Pro / PME — v1 */

.pro-page {
    background: #f8fafc;
}

/* Hero Pro */
.pro-hero.hero-premium.hero-minimal {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 45%, #ffffff 100%) !important;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
    min-height: auto;
}

.pro-hero .hero-title-massive {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
}

.pro-hero__label {
    display: inline-block;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d97757;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1rem;
    background: rgba(217, 119, 87, 0.1);
    border-radius: 100px;
}

.pro-hero__phone {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #64748b;
}

.pro-hero__phone a {
    font-weight: 700;
    color: #1e3a8a;
    text-decoration: none;
}

/* Section labels */
.pro-section-label {
    display: block;
    text-align: center;
    color: #d97757;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
}

.pro-panel {
    padding: 4rem 0;
}

.pro-panel--white {
    background: #ffffff;
}

.pro-panel--alt {
    background: #f1f5f9;
}

/* Comparatif Sans / Avec */
.pro-compare {
    padding: 4rem 0;
    background: #ffffff;
}

.pro-compare .section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.pro-compare .section-header p {
    color: #64748b;
    font-size: 1.05rem;
}

.pro-compare-card {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.pro-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.pro-compare-table thead th {
    padding: 1.1rem 1.35rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.pro-compare-table thead th:first-child {
    background: #f8fafc;
    color: #475569;
    width: 22%;
}

.pro-compare-table thead th:nth-child(2) {
    background: #fef2f2;
    color: #991b1b;
    width: 39%;
}

.pro-compare-table thead th:last-child {
    background: #eff6ff;
    color: #1e3a8a;
    width: 39%;
}

.pro-compare-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.pro-compare-table tbody tr:last-child {
    border-bottom: none;
}

.pro-compare-table tbody tr:hover {
    background: #fafafa;
}

.pro-compare-table td {
    padding: 1.15rem 1.35rem;
    vertical-align: top;
    line-height: 1.5;
}

.pro-compare-table td:first-child {
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.pro-compare-table td:nth-child(2) {
    color: #64748b;
    background: rgba(254, 242, 242, 0.5);
}

.pro-compare-table td:last-child {
    color: #0f172a;
    font-weight: 600;
    background: rgba(239, 246, 255, 0.6);
}

@media (min-width: 769px) {
    .pro-compare-table td[data-label="Avec OpRews"]::before {
        content: '✓ ';
        display: inline;
        color: #059669;
        font-weight: 700;
        font-size: 1em;
        text-transform: none;
        letter-spacing: normal;
        margin-bottom: 0;
    }
}

/* Tarifs PME */
.pro-pricing {
    padding: 5rem 0;
}

.pro-pricing .section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pro-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 2.5rem;
}

.pro-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pro-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.pro-price-card--featured {
    border-color: #d97757;
    box-shadow: 0 12px 40px rgba(217, 119, 87, 0.15);
}

.pro-price-card__ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d97757;
    color: #ffffff;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pro-price-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.pro-price-card__desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 2.75rem;
    margin-bottom: 1.25rem;
}

.pro-price-card__from {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.pro-price-card__price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.pro-price-card__price--blue {
    color: #1e3a8a;
}

.pro-price-card__price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
}

.pro-price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.pro-price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.4;
}

.pro-price-card__features li span:first-child {
    color: #059669;
    font-weight: 700;
    flex-shrink: 0;
}

.pro-price-card--featured .pro-price-card__features li span:first-child {
    color: #d97757;
}

.pro-price-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pro-pricing__note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

/* Audit */
.pro-audit {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
}

.pro-audit h2 {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
}

.pro-audit__lead {
    opacity: 0.92;
    font-size: 1.1rem;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.55;
}

.pro-audit__form {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    color: #0f172a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.pro-audit__form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #0f172a;
}

.pro-audit__form input,
.pro-audit__form select,
.pro-audit__form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.pro-audit__form textarea {
    resize: vertical;
    min-height: 120px;
}

.pro-audit__row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.pro-audit__row .form-group {
    flex: 1;
    min-width: min(100%, 240px);
    margin-bottom: 1.25rem;
}

.pro-audit__form .form-group {
    margin-bottom: 1.25rem;
}

.pro-audit__form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}

.pro-audit__legal {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 1rem;
    line-height: 1.45;
    text-align: center;
}

.pro-audit__legal a {
    color: #64748b;
}

/* Bento pro section tweak */
.pro-bento .bento-grid {
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .pro-pricing__grid {
        grid-template-columns: 1fr;
        max-width: 24rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pro-hero.hero-premium.hero-minimal {
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .pro-compare-card {
        border-radius: 16px;
    }

    .pro-compare-table thead {
        display: none;
    }

    .pro-compare-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .pro-compare-table tbody tr:hover {
        background: #fff;
    }

    .pro-compare-table td {
        display: block;
        padding: 0.85rem 1rem;
        border: none;
        background: transparent !important;
    }

    .pro-compare-table td:first-child {
        background: #f1f5f9 !important;
        font-size: 1rem;
        padding-bottom: 0.5rem;
    }

    .pro-compare-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.35rem;
    }

    .pro-compare-table td[data-label="Sans partenaire"]::before {
        color: #991b1b;
    }

    .pro-compare-table td[data-label="Avec OpRews"]::before {
        color: #1e3a8a;
    }

    .pro-compare-table td:last-child {
        font-weight: 600;
        background: rgba(239, 246, 255, 0.5) !important;
    }
}

