/* =========================================================
   COMIT TRAVAUX
   PAGE ÉLECTRICITÉ
   CSS SPÉCIFIQUE
   ========================================================= */


.electricite-page {

    --elec-navy: #03283f;
    --elec-navy-dark: #021b2b;
    --elec-green: #20e879;
    --elec-green-dark: #12c964;
    --elec-blue: #0878f9;
    --elec-white: #ffffff;
    --elec-light: #f6f8fa;
    --elec-border: #dce4ea;
    --elec-text: #587086;
    --elec-dark: #142d43;

    color: var(--elec-dark);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.elec-container {

    width: min(1240px, calc(100% - 60px));

    margin: 0 auto;
}


/* =========================================================
   LABEL
   ========================================================= */

.elec-label {

    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 18px;

    color: var(--elec-green);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.elec-label span {

    width: 38px;
    height: 2px;

    background: var(--elec-green);
}

.elec-label-green {

    color: var(--elec-green);
}


/* =========================================================
   BOUTONS
   ========================================================= */

.elec-btn {

    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    padding: 0 27px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.elec-btn span {

    font-size: 20px;

    transition: transform .3s ease;
}

.elec-btn:hover {

    transform: translateY(-3px);
}

.elec-btn:hover span {

    transform: translateX(5px);
}

.elec-btn-green {

    background: var(--elec-green);

    color: #03283f;
}

.elec-btn-green:hover {

    background: #35f28a;
}

.elec-btn-outline {

    border: 1px solid rgba(255,255,255,.55);

    color: #fff;

    background: rgba(0,0,0,.08);
}

.elec-btn-outline:hover {

    border-color: var(--elec-green);

    color: var(--elec-green);
}


/* =========================================================
   HERO
   ========================================================= */

.elec-hero {

    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--elec-navy-dark);
}

.elec-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(2,25,40,.98) 0%,
            rgba(2,25,40,.90) 38%,
            rgba(2,25,40,.50) 67%,
            rgba(2,25,40,.12) 100%
        );
}

.elec-hero-images {

    position: absolute;

    inset: 0;

    z-index: 1;
}

.hero-image {

    position: absolute;

    background-size: cover;
    background-position: center;
}

.hero-image-1 {

    inset: 0 28% 0 30%;

    background-image:
        url("../../images/electricite/hero.jpg");

    clip-path: polygon(
        15% 0,
        100% 0,
        84% 100%,
        0 100%
    );
}

