.pc-home-page {
    background: #f8fbff;
}

.pc-home-hero {
    padding: 42px 0 26px;
}

.pc-home-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 1px solid rgba(0, 93, 200, 0.14);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pc-home-hero-content {
    padding: 46px;
}

.pc-home-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 24px;
}

.pc-home-kicker {
    display: inline-block;
    color: #005dcc;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.pc-home-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.95;
    margin: 0 0 22px;
    color: #08152f;
}

.pc-home-hero h1 span {
    color: #005dcc;
    display: block;
}

.pc-home-hero p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 650px;
}

.pc-home-highlight {
    margin-top: 18px;
    font-weight: 800;
    color: #005dcc;
    background: #eaf4ff;
    border: 1px solid rgba(0, 93, 200, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
}

.pc-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.pc-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #005dcc;
}

.pc-home-btn.primary {
    background: #005dcc;
    color: #ffffff;
}

.pc-home-btn.secondary {
    background: #ffffff;
    color: #005dcc;
}

.pc-home-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pc-home-quick span {
    background: #ffffff;
    border: 1px solid rgba(0, 93, 200, 0.14);
    color: #334155;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.pc-home-hero-image {
    height: 100%;
    min-height: 430px;
    background: #dbeafe;
}

.pc-home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pc-home-section {
    padding: 34px 0;
}

.pc-home-section-head {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 32px;
}

.pc-home-section-head h2 {
    color: #08152f;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 14px;
}

.pc-home-section-head p {
    color: #334155;
    line-height: 1.7;
}

.pc-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pc-home-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.pc-home-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eaf4ff;
    color: #005dcc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.pc-home-card h2 {
    color: #08152f;
    font-size: 1.35rem;
    margin: 0 0 12px;
}

.pc-home-card p,
.pc-home-card li {
    color: #334155;
    line-height: 1.6;
}

.pc-home-card a {
    color: #005dcc;
    font-weight: 800;
    text-decoration: none;
}

.pc-home-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.pc-home-list li {
    position: relative;
    padding-left: 26px;
    margin: 9px 0;
    color: #334155;
}

.pc-home-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #005dcc;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    text-align: center;
    line-height: 18px;
}

.pc-home-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: stretch;
}

