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


/* =========================================================
   VARIABLES
   ========================================================= */

.plomberie-page {
    --pl-navy: #062b4d;
    --pl-navy-2: #04223c;
    --pl-blue: #0878f9;
    --pl-green: #55b900;
    --pl-gold: #f59e0b;
    --pl-white: #ffffff;
    --pl-light: #f5f8fb;
    --pl-border: #dfe7ef;
    --pl-text: #536b82;
    --pl-dark: #172b3f;
}


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

.pl-container {
    width: min(1240px, calc(100% - 60px));
    margin: 0 auto;
}


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

.pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 52px;
    padding: 0 26px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;

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

.pl-btn span {
    font-size: 20px;
    transition: transform .3s ease;
}

.pl-btn:hover {
    transform: translateY(-3px);
}

.pl-btn:hover span {
    transform: translateX(5px);
}

.pl-btn-primary {
    background: var(--pl-gold);
    color: #fff;
}

.pl-btn-primary:hover {
    background: #dc8c00;
}

.pl-btn-dark {
    background: var(--pl-navy);
    color: #fff;
}

.pl-btn-dark:hover {
    background: var(--pl-blue);
}


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

.pl-hero {
    position: relative;
    min-height: 700px;

    display: flex;
    align-items: center;

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

.pl-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 31, 55, .96) 0%,
            rgba(3, 31, 55, .88) 35%,
            rgba(3, 31, 55, .40) 72%,
            rgba(3, 31, 55, .18) 100%
        );
}

.pl-hero-inner {
    position: relative;
    z-index: 2;

    padding-top: 70px;
}

.pl-hero-content {
    max-width: 760px;
}

.pl-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 22px;

    color: var(--pl-gold);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pl-eyebrow span {
    width: 38px;
    height: 3px;
    background: var(--pl-gold);
}

.pl-hero h1 {
    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(58px, 7vw, 92px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: -3px;
}

.pl-hero-title {
    max-width: 720px;

    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.15;
    font-weight: 700;
}

.pl-hero-description {
    max-width: 620px;

    margin: 0 0 30px;

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

    font-size: 16px;
    line-height: 1.7;
}

.pl-hero-services {
    display: flex;
    align-items: flex-start;
    gap: 35px;

    margin-top: 65px;
}

.pl-hero-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    min-width: 90px;

    color: #fff;
    text-decoration: none;

    text-align: center;
}

.pl-icon {
    width: 46px;
    height: 46px;

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

.pl-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pl-hero-service span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.88);
}

.pl-hero-service:hover {
    color: var(--pl-gold);
}


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

.pl-section-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: var(--pl-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pl-section-label span {
    width: 38px;
    height: 2px;
    background: var(--pl-blue);
}


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

.pl-expertise {
    padding: 110px 0;

    background: #fff;
}

.pl-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 75px;

    align-items: center;
}

.pl-expertise-content h2 {
    max-width: 650px;

    margin: 0 0 28px;

    color: var(--pl-dark);

    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.pl-expertise-content p {
    max-width: 620px;

    margin: 0 0 15px;

    color: var(--pl-text);

    font-size: 16px;
    line-height: 1.8;
}

.pl-expertise-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 35px;
}

.pl-feature {
    display: flex;
    flex-direction: column;

    font-size: 12px;
    color: var(--pl-text);
}

.pl-feature-icon {
    width: 42px;
    height: 42px;

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

    margin-bottom: 10px;

    border-radius: 50%;

    background: #eaf3ff;
    color: var(--pl-blue);

    font-weight: 900;
}

.pl-feature strong {
    color: var(--pl-dark);
}

.pl-feature span {
    margin-top: 2px;
}


.pl-expertise-visual {
    position: relative;

    min-height: 510px;

    overflow: hidden;
}

.pl-expertise-visual > img {
    width: 100%;
    height: 510px;

    display: block;

    object-fit: cover;
}

.pl-expertise-badge {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 145px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 50px;

    padding: 25px 15px;

    background: rgba(3, 43, 76, .94);

    color: #fff;

    text-align: center;
}

.pl-expertise-badge div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-icon {
    margin-bottom: 8px;

    color: #24a5ff;

    font-size: 25px;
}

.pl-expertise-badge strong {
    font-size: 12px;
    letter-spacing: .5px;
}

.pl-expertise-badge small {
    margin-top: 4px;

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

    font-size: 10px;
}


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

.pl-services {
    padding: 100px 0;

    background: var(--pl-light);
}

.pl-services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 40px;
}

.pl-services-heading h2 {
    margin: 0;

    color: var(--pl-dark);

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.pl-services-heading p {
    max-width: 360px;

    margin: 0;

    color: var(--pl-text);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.pl-service-grid {
    display: grid;

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

    gap: 12px;
}

.pl-service-card {
    position: relative;

    height: 350px;

    display: block;

    overflow: hidden;

    color: #fff;
    text-decoration: none;

    background: var(--pl-navy);
}

.pl-service-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s ease;
}

.pl-service-card:hover img {
    transform: scale(1.07);
}

.pl-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 31, 55, .96) 0%,
            rgba(3, 31, 55, .52) 50%,
            rgba(3, 31, 55, .08) 100%
        );
}

