/* ========================================
   PAGE PHOTOVOLTAÏQUE — Prim'So PV
   Fidèle au fichier HTML CSS ChatGPT
   ======================================== */

/* ─── SUPER CONTAINER PV HERO 2 ─── */
.pv-hero-2 {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 227, 145, 0.50) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(190, 215, 235, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(43, 117, 187, 0.15) 0%, transparent 5%),
        #ffffff;
    transform: translateY(-30px);
}

/* ─── HERO ─── */
.pv-hero {
    padding: 80px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.pv-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.pv-hero-text h1 {
    font-size: 40px;
    font-weight: 400;
    font-family: 'Nunito', sans-serif;
    line-height: 1.25;
    margin-bottom: 25px;
    color: var(--color-dark-green);
}

.pv-hero-text h1 strong {
    font-weight: 900;
    color: var(--color-dark-green);
}

.pv-hero-text h1 span {
    font-weight: 400;
    color: var(--color-dark-green);
}

.pv-hero-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin-bottom: 18px;
}

.pv-hero-text p strong {
    font-weight: 700;
    color: var(--color-text-dark);
}

.pv-hero-image,
.pv-hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
}

/* Container image hero avec hauteur fixe */
.pv-hero-image-container {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 25px;
    overflow: hidden;
}

.pv-hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pv-hero-logo-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: auto !important;
    height: 50px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.pv-hero-right img,
.pv-hero-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: none;
}

/* Section title box (dans hero right) */
.pv-section-title-box {
    display: block;
    width: 100%;
    background: var(--color-accent-green);
    padding: 20px 60px;
    border-radius: var(--radius-xl);
    text-align: left;
}

.pv-section-title-box p {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    color: var(--color-primary);
    line-height: 1.3;
    margin: 0;
}


/* ─── ÉTAPES ─── */
.pv-etapes {
    padding: 0px 0 80px;
    background: transparent;
}

.pv-etape {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: var(--transition-base);
}

.pv-etape:last-child {
    margin-bottom: 0;
}

.pv-etape:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

/* En-tête étape (numéro + titre) */
.pv-etape-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pv-etape-numero {
    width: 65px;
    height: 65px;
    min-width: 70px;
    background: var(--color-accent-green);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 6px 18px rgba(201, 227, 145, 0.5);
}

.pv-etape-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.3;
}

/* Highlight (mots clés en bleu dans les titres) */
.pv-highlight {
    color: var(--color-primary);
}

/* Body séquentiel */
.pv-etape-body {
    padding: 0;
}

.pv-etape-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin-bottom: 18px;
}

/* Label pill (Cadre réglementaire / Notre accompagnement) */
.pv-label-pill {
    display: inline-block;
    background: var(--color-dark-green);
    color: var(--color-accent-green);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    margin: 20px 0 14px;
}

.pv-etape-body .pv-label-pill:first-child {
    margin-top: 0;
}

/* Liste accompagnement */
.pv-accompagnement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pv-accompagnement-list li {
    font-size: 14px;
    color: var(--color-text-gray);
    line-height: 1.6;
    padding: 5px 0 5px 22px;
    position: relative;
}

.pv-accompagnement-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.4;
}

/* Délai */
.pv-etape-delai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(43, 117, 187, 0.08), rgba(201, 227, 145, 0.15));
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 20px;
}

.pv-delai-icon {
    font-size: 18px;
}

.pv-etape-delai strong {
    font-weight: 800;
    color: var(--color-primary);
}


/* ─── RÉCAPITULATIF ─── */
.pv-recap {
    padding: 80px 0;
    text-align: center;
    background: #eef3f7;
    position: relative;
    overflow: hidden;
}

.pv-recap-img-left,
.pv-recap-img-right {
    position: absolute;
    bottom: 0;
    height: 55%;
    max-height: 400px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    opacity: 1;
}

.pv-recap-img-left {
    left: 0;
}

.pv-recap-img-right {
    right: 0;
    height: 100%;
    top: 0;
}

.pv-recap h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-bottom: 40px;
}

.pv-recap h2 strong {
    font-weight: 900;
    color: var(--color-text-dark);
}

.pv-recap-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.pv-recap-item {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.pv-recap-delai-global {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 35px;
}

.pv-recap-delai-global strong {
    font-weight: 900;
}

.pv-recap-btn {
    margin-top: 0 !important;
    padding: 16px 40px;
    font-size: 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 20px rgba(43, 117, 187, 0.35);
}


/* ─── BÉNÉFICES ─── */
.pv-benefices {
    background: white;
    padding-top: 120px;
    padding-bottom: 120px;
}

.pv-benefices-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.pv-benefices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pv-benefice-card {
    background: linear-gradient(145deg, #0f3028, #2f4f47);
    color: white;
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
}

.pv-benefice-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(15, 48, 40, 0.35);
}

.pv-benefice-icon {
    font-size: 28px;
    display: block;
}

.pv-benefice-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

/* Toggle + button */
.pv-benefice-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pv-benefice-card.active .pv-benefice-toggle {
    background: var(--color-accent-green);
    color: var(--color-dark-green);
}

/* Popup description */
.pv-benefice-popup {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.pv-benefice-card.active .pv-benefice-popup {
    max-height: 300px;
}

.pv-benefice-popup p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}

.pv-benefices-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-benefices-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.pv-benefices-cta {
    text-align: center;
}

.pv-benefices-cta .btn {
    margin-top: 0;
    padding: 16px 40px;
    font-size: 17px;
    border-radius: var(--radius-md);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .pv-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .pv-hero-image,
    .pv-hero-right {
        justify-content: center;
        align-items: center;
    }

    .pv-hero-image-container {
        max-width: 400px;
        height: 320px;
    }

    .pv-etape {
        padding: 30px;
    }

    .pv-benefices-layout {
        grid-template-columns: 1fr;
    }

    .pv-benefices-image {
        order: -1;
    }

    .pv-benefices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pv-hero {
        padding: 50px 15px 10px;
    }

    .pv-hero-text h1 {
        font-size: 30px;
    }

    .pv-hero-image-container {
        max-width: 300px;
        height: 260px;
    }

    .pv-section-title-box {
        padding: 14px 22px;
    }

    .pv-section-title-box p {
        font-size: 20px;
    }

    .pv-etapes {
        padding: 30px 15px 60px;
    }

    .pv-etape {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .pv-etape-header h3 {
        font-size: 19px;
    }

    .pv-etape-numero {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 20px;
    }

    .pv-etape-delai {
        display: inline-flex;
        gap: 2px;
        padding: 10px 20px;
        font-size: 14px;
        align-items: center;
        flex-wrap: wrap;
    }

    .pv-recap {
        padding: 60px 15px;
    }

    .pv-recap-img-left,
    .pv-recap-img-right {
        height: 50%;
        opacity: 0.15;
    }

    .pv-recap h2 {
        font-size: 26px;
    }

    .pv-recap-checklist {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .pv-recap-item {
        font-size: 13px;
    }

    .pv-benefices {
        padding: 60px 15px;
    }

    .pv-benefices-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pv-benefice-card {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .pv-hero-text h1 {
        font-size: 26px;
    }

    .pv-etape-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pv-recap-img-left,
    .pv-recap-img-right {
        display: none;
    }

    .pv-recap h2 {
        font-size: 22px;
    }

    .pv-benefices-grid {
        grid-template-columns: 1fr;
    }
}
