/* =========================================================
   PAGE D'ACCUEIL : habillage charte enerev
   Chargé APRÈS consumer2.css : ne change que les couleurs, fonds, cartes et rythme des sections.
   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 au scroll :
   bandeau pâle > blanc > crème > vert nuit > blanc > vert pâle > crème > vert pâle (carte) > blanc > crème > blanc > vert nuit (CTA)
   ========================================================= */

body {
    color: #4A5350 !important;
    background: #fff;
}

h1, h2, h3 {
    letter-spacing: -0.01em;
}

section p,
section li {
    color: #4A5350;
}

/* ================= TITRES DE SECTION ================= */
.section-header {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
}

.section-header h2 {
    color: #0A5048;
}

/* ================= BOUTONS ================= */
.btn-green {
    background: #0D8A7E;
    border-color: #0D8A7E;
}

.btn-green:hover {
    color: #0D8A7E;
}

.btn-green::before {
    background: #F7F3EA;
}

.btn-crema {
    color: #0D8A7E;
    background: #fff;
    border: 1px solid #0D8A7E;
}

.btn-crema::before {
    background: #0D8A7E;
}

.btn-crema:hover {
    color: #fff;
}

/* ================= BANDEAU D'ACCUEIL ================= */
.hero {
    background: linear-gradient(180deg, #F0F8F6 0%, #fff 100%);
    border-bottom: 1px solid #CFE6E1;
}

.hero-slogan {
    color: #0A5048;
}

.hero-subtitle {
    display: block;
    margin-top: 1rem;
    padding: 0;
    color: #0B2B29;
    background: none;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.45;
    text-transform: uppercase;
}

.hero-lead {
    color: #4A5350;
}

.hero-visual img {
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(11, 43, 41, 0.18);
}

.hero-rating {
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

a.hero-rating {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    transition: transform 0.25s ease;
}

a.hero-rating:hover {
    transform: translateY(-2px);
}

a.hero-rating:hover .rating-score {
    text-decoration: underline;
}

.rating-score {
    color: #0A5048;
}

.stars {
    color: #F5A623;
}

.hero-trust {
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 2rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(11, 43, 41, 0.07);
}

.ul-hero-trust {
    margin-top: 0;
}

/* ================= POURQUOI LE SOLAIRE ================= */
.energy {
    background: #fff;
}

.energy-image img {
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(11, 43, 41, 0.14);
}

.energy-benefits li {
    padding: 0.6rem 0;
    color: #1B1C1A;
    font-weight: 600;
}

.energy-benefits__icon-wrapper {
    background: #CFE6E1;
}

/* ================= NOS SOLUTIONS ================= */
.solutions {
    background: #F7F3EA;
    border-top: 1px solid #E4DED3;
    border-bottom: 1px solid #E4DED3;
}

.solution {
    padding: 2.25rem;
    margin-bottom: 2rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(11, 43, 41, 0.06);
}

.solution:last-child {
    margin-bottom: 0;
}

.solution-content h3 {
    color: #0A5048;
}

.solution-content p {
    text-align: left;
    color: #4A5350;
}

.solution-image img {
    border-radius: 18px;
}

/* ================= ENGAGEMENTS (bandeau vert nuit) ================= */
.commitments {
    background: #0B2B29;
}

.commitments .section-header h2 {
    color: #fff;
}

.commitment {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 211, 194, 0.28);
    border-radius: 18px;
}

.commitment h3 {
    color: #63D3C2;
}

.commitment p {
    color: #CFE6E1;
    text-align: left;
}

.commitment a {
    color: #63D3C2;
    text-decoration: underline;
}

.commitments .btn-green {
    background: #63D3C2;
    border-color: #63D3C2;
    color: #0B2B29;
}

.commitments .btn-green::before {
    background: #fff;
}

.commitments .btn-green:hover {
    color: #0A5048;
}

/* ================= MISSION ================= */
.mission {
    background: #fff;
}

.mission-content h2 {
    color: #0A5048;
}

.mission-content p {
    color: #4A5350;
}

.mission-image img {
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(11, 43, 41, 0.14);
}

/* ================= AVIS CLIENTS ================= */
.reviews {
    background: #F0F8F6;
    background-image: none;
    border-top: 1px solid #CFE6E1;
    border-bottom: 1px solid #CFE6E1;
}

#reviews-blur {
    display: none;
}