.pl-card-content {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 24px;

    z-index: 2;
}

.pl-card-number {
    display: block;

    margin-bottom: 8px;

    color: var(--pl-gold);

    font-size: 16px;
    font-weight: 900;
}

.pl-card-content h3 {
    max-width: 200px;

    margin: 0 0 20px;

    color: #fff;

    font-size: 24px;
    line-height: 1.05;
}

.pl-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pl-card-link b {
    font-size: 18px;

    transition: transform .3s ease;
}

.pl-service-card:hover .pl-card-link b {
    transform: translateX(6px);
}


/* =========================================================
   SERVICE DETAIL
   ========================================================= */

.pl-detail {
    padding: 110px 0;

    background: #fff;
}

.pl-detail:nth-of-type(even) {
    background: var(--pl-light);
}

.pl-detail-grid {
    display: grid;

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

    gap: 75px;

    align-items: center;
}

.pl-detail-reverse .pl-detail-grid {
    grid-template-columns: .85fr 1.15fr;
}

.pl-detail-reverse .pl-gallery {
    order: 2;
}

.pl-detail-reverse .pl-detail-content {
    order: 1;
}


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

.pl-gallery {
    min-width: 0;
}

.pl-gallery-main {
    position: relative;

    width: 100%;
    height: 520px;

    overflow: hidden;

    background: #e9eef3;
}

.pl-gallery-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: opacity .25s ease;
}

.pl-gallery-controls {
    display: grid;

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

    gap: 12px;

    align-items: center;

    margin-top: 12px;
}