.hero-image-2 {

    top: 8%;
    right: 0;

    width: 31%;
    height: 48%;

    background-image:
        url("../../images/electricite/services/03-tableaux-electriques/01.jpg");

    clip-path: polygon(
        22% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.hero-image-3 {

    right: 0;
    bottom: 0;

    width: 34%;
    height: 50%;

    background-image:
        url("../../images/electricite/services/04-distribution-electrique/01.jpg");

    clip-path: polygon(
        17% 0,
        100% 0,
        100% 100%,
        0 100%
    );
}

.elec-hero-content {

    position: relative;

    z-index: 4;

    padding-top: 70px;
}

.elec-hero h1 {

    max-width: 800px;

    margin: 0 0 25px;

    color: #fff;

    font-size: clamp(50px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 850;
}

.elec-hero h1 strong {

    color: var(--elec-green);
}

.elec-hero-content > p {

    max-width: 650px;

    margin: 0 0 35px;

    color: rgba(255,255,255,.82);

    font-size: 17px;

    line-height: 1.7;
}

.elec-hero-buttons {

    display: flex;

    gap: 18px;
}


/* =========================================================
   HERO BENEFITS
   ========================================================= */

.elec-hero-benefits {

    position: absolute;

    z-index: 5;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 27px 0;

    background:
        rgba(1,26,42,.82);

    border-top:
        1px solid rgba(255,255,255,.10);
}

.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;
}

.benefit-item {

    display: flex;

    align-items: center;

    gap: 15px;

    color: #fff;
}

.benefit-icon {

    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid var(--elec-green);

    border-radius: 50%;

    color: var(--elec-green);

    font-size: 22px;
}

.benefit-item strong {

    display: block;

    margin-bottom: 5px;

    font-size: 13px;

    letter-spacing: .5px;
}

.benefit-item small {

    display: block;

    max-width: 200px;

    color: rgba(255,255,255,.58);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   EXPERTISE
   ========================================================= */

.elec-expertise {

    padding: 110px 0;

    background: #fff;
}

.expertise-grid {

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    gap: 70px;

    align-items: center;
}

.expertise-text h2 {

    max-width: 720px;

    margin: 0 0 25px;

    color: var(--elec-dark);

    font-size: clamp(40px, 4.3vw, 62px);

    line-height: 1.02;

    letter-spacing: -2px;
}

.expertise-text > p {

    max-width: 720px;

    margin: 0 0 35px;

    color: var(--elec-text);

    font-size: 16px;

    line-height: 1.8;
}

.expertise-items {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.expertise-item {

    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.expertise-icon {

    width: 60px;
    height: 60px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--elec-border);

    color: var(--elec-green);

    font-size: 23px;
}

.expertise-item strong {

    display: block;

    margin: 5px 0 5px;

    color: var(--elec-dark);

    font-size: 12px;
}

.expertise-item small {

    display: block;

    color: var(--elec-text);

    font-size: 10px;

    line-height: 1.5;
}


/* IMAGE EXPERTISE */

.expertise-visual {

    position: relative;

    min-height: 520px;
}

.expertise-visual > img {

    width: 100%;
    height: 520px;

    display: block;

    object-fit: cover;
}

.expertise-card {

    position: absolute;

    right: -30px;
    bottom: -35px;

    width: 255px;

    padding: 30px;

    background: var(--elec-navy);

    color: #fff;

    box-shadow:
        0 20px 50px rgba(0,0,0,.15);
}

.expertise-card-title {

    font-size: 18px;

    line-height: 1.4;

    font-weight: 700;
}

.expertise-card-line {

    width: 45px;
    height: 3px;

    margin: 18px 0;

    background: var(--elec-green);
}

.expertise-card-item {

    display: flex;

    gap: 12px;

    margin-top: 16px;
}

.expertise-card-item > span {

    color: var(--elec-green);
}

.expertise-card-item strong {

    display: block;

    font-size: 12px;
}

.expertise-card-item small {

    display: block;

    color: rgba(255,255,255,.60);

    font-size: 10px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.elec-services {

    padding: 105px 0;

    background: var(--elec-navy);
    color: #fff;
}

.services-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 60px;

    margin-bottom: 45px;
}

.services-heading h2 {

    max-width: 850px;

    margin: 0;

    color: #fff;

    font-size: clamp(38px, 4.3vw, 58px);

    line-height: 1;

    letter-spacing: -2px;
}

.services-heading > p {

    max-width: 330px;

    margin: 0;

    color: rgba(255,255,255,.60);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES INTERFACE
   ========================================================= */

.services-interface {

    display: grid;

    grid-template-columns: 370px 1fr;

    min-height: 590px;

    border: 1px solid rgba(35,213,255,.25);
}


/* MENU */

.services-menu {

    border-right:
        1px solid rgba(35,213,255,.25);
}

.service-tab {

    position: relative;

    width: 100%;

    min-height: 98px;

    display: grid;

    grid-template-columns:
        50px 50px 1fr 20px;

    align-items: center;

    gap: 10px;

    padding: 15px 20px;

    border: 0;

    border-bottom:
        1px solid rgba(35,213,255,.18);

    background: transparent;

    color: #fff;

    text-align: left;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease;
}

.service-tab:hover {

    background: rgba(32,232,121,.08);
}

.service-tab.active {

    background: var(--elec-green);

    color: var(--elec-navy);
}

.service-number {

    font-size: 20px;

    font-weight: 800;
}

.service-tab-icon {

    font-size: 22px;

    text-align: center;
}

.service-tab-title {

    font-size: 12px;

    line-height: 1.3;

    font-weight: 700;
}

.service-arrow {

    font-size: 25px;

    text-align: right;
}


/* DISPLAY */

.service-display {

    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 45px;

    padding: 60px 38px;

    align-items: center;
}

.service-display-content {

    min-width: 0;
}

.display-number {

    display: block;

    margin-bottom: 5px;

    color: var(--elec-green);

    font-size: 60px;

    line-height: 1;

    font-weight: 900;
}

.service-display-content h3 {

    margin: 0 0 20px;

    color: #fff;

    font-size: 40px;

    line-height: 1;

    letter-spacing: -1px;
}

.service-display-content > p {

    margin: 0 0 25px;

    color: rgba(255,255,255,.62);

    font-size: 13px;

    line-height: 1.7;
}

.service-display-content ul {

    margin: 0 0 28px;

    padding: 0;

    list-style: none;
}

.service-display-content li {

    position: relative;

    padding: 6px 0 6px 25px;

    color: rgba(255,255,255,.85);

    font-size: 12px;
}

.service-display-content li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--elec-green);

    font-weight: 900;
}


/* =========================================================
   SERVICE GALLERY
   ========================================================= */

.service-gallery {

    min-width: 0;
}

.service-main-image {

    width: 100%;

    height: 350px;

    overflow: hidden;
}

.service-main-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: opacity .25s ease;
}

.service-gallery-bottom {

    display: grid;

    grid-template-columns:
        50px 1fr 50px;

    gap: 12px;

    align-items: center;

    margin-top: 12px;
}

.gallery-arrow {

    width: 50px;
    height: 50px;

    border:
        1px solid #00cfff;

    border-radius: 50%;

    background: transparent;

    color: #fff;

    font-size: 28px;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}

.gallery-arrow:hover {

    background: var(--elec-green);

    color: var(--elec-navy);

    border-color: var(--elec-green);
}

.service-thumbnails {

    display: flex;

    gap: 8px;

    overflow: hidden;
}

.service-thumbnail {

    width: 90px;
    height: 60px;

    flex: 0 0 auto;

    padding: 0;

    border: 2px solid transparent;

    background: transparent;

    cursor: pointer;

    overflow: hidden;
}

.service-thumbnail img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.service-thumbnail.active {

    border-color: var(--elec-green);
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.elec-overview {

    padding: 100px 0;

    background: #fff;
}

.elec-overview h2 {

    margin: 0 0 45px;

    color: var(--elec-dark);

    font-size: clamp(38px, 4vw, 56px);

    line-height: 1;

    letter-spacing: -2px;
}

.overview-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;
}

.overview-card {

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 30px 18px;

    border:
        1px solid var(--elec-border);

    color: var(--elec-dark);

    text-align: center;

    text-decoration: none;

    transition:
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.overview-card:hover {

    transform: translateY(-6px);

    border-color: var(--elec-green);

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);
}

.overview-icon {

    height: 55px;

    margin-bottom: 18px;

    color: #0568a0;

    font-size: 32px;
}

.overview-card > span {

    margin-bottom: 15px;

    color: var(--elec-green);

    font-size: 12px;

    font-weight: 900;
}

.overview-card h3 {

    margin: 0 0 10px;

    font-size: 14px;

    line-height: 1.25;
}

.overview-card p {

    margin: 0;

    color: var(--elec-text);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   MÉTHODE
   ========================================================= */

.elec-method {

    padding: 100px 0 120px;

    background: var(--elec-navy-dark);

    color: #fff;
}

.elec-method h2 {

    max-width: 950px;

    margin: 0 0 85px;

    color: #fff;

    font-size: clamp(40px, 4.5vw, 60px);

    line-height: 1;

    letter-spacing: -2px;
}

.method-timeline {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 20px;
}

.method-line {

    position: absolute;

    left: 8%;
    right: 8%;

    top: 38px;

    height: 1px;

    background: rgba(0,207,255,.45);
}

.method-step {

    position: relative;

    z-index: 2;

    text-align: center;
}

.method-number {

    width: 76px;
    height: 76px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border:
        2px solid #00cfff;

    border-radius: 50%;

    background: var(--elec-navy-dark);

    box-shadow:
        0 0 20px rgba(0,207,255,.18);

    color: var(--elec-green);

    font-size: 14px;

    font-weight: 900;
}

.method-step h3 {

    margin: 0 0 8px;

    color: #fff;

    font-size: 14px;
}

.method-step p {

    max-width: 130px;

    margin: 0 auto;

    color: rgba(255,255,255,.55);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   SOLAIRE
   ========================================================= */

.elec-solar {

    display: grid;

    grid-template-columns:
        1.1fr 1fr .55fr;

    min-height: 330px;

    background: #fff;
}

.solar-image {

    min-height: 330px;
}

.solar-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.solar-content {

    padding: 60px 45px;

    align-self: center;
}

.solar-content h2 {

    margin: 0 0 18px;

    color: var(--elec-dark);

    font-size: 32px;

    line-height: 1.05;
}

.solar-content p {

    margin: 0 0 25px;

    color: var(--elec-text);

    font-size: 13px;

    line-height: 1.7;
}

.solar-list {

    align-self: center;

    padding: 35px;

    color: var(--elec-dark);

    font-size: 11px;

    line-height: 2.3;
}

.solar-list div {

    color: var(--elec-text);
}

.solar-list div::first-letter {

    color: var(--elec-green);
}


/* =========================================================
   CTA
   ========================================================= */

.elec-cta {

    position: relative;

    min-height: 300px;

    display: flex;

    align-items: center;

    background:
        url("../../images/electricite/cta.jpg")
        center / cover no-repeat;
}

.elec-cta-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,27,43,.94),
            rgba(2,27,43,.65)
        );
}

.elec-cta-inner {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}

.elec-cta h2 {

    max-width: 850px;

    margin: 0;

    color: #fff;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1;

    letter-spacing: -2px;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .elec-container {

        width: min(100% - 45px, 900px);
    }

    .elec-hero {

        min-height: 700px;
    }

    .hero-image-1 {

        left: 25%;

        right: 0;
    }

    .hero-image-2 {

        display: none;
    }

    .hero-image-3 {

        width: 42%;
    }

    .expertise-grid {

        grid-template-columns: 1fr;

    }

    .expertise-visual {

        max-width: 800px;
    }

    .overview-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }

    .services-interface {

        grid-template-columns:
            300px 1fr;
    }

    .service-display {

        grid-template-columns: 1fr;

    }

    .service-main-image {

        height: 330px;
    }

    .elec-solar {

        grid-template-columns:
            1fr 1fr;
    }

    .solar-list {

        display: none;
    }
}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .elec-container {

        width: calc(100% - 32px);
    }

    .elec-hero {

        min-height: 760px;
    }

    .elec-hero-images {

        opacity: .7;
    }

    .hero-image-1 {

        left: 0;

        width: 100%;

        clip-path: none;
    }

    .hero-image-3 {

        display: none;
    }

    .elec-hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(2,25,40,.96),
                rgba(2,25,40,.72)
            );
    }

    .elec-hero-content {

        padding-top: 40px;
    }

    .elec-hero h1 {

        font-size: 48px;

        letter-spacing: -2px;
    }

    .elec-hero-content > p {

        font-size: 14px;
    }

    .elec-hero-buttons {

        flex-direction: column;

        align-items: stretch;

        max-width: 330px;
    }

    .elec-btn {

        width: 100%;
    }

    .elec-hero-benefits {

        padding: 20px 0;
    }

    .benefits-grid {

        grid-template-columns:
            1fr;

        gap: 14px;
    }

    .benefit-icon {

        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    .elec-expertise {

        padding: 75px 0;
    }

    .expertise-text h2 {

        font-size: 40px;
    }

    .expertise-items {

        grid-template-columns:
            1fr;
    }

    .expertise-visual {

        min-height: 380px;
    }

    .expertise-visual > img {

        height: 380px;
    }

    .expertise-card {

        right: 12px;
        bottom: -20px;

        width: 220px;

        padding: 22px;
    }


    .elec-services {

        padding: 75px 0;
    }

    .services-heading {

        display: block;
    }

    .services-heading > p {

        margin-top: 20px;
    }

    .services-interface {

        display: block;

        min-height: auto;
    }

    .services-menu {

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        border-right: 0;
    }

    .service-tab {

        min-height: 80px;

        grid-template-columns:
            30px 30px 1fr 15px;

        padding: 10px;
    }

    .service-tab-title {

        font-size: 10px;
    }

    .service-number {

        font-size: 14px;
    }

    .service-tab-icon {

        font-size: 16px;
    }

    .service-display {

        display: block;

        padding: 35px 20px;
    }

    .service-display-content {

        margin-bottom: 35px;
    }

    .service-display-content h3 {

        font-size: 34px;
    }

    .display-number {

        font-size: 50px;
    }

    .service-main-image {

        height: 280px;
    }


    .elec-overview {

        padding: 75px 0;
    }

    .overview-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .overview-card {

        min-height: 220px;

        padding: 25px 12px;
    }


    .elec-method {

        padding: 75px 0;
    }

    .elec-method h2 {

        margin-bottom: 55px;
    }

    .method-timeline {

        grid-template-columns:
            1fr;

        gap: 30px;
    }

    .method-line {

        left: 38px;
        right: auto;

        top: 38px;
        bottom: 38px;

        width: 1px;
        height: auto;
    }

    .method-step {

        display: grid;

        grid-template-columns:
            76px 1fr;

        text-align: left;

        align-items: center;
    }

    .method-number {

        margin: 0;

        grid-row: span 2;
    }

    .method-step h3 {

        align-self: end;

        margin: 0;
    }

    .method-step p {

        margin: 5px 0 0;

        max-width: none;

        align-self: start;
    }


    .elec-solar {

        display: block;
    }

    .solar-image {

        height: 280px;

        min-height: 0;
    }

    .solar-content {

        padding: 55px 20px;
    }


    .elec-cta {

        min-height: 430px;
    }

    .elec-cta-inner {

        flex-direction: column;

        align-items: flex-start;
    }

    .elec-cta h2 {

        font-size: 40px;
    }
}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .elec-hero h1 {

        font-size: 42px;
    }

    .services-menu {

        grid-template-columns:
            1fr;
    }

    .service-tab {

        min-height: 68px;
    }

    .overview-grid {

        grid-template-columns:
            1fr;
    }

    .service-main-image {

        height: 240px;
    }

    .service-thumbnail {

        width: 65px;
        height: 48px;
    }
}