#title-reviews {
    color: #0A5048;
}

.review {
    position: relative;
    padding: 2.25rem 2rem 1.75rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(11, 43, 41, 0.06);
}

.review::before {
    content: "\201C";
    position: absolute;
    top: 0.1rem;
    left: 1.25rem;
    color: #63D3C2;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.review p {
    height: auto;
    margin-top: 0.75rem;
    color: #4A5350;
}

.review-author {
    display: block;
    margin-top: 1rem;
    color: #0D8A7E;
    font-weight: 700;
}

/* ================= RÉALISATIONS (carrousel) ================= */
.projects-carousel {
    background: #F7F3EA;
    border-top: 1px solid #E4DED3;
    border-bottom: 1px solid #E4DED3;
}

/* ================= PROCESSUS ================= */
.process {
    background: #fff;
}

.process-steps::before {
    height: 2px;
    background: #CFE6E1;
}

.point-step {
    color: #fff;
    background: #0D8A7E;
    box-shadow: 0 0 0 5px #CFE6E1;
}

.txt-step {
    color: #0A5048;
}

.time-step {
    color: #4A5350;
}

#process-details {
    color: #6D7370;
}

/* ================= FAQ ================= */
.faq {
    background: #F7F3EA;
    border-top: 1px solid #E4DED3;
    border-bottom: 1px solid #E4DED3;
}

.accordion {
    max-width: 920px;
}

.accordion-item {
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E4DED3 !important;
    border-radius: 14px !important;
}

.accordion-button {
    color: #0A5048;
    background: #fff;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: #0D8A7E !important;
    background-color: #F0F8F6 !important;
}

.accordion-body,
.accordion-body a {
    color: #4A5350;
}

.accordion-body a {
    color: #0D8A7E;
    font-weight: 600;
    text-decoration: underline;
}

.faq-more a {
    color: #0D8A7E;
}

/* ================= DERNIERS ARTICLES ================= */
.latest-articles {
    background: #fff;
}

.latest-articles__eyebrow {
    color: #0D8A7E;
}

.latest-articles__intro {
    color: #4A5350;
}

.article-card {
    border: 1px solid #E4DED3;
    box-shadow: 0 8px 24px rgba(11, 43, 41, 0.06);
}

.article-card:hover {
    border-color: #63D3C2;
}

.article-card__title {
    color: #0A5048;
}

.article-card__excerpt {
    color: #4A5350;
}

.article-card__read-more {
    color: #0D8A7E;
}

/* ================= BANDEAU FINAL ================= */
.cta-band h2 {
    color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 767px) {
    .solution {
        padding: 1.25rem;
    }

    .hero-trust {
        padding: 1rem;
    }

    .hero-trust .ul-hero-trust {
        gap: 1rem;
    }
}

/* ================= NOS ÉQUIPES DE POSE ================= */
.crew {
    background: #F7F3EA;
    border-top: 1px solid #E4DED3;
    border-bottom: 1px solid #E4DED3;
}

.crew__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 3rem;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto 3rem;
}

.crew__intro {
    text-align: left;
}

.crew__badge {
    display: block;
    justify-self: center;
    width: 100%;
    max-width: 340px;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(11, 43, 41, 0.16);
    transform: rotate(-5deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.crew__badge:hover {
    transform: rotate(-2deg) scale(1.03);
    box-shadow: 0 22px 48px rgba(11, 43, 41, 0.2);
}

.crew__badge img {
    display: block;
    width: 100%;
    height: auto;
}

.crew__eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    color: #0D8A7E;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.crew__header h2 {
    margin-bottom: 1rem;
    color: #0A5048;
}

.crew__header p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.crew__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.crew__item {
    padding: 2rem 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid #E4DED3;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(11, 43, 41, 0.06);
}

.crew__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    color: #0A5048;
    background: #CFE6E1;
    border-radius: 16px;
    font-size: 1.5rem;
}