.pl-gallery-prev,
.pl-gallery-next {
    width: 52px;
    height: 52px;

    border: 0;

    background: var(--pl-navy);

    color: #fff;

    font-size: 20px;

    cursor: pointer;

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

.pl-gallery-prev:hover,
.pl-gallery-next:hover {
    background: var(--pl-blue);

    transform: translateY(-2px);
}

.pl-gallery-thumbnails {
    display: flex;

    gap: 8px;

    overflow: hidden;
}

.pl-gallery-thumb {
    width: 72px;
    height: 52px;

    flex: 0 0 auto;

    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;

    background: #fff;

    cursor: pointer;
}

.pl-gallery-thumb img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.pl-gallery-thumb.active {
    border-color: var(--pl-gold);
}


/* =========================================================
   DETAIL CONTENT
   ========================================================= */

.pl-detail-content {
    max-width: 520px;
}

.pl-detail-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;

    color: var(--pl-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.pl-detail-label span {
    color: var(--pl-gold);

    font-size: 16px;
}

.pl-detail-content h2 {
    margin: 0 0 25px;

    color: var(--pl-dark);

    font-size: clamp(42px, 4.5vw, 64px);
    line-height: .98;
    letter-spacing: -2px;
}

.pl-detail-content p {
    margin: 0 0 28px;

    color: var(--pl-text);

    font-size: 15px;
    line-height: 1.8;
}

.pl-detail-content ul {
    margin: 0 0 32px;

    padding: 0;

    list-style: none;
}

.pl-detail-content li {
    position: relative;

    padding: 9px 0 9px 28px;

    border-bottom: 1px solid var(--pl-border);

    color: var(--pl-dark);

    font-size: 14px;
}

.pl-detail-content li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 8px;

    width: 20px;
    height: 20px;

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

    border-radius: 50%;

    background: var(--pl-gold);

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}


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

.pl-method {
    padding: 90px 0;

    background: var(--pl-navy);

    color: #fff;
}

.pl-method-heading {
    max-width: 650px;

    margin-bottom: 60px;
}

.pl-label-light {
    color: var(--pl-gold);
}

.pl-label-light span {
    background: var(--pl-gold);
}

.pl-method-heading h2 {
    margin: 0 0 18px;

    color: #fff;

    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.pl-method-heading p {
    margin: 0;

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

    font-size: 15px;
    line-height: 1.7;
}

.pl-method-steps {
    display: grid;

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

    align-items: center;
}

.pl-method-step {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.pl-method-step span {
    width: 58px;
    height: 58px;

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

    margin-bottom: 14px;

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

    border-radius: 50%;

    color: var(--pl-gold);

    font-weight: 800;
}

.pl-method-step strong {
    font-size: 13px;
}

.pl-method-step small {
    margin-top: 4px;

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

    font-size: 11px;
}

.pl-method-arrow {
    color: var(--pl-gold);

    font-size: 25px;

    text-align: center;
}


/* =========================================================
   STATS
   ========================================================= */

.pl-stats {
    padding: 45px 0;

    background: #fff;
}

.pl-stats-grid {
    display: grid;

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

.pl-stat {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 15px 25px;

    border-right: 1px solid var(--pl-border);

    text-align: center;
}

.pl-stat:last-child {
    border-right: 0;
}

.pl-stat strong {
    margin-bottom: 7px;

    color: var(--pl-navy);

    font-size: 30px;
    font-weight: 900;
}

.pl-stat span {
    color: var(--pl-text);

    font-size: 12px;
    font-weight: 600;
}


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

.pl-final-cta {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;

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

.pl-final-overlay {
    position: absolute;
    inset: 0;

    background: rgba(3, 31, 55, .88);
}

.pl-final-inner {
    position: relative;
    z-index: 2;

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

    gap: 60px;
}

.pl-final-inner h2 {
    max-width: 700px;

    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(40px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -2px;
}

.pl-final-inner p {
    max-width: 620px;

    margin: 0;

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

    font-size: 15px;
    line-height: 1.7;
}


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

@media (max-width: 1050px) {

    .pl-container {
        width: min(100% - 45px, 900px);
    }

    .pl-hero {
        min-height: 680px;
    }

    .pl-hero-services {
        gap: 18px;
    }

    .pl-expertise-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .pl-expertise-content {
        max-width: 800px;
    }

    .pl-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pl-detail-grid,
    .pl-detail-reverse .pl-detail-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .pl-detail-reverse .pl-gallery {
        order: 1;
    }

    .pl-detail-reverse .pl-detail-content {
        order: 2;
    }

    .pl-detail-content {
        max-width: 800px;
    }

    .pl-method-steps {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    .pl-method-arrow {
        display: none;
    }

    .pl-final-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


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

@media (max-width: 700px) {

    .pl-container {
        width: calc(100% - 32px);
    }

    .pl-hero {
        min-height: 720px;

        background-position: 65% center;
    }

    .pl-hero-inner {
        padding-top: 60px;
    }

    .pl-hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .pl-hero-title {
        font-size: 22px;
    }

    .pl-hero-description {
        font-size: 14px;
    }

    .pl-hero-services {
        display: grid;

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

        gap: 25px 10px;

        margin-top: 45px;
    }

    .pl-hero-service {
        min-width: 0;
    }

    .pl-icon {
        width: 38px;
        height: 38px;
    }

    .pl-icon svg {
        width: 25px;
        height: 25px;
    }

    .pl-hero-service span {
        font-size: 10px;
    }


    .pl-expertise {
        padding: 75px 0;
    }

    .pl-expertise-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .pl-expertise-visual {
        min-height: 400px;
    }

    .pl-expertise-visual > img {
        height: 400px;
    }

    .pl-expertise-badge {
        width: 105px;
        gap: 28px;
    }


    .pl-services {
        padding: 75px 0;
    }

    .pl-services-heading {
        display: block;
    }

    .pl-services-heading p {
        margin-top: 20px;
    }

    .pl-service-grid {
        grid-template-columns: 1fr;
    }

    .pl-service-card {
        height: 330px;
    }


    .pl-detail {
        padding: 75px 0;
    }

    .pl-gallery-main {
        height: 350px;
    }

    .pl-gallery-controls {
        grid-template-columns: 44px 1fr 44px;
        gap: 7px;
    }

    .pl-gallery-prev,
    .pl-gallery-next {
        width: 44px;
        height: 44px;
    }

    .pl-gallery-thumbnails {
        gap: 5px;
    }

    .pl-gallery-thumb {
        width: 58px;
        height: 44px;
    }


    .pl-method {
        padding: 75px 0;
    }

    .pl-method-steps {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 18px;
    }

    .pl-method-step {
        display: grid;

        grid-template-columns: 50px 1fr;

        text-align: left;
    }

    .pl-method-step span {
        grid-row: span 2;

        width: 45px;
        height: 45px;

        margin: 0;
    }

    .pl-method-step strong {
        align-self: end;
    }

    .pl-method-step small {
        align-self: start;
    }


    .pl-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pl-stat {
        border-bottom: 1px solid var(--pl-border);
    }

    .pl-stat:nth-child(2) {
        border-right: 0;
    }

    .pl-stat:nth-child(3),
    .pl-stat:nth-child(4) {
        border-bottom: 0;
    }


    .pl-final-cta {
        min-height: 500px;
    }

    .pl-final-inner {
        gap: 35px;
    }

    .pl-final-inner .pl-btn {
        width: 100%;
    }
}


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

@media (max-width: 430px) {

    .pl-hero h1 {
        font-size: 45px;
    }

    .pl-hero-services {
        gap: 20px 5px;
    }

    .pl-expertise-badge {
        position: relative;

        width: 100%;
        min-height: 100px;

        flex-direction: row;

        gap: 15px;

        padding: 15px;

        margin-top: -100px;
    }

    .pl-expertise-visual {
        padding-bottom: 100px;
    }

    .pl-expertise-visual > img {
        height: 330px;
    }

    .pl-gallery-main {
        height: 290px;
    }

    .pl-detail-content h2 {
        font-size: 40px;
    }

    .pl-gallery-thumb {
        width: 50px;
        height: 40px;
    }
}
/* =========================================================
   ANIMATION APPARITION
   ========================================================= */

.pl-detail,
.pl-expertise,
.pl-services {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.pl-detail.pl-visible,
.pl-expertise.pl-visible,
.pl-services.pl-visible {
    opacity: 1;
    transform: translateY(0);
}