/* Accueil vitrine — couleurs et typographie du site (vert #83c04a, bleu-vert #10605f) */

.home-btn {
    display: inline-block;
    background: #83c04a;
    color: #10605f;
    padding: 12px 30px;
    font-weight: 600;
    transition: all .4s;
}
.home-btn:hover { background: #10605f; color: #83c04a; text-decoration: none; }
.home-btn-light { background: #fff; }
.home-btn-light:hover { background: #83c04a; color: #fff; }
.home-center { text-align: center; margin-top: 40px; }

.home-title {
    text-align: center;
    font-family: 'Roboto Slab', serif;
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 20px;
}
.home-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }

/* Bandeau principal */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    background: #10605f;
}
.home-hero picture,
.home-hero-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.home-hero-img { object-fit: cover; }
.home-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(16, 96, 95, .9) 0%, rgba(16, 96, 95, .65) 45%, rgba(16, 96, 95, 0) 80%);
}
.home-hero-content { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 60px; color: #fff; }
.home-hero-title {
    max-width: 640px;
    margin: 0 0 20px;
    font-family: 'Roboto Slab', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.home-hero-text { max-width: 560px; margin: 0 0 30px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 15px; }

/* Derniers chantiers */
.home-works { padding: 70px 0; }
.home-works-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-work { position: relative; display: block; overflow: hidden; color: #fff; }
.home-work:hover { color: #fff; text-decoration: none; }
.home-work img { display: block; width: 100%; height: auto; transition: transform .4s; }
.home-work:hover img { transform: scale(1.05); }
.home-work-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 30px 15px 12px;
    background: linear-gradient(0deg, rgba(16, 96, 95, .9), rgba(16, 96, 95, 0));
    font-size: 16px;
    font-weight: 600;
}
.home-work-title::first-letter { text-transform: uppercase; }
.home-work-city { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; }

/* Pourquoi O'TerGreen */
.home-why { padding: 70px 0; background: #f4f8f1; }
.home-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.home-why-item { padding: 30px 25px; background: #fff; border-top: 4px solid #83c04a; }
.home-why-title { margin: 0 0 12px; font-family: 'Roboto Slab', serif; font-size: 22px; font-weight: 700; }
.home-why-item p { margin: 0; font-size: 16px; line-height: 1.5; }

/* Notre entreprise */
.home-about { padding: 70px 0; }
.home-about-text { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.6; }
.home-about-sign { max-width: 820px; margin: 20px auto 0; font-style: italic; }

/* Zone d'intervention */
.home-zone { padding: 70px 0; background: #10605f; color: #fff; }
.home-zone .home-title { color: #fff; }
.home-zone-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-zone-list li { padding: 8px 20px; border: 2px solid #83c04a; font-weight: 600; }
.home-zone + .container { margin-top: 60px; }

@media (max-width: 991px) {
    .home-works-grid { grid-template-columns: repeat(2, 1fr); }
    .home-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .home-hero { align-items: flex-end; min-height: 540px; }
    .home-hero::after { background: linear-gradient(0deg, rgba(16, 96, 95, .95) 0%, rgba(16, 96, 95, .6) 55%, rgba(16, 96, 95, 0) 100%); }
    .home-hero-content { padding-top: 160px; padding-bottom: 40px; }
    .home-hero-title { font-size: 28px; }
    .home-title { font-size: 28px; }
    .home-works, .home-why, .home-about, .home-zone { padding: 50px 0; }
}

@media (max-width: 575px) {
    .home-why-grid { grid-template-columns: 1fr; }
    .home-actions .home-btn { width: 100%; text-align: center; }
}
