:root {

    --black: #11120f;
    --black-soft: #1a1b17;

    --white: #f7f6f2;
    --white-pure: #ffffff;

    --stone: #e9e7e0;
    --stone-dark: #d4d1c8;

    --green: #69715e;
    --green-dark: #4f5747;

    --text: #20211d;
    --muted: #777872;

    --line: rgba(20, 21, 18, .14);

    --max: 1240px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--white);

    color: var(--text);

    font-family: "DM Sans", sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}


button,
input,
textarea {

    font-family: inherit;
}


button {

    cursor: pointer;
}


a {

    color: inherit;

    text-decoration: none;
}


.container {

    width: min(
        var(--max),
        calc(100% - 64px)
    );

    margin: auto;
}


.section {

    padding: 140px 0;
}


.eyebrow {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2em;

    color: white;

    text-transform: uppercase;

    margin-bottom: 28px;
}

.eyebrow-2 {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2em;

    color: rgb(91, 89, 89);

    text-transform: uppercase;

    margin-bottom: 28px;
}


.eyebrow.light {

    color: #c6cabb;
}


.section-index {

    font-size: 11px;

    color: var(--green);

    font-weight: 700;

    letter-spacing: .1em;
}


h1,
h2,
h3 {

    font-family: "Manrope", sans-serif;

    font-weight: 500;

    letter-spacing: -.045em;
}


h1 {

    font-size: clamp(
        60px,
        8vw,
        112px
    );

    line-height: .91;

    color: white;

    max-width: 950px;
}


h1 span {

    color: #c2c7b8;
}


h2 {

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

    line-height: .98;
}


h2 em {

    color: var(--green);

    font-style: normal;
}


p {

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;

    background: #11120f;
    color: #fff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}


.header-inner {

    width: min(
        var(--max),
        calc(100% - 64px)
    );

    height: 100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

.header-inner {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-mark {

    width: 42px;

    height: 42px;

    background: white;

    color: var(--black);

    display: grid;

    place-items: center;

    font-family: "Manrope";

    font-weight: 700;

    font-size: 16px;
}


.brand-text strong {

    display: block;

    font-size: 13px;

    letter-spacing: .15em;
}


.brand-text span {

    display: block;

    font-size: 8px;

    letter-spacing: .18em;

    opacity: .65;

    margin-top: 2px;
}


.desktop-nav {

    display: flex;

    gap: 30px;

    margin-left: auto;

    margin-right: 40px;
}


.desktop-nav a {

    font-size: 12px;

    opacity: .75;

    transition: .2s;
}


.desktop-nav a:hover {

    opacity: 1;
}


.header-right {

    display: flex;

    align-items: center;

    gap: 22px;
}


.phone {

    font-size: 12px;

    display: flex;

    align-items: center;

    gap: 8px;

    opacity: .85;
}


.phone-dot {

    width: 6px;

    height: 6px;

    background: #9ba58c;

    border-radius: 50%;
}


.header-cta {

    background: white;

    border: none;

    color: var(--black);

    padding: 14px 18px;

    font-size: 11px;

    font-weight: 600;

    display: flex;

    gap: 20px;

    transition: .25s;
}


.header-cta:hover {

    background: #d9ddd0;
}


.mobile-menu-button {

    display: none;

    background: transparent;

    border: none;

    width: 35px;
}


.mobile-menu-button span {

    display: block;

    height: 1px;

    background: white;

    margin: 6px 0;
}


.mobile-menu {

    display: none;
}


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

.hero {

    min-height: 900px;

    position: relative;

    display: flex;

    align-items: flex-end;

    color: white;

    overflow: hidden;
}


.hero-background {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(24, 27, 22, .85),
            rgba(25, 27, 23, .35)
        ),
        url("images/fond.png")
        center / cover no-repeat;

    transform: scale(1.01);
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 11, 9, .55),
            transparent 40%,
            rgba(10, 11, 9, .65)
        );
}


.hero-container {

    position: relative;

    z-index: 2;

    padding-bottom: 70px;

    width: min(
        var(--max),
        calc(100% - 64px)
    );
}


.hero-content {

    max-width: 950px;
}


.hero-description {

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

    font-size: 17px;

    max-width: 580px;

    margin-top: 35px;
}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 40px;
}


