/* =========================================================
   PAGES SOLUTIONS (panneaux, batterie, borne, autoconsommation collective)
   Habillage charte enerev. Chargé APRÈS la feuille de la page et home-charte.css.
   Vert nuit #0B2B29 · Vert titres #0A5048 · Vert enerev #0D8A7E · Turquoise #63D3C2
   Vert d'eau #CFE6E1 · Vert pâle #F0F8F6 · Crème #F7F3EA · Sable #E4DED3
   Encre #1B1C1A · Gris ardoise #4A5350 · Gris doux #6D7370

   Rythme des fonds (alternance blanc / crème, vert nuit aux temps forts) :
   - panneaux : en-tête blanc > avantages NUIT > produits blanc > étapes crème > avis blanc
                > réalisations crème > FAQ blanc > bandeau final NUIT
   - batterie : en-tête blanc > avantages NUIT > onduleurs blanc > batteries crème > étapes blanc
                > avis crème > réalisations blanc > FAQ crème > bandeau final NUIT
   - borne    : en-tête blanc > avantages NUIT > produits blanc > étapes crème > avis blanc
                > réalisations crème > FAQ blanc > bandeau final NUIT
   - autoconsommation collective : en-tête blanc > définition crème > mise en place NUIT
                > projets blanc > pourquoi enerev crème > FAQ blanc > bandeau final NUIT
   ========================================================= */

/* ================= EN-TÊTE (comme l'accueil, plus compact) ================= */
.sol-page .hero {
    padding: 2.25rem 0 1.5rem;
    background: #fff;
    border: 0;
}

.sol-page .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
}

.sol-page .hero-title {
    margin: 0 0 0.6rem;
    color: #0A5048;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.sol-page .hero-tagline {
    margin: 0 0 0.9rem;
    color: #0D8A7E;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.sol-page .hero-text {
    margin: 0 0 0.9rem;
    color: #4A5350;
    font-size: 1rem;
    line-height: 1.6;
}

.sol-page .hero-content > p:not([class]) {
    margin: 0 0 1.25rem;
    color: #4A5350;
}

.sol-page .hero-actions {
    margin-top: 1.4rem;
}

.sol-page .hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(11, 43, 41, 0.18);
}

.sol-page .hero-trust {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
}

.sol-page .hero-trust .ul-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 8vw, 8rem);
    margin: 0;
}

.sol-page .hero-trust li {
    width: 100%;
    max-width: 150px;
}

.sol-page .hero-trust li.logo-opqibi {
    max-width: 110px;
}

.sol-page .hero-trust img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    .sol-page .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ================= AVANTAGES / MISE EN PLACE (vert nuit) ================= */
.sol-page .commitments {
    padding-bottom: 4.5rem;
    background: #0B2B29;
}

/* cartes : version A (vert pâle sur vert nuit, contraste texte 7,4 / titre 8,6) */
.sol-page .commitment {
    background: #F0F8F6;
    border: 1px solid #CFE6E1;
    border-radius: 18px;
}

.sol-page .commitment .hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.sol-page .commitment h3 {
    color: #0A5048;
}

.sol-page .commitment p,
.sol-page .commitment li {
    color: #4A5350;
    text-align: left;
}
.sol-page .commitments .section-header h2 {
    color: #fff;
}

.sol-page .commitments ul {
    padding-left: 1.2rem !important;
    list-style: disc;
}

/* ================= AVIS : plus de photo floue, cartes crème ================= */
.sol-page .reviews {
    background: #fff;
    background-image: none;
}

.sol-page #reviews-blur {
    display: none;
}

.sol-page #h2-confiance,
.sol-page #h3-confiance {
    color: #0A5048;
}

.sol-page .review {
    background: #F7F3EA;
    border: 1px solid #E4DED3;
    border-radius: 18px;
}

.sol-page .review p {
    height: auto;
    color: #1B1C1A;
}

.sol-page .review-author {
    color: #0D8A7E;
    font-weight: 700;
}

/* ================= FAQ ================= */
.sol-page .faq {
    border: 0;
}

