@import url("v2-services-mobile.css");

/* ============================================================
   V2-SERVICES.CSS — Page Nos Services AFE
   Navigation directe par métier + cohérence avec la V2 accueil.
   ============================================================ */

.v2-services-page {
    background: #f7f5f2;
}

.v2-services-page .services-v2-hero {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(12,12,12,.88) 0%, rgba(12,12,12,.66) 48%, rgba(12,12,12,.28) 100%),
        url("../assets/images/services-hero.webp");
    background-size: cover;
    background-position: center;
}

.v2-services-page .services-v2-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(transparent, rgba(0,0,0,.34));
}

.v2-services-page .services-v2-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 120px 0 72px;
}

.v2-services-page .services-v2-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #ffb18d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.v2-services-page .services-v2-hero h1 {
    max-width: 760px;
    margin-top: 18px;
    color: #fff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.v2-services-page .services-v2-hero h1 span {
    color: var(--secondary);
}

.v2-services-page .services-v2-hero p {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(255,255,255,.84);
    font-size: 17px;
    line-height: 1.62;
}

.v2-services-page .services-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.v2-services-page .services-v2-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 850;
}

.v2-services-page .services-v2-book {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 10px 25px rgba(225,84,34,.26);
}

.v2-services-page .services-v2-call {
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.09);
    color: #fff;
    backdrop-filter: blur(8px);
}