.button {

    border: none;

    padding: 17px 22px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    font-size: 12px;

    font-weight: 600;
}


.button-light {

    background: white;

    color: var(--black);
}


.button-light:hover {

    background: #dfe2d8;
}


.hero-link {

    font-size: 12px;

    color: white;

    opacity: .75;

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

    padding-bottom: 8px;
}


.hero-bottom {

    margin-top: 130px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.hero-location {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 11px;

    letter-spacing: .04em;
}


.location-icon {

    width: 22px;

    height: 22px;

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

    display: grid;

    place-items: center;
}


.hero-scroll {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 9px;

    letter-spacing: .15em;

    opacity: .6;
}


.hero-scroll span {

    display: block;

    width: 45px;

    height: 1px;

    background: white;
}


/* =========================================================
INTRO
========================================================= */

.intro {

    background: var(--white);
}


.intro-grid {

    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 70px;
}


.intro-main {

    max-width: 850px;
}


.intro-main h2 {

    max-width: 800px;
}


.intro-main p {

    max-width: 600px;

    margin-top: 32px;

    font-size: 18px;
}


.text-button {

    margin-top: 35px;

    background: none;

    border: none;

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

    padding-bottom: 9px;

    font-size: 12px;

    font-weight: 600;

    display: inline-flex;

    gap: 40px;
}


.stats {

    display: grid;

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

    margin-top: 130px;

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}


.stat {

    padding: 35px 25px;

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

    display: flex;

    justify-content: space-between;

    gap: 20px;
}


.stat:first-child {

    padding-left: 0;
}


.stat:last-child {

    border-right: none;
}


.stat strong {

    color: var(--green);

    font-size: 11px;
}


.stat span {

    font-family: "Manrope";

    font-size: 14px;

    font-weight: 500;

    line-height: 1.3;
}


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

.services {

    background: #e9e7df;
}


.section-heading.split {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 80px;

    margin-bottom: 80px;
}


.section-heading h2 {

    max-width: 750px;
}


.section-heading p {

    max-width: 550px;

    margin-top: 28px;
}


.services-grid {

    display: grid;

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

    gap: 18px;
}


.service-card {

    background: var(--white);

    overflow: hidden;
}


.service-large {

    grid-row: span 2;
}


.service-wide {

    grid-column: span 1;
}


.service-image {

    min-height: 300px;

    background-size: cover;

    background-position: center;
}


.service-large .service-image {

    min-height: 500px;
}


.image-1 {

    background-image:
        linear-gradient(
            rgba(0,0,0,.08),
            rgba(0,0,0,.15)
        ),
        url("images/service-depannage.jpg");
}


.image-2 {

    background-image:
        url("images/elec.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.image-3 {

    background-image:
        url("images/pompe.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.image-4 {

    background-image:
        url("images/service-chauffe-eau.jpg");
}


.image-5 {

    background-image:
        url("images/service-fuite.jpg");
}


.image-6 {

    background-image:
        url("images/service-sanitaire.jpg");
}


.service-content {

    padding: 30px;
}


.service-content > span {

    color: var(--green);

    font-size: 10px;

    font-weight: 700;
}


.service-content h3 {

    font-size: 30px;

    margin-top: 45px;
}


.service-content p {

    margin-top: 10px;

    max-width: 400px;

    font-size: 14px;
}


.service-content a {

    display: inline-block;

    margin-top: 25px;

    font-size: 11px;

    font-weight: 600;

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

    padding-bottom: 6px;
}


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

.expertise {

    background: var(--black);

    color: white;
}


.expertise-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 700px;
}


.expertise-image {

    background:
        linear-gradient(
            rgba(0,0,0,.05),
            rgba(0,0,0,.3)
        ),
        url("images/expertise.jpg")
        center / cover no-repeat;

    position: relative;
}


.image-label {

    position: absolute;

    top: 30px;

    left: 30px;

    right: 30px;

    display: flex;

    justify-content: space-between;

    color: white;

    font-size: 10px;

    letter-spacing: .15em;
}


.expertise-content {

    padding: 70px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.expertise-content .eyebrow {

    color: #aeb6a0;
}


.expertise-content h2 {

    max-width: 600px;
}


.expertise-content p {

    color: #9b9d96;

    max-width: 540px;

    margin-top: 30px;
}


.expertise-list {

    margin-top: 60px;

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


.expertise-list div {

    display: flex;

    gap: 30px;

    padding: 19px 0;

    border-bottom: 1px solid rgba(
        255,
        255,
        255,
        .15
    );
}


.expertise-list strong {

    color: #9ba48e;

    font-size: 10px;
}


.expertise-list span {

    font-size: 13px;
}


/* =========================================================
PROJECTS
========================================================= */

.projects {

    background: var(--white);
}


.projects-heading {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 80px;

    margin-bottom: 75px;
}


.projects-grid {

    display: grid;

    grid-template-columns: 1.4fr .8fr;

    gap: 18px;
}


.project {

    min-height: 480px;
}


.project-big {

    grid-row: span 2;

    min-height: 800px;
}


.project-image {

    width: 100%;

    height: 100%;

    min-height: inherit;

    position: relative;

    background-size: cover;

    background-position: center;
}


.project-sanitaire {

    background-image:
        linear-gradient(
            rgba(0,0,0,.05),
            rgba(0,0,0,.25)
        ),
        url("images/sanitaire.jpg");
}

.project-3 {

    background-image:
        url("images/projet-3.jpg");
}


.project-number {

    position: absolute;

    top: 25px;

    left: 25px;

    color: white;

    font-size: 10px;
}


.project-caption {

    position: absolute;

    left: 30px;

    bottom: 30px;

    color: white;

    font-size: 11px;
}


.project-caption strong {

    display: block;

    font-family: "Manrope";

    font-size: 27px;

    font-weight: 500;

    margin-top: 4px;
}


/* =========================================================
ABOUT
========================================================= */

.about {

    background: #e9e7df;
}


.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.about-image {

    min-height: 700px;

    background:
        linear-gradient(
            rgba(0,0,0,.05),
            rgba(0,0,0,.2)
        ),
        url("images/john-puyraveau.jpg")
        center / cover no-repeat;

    position: relative;
}


.about-badge {

    position: absolute;

    right: 25px;

    bottom: 25px;

    width: 100px;

    height: 100px;

    background: white;

    display: grid;

    place-items: center;

    text-align: center;

    font-size: 9px;

    letter-spacing: .12em;

    line-height: 1.5;
}


.about-content h2 {

    max-width: 600px;
}


.about-content p {

    max-width: 520px;

    margin-top: 28px;

    font-size: 17px;
}


.about-content .text-button {

    margin-top: 35px;
}


/* =========================================================
PROCESS
========================================================= */

.process {

    background: var(--white);
}


.process-header {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 80px;

    margin-bottom: 80px;
}


.process-header h2 {

    max-width: 700px;
}


.process-grid {

    display: grid;

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

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}


.process-step {

    padding: 35px 25px;

    min-height: 300px;

    border-right: 1px solid var(--line);
}


.process-step:first-child {

    padding-left: 0;
}


.process-step:last-child {

    border-right: none;
}


.process-step > span {

    font-size: 10px;

    color: var(--green);

    font-weight: 700;
}


.process-step h3 {

    font-size: 24px;

    margin-top: 70px;
}


.process-step p {

    font-size: 13px;

    margin-top: 15px;

    max-width: 230px;
}


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

.cta {

    min-height: 650px;

    position: relative;

    display: flex;

    align-items: center;

    color: white;

    overflow: hidden;
}


.cta-background {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(24, 27, 22, .85),
            rgba(25, 27, 23, .35)
        ),
        url("images/fond.png")
        center / cover no-repeat;

    transform: scale(1.02);
}


.cta-overlay {

    position: absolute;

    inset: 0;

}


.cta-content {

    position: relative;

    z-index: 2;
}


.cta-content h2 {

    font-size: clamp(
        65px,
        10vw,
        130px
    );
}


.cta-content p {

    color: #b7b9b2;

    max-width: 470px;

    margin: 30px 0;
}


/* =========================================================
FOOTER
========================================================= */

footer {

    background: var(--black);

    color: white;
}


.footer-top {

    padding: 90px 0;

    display: grid;

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

    gap: 60px;
}


.footer-brand p {

    color: #777a73;

    max-width: 250px;

    margin-top: 25px;

    font-size: 13px;
}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}


.footer-column > span:first-child {

    color: #777a73;

    font-size: 9px;

    letter-spacing: .16em;

    margin-bottom: 15px;

    text-transform: uppercase;
}


.footer-column a,
.footer-column button {

    color: white;

    font-size: 12px;

    background: none;

    border: none;

    padding: 0;
}


.footer-column a:hover,
.footer-column button:hover {

    color: white;
}


.footer-bottom {

    border-top: 1px solid #292b27;

    padding: 25px 0;

    display: flex;

    justify-content: space-between;

    color: #666961;

    font-size: 10px;
}


.footer-bottom div {

    display: flex;

    gap: 25px;
}


/* =========================================================
CHATBOT
========================================================= */

.assistant-overlay {

    position: fixed;

    inset: 0;

    background: rgba(
        10,
        11,
        9,
        .7
    );

    backdrop-filter: blur(10px);

    z-index: 200;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.assistant-overlay.active {

    display: flex;
}


.assistant {

    width: min(
        570px,
        100%
    );

    max-height: 90vh;

    background: var(--white-pure);

    color: var(--text);

    display: flex;

    flex-direction: column;

    box-shadow:
        0 40px 120px
        rgba(0,0,0,.3);
}


.assistant-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 22px 25px;

    border-bottom: 1px solid var(--line);
}


.assistant-brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.assistant-mark {

    width: 35px;

    height: 35px;

    background: var(--black);

    color: white;

    display: grid;

    place-items: center;

    font-weight: 700;
}


.assistant-brand strong {

    display: block;

    font-size: 14px;
}


.assistant-brand span {

    display: block;

    color: var(--muted);

    font-size: 10px;
}


.assistant-close {

    border: none;

    background: none;

    font-size: 30px;

    color: var(--muted);
}


.assistant-progress {

    height: 3px;

    background: #e5e3dd;
}


#progressBar {

    height: 100%;

    width: 15%;

    background: var(--green-dark);

    transition: .3s;
}


.assistant-body {

    padding: 32px;

    overflow-y: auto;
}


.bot-message {

    background: #f0eee8;

    padding: 17px;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 25px;
}


.bot-message strong {

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


.option-list {

    display: grid;

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

    gap: 9px;

    margin-top: 15px;
}


.option {

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

    background: white;

    text-align: left;

    padding: 17px;

    font-size: 13px;

    transition: .2s;
}


.option:hover {

    border-color: var(--green);

    background: #f7f6f1;
}


.input-group {

    margin-top: 18px;
}


.input-group label {

    display: block;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .12em;

    margin-bottom: 7px;
}


.input-group input,
.input-group textarea {

    width: 100%;

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

    background: white;

    padding: 14px;

    outline: none;

    font-size: 14px;

    resize: vertical;
}


.input-group input:focus,
.input-group textarea:focus {

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


.continue {

    width: 100%;

    margin-top: 20px;

    background: var(--black);

    color: white;

    border: none;

    padding: 16px;

    font-size: 12px;

    font-weight: 600;
}


.calendar-title {

    font-size: 13px;

    margin-bottom: 15px;
}


.calendar-grid {

    display: grid;

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

    gap: 9px;
}


.time-slot {

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

    background: white;

    padding: 15px;

    text-align: left;

    font-size: 12px;

    line-height: 1.7;
}


.time-slot:hover {

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


.success {

    text-align: center;

    padding: 40px 10px;
}


.success-icon {

    width: 60px;

    height: 60px;

    margin: 0 auto 20px;

    background: #e4e9de;

    color: var(--green-dark);

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 25px;
}


.success h2 {

    font-size: 35px;
}


.success p {

    margin-top: 12px;

    font-size: 14px;
}


.assistant-footer {

    border-top: 1px solid var(--line);

    padding: 12px 25px;

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 9px;
}


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

@media (
    max-width: 1000px
) {

     .desktop-nav {
        display: none;
    }

    .phone {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }


    .mobile-menu {

        position: absolute;

        top: 100px;

        left: 0;

        width: 100%;

        background: var(--black);

        padding: 25px;

        display: none;

        flex-direction: column;

        gap: 20px;
    }


    .mobile-menu.active {

        display: flex;
    }


    .mobile-menu a {

        color: white;

        font-size: 15px;
    }


    .mobile-menu button {

        background: white;

        border: none;

        padding: 15px;

        text-align: left;

        font-weight: 600;
    }


    .header-cta {

        display: none;
    }


    .hero {

        min-height: 780px;
    }


    .stats {

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


    .stat:nth-child(2) {

        border-right: none;
    }


    .services-grid {

        grid-template-columns: 1fr;
    }


    .service-large {

        grid-row: auto;
    }


    .service-large .service-image {

        min-height: 350px;
    }


    .expertise-grid,
    .about-grid {

        grid-template-columns: 1fr;
    }


    .expertise-image {

        min-height: 550px;
    }


    .expertise-content {

        padding: 70px 40px;
    }


    .projects-grid {

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


    .project-big {

        grid-column: span 2;

        min-height: 600px;
    }


    .process-grid {

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


    .process-step:nth-child(2) {

        border-right: none;
    }


    .footer-top {

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


@media (
    max-width: 650px
) {

    .container,
    .header-inner {

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


    .section {

        padding: 90px 0;
    }


    .brand-text strong {

        font-size: 11px;
    }


    .hero {

        min-height: 720px;
    }


    h1 {

        font-size: 56px;
    }


    h2 {

        font-size: 47px;
    }


    .hero-description {

        font-size: 15px;
    }


    .hero-actions {

        flex-direction: column;

        align-items: flex-start;
    }


    .hero-bottom {

        margin-top: 80px;
    }


    .hero-scroll {

        display: none;
    }


    .intro-grid {

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .stats {

        grid-template-columns: 1fr;
    }


    .stat,
    .stat:first-child {

        border-right: none;

        padding: 25px 0;
    }


    .section-heading.split,
    .projects-heading,
    .process-header {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .services-grid {

        gap: 12px;
    }


    .service-image,
    .service-large .service-image {

        min-height: 250px;
    }


    .expertise-content {

        padding: 60px 25px;
    }


    .projects-grid {

        grid-template-columns: 1fr;
    }


    .project-big {

        grid-column: auto;

        min-height: 500px;
    }


    .project {

        min-height: 400px;
    }


    .process-grid {

        grid-template-columns: 1fr;
    }


    .process-step,
    .process-step:first-child {

        border-right: none;

        padding: 30px 0;

        min-height: auto;
    }


    .process-step h3 {

        margin-top: 40px;
    }


    .footer-top {

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 65px 0;
    }


    .footer-bottom {

        flex-direction: column;

        gap: 15px;
    }

    .footer-texte {

        color : white;
    }

    .footer-bottom div {

        flex-direction: column;

        gap: 8px;
    }


    .option-list,
    .calendar-grid {

        grid-template-columns: 1fr;
    }


    .assistant-body {

        padding: 22px;
    }


}

/* =========================================================
   AJOUTS — NOUVELLE VERSION SERVICES / CARTE / DEVIS
========================================================= */

.service-conditions {
    background: #16231bdc;;
    color: #fff;
}

.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.service-conditions h2 { margin: 0; color: #fff; }
.service-conditions h2 em { color: rgba(255,255,255,.72); }
.conditions-copy p { max-width: 620px; margin: 0 0 18px; line-height: 1.75; color: rgba(255,255,255,.86); }
.conditions-copy p:last-child { margin-bottom: 0; }

.area-map-wrap {
    position: relative;
    overflow: hidden;
    background: #e9e7df;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

#calvados-map {
    width: 100%;
    height: 560px;
}

.google-map {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
}

.map-badge {
    position: absolute;
    z-index: 500;
    left: 22px;
    bottom: 22px;
    background: rgba(255,255,255,.96);
    padding: 13px 16px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.map-badge span {
    display: inline-block;
    width: 9px; height: 9px; border-radius: 50%;
    background: #1f5c50; margin-right: 8px;
}

.map-link {
    position: absolute;
    z-index: 500;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    padding: 13px 16px;
    background: var(--black);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.map-link:hover {
    opacity: .9;
}

.quote-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.quote-category {
    text-align: left;
    padding: 22px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.quote-category:hover { transform: translateY(-2px); border-color: var(--green, #1f5c50); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.quote-category-number { display:block; color: var(--green, #1f5c50); font-size: 12px; font-weight: 800; margin-bottom: 15px; }
.quote-category strong { display:block; font-size: 18px; margin-bottom: 7px; }
.quote-category small { display:block; color: #777; line-height: 1.45; }

.quote-sub-option { display:flex !important; gap:16px; align-items:flex-start; text-align:left; }
.quote-sub-option > span { display:flex; flex-direction:column; gap:5px; }
.quote-sub-option small { color:#777; font-weight:400; line-height:1.4; }
.assistant-back { border:0; background:transparent; padding:0; margin-bottom:18px; cursor:pointer; color:var(--green,#1f5c50); font-weight:700; }

/* Photos temporaires : à remplacer plus tard par les vraies réalisations */
.image-1 { background-image: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.18)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1200&q=80'); }
.image-4 { background-image: linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.18)), url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=80'); }
.project-1 { background-image: linear-gradient(rgba(0,0,0,.04),rgba(0,0,0,.24)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1400&q=80'); }
.project-2 { background-image: linear-gradient(rgba(0,0,0,.04),rgba(0,0,0,.24)), url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1200&q=80'); }
.project-3 { background-image: linear-gradient(rgba(0,0,0,.04),rgba(0,0,0,.24)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1200&q=80'); }


@media (max-width: 760px) {
    .conditions-grid { grid-template-columns: 1fr; gap: 30px; }
    #calvados-map { height: 430px; }
    .map-link {
    position: absolute;
    z-index: 500;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    padding: 13px 16px;
    background: var(--black);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

.map-link:hover {
    opacity: .9;
}

.quote-category-grid { grid-template-columns: 1fr; }
    .map-badge { left: 12px; right: 12px; bottom: 12px; }
}


/* =========================================================
   FOOTER — typographie uniforme et lisible sur fond noir
========================================================= */
footer,
footer * {
    font-family: "DM Sans", sans-serif !important;
}

footer {
    color: #fff;
}

footer p,
footer a,
footer span,
footer strong,
footer button {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

footer .footer-column > span:first-child {
    font-size: 14px;
    font-weight: 700;
}

footer .footer-brand p {
    color: rgba(255,255,255,.78);
}

footer .footer-column a,
footer .footer-column button {
    font-weight: 500;
}

footer .footer-bottom span,
footer .footer-bottom a {
    color: rgba(255,255,255,.82);
}

@media (max-width: 760px) {
    .google-map { height: 430px; }
    .map-link { left: 12px; right: 12px; bottom: 64px; justify-content: center; }
    .map-badge { bottom: 12px; }
}

/* =========================================================
   MENTIONS LÉGALES — CSS UNIQUEMENT POUR mentions-legales.html
   ========================================================= */

body.legal-page {
    background: #f7f7f5 !important;
    color: #171717 !important;
    font-family: "DM Sans", sans-serif !important;
    min-height: 100vh;
}


/* =========================================================
   HEADER
   ========================================================= */

body.legal-page .header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    width: 100% !important;
    background: #111 !important;
    color: #fff !important;
    z-index: 1000;
}

body.legal-page .header-inner {
    min-height: 88px;
}

body.legal-page .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.legal-page .brand-mark {
    flex-shrink: 0;
}

body.legal-page .brand-text {
    display: flex;
    flex-direction: column;
}

body.legal-page .brand-text strong {
    color: #fff !important;
}

body.legal-page .brand-text span {
    color: rgba(255, 255, 255, 0.65) !important;
}

body.legal-page .phone {
    color: #fff !important;
    white-space: nowrap;
}


/* =========================================================
   CONTENU
   ========================================================= */

body.legal-page .legal-main {
    padding: 100px 0 120px;
}

body.legal-page .legal-container {
    width: min(900px, calc(100% - 48px));
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

body.legal-page .eyebrow {
    margin-bottom: 18px;
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    color: #777 !important;
}

body.legal-page h1 {
    margin: 0 0 24px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: clamp(52px, 7vw, 82px) !important;
    line-height: 0.98 !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em;
    color: #111 !important;
}

body.legal-page .legal-intro {
    max-width: 760px;
    margin: 0 0 70px;
    font-family: "DM Sans", sans-serif !important;
    font-size: 19px !important;
    line-height: 1.65;
    color: #666 !important;
}


/* =========================================================
   SECTIONS
   ========================================================= */

body.legal-page .legal-section {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
}

body.legal-page .legal-section:last-of-type {
    margin-bottom: 0;
}

body.legal-page .legal-section h2 {
    margin: 0 0 25px !important;
    font-family: "Manrope", sans-serif !important;
    font-size: 29px !important;
    line-height: 1.25;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    color: #111 !important;
}

body.legal-page .legal-section h3 {
    margin: 30px 0 10px !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.35;
    font-weight: 700 !important;
    color: #111 !important;
}

body.legal-page .legal-section h3:first-child {
    margin-top: 8px !important;
}


/* =========================================================
   TEXTE
   ========================================================= */

body.legal-page .legal-section p {
    max-width: 820px;
    margin: 0 0 16px;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.75;
    font-weight: 400;
    color: #555 !important;
}

body.legal-page .legal-section p:last-child {
    margin-bottom: 0;
}

body.legal-page .legal-section strong {
    color: #171717 !important;
    font-weight: 700;
}


/* =========================================================
   LISTES
   ========================================================= */

body.legal-page .legal-section ul {
    max-width: 820px;
    margin: 12px 0 22px;
    padding-left: 24px;
}

body.legal-page .legal-section li {
    margin-bottom: 9px;
    padding-left: 4px;
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65;
    color: #555 !important;
}

body.legal-page .legal-section li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOUTON RETOUR
   ========================================================= */

body.legal-page .legal-back {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 14px 20px;
    border: 1px solid #111;
    background: #111;
    color: #fff !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

body.legal-page .legal-back:hover {
    background: transparent;
    color: #111 !important;
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
   ========================================================= */

body.legal-page footer {
    width: 100%;
    background: #111 !important;
    color: #fff !important;
}

body.legal-page footer * {
    font-family: "DM Sans", sans-serif !important;
}

body.legal-page .footer-bottom {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

body.legal-page .footer-bottom span,
body.legal-page .footer-bottom a {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.5;
}

body.legal-page .footer-bottom a {
    margin-left: 25px;
    transition: opacity 0.2s ease;
}

body.legal-page .footer-bottom a:hover {
    opacity: 0.65;
}


/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    body.legal-page .legal-main {
        padding: 80px 0 90px;
    }

    body.legal-page .legal-container {
        width: calc(100% - 48px);
        max-width: 760px;
    }

    body.legal-page h1 {
        font-size: clamp(42px, 8vw, 62px) !important;
    }

    body.legal-page .legal-intro {
        margin-bottom: 55px;
        font-size: 17px !important;
    }

    body.legal-page .legal-section {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    body.legal-page .legal-section h2 {
        font-size: 25px !important;
    }

    body.legal-page .legal-section h3 {
        font-size: 19px !important;
    }

    body.legal-page .legal-section p,
    body.legal-page .legal-section li {
        font-size: 16px !important;
    }
}


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

@media (max-width: 600px) {

    /* HEADER */

    body.legal-page .header-inner {
        width: 100%;
        min-height: 72px;
        padding: 0 20px;
    }

    body.legal-page .brand {
        gap: 10px;
    }

    body.legal-page .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    body.legal-page .brand-text strong {
        font-size: 12px !important;
    }

    body.legal-page .brand-text span {
        font-size: 9px !important;
        letter-spacing: 0.08em;
    }

    body.legal-page .phone {
        font-size: 13px !important;
        white-space: nowrap;
    }


    /* CONTENU */

    body.legal-page .legal-main {
        padding: 55px 0 70px;
    }

    body.legal-page .legal-container {
        width: calc(100% - 40px);
        max-width: none;
    }


    /* EYEBROW */

    body.legal-page .eyebrow {
        margin-bottom: 14px;
        font-size: 11px !important;
        letter-spacing: 0.1em;
    }


    /* TITRE */

    body.legal-page h1 {
        margin-bottom: 20px !important;
        font-size: 40px !important;
        line-height: 1.05 !important;
        letter-spacing: -0.04em;
        overflow-wrap: break-word;
    }


    /* INTRO */

    body.legal-page .legal-intro {
        margin-bottom: 45px;
        font-size: 16px !important;
        line-height: 1.65;
    }


    /* SECTIONS */

    body.legal-page .legal-section {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    body.legal-page .legal-section h2 {
        margin-bottom: 18px !important;
        font-size: 22px !important;
        line-height: 1.3;
    }

    body.legal-page .legal-section h3 {
        margin: 26px 0 10px !important;
        font-size: 18px !important;
        line-height: 1.35;
    }


    /* PARAGRAPHES */

    body.legal-page .legal-section p {
        margin-bottom: 14px;
        font-size: 15px !important;
        line-height: 1.7;
        overflow-wrap: break-word;
    }


    /* LISTES */

    body.legal-page .legal-section ul {
        margin: 10px 0 20px;
        padding-left: 21px;
    }

    body.legal-page .legal-section li {
        margin-bottom: 7px;
        padding-left: 2px;
        font-size: 15px !important;
        line-height: 1.65;
    }


    /* BOUTON */

    body.legal-page .legal-back {
        margin-top: 5px;
        padding: 13px 17px;
        font-size: 15px !important;
    }


    /* FOOTER */

    body.legal-page .footer-bottom {
        width: 100%;
        min-height: auto;
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    body.legal-page .footer-bottom > div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    body.legal-page .footer-bottom span,
    body.legal-page .footer-bottom a {
        margin-left: 0;
        font-size: 13px !important;
        line-height: 1.5;
    }
}


/* =========================================================
   RESPONSIVE — TRÈS PETIT ÉCRAN
   ========================================================= */

@media (max-width: 380px) {

    body.legal-page .header-inner {
        padding: 0 16px;
    }

    body.legal-page .brand-text {
        display: none;
    }

    body.legal-page .phone {
        font-size: 12px !important;
    }

    body.legal-page .legal-main {
        padding: 45px 0 60px;
    }

    body.legal-page .legal-container {
        width: calc(100% - 32px);
    }

    body.legal-page h1 {
        font-size: 34px !important;
    }

    body.legal-page .legal-intro {
        font-size: 15px !important;
    }

    body.legal-page .legal-section h2 {
        font-size: 20px !important;
    }

    body.legal-page .legal-section h3 {
        font-size: 17px !important;
    }

    body.legal-page .legal-section p,
    body.legal-page .legal-section li {
        font-size: 14px !important;
    }
}

@media (max-width: 650px) {
    .hero {
        padding-top: 120px;
    }

    .hero-content {
        position: relative;
        z-index: 1;
    }
}

/* =========================================================
   MODALE — DEMANDE URGENTE
========================================================= */

.urgent-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 20px;

    background: rgba(10, 11, 9, .72);
    backdrop-filter: blur(8px);
}


.urgent-modal {
    position: relative;

    width: min(480px, 100%);

    padding: 38px 30px;

    background: var(--white-pure);

    color: var(--text);

    text-align: center;

    border-radius: 4px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .30);

    animation: urgentModalAppear .25s ease-out;
}


.urgent-modal-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    background: #f0eee8;

    border-radius: 50%;

    font-size: 25px;
}


.urgent-modal h2 {
    margin: 0 0 18px;

    font-family: "Manrope", sans-serif;

    font-size: 32px;

    line-height: 1.05;

    color: var(--text);
}


.urgent-modal p {
    max-width: 390px;

    margin: 0 auto 25px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.65;
}


.urgent-modal-close {
    position: absolute;

    top: 12px;
    right: 16px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    color: var(--muted);

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    transition: color .2s ease;
}


.urgent-modal-close:hover {
    color: var(--text);
}


.urgent-call-button {
    display: flex;

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

    width: 100%;

    padding: 15px 20px;

    background: var(--black);

    color: white;

    border: none;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

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


.urgent-call-button:hover {
    background: var(--green-dark);

    transform: translateY(-1px);
}


.urgent-phone {
    margin-top: 14px !important;
    margin-bottom: 0 !important;

    color: var(--text) !important;

    font-size: 14px !important;

    font-weight: 700;
}


@keyframes urgentModalAppear {

    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   MODALE URGENCE — MOBILE
========================================================= */

@media (max-width: 650px) {

    .urgent-modal-overlay {
        padding: 16px;
    }


    .urgent-modal {
        padding: 35px 22px 25px;
    }


    .urgent-modal h2 {
        font-size: 27px;
    }


    .urgent-modal p {
        font-size: 14px;
    }


    .urgent-call-button {
        padding: 16px 18px;
    }

}

/* =========================================================
   LOGO — REMPLACEMENT DU P
========================================================= */

.brand-mark {
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


.assistant-mark {
    overflow: hidden;
}

.assistant-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