.crew__icon--zero {
    color: #0B2B29;
    background: #63D3C2;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.crew__item h3 {
    margin: 0 0 0.6rem;
    color: #0A5048;
    font-size: 1.15rem;
    line-height: 1.3;
}

.crew__item p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.65;
}

@media (max-width: 1099px) {
    .crew__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .crew__intro {
        text-align: center;
    }

    .crew__badge {
        max-width: 280px;
    }

    .crew__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .crew__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Pourquoi « ingénieurs-artisans » */
.crew__why {
    margin-top: 3.5rem;
    padding: 3rem 2.5rem;
    background: #0B2B29;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(11, 43, 41, 0.22);
}

.crew__why-intro {
    max-width: 780px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.crew__why-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    color: #63D3C2;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.crew__why-intro h3 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.25;
}

.crew__why-intro p {
    margin: 0;
    color: #CFE6E1;
    font-size: 1.05rem;
    line-height: 1.7;
}

.crew__why-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.crew__why-col {
    padding: 1.75rem 1.75rem 1.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(99, 211, 194, 0.28);
    border-radius: 18px;
}

.crew__why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    color: #0B2B29;
    background: #63D3C2;
    border-radius: 14px;
    font-size: 1.3rem;
}

.crew__why-col h4 {
    margin: 0 0 0.6rem;
    color: #63D3C2;
    font-size: 1.2rem;
    font-weight: 600;
}

.crew__why-col p {
    margin: 0;
    color: #CFE6E1;
    font-size: 1rem;
    line-height: 1.65;
}

.crew__why-outro {
    max-width: 780px;
    margin: 2rem auto 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 767px) {
    .crew__why {
        padding: 2rem 1.25rem;
    }

    .crew__why-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Terme distinctif enerev : « ingénieurs-artisans™ » */
.brand-ia {
    color: #0D8A7E;
    font-weight: 700;
    white-space: nowrap;
}

.brand-ia sup,
.crew__why-eyebrow sup {
    margin-left: 0.1em;
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 0;
    vertical-align: super;
}

.crew__why-intro .brand-ia {
    color: #63D3C2;
}
/* =========================================================
   RÈGLE DES FONDS (prioritaire : placée en dernier)
   - Les sections se suivent en alternant BLANC et CRÈME ;
   - le VERT NUIT est réservé aux temps forts : les engagements, le bloc « ingénieurs-artisans™ » et le bandeau final ;
   - sur fond blanc, les cartes sont crème ; sur fond crème, les cartes sont blanches ;
   - aucun autre fond de section (le vert pâle sert seulement aux petits éléments : icônes, survols).
   Ordre : bandeau blanc > pourquoi crème > solutions blanc > engagements NUIT > équipes de pose blanc
           > mission crème > avis blanc > réalisations crème > carte blanc > processus crème
           > FAQ blanc > articles crème > bandeau final NUIT
   ========================================================= */
.hero { background: #fff; border-bottom: 0; }
.energy { background: #F7F3EA; }
.solutions { background: #fff; border: 0; }
.solution { background: #F7F3EA; border-color: #E4DED3; box-shadow: none; }
.commitments { background: #0B2B29; }
.crew { background: #fff; border: 0; }
.crew__item { background: #F7F3EA; box-shadow: none; }
.mission { background: #F7F3EA; }
.reviews { background: #fff; border: 0; }
.review { background: #F7F3EA; box-shadow: none; }
.projects-carousel { background: #F7F3EA; border: 0; }
.rmap { background: #fff; border: 0; }
.process { background: #F7F3EA; }
.faq { background: #fff; border: 0; }
.accordion-item { background: #F7F3EA; }
.accordion-button { background: #F7F3EA; }
.accordion-button:not(.collapsed) { background-color: #fff !important; }
.latest-articles { background: #F7F3EA; }
.cta-band { background: #0B2B29; }
/* Lien « ingénieurs-artisans™ » du bandeau vers le bloc explicatif */
html {
    scroll-behavior: smooth;
}

a.brand-ia {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #63D3C2;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a.brand-ia:hover {
    color: #0A5048;
    text-decoration-color: #0D8A7E;
}

.crew__why {
    scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}