/* Navigation métiers : les liens sont aussi les cibles des cartes de l'accueil. */
.v2-services-page .services-v2-nav-wrap {
    position: sticky;
    z-index: 80;
    top: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45,35,28,.08);
    background: rgba(250,248,245,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.v2-services-page .services-v2-nav {
    width: min(1180px, 94%);
    margin: 0 auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.v2-services-page .services-v2-nav::-webkit-scrollbar {
    display: none;
}

.v2-services-page .services-v2-nav a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid rgba(42,34,28,.09);
    border-radius: 999px;
    background: #fff;
    color: #3f3934;
    font-size: 12px;
    font-weight: 780;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.v2-services-page .services-v2-nav a:hover,
.v2-services-page .services-v2-nav a:focus-visible {
    color: var(--secondary);
    border-color: rgba(225,84,34,.35);
    transform: translateY(-1px);
}

.v2-services-page .services-v2-main {
    padding: 70px 0 0;
}

.v2-services-page .services-v2-shell {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.v2-services-page .services-v2-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.v2-services-page .services-v2-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.v2-services-page .services-v2-head .section-tag {
    margin-bottom: 12px;
}

.v2-services-page .services-v2-head h2 {
    color: #24211f;
    font-size: clamp(30px, 4.5vw, 45px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.v2-services-page .services-v2-head h2 span {
    color: var(--secondary);
}

.v2-services-page .services-v2-head p {
    margin-top: 12px;
    color: #716a64;
    font-size: 15px;
    line-height: 1.65;
}

.v2-services-page .services-v2-core {
    padding-bottom: 76px;
}

.v2-services-page .service-block {
    scroll-margin-top: 92px;
    margin-bottom: 28px;
    border: 1px solid rgba(45,35,28,.08);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(45,35,28,.07);
}

.v2-services-page .service-block-visual {
    min-height: 390px;
    background: linear-gradient(145deg, #151515 0%, #26201d 100%);
}

.v2-services-page .service-block-visual.orange-bg {
    background: linear-gradient(145deg, #913b1b 0%, var(--secondary) 58%, var(--primary) 100%);
}

.v2-services-page .service-block-visual.vmc-bg {
    background: linear-gradient(145deg, #1a2427 0%, #293d42 100%);
}

.v2-services-page .visual-price {
    margin-top: 3px;
}

.v2-services-page .price-big {
    font-size: 42px;
}

.v2-services-page .service-price-note {
    margin-top: 7px;
    color: rgba(255,255,255,.63);
    font-size: 11px;
    line-height: 1.45;
}

.v2-services-page .service-block-content {
    padding: 38px 36px;
}

.v2-services-page .service-block-content h3 {
    font-size: clamp(25px, 3vw, 31px);
    line-height: 1.15;
}

.v2-services-page .service-block-content > p {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.7;
}

.v2-services-page .service-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.v2-services-page .service-v2-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v2-services-page .service-v2-actions .btn-primary,
.v2-services-page .service-v2-actions .btn-outline {
    margin: 0;
}

/* Contrats */
.v2-services-page .services-v2-contracts {
    scroll-margin-top: 92px;
    padding: 76px 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(225,84,34,.16), transparent 28%),
        #171717;
}

.v2-services-page .services-v2-contracts .services-v2-head h2,
.v2-services-page .services-v2-contracts .services-v2-head p {
    color: #fff;
}

.v2-services-page .services-v2-contracts .services-v2-head p {
    color: rgba(255,255,255,.65);
}

.v2-services-page .contrat-card {
    border-radius: 18px;
}

/* Sécurité : conservée mais volontairement concise. */
.v2-services-page .services-v2-safety {
    padding: 76px 0;
    background: #f3eee8;
}

.v2-services-page .produit-card {
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(45,35,28,.06);
}

/* Bois de chauffage */
.v2-services-page .services-v2-wood {
    scroll-margin-top: 92px;
    padding: 76px 0;
    background: #fff;
}

.v2-services-page .bois-section {
    border-radius: 20px;
    border-color: rgba(45,35,28,.08);
}

.v2-services-page .bois-header {
    background: linear-gradient(130deg, #171717, #29231f);
}

.v2-services-page .wood-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 3px solid var(--secondary);
    border-radius: 0 10px 10px 0;
    background: #fff7f2;
    color: #625b56;
    font-size: 13px;
    line-height: 1.6;
}

/* CTA final */
.v2-services-page .services-v2-final {
    padding: 76px 0 88px;
    background: #f5f2ee;
}

.v2-services-page .services-v2-final-panel {
    position: relative;
    overflow: hidden;
    padding: 46px;
    border-radius: 24px;
    background: linear-gradient(120deg, #181818 0%, #27211e 62%, #5a2716 100%);
    color: #fff;
}

.v2-services-page .services-v2-final-panel::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -110px;
    top: -130px;
    border-radius: 50%;
    background: rgba(225,84,34,.18);
}

.v2-services-page .services-v2-final-panel > * {
    position: relative;
    z-index: 2;
}

.v2-services-page .services-v2-final-panel h2 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.v2-services-page .services-v2-final-panel p {
    max-width: 670px;
    margin-top: 12px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}

/* Footer + actions mobile */
.v2-services-page .v2-footer {
    padding: 0;
    background: #111;
    color: #fff;
}

.v2-services-page .v2-footer-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 42px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.v2-services-page .v2-footer-brand strong {
    display: block;
    font-size: 19px;
}

.v2-services-page .v2-footer-brand span,
.v2-services-page .v2-footer-brand p {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.v2-services-page .v2-footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
    align-content: flex-start;
}

.v2-services-page .v2-footer-actions a,
.v2-services-page .v2-footer-cookie {
    color: rgba(255,255,255,.76);
    font-size: 12px;
}

.v2-services-page .v2-footer-cookie {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

.v2-services-page .v2-footer-bottom {
    padding: 15px 4%;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.42);
    text-align: center;
    font-size: 11px;
}

.v2-services-page .v2-mobile-actions {
    display: none;
}

@media (max-width: 767px) {
    .v2-services-page .services-v2-hero {
        min-height: 560px;
        background-position: 58% center;
    }

    .v2-services-page .services-v2-hero-inner {
        width: 88%;
        padding: 108px 0 54px;
    }

    .v2-services-page .services-v2-hero p {
        font-size: 15px;
    }

    .v2-services-page .services-v2-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .v2-services-page .services-v2-main {
        padding-top: 52px;
    }

    .v2-services-page .service-block {
        scroll-margin-top: 78px;
        border-radius: 18px;
    }

    .v2-services-page .service-block-visual {
        min-height: 320px;
        padding: 30px 22px;
    }

    .v2-services-page .service-block-content {
        padding: 28px 22px;
    }

    .v2-services-page .service-v2-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .v2-services-page .service-v2-actions a {
        width: 100%;
    }

    .v2-services-page .services-v2-contracts,
    .v2-services-page .services-v2-safety,
    .v2-services-page .services-v2-wood {
        padding: 58px 0;
    }

    .v2-services-page .services-v2-final {
        padding: 58px 0 82px;
    }

    .v2-services-page .services-v2-final-panel {
        padding: 34px 24px;
        border-radius: 20px;
    }

    .v2-services-page .v2-footer-inner {
        padding: 34px 0 26px;
        flex-direction: column;
    }

    .v2-services-page .v2-footer-actions {
        justify-content: flex-start;
    }

    .v2-services-page .v2-mobile-actions {
        position: fixed;
        z-index: 500;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
        background: rgba(18,18,18,.92);
        backdrop-filter: blur(10px);
        box-shadow: 0 15px 40px rgba(0,0,0,.28);
    }

    .v2-services-page .v2-mobile-actions a {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 850;
    }

    .v2-services-page .v2-mobile-book {
        background: var(--secondary);
        color: #fff;
    }

    .v2-services-page .v2-mobile-call {
        background: #fff;
        color: #1c1c1c;
    }

    .v2-services-page .v2-footer {
        padding-bottom: 78px;
    }
}
