
/* =========================================================
   DC AMENAGEMENTS
   CHARTE GRAPHIQUE
   ========================================================= */

:root {
    --dc-greige: #BFB8AA;
    --dc-wood: #A68365;
    --dc-brown: #40322A;
    --dc-gold: #D99518;

    --dc-cream: #F5F1EA;
    --dc-white: #FFFFFF;

    --font-title: 'Arvo', serif;
    --font-body: 'Montserrat', sans-serif;

    --container: 1280px;
}


/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #BFB8AA;
    color: var(--dc-brown);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}


/* TYPOGRAPHIE */

h1,
h2,
h3,
.footer-brand {
    margin-top: 0;

    font-family: var(--font-title);
    font-weight: 700;

    line-height: 1.1;
}

h1 {
    font-size: clamp(46px, 6vw, 92px);
    letter-spacing: -0.045em;
}

h1 span {
    display: block;
    color: var(--dc-gold);
}

h2 {
    max-width: 850px;

    font-size: clamp(38px, 5vw, 68px);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 25px;
}

p {
    margin-top: 0;
}


/* TOP BAR */

.topbar {
    background: var(--dc-brown);
    color: rgba(191,184,170,.75);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.topbar__inner {
    min-height: 38px;

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

    gap: 30px;
}

.topbar__contact {
    display: flex;
    gap: 28px;
}

.topbar a {
    transition: color .25s ease;
}

.topbar a:hover {
    color: var(--dc-gold);
}


/* HEADER */

.site-header {
    position: relative;
    z-index: 20;

    background: #BFB8AA;
    border-bottom: 1px solid rgba(64,50,42,.12);
}

.site-header__inner {
    min-height: 100px;

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

    gap: 40px;
}

.brand__fallback {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand__monogram {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 34px;

    color: var(--dc-gold);
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__text strong {
    font-family: var(--font-title);
    font-size: 17px;
}

.brand__text small {
    margin-top: 2px;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .12em;
}

.custom-logo {
    width: auto;
    max-height: 72px;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 34px;

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

.main-nav > a:not(.nav-cta) {
    position: relative;
}

.main-nav > a:not(.nav-cta)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--dc-gold);

    transition: width .25s ease;
}

.main-nav > a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 13px 22px;

    background: var(--dc-gold);
    color: var(--dc-greige);
}


/* HERO */

.hero {
    overflow: hidden;

    background: var(--dc-brown);
    color: var(--dc-greige);
}

.hero__grid {
    min-height: 720px;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    align-items: stretch;
}

.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px 8vw 90px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;

    color: var(--dc-gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 35px;
    height: 1px;

    margin-right: 13px;

    background: currentColor;
}

.eyebrow--dark {
    color: var(--dc-wood);
}

.hero__intro {
    max-width: 650px;

    margin-bottom: 38px;

    color: rgba(191,184,170,.72);

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

.hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.hero__visual::after {
    content: "";

    position: absolute;
    inset: 30px;

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

.hero__placeholder {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: var(--dc-greige);
}

.hero__placeholder > span {
    font-family: var(--font-title);
    font-size: clamp(80px, 11vw, 150px);
    font-weight: 700;

    line-height: .9;
}

.hero__placeholder strong {
    margin-top: 18px;

    font-family: var(--font-title);
    font-size: 22px;
}

.hero__placeholder small {
    margin-top: 6px;

    font-size: 9px;
    letter-spacing: .17em;
}


/* BUTTONS */

.button {
    min-height: 54px;

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

    padding: 0 27px;

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

    letter-spacing: .04em;

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

.button:hover {
    transform: translateY(-2px);
}

.button--gold {
    background: var(--dc-gold);
    color: var(--dc-greige);
}

.button--gold:hover {
    background: var(--dc-wood);
}

.button--outline {
    border: 1px solid rgba(255,255,255,.35);
    color: var(--dc-greige);
}

.button--outline:hover {
    background: var(--dc-wood);
    color: var(--dc-brown);
}

.button--light {
    background: var(--dc-wood);
    color: var(--dc-brown);
}


/* SECTIONS */

.section {
    padding: 120px 0;
}

.section-heading {
    margin-bottom: 65px;
}

.section-heading > p {
    max-width: 650px;
    color: rgba(64,50,42,.65);
}

.section-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 80px;
}

.section-heading--split > p {
    width: 420px;
    margin-bottom: 12px;
}


/* SERVICES */

.services {
    background: #BFB8AA;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    min-height: 390px;

    position: relative;

    padding: 35px 28px;

    border-top: 1px solid rgba(64,50,42,.18);
    border-right: 1px solid rgba(64,50,42,.18);

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

.service-card:first-child {
    border-left: 1px solid rgba(64,50,42,.18);
}

.service-card:hover {
    background: var(--dc-wood);
    transform: translateY(-7px);
}

.service-icon {
    width: 58px;
    height: 66px;

    margin-bottom: 28px;

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

    border: 2px solid var(--dc-gold);

    clip-path: polygon(
        25% 0,
        75% 0,
        100% 50%,
        75% 100%,
        25% 100%,
        0 50%
    );

    color: var(--dc-gold);
}

.service-card p {
    color: rgba(64,50,42,.63);

    font-size: 14px;
}


/* CRAFT */

.craft {
    background: var(--dc-wood);
    color: var(--dc-greige);
}

.craft__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.craft__visual {
    min-height: 650px;

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

    background:
        linear-gradient(
            145deg,
            rgba(64,50,42,.12),
            rgba(64,50,42,.38)
        ),
        var(--dc-greige);
}

.craft__placeholder {
    width: 65%;
    aspect-ratio: 1 / 1.15;

    display: flex;
    align-items: flex-end;

    padding: 30px;

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

.craft__placeholder span {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: .2em;
}

.craft__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px;
}

.craft__content p {
    color: rgba(191,184,170,.72);
}

.craft__lead {
    font-size: 20px;
}

.text-link {
    margin-top: 25px;

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

    gap: 14px;

    color: var(--dc-greige);

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

.text-link span {
    color: var(--dc-gold);
}


/* PROJECTS */

.projects {
    background: #BFB8AA;
}

.project-card__info {
    padding: 18px 0 28px;
}

.project-card__info h3 {
    margin-bottom: 4px;

    font-size: 20px;
}

.project-card__info span {
    color: var(--dc-wood);

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .1em;
}


/* CONTACT */

.contact-section {
    padding: 100px 0;

    background: var(--dc-gold);
    color: var(--dc-greige);
}

.contact-section .eyebrow {
    color: var(--dc-brown);
}

.contact-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}

.contact-section h2 {
    margin-bottom: 22px;
}

.contact-section p {
    max-width: 650px;

    color: rgba(191,184,170,.82);
}

.contact-section__actions {
    min-width: 250px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
}

.contact-phone {
    font-family: var(--font-title);
    font-size: 18px;
}


/* FOOTER */

.site-footer {
    padding: 90px 0 30px;

    background: var(--dc-brown);
    color: var(--dc-greige);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 80px;

    padding-bottom: 70px;
}

.footer-identity p {
    max-width: 430px;

    color: rgba(191,184,170,.55);

    font-size: 13px;
}

.footer-brand {
    margin-bottom: 18px;

    font-size: 25px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    font-size: 13px;
}

.footer-label {
    margin-bottom: 12px;

    color: var(--dc-gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .15em;
    text-transform: uppercase;
}

.footer-column a {
    color: rgba(191,184,170,.7);
}

.footer-column a:hover {
    color: var(--dc-gold);
}

.footer-bottom {
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

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

    color: rgba(191,184,170,.35);

    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .main-nav {
        gap: 18px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding-right: 0;
    }

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

    .craft__grid {
        grid-template-columns: 1fr;
    }

    .craft__content {
        padding: 70px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card--large {
        grid-row: auto;
    }

    .project-card--large .project-card__image {
        min-height: 450px;
    }

}


@media (max-width: 760px) {

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .topbar__inner > span {
        display: none;
    }

    .topbar__contact {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .site-header__inner {
        min-height: 85px;
    }

    .main-nav {
        display: none;
    }

    .hero__grid {
        min-height: auto;
    }

    .hero__content {
        padding: 75px 0;
    }

    .hero__visual {
        min-height: 420px;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 320px;

        border-left: 1px solid rgba(64,50,42,.18);
    }

    .section-heading--split,
    .contact-section__inner {
        display: block;
    }

    .section-heading--split > p {
        width: auto;
    }

    .craft__visual {
        min-height: 450px;
    }

    .craft__content {
        padding: 70px 0;
    }

    .contact-section__actions {
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}

/* ==========================================
   DC AMÉNAGEMENTS — PICTOGRAMMES OFFICIELS
   ========================================== */

.service-icon {
    width: 100%;
    height: 100px;
    margin: 35px 0 25px;

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

    border: none;
    clip-path: none;
}

.service-icon__image {
    display: block;

    width: auto;
    max-width: 110px;
    height: 90px;

    object-fit: contain;
    object-position: left center;
}

@media (max-width: 760px) {
    .service-icon {
        height: 85px;
        margin: 25px 0;
    }

    .service-icon__image {
        max-width: 100px;
        height: 80px;
    }
}



/* =========================================================
   DC AMÉNAGEMENTS — AJUSTEMENTS GRAPHIQUES VALIDÉS
   ========================================================= */


/* 1. LOGO HEADER */

.site-header .custom-logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.site-header img.custom-logo {
    display: block;
    width: 180px;
    height: auto;
    max-height: none;
    opacity: 1;
    visibility: visible;
}


/* 2. PRESTATIONS */

.service-number {
    display: none;
}

.service-card {
    padding-top: 28px;
}


/* 3. LOGO FOOTER */

.site-footer .footer-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;
}


/* 4. PHOTOGRAPHIE DU HERO */

.hero__visual {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: block;
    background: var(--dc-greige);
}

.hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__visual::after {
    z-index: 2;
    pointer-events: none;
}


/* 5. RÉALISATIONS — TITRE ET DESCRIPTION */

.projects .section-heading--split {
    display: block;
}

.projects .section-heading--split h2 {
    margin-bottom: 24px;
}

.projects .section-heading--split > p {
    width: 100%;
    max-width: 650px;
    margin: 20px 0 0;
}


/* 6. RÉALISATIONS — GRILLE */

.projects-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    align-items: stretch;
}

.project-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.project-card--large {
    grid-row: 1 / 3;
}


/* 7. RÉALISATIONS — PHOTOGRAPHIES */

.project-card__image {
    position: relative;
    overflow: hidden;
    padding: 0;

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

    background: linear-gradient(
        135deg,
        var(--dc-greige),
        var(--dc-wood)
    );

    color: rgba(191,184,170,.7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.project-card--large .project-card__image {
    flex: 1 0 auto;
    height: 650px;
    min-height: 650px;
}

.project-card:not(.project-card--large) .project-card__image {
    flex: none;
    height: 280px;
    min-height: 280px;
}

.project-card__image img.project-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.project-card__info {
    flex-shrink: 0;
}


/* 8. ADAPTATION MOBILE */

@media (max-width: 760px) {

    .site-footer .footer-logo {
        width: 150px;
    }

    .hero__visual {
        min-height: 420px;
    }

    .hero__image {
        object-position: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .project-card--large {
        grid-row: auto;
    }

    .project-card--large .project-card__image,
    .project-card:not(.project-card--large) .project-card__image {
        flex: none;
        height: 320px;
        min-height: 320px;
    }

}



/* =========================================================
   DC AMÉNAGEMENTS — CONTRASTE SUR FOND JAUNE
   ========================================================= */

/* Section Contact */
.contact-section,
.contact-section h2,
.contact-section p,
.contact-section .eyebrow,
.contact-section .contact-phone {
    color: var(--dc-brown);
}

/* Boutons jaunes */
.nav-cta,
.button--gold {
    color: var(--dc-brown);
}

/* =========================================================
   DC AMÉNAGEMENTS — IMAGE SAVOIR-FAIRE
   ========================================================= */

.craft__visual {
    position: relative;
    overflow: hidden;
}

.craft__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   DC AMÉNAGEMENTS — LIENS RÉALISATIONS
   ========================================================= */

.project-card__link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 2;
}

.project-card__link .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   DC AMÉNAGEMENTS — PAGE RÉALISATION
   ========================================================= */

.single-project {
    background: var(--dc-greige);
}

.single-project__hero {
    padding: 70px 0 0;
}

.single-project__hero-image {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto 55px;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

.single-project__image {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
}

.single-project__heading {
    padding-bottom: 55px;
}

.single-project__heading h1 {
    max-width: 1000px;
    margin-bottom: 0;
    color: var(--dc-brown);
}

.single-project__content {
    padding-top: 0;
}

.single-project__text {
    max-width: 820px;
    margin-bottom: 45px;
    color: var(--dc-brown);
}

.single-project__text p {
    margin-bottom: 24px;
}

.single-project__content .text-link {
    color: var(--dc-brown);
}

@media (max-width: 760px) {

    .single-project__hero {
        padding-top: 35px;
    }

    .single-project__hero-image {
        width: min(calc(100% - 32px), var(--container));
        min-height: 360px;
        margin-bottom: 35px;
    }

    .single-project__image {
        min-height: 360px;
    }

    .single-project__heading {
        padding-bottom: 35px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — GALERIE PAGE RÉALISATION
   ========================================================= */

.single-project__gallery {
    margin: 70px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.single-project__gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.single-project__gallery-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 760px) {

    .single-project__gallery {
        grid-template-columns: 1fr;
        margin: 45px 0;
    }

    .single-project__gallery-item,
    .single-project__gallery-image {
        min-height: 320px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — FICHE PROJET / GALERIE INTERACTIVE
   ========================================================= */

.single-project {
    background: var(--dc-greige);
}

.single-project__intro {
    padding: 80px 0 110px;
}

.single-project__heading {
    margin-bottom: 45px;
}

.single-project__heading h1 {
    max-width: 1050px;
    margin: 0 0 12px;
    color: var(--dc-brown);
}

.single-project__subtitle {
    margin: 0;
    max-width: 700px;
    color: var(--dc-brown);
    font-size: 18px;
    font-weight: 500;
}

.single-project__main-visual {
    position: relative;
    width: 100%;
    height: min(62vw, 720px);
    min-height: 520px;
    overflow: hidden;
    margin-bottom: 45px;
    background: var(--dc-wood);
}

.single-project__main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        opacity .2s ease,
        transform .35s ease;
}

.single-project__main-image.is-changing {
    opacity: .35;
    transform: scale(1.01);
}

.single-project__description {
    width: 100%;
    max-width: none;
    margin-bottom: 55px;
    color: var(--dc-brown);
}

.single-project__description p:last-child {
    margin-bottom: 0;
}


/* Rangée horizontale des images */

.single-project__thumbnails {
    display: flex;
    gap: 20px;
    width: 100%;
    margin: 0 0 55px;
    padding: 0 0 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.single-project__thumbnail {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    aspect-ratio: 1.45 / 1;
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: pointer;
    scroll-snap-align: start;
}

.single-project__thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    pointer-events: none;
    transition: border-color .2s ease;
}

.single-project__thumbnail.is-active::after {
    border-color: var(--dc-gold);
}

.single-project__thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.single-project__thumbnail:hover .single-project__thumbnail-image {
    transform: scale(1.035);
}

.single-project__back {
    color: var(--dc-brown);
}


/* Neutraliser l'ancienne galerie en grille si ses règles existent encore */

.single-project__gallery {
    display: none;
}


@media (max-width: 760px) {

    .single-project__intro {
        padding: 50px 0 80px;
    }

    .single-project__heading {
        margin-bottom: 30px;
    }

    .single-project__subtitle {
        font-size: 16px;
    }

    .single-project__main-visual {
        height: 68vw;
        min-height: 320px;
        margin-bottom: 35px;
    }

    .single-project__description {
        margin-bottom: 40px;
    }

    .single-project__thumbnails {
        gap: 14px;
        margin-bottom: 40px;
    }

    .single-project__thumbnail {
        flex-basis: 78%;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — SÉPARATEUR DESCRIPTION / GALERIE
   ========================================================= */

.single-project__description {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(64, 50, 42, .28);
}

@media (max-width: 760px) {

    .single-project__description {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — APERÇU MOBILE GALERIE
   ========================================================= */

.single-project__mobile-preview {
    display: none;
}

@media (max-width: 760px) {

    .single-project__mobile-preview {
        display: block;
        width: 100%;
        max-height: 0;
        margin: 0;
        overflow: hidden;
        opacity: 0;
        transform: scale(.96);
        transition:
            max-height .45s ease,
            margin .35s ease,
            opacity .3s ease,
            transform .35s ease;
    }

    .single-project__mobile-preview.is-visible {
        max-height: 620px;
        margin: 0 0 24px;
        opacity: 1;
        transform: scale(1);
    }

    .single-project__mobile-image {
        display: block;
        width: 100%;
        max-height: 580px;
        object-fit: contain;
        object-position: center;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — LIGHTBOX GALERIE MOBILE
   ========================================================= */

.single-project__lightbox {
    display: none;
}


/* Empêche la page de défiler quand l'image est ouverte */

body.single-project-lightbox-open {
    overflow: hidden;
}


@media (max-width: 760px) {

    .single-project__lightbox {
        position: fixed;
        inset: 0;
        z-index: 99999;

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

        padding: 70px 18px 35px;

        background: rgba(0, 0, 0, .88);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .25s ease,
            visibility .25s ease;
    }


    .single-project__lightbox.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


    .single-project__lightbox-inner {
        width: 100%;
        max-width: 1000px;
        max-height: calc(100vh - 105px);

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

        transform: scale(.94);

        transition: transform .3s ease;
    }


    .single-project__lightbox.is-open
    .single-project__lightbox-inner {
        transform: scale(1);
    }


    .single-project__lightbox-image {
        display: block;

        width: auto;
        max-width: 100%;

        height: auto;
        max-height: calc(100vh - 105px);

        object-fit: contain;

        box-shadow:
            0 20px 60px rgba(0, 0, 0, .35);
    }


    .single-project__lightbox-close {
        position: absolute;
        top: 18px;
        right: 20px;

        width: 46px;
        height: 46px;

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

        padding: 0;

        border: 0;
        background: transparent;

        color: #FFFFFF;

        font-family: Arial, sans-serif;
        font-size: 42px;
        font-weight: 300;
        line-height: 1;

        cursor: pointer;
    }


    /*
     * Neutraliser l'ancien aperçu mobile,
     * qui n'est désormais plus utilisé.
     */

    .single-project__mobile-preview {
        display: none !important;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — NAVIGATION LIGHTBOX
   ========================================================= */

@media (max-width: 760px) {

    .single-project__lightbox-nav {
        position: absolute;
        top: 50%;
        z-index: 3;

        width: 46px;
        height: 64px;

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

        padding: 0;

        border: 0;
        background: rgba(0, 0, 0, .28);

        color: #FFFFFF;

        font-family: Arial, sans-serif;
        font-size: 48px;
        font-weight: 300;
        line-height: 1;

        transform: translateY(-50%);

        cursor: pointer;
    }

    .single-project__lightbox-prev {
        left: 8px;
    }

    .single-project__lightbox-next {
        right: 8px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — TITRE PROJET EN CAPITALES
   ========================================================= */

.single-project__heading h1 {
    text-transform: uppercase;
}


/* =========================================================
   DC AMÉNAGEMENTS — TITRE PROJET 32 / 22
   ========================================================= */

.single-project__heading h1 {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: .01em;
    text-transform: uppercase;
}

@media (max-width: 760px) {

    .single-project__heading h1 {
        font-size: 22px;
        line-height: 1.2;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — ESPACEMENT TITRE / IMAGE PROJET
   ========================================================= */

.single-project__heading {
    margin-bottom: 22px;
}

@media (max-width: 760px) {

    .single-project__heading {
        margin-bottom: 16px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — ESPACEMENT TITRE / IMAGE PLUS SERRÉ
   ========================================================= */

.single-project__heading {
    margin-bottom: 11px;
}

@media (max-width: 760px) {

    .single-project__heading {
        margin-bottom: 8px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — ESPACEMENTS TITRE / SOUS-TITRE / IMAGE
   ========================================================= */

.single-project__heading {
    margin-bottom: 12px;
}

@media (max-width: 760px) {

    .single-project__heading {
        margin-bottom: 12px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — CORRECTION ESPACEMENT EN-TÊTE PROJET
   ========================================================= */

.single-project__heading {
    margin-bottom: 12px;
    padding-bottom: 0;
}

.single-project__heading h1 {
    margin-bottom: 12px;
}

.single-project__subtitle {
    margin: 0;
}

@media (max-width: 760px) {

    .single-project__heading {
        margin-bottom: 12px;
        padding-bottom: 0;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — CARTES PRESTATIONS MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .service-card:hover,
    .service-card:active,
    .service-card:focus-within {
        transform: none;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — ARCHIVE RÉALISATIONS
   ========================================================= */

.projects-more {
    margin-top: 35px;
    display: flex;
    justify-content: flex-start;
}

.realisations-archive {
    background: var(--dc-greige);
}

.realisations-archive__title {
    font-size: clamp(42px, 5vw, 64px);
    color: var(--dc-brown);
}

.realisations-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
}

.realisations-archive__card {
    min-width: 0;
}

.realisations-archive__image-link {
    display: block;
}

.realisations-archive__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--dc-wood);
}

.realisations-archive__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.realisations-archive__card:hover
.realisations-archive__photo {
    transform: scale(1.035);
}

.realisations-archive__info {
    padding-top: 16px;
}

.realisations-archive__info h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.realisations-archive__info span {
    color: var(--dc-wood);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 1000px) {

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

}

@media (max-width: 760px) {

    .projects-more {
        margin-top: 28px;
    }

    .realisations-archive__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .realisations-archive__title {
        font-size: 34px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — ESPACEMENT SECTIONS 50 / 30
   ========================================================= */

.section {
    padding: 50px 0 100px;
}

@media (max-width: 760px) {

    .section {
        padding: 30px 0 70px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — FICHE TECHNIQUE PROJET
   ========================================================= */

.single-project__details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 70px;
    align-items: start;

    padding-bottom: 45px;
    margin-bottom: 45px;

    border-bottom: 1px solid rgba(64, 50, 42, .28);
}

.single-project__details-layout
.single-project__description {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.single-project__technical {
    border-left: 1px solid rgba(64, 50, 42, .25);
    padding-left: 28px;
}

.single-project__technical-row {
    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom: 1px solid rgba(64, 50, 42, .14);
}

.single-project__technical-row:last-child {
    margin-bottom: 0;
}

.single-project__technical-label {
    display: block;
    margin-bottom: 5px;

    color: rgba(64, 50, 42, .58);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-project__technical-value {
    display: block;

    color: var(--dc-brown);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 760px) {

    .single-project__details-layout {
        grid-template-columns: 1fr;
        gap: 28px;

        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .single-project__technical {
        border-left: 0;
        border-top: 1px solid rgba(64, 50, 42, .25);

        padding-left: 0;
        padding-top: 22px;
    }

}


/* =========================================================
   DC AMÉNAGEMENTS — AJUSTEMENT FICHE TECHNIQUE
   ========================================================= */

.single-project__technical-label {
    display: block;
    margin-bottom: 5px;

    color: var(--dc-brown);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.single-project__technical-value {
    display: block;

    color: rgba(64, 50, 42, .82);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.single-project__technical-row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}


/* =========================================================
   DC AMÉNAGEMENTS — AUTRES RÉALISATIONS SUR FICHE PROJET
   ========================================================= */

.single-project__others {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(64, 50, 42, .28);
}

.single-project__others-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 35px;
}

.single-project__others-heading h2 {
    margin: 0;
    font-size: 32px;
    color: var(--dc-brown);
}

.single-project__all-link {
    flex-shrink: 0;
    color: var(--dc-brown);
}

.single-project__others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.single-project__other-card {
    min-width: 0;
}

.single-project__other-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--dc-wood);
}

.single-project__other-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.single-project__other-card:hover
.single-project__other-photo {
    transform: scale(1.035);
}

.single-project__other-info {
    padding-top: 14px;
}

.single-project__other-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.single-project__other-info span {
    color: rgba(64, 50, 42, .65);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 1000px) {

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

}

@media (max-width: 760px) {

    .single-project__others {
        margin-top: 50px;
        padding-top: 35px;
    }

    .single-project__others-heading {
        display: block;
        margin-bottom: 25px;
    }

    .single-project__others-heading h2 {
        font-size: 26px;
    }

    .single-project__all-link {
        display: inline-flex;
        margin-top: 18px;
    }

    .single-project__others-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}