/* ================= FONDS PAR PAGE ================= */
/* panneaux et borne */
.sol-ps .solar-carousel,
.sol-br .solar-carousel { background: #fff; }
.sol-ps .process,
.sol-br .process { background: #F7F3EA; }
.sol-ps .reviews,
.sol-br .reviews { background: #fff; }
.sol-ps .projects-carousel,
.sol-br .projects-carousel { background: #F7F3EA; border: 0; }
.sol-ps .faq,
.sol-br .faq { background: #fff; }

/* batterie (deux carrousels de produits : voir plus bas) */
.sol-bs .process { background: #fff; }
.sol-bs .reviews { background: #F7F3EA; }
.sol-bs .projects-carousel { background: #fff; border: 0; }
.sol-bs .faq { background: #F7F3EA; }

/* autoconsommation collective */
.sol-ac .energy { background: #F7F3EA; }
.sol-ac #projets-ac { background: #fff; }
.sol-ac .mission:not(#projets-ac) { background: #F7F3EA; }
.sol-ac .faq { background: #fff; }
.sol-ac .energy-image img,
.sol-ac .mission-image img {
    border-radius: 18px;
}

/* fiches produits : cartes blanches sur fond crème, crème sur fond blanc */
.sol-page .solar-slide {
    border-color: #E4DED3;
}

/* ================= FICHES PRODUITS ================= */
.sol-page .solar-carousel {
    padding: 4.5rem 0;
}

.sol-page .solar-carousel__heading {
    display: block;
    margin-bottom: 2.5rem;
    text-align: center;
}

.sol-page .solar-carousel__heading h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #0A5048;
}

/* pastilles : couleurs de la charte (or pour la TVA, vert titres pour le bas carbone) */
.sol-page .solar-sticker {
    color: #1B1C1A;
    background: #F5A623;
}

.sol-page .solar-sticker--carbon {
    color: #fff;
    background: #0A5048;
}

.sol-page .hero-actions .btn-lg {
    width: auto;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
}

/* ================= PAGE BORNE : bloc prix ================= */
.sol-page .bprice {
    padding: 4rem 0;
    background: #F7F3EA;
    border-top: 1px solid #E4DED3;
}

.bprice__lead {
    margin: 0.6rem 0 0;
    color: #4A5350;
}

.bprice__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.75rem;
    align-items: stretch;
    margin-top: 2rem;
}

.bprice__offer {
    padding: 2rem;
    color: #CFE6E1;
    background: #0B2B29;
    border-radius: 18px;
}

.bprice__eyebrow {
    display: block;
    color: #63D3C2;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sol-page .bprice__from {
    margin: 1rem 0 0;
    color: #CFE6E1;
    font-size: 0.95rem;
}

.sol-page .bprice__amount {
    margin: 0 0 0.75rem;
    color: #63D3C2;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
}

.bprice__amount small {
    font-size: 0.4em;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sol-page .bprice__desc {
    color: #fff;
}

.bprice__checks {
    margin: 1rem 0;
    padding: 1rem 0 0 !important;
    border-top: 1px solid rgba(207, 230, 225, 0.2);
    list-style: none;
}

.sol-page .bprice__checks li {
    margin-bottom: 0.4rem;
    color: #fff;
}

.bprice__checks i {
    margin-right: 0.6rem;
    color: #63D3C2;
}

.sol-page .bprice__other {
    margin: 0;
    color: #CFE6E1;
    font-size: 0.95rem;
}

.bprice__compare {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bprice__table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 14px;
}

.bprice__table th,
.bprice__table td {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #E4DED3;
    color: #4A5350;
    font-size: 0.95rem;
    text-align: left;
    vertical-align: top;
}

.bprice__table thead th {
    color: #fff;
    background: #0A5048;
    border-bottom: 0;
}

.bprice__table tbody th {
    color: #0A5048;
    font-weight: 600;
}

.bprice__table tbody tr:nth-child(even) th,
.bprice__table tbody tr:nth-child(even) td {
    background: #F0F8F6;
}

.bprice__table tbody tr:last-child th,
.bprice__table tbody tr:last-child td {
    border-bottom: 0;
}

.sol-page .bprice__note {
    margin: 0.25rem 0 0;
    color: #6D7370;
    font-size: 0.9rem;
}

.sol-page .bprice__legal {
    margin: 1.5rem 0 0;
    color: #6D7370;
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 900px) {
    .bprice__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .bprice__offer {
        padding: 1.4rem 1.1rem;
    }

    .bprice__table th,
    .bprice__table td {
        padding: 0.6rem 0.55rem;
        font-size: 0.85rem;
    }
}

/* ================= PAGE BATTERIE : fiches produits ================= */
.sol-bs .solar-carousel { background: #fff; }
.sol-bs .solar-carousel + .solar-carousel { background: #F7F3EA; }

/* fond derrière l'équipement : vert enerev */
.sol-bs .solar-slide__visual {
    background: #0D8A7E;
}
/* ================= MENUS DÉROULANTS (fiches produits, hypothèses de calcul) ================= */
.solar-details,
.bprice__details {
    margin: 0.9rem 0 1.2rem;
}

.solar-details > summary,
.bprice__details > summary {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #0A5048;
    background: #F0F8F6;
    border: 1px solid #CFE6E1;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.solar-details > summary::-webkit-details-marker,
.bprice__details > summary::-webkit-details-marker {
    display: none;
}

.solar-details > summary::after,
.bprice__details > summary::after {
    content: "+";
    color: #0D8A7E;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
}

.solar-details[open] > summary::after,
.bprice__details[open] > summary::after {
    content: "−";
}

.solar-details > summary:hover,
.bprice__details > summary:hover {
    background: #fff;
    border-color: #0D8A7E;
}

.solar-details > summary:focus-visible,
.bprice__details > summary:focus-visible {
    outline: 3px solid rgba(13, 138, 126, 0.35);
    outline-offset: 2px;
}

.solar-details .solar-specs {
    margin-top: 1rem;
}

.bprice__details .bprice__note {
    margin-top: 0.75rem;
}

.solar-details .solar-specs--more {
    margin-top: 1rem;
}

.solar-specs--main {
    margin-top: 0.4rem;
}

/* page borne : 4 étapes au lieu de 5 */
@media (min-width: 769px) {
    .sol-br .process-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 880px;
    }
}

.sol-br #process-details {
    text-align: center;
}

/* Chiffres importants des fiches prix : plus grands et plus gras (demande du 2026-10-13) */
.sol-page .bprice__amount {
    font-size: clamp(3rem, 6vw, 4.2rem);
    font-weight: 800;
}

.sol-page .bprice__amount small {
    font-size: 0.36em;
    font-weight: 800;
}

.sol-page .bprice__from {
    font-size: 1.05rem;
    font-weight: 700;
}

.bprice__table tbody tr:first-child td {
    color: #0A5048;
    font-size: 1.15rem;
    font-weight: 800;
}

/* Boutons « Demander mon étude gratuite » des cartes produits (panneaux, onduleurs, batteries, bornes) : version compacte */
.solar-slide a.js-cta-simulateur.solar-slide__cta:not(.nav-wrapper > *) {
    gap: 0.6rem !important;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem !important;
    border-width: 1.5px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(11, 43, 41, 0.2);
    font-size: 0.92rem !important;
}

.solar-slide a.js-cta-simulateur.solar-slide__cta:not(.nav-wrapper > *)::before,
.solar-slide a.js-cta-simulateur.solar-slide__cta:not(.nav-wrapper > *):hover::before {
    flex: 0 0 32px;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
}

.solar-slide a.js-cta-simulateur.solar-slide__cta:not(.nav-wrapper > *)::after {
    margin-left: 0.1rem;
    font-size: 0.95rem;
}

/* Autoconsommation collective – projets : photo à gauche, tout le texte dans la colonne de droite */
.sol-ac #projets-ac .mission-content--projet p {
    text-align: left;
}

.sol-ac #projets-ac #enerev-bierville {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E4DED3;
    text-align: left;
}