.pc-home-panel {
    background: linear-gradient(135deg, #ffffff 0%, #edf7ff 100%);
    border: 1px solid rgba(0, 93, 200, 0.12);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.pc-home-panel h2 {
    color: #08152f;
    margin-top: 0;
}

.pc-home-panel p,
.pc-home-panel li {
    color: #334155;
    line-height: 1.7;
}

.pc-home-panel-image {
    overflow: hidden;
    border-radius: 18px;
    min-height: 330px;
    background: #dbeafe;
}

.pc-home-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pc-home-offer {
    background: #08152f;
    color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.pc-home-offer-content {
    padding: 42px;
}

.pc-home-offer h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin: 0 0 18px;
}

.pc-home-offer p {
    color: #dbeafe;
    line-height: 1.7;
}

.pc-home-offer-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.pc-home-price-box {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 18px;
}

.pc-home-price-box strong {
    display: block;
    color: #ffffff;
    font-size: 2.3rem;
    line-height: 1;
    margin-bottom: 8px;
}

.pc-home-price-box span {
    color: #dbeafe;
}

.pc-home-offer-image {
    min-height: 420px;
    background: #dbeafe;
}

.pc-home-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pc-home-diagnostic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.pc-home-price-big {
    color: #005dcc;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    margin: 16px 0 8px;
}

.pc-home-cta {
    background: #08152f;
    color: #ffffff;
    border-radius: 22px;
    padding: 38px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.pc-home-cta h2 {
    color: #ffffff;
    margin: 0 0 10px;
}

.pc-home-cta p {
    color: #dbeafe;
    line-height: 1.7;
    margin: 0;
}

.pc-home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pc-home-cta .pc-home-btn.primary {
    background: #ffffff;
    color: #005dcc;
    border-color: #ffffff;
}

.pc-home-cta .pc-home-btn.secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1100px) {
    .pc-home-hero-card,
    .pc-home-feature,
    .pc-home-offer,
    .pc-home-diagnostic,
    .pc-home-cta {
        grid-template-columns: 1fr;
    }

    .pc-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pc-home-hero-image,
    .pc-home-offer-image {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .pc-home-grid {
        grid-template-columns: 1fr;
    }

    .pc-home-hero-content,
    .pc-home-card,
    .pc-home-panel,
    .pc-home-offer-content,
    .pc-home-cta {
        padding: 24px;
    }

    .pc-home-actions,
    .pc-home-cta-actions {
        flex-direction: column;
    }

    .pc-home-btn {
        width: 100%;
    }

    .pc-home-offer-price {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Version mobile allégée - PC Clinic59
   Objectif : réduire la longueur de l'accueil sur téléphone
   sans supprimer le contenu desktop.
========================================================= */

@media (max-width: 768px) {

    body {
        padding-bottom: 82px;
    }

    .pc-home-mobile-hide {
        display: none !important;
    }

    .pc-home-mobile-compact {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    .pc-home-hero {
        padding: 14px 0 20px !important;
    }

    .pc-home-hero-card {
        grid-template-columns: 1fr !important;
        border-radius: 18px !important;
    }

    .pc-home-hero-content {
        padding: 22px !important;
    }

    .pc-home-breadcrumb,
    .pc-home-quick,
    .pc-home-hero-image {
        display: none !important;
    }

    .pc-home-kicker {
        font-size: 0.74rem !important;
        margin-bottom: 8px !important;
    }

    .pc-home-hero h1 {
        font-size: 2rem !important;
        line-height: 1.05 !important;
        margin-bottom: 12px !important;
    }

    .pc-home-hero p {
        font-size: 0.98rem !important;
        line-height: 1.5 !important;
    }

    .pc-home-highlight {
        margin-top: 12px !important;
        padding: 10px 12px !important;
        font-size: 0.95rem !important;
    }

    .pc-home-actions {
        gap: 8px !important;
        margin-top: 18px !important;
    }

    .pc-home-section {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .pc-home-section-head {
        margin-bottom: 18px !important;
    }

    .pc-home-section-head h2 {
        font-size: 1.65rem !important;
        line-height: 1.15 !important;
        margin-bottom: 8px !important;
    }

    .pc-home-section-head p {
        display: none !important;
    }

    .pc-home-grid {
        gap: 14px !important;
    }

    .pc-home-card,
    .pc-home-panel,
    .pc-home-offer-content,
    .pc-home-cta {
        padding: 20px !important;
    }

    .pc-home-card h2,
    .pc-home-panel h2 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .pc-home-card p,
    .pc-home-panel p,
    .pc-home-card li,
    .pc-home-panel li {
        font-size: 0.96rem !important;
        line-height: 1.45 !important;
    }

    .pc-home-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.45rem !important;
        border-radius: 13px !important;
        margin-bottom: 12px !important;
    }

    .pc-home-services-mobile .pc-home-card:nth-child(n+4) {
        display: none !important;
    }

    .pc-home-services-mobile .pc-home-list {
        display: none !important;
    }

    .pc-home-offer {
        grid-template-columns: 1fr !important;
        border-radius: 18px !important;
    }

    .pc-home-offer h2 {
        font-size: 1.8rem !important;
        line-height: 1.05 !important;
    }

    .pc-home-offer-image {
        display: none !important;
    }

    .pc-home-offer-price {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 16px 0 !important;
    }

    .pc-home-price-box {
        padding: 14px !important;
    }

    .pc-home-price-box strong {
        font-size: 2rem !important;
    }

    .pc-home-diagnostic {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .pc-home-price-big {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .pc-home-btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 0 14px !important;
    }

    .pc-home-actions a:nth-child(2) {
        display: none !important;
    }

    .pc-home-actions a:nth-child(3) {
        order: -1;
        background: #0a7a3d !important;
        border-color: #0a7a3d !important;
        color: #ffffff !important;
    }

    .pc-home-page > .pc-home-section:nth-of-type(n+4) {
        display: none !important;
    }

    .pc-home-page + .pc-home-mobile-action-bar + .pc-site-footer,
    .pc-home-page ~ .pc-whatsapp-float {
        margin-bottom: 0;
    }

    .pc-home-page ~ .pc-whatsapp-float {
        display: none !important;
    }

    .pc-home-mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: flex;
        gap: 7px;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 -5px 22px rgba(0,0,0,0.18);
    }

    .pc-home-mobile-action-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 8px 6px;
        border-radius: 12px;
        background: #005dcc;
        color: #ffffff !important;
        text-decoration: none;
        text-align: center;
        font-size: 0.86rem;
        font-weight: 900;
        line-height: 1.1;
    }

    .pc-home-mobile-action-bar a:nth-child(2) {
        background: #0a7a3d;
    }

    .pc-home-mobile-action-bar a:nth-child(3) {
        background: #111827;
    }

    .pc-home-mobile-action-bar a:first-child {
        flex: 1.25;
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) {
    .pc-home-mobile-action-bar {
        display: none !important;
    }
}
