:root{
  --bg:#041c1d; --bg2:#062526; --panel:#0a2c2e; --line:#2b5052;
  --text:#f5f7f7; --muted:#c8d2d1; --green:#88c63f; --green2:#6aaa2f; --blue:#45a7ff;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.pebe-home{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif}
.pebe-home a{text-decoration:none}.pebe-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.pebe-header{position:sticky;top:0;z-index:30;background:#031718;border-bottom:1px solid rgba(255,255,255,.08)}
.pebe-nav{min-height:74px;display:flex;align-items:center;gap:30px}.pebe-brand{display:flex;align-items:center;gap:12px;color:#fff;min-width:210px}.pebe-mark{width:42px;height:42px;display:inline-flex}.pebe-mark svg{width:100%;height:100%;fill:none;stroke:var(--green);stroke-width:2.2}.pebe-mark svg path:nth-child(2){stroke:var(--blue)}.pebe-brandtext{display:flex;flex-direction:column;line-height:1}.pebe-brandtext strong{font-size:22px;letter-spacing:.5px}.pebe-brandtext small{font-size:10px;letter-spacing:1.1px;margin-top:6px;color:#d7dfde}.pebe-menu{display:flex;align-items:center;gap:31px;margin-left:auto}.pebe-menu a{color:#fff;font-size:14px;font-weight:600;padding:28px 0 22px}.pebe-menu a.active{color:var(--green);border-bottom:2px solid var(--green)}
.pebe-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:5px;padding:14px 21px;font-size:14px;font-weight:700;transition:.2s}.pebe-btn-primary{background:linear-gradient(135deg,var(--green2),var(--green));color:white}.pebe-btn-primary:hover{filter:brightness(1.06)}.pebe-nav-cta{margin-left:8px;white-space:nowrap}.pebe-burger{display:none;margin-left:auto;background:none;border:0;color:#fff;font-size:28px}
.pebe-hero{position:relative;min-height:650px;overflow:hidden;background:#041b1c}.pebe-hero-bg{position:absolute;inset:0;background:url('hero-building.png') center/cover no-repeat;filter:brightness(.62) saturate(.92)}.pebe-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,23,24,.96) 0%,rgba(3,23,24,.82) 35%,rgba(3,23,24,.30) 69%,rgba(3,23,24,.55) 100%)}
.pebe-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr .58fr;gap:70px;min-height:650px;align-items:center;padding:42px 0 34px}.pebe-hero-copy{max-width:610px}.pebe-eyebrow{color:var(--green);font-size:13px;font-weight:800;letter-spacing:.7px;margin-bottom:8px}.pebe-hero h1{font-size:48px;line-height:1.06;margin:0 0 16px;font-weight:800;letter-spacing:-1px;color:#fff}.pebe-hero h1 span{color:var(--green)}.pebe-hero-copy>p{max-width:570px;color:#f0f4f3;font-size:16px;line-height:1.62;margin:0 0 26px}.pebe-actions{display:flex;gap:16px}.pebe-btn-outline{border:1px solid rgba(85,164,232,.85);color:#fff;background:rgba(1,21,27,.48)}
.pebe-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:38px}.pebe-benefit{text-align:center;color:#fff}.pebe-benefit .pebe-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 12px;width:42px;height:42px;border:2px solid var(--green);border-radius:50%;color:var(--green);font-size:22px}.pebe-benefit .pebe-icon.blue{border-color:var(--blue);color:var(--blue)}.pebe-benefit p{margin:0;font-size:12px;line-height:1.45}
.pebe-steps{align-self:center;background:rgba(7,41,43,.92);border:1px solid rgba(131,176,177,.45);border-radius:8px;padding:30px 28px;box-shadow:0 14px 35px rgba(0,0,0,.26);backdrop-filter:blur(4px)}.pebe-steps h3{margin:0 0 20px;font-size:22px;line-height:1.25}.pebe-steps h3 span{color:var(--blue)}.pebe-step{display:grid;grid-template-columns:34px 1fr;gap:14px;position:relative;padding-bottom:22px}.pebe-step:not(:last-child):before{content:"";position:absolute;left:15px;top:32px;bottom:2px;border-left:1px dashed rgba(255,255,255,.55)}.pebe-step b{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--green);border-radius:50%;color:#fff}.pebe-step strong{display:block;font-size:14px;margin-bottom:5px}.pebe-step p{margin:0;color:#d5dddd;font-size:12px;line-height:1.5}
.pebe-section{padding:38px 0 32px;background:linear-gradient(180deg,#052321,#062823)}.pebe-section-head{display:flex;justify-content:space-between;gap:80px;align-items:end;margin-bottom:24px}.pebe-section h2{font-size:30px;line-height:1.18;margin:0;color:#fff}.pebe-section-head>p{max-width:620px;margin:0 0 8px;color:#e2e9e8;font-size:14px;line-height:1.55}.pebe-underline{display:block;width:45px;height:2px;background:var(--green);margin-top:10px}
.pebe-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.pebe-card{min-height:225px;border:1px solid #2b5452;border-radius:6px;padding:20px 18px;background:rgba(10,46,45,.52)}.pebe-card-icon{display:flex;align-items:center;justify-content:center;width:55px;height:55px;border-radius:50%;background:rgba(132,198,63,.12);color:var(--green);font-size:30px;margin-bottom:13px}.pebe-card-icon.blue{background:rgba(69,167,255,.13);color:var(--blue)}.pebe-card h3{font-size:18px;margin:0 0 14px}.pebe-card p{font-size:13px;line-height:1.55;color:#d9e1df;min-height:64px}.pebe-card a{color:var(--green);font-size:13px;font-weight:700}.pebe-card a.blue-link{color:var(--blue)}
.pebe-reviews{background:linear-gradient(180deg,#062823,#03201f);padding-top:28px}.pebe-center{text-align:center}.pebe-center .pebe-underline{margin:9px auto 22px}.pebe-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.pebe-review{border:1px solid #2b5354;border-radius:6px;padding:19px 20px;background:rgba(12,45,47,.58);min-height:170px}.stars{color:var(--green);letter-spacing:2px;font-size:18px}.blue-stars{color:var(--blue)}.pebe-review blockquote{margin:13px 0 16px;color:#f4f6f5;font-size:13px;line-height:1.55;font-style:italic}.pebe-review strong,.pebe-review small{display:block}.pebe-review small{color:#b9c8c5;margin-top:3px}
.pebe-cta{background:linear-gradient(90deg,#447f18 0%,#05606f 52%,#064f7f 100%);padding:24px 0}.pebe-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.pebe-cta .pebe-eyebrow{margin:0 0 3px}.pebe-cta h2{font-size:25px;margin:0}.pebe-cta p{margin:3px 0 0;font-size:13px}.pebe-btn-blue{background:#1478c5;color:#fff;min-width:220px}
.pebe-footer{background:#031718;padding:24px 0 12px;border-top:1px solid rgba(255,255,255,.08)}.pebe-footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1.05fr 1.05fr;gap:45px}.pebe-brand-foot{margin-bottom:12px}.pebe-footer p,.pebe-footer a{display:block;color:#bdcac7;font-size:12px;line-height:1.6;margin:2px 0}.pebe-footer h4{color:var(--green);font-size:12px;margin:4px 0 10px}.pebe-footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:18px;padding-top:11px;display:flex;justify-content:space-between;color:#81918e;font-size:11px}
@media(max-width:980px){.pebe-menu,.pebe-nav-cta{display:none}.pebe-burger{display:block}.pebe-menu.open{display:flex;position:absolute;top:74px;left:0;right:0;background:#031718;flex-direction:column;gap:0;padding:16px 28px}.pebe-menu.open a{padding:12px 0}.pebe-hero-grid{grid-template-columns:1fr;gap:24px;padding:55px 0}.pebe-steps{max-width:520px}.pebe-benefits{grid-template-columns:repeat(2,1fr)}.pebe-cards{grid-template-columns:repeat(2,1fr)}.pebe-review-grid{grid-template-columns:1fr}.pebe-section-head{align-items:start;flex-direction:column;gap:18px}.pebe-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.pebe-wrap{width:min(100% - 30px,1180px)}.pebe-hero{min-height:auto}.pebe-hero-grid{min-height:auto}.pebe-hero h1{font-size:39px}.pebe-actions{flex-direction:column;align-items:stretch}.pebe-benefits{grid-template-columns:1fr 1fr}.pebe-cards{grid-template-columns:1fr}.pebe-cta-inner{align-items:flex-start;flex-direction:column}.pebe-footer-grid{grid-template-columns:1fr}.pebe-footer-bottom{flex-direction:column;gap:8px}}

/* ===== ALIGNEMENT CARTES SERVICES ===== */

#services .pebe-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

#services .pebe-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Le texte prend l'espace disponible */
#services .pebe-card p {
    flex-grow: 1;
}

/* Tous les liens restent exactement en bas */
#services .pebe-card > a {
    margin-top: auto !important;
    align-self: flex-start;
    color: #8BCF3F !important;
}

/* Même couleur après visite */
#services .pebe-card > a:visited {
    color: #8BCF3F !important;
}

/* Survol */
#services .pebe-card > a:hover {
    color: #A8E85A !important;
}

/* ==================================================
   RESPONSIVE FINAL - SERVICES PEB E&E
   NE RIEN AJOUTER APRES CE BLOC POUR LES SERVICES
   ================================================== */

@media screen and (max-width: 980px) {
    #services .pebe-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 620px) {

    #services .pebe-cards {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 18px !important;
    }

    #services .pebe-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 280px !important;
        box-sizing: border-box !important;
    }

    #services .pebe-card h3 {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    #services .pebe-card p {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    #services .pebe-card > a {
        margin-top: auto !important;
    }
}

/* ==========================================
   FORMULAIRE DEVIS
   ========================================== */

.pebe-contact-form-section {
    padding: 80px 20px;
}

.pebe-contact-form {
    max-width: 900px;
    margin: 40px auto 0;
    background: #0a3b37;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 32px;
}

.pebe-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pebe-field-full {
    grid-column: 1 / -1;
}

.pebe-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.pebe-contact-form input,
.pebe-contact-form select,
.pebe-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: #082f2d;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.pebe-contact-form textarea {
    resize: vertical;
}

.pebe-submit-btn {
    margin-top: 24px;
}

.pebe-form-success {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 16px 20px;
    border-radius: 8px;
    background: rgba(139,207,63,0.15);
    border: 1px solid rgba(139,207,63,0.45);
    color: #fff;
}

/* Mobile */
@media screen and (max-width: 620px) {

    .pebe-contact-form {
        padding: 22px 18px;
    }

    .pebe-form-grid {
        grid-template-columns: 1fr;
    }

    .pebe-field-full {
        grid-column: auto;
    }

    .pebe-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Correction hauteur du champ Prestation */
.pebe-contact-form select {
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 42px 0 16px !important;
    line-height: 52px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    background-color: #082f2d !important;
}