
/* =========================================================
   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__heading {
    padding-bottom: 55px;
}

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


@media (max-width: 760px) {

    

    

    

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

}


/* =========================================================
   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);
}

@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 — 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 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 — 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 — 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;
    }

}


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

.site-header,
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* ==========================================================
   ANCRES — OFFSET 50PX
   ========================================================== */

html {
    scroll-padding-top: 50px;
}

#prestations,
#savoir-faire,
#realisations,
#contact {
    scroll-margin-top: 50px;
}


/* ==========================================================
   MENU MOBILE / HAMBURGER
   ========================================================== */

.nav-toggle {
    display: none;
}

@media (max-width: 760px) {

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .site-header .container,
    .site-header__inner {
        position: relative;
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 0;
        margin-left: auto;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        border: 0;
        background: transparent;
        color: var(--dc-brown);

        cursor: pointer;
        z-index: 1002;
    }

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;

        background: currentColor;

        transform-origin: center;
        transition:
            transform .25s ease,
            opacity .2s ease;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        padding: 18px 24px 24px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: var(--dc-greige);
        border-top: 1px solid rgba(64, 50, 42, .12);
        box-shadow: 0 16px 30px rgba(64, 50, 42, .12);

        z-index: 1001;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        display: block;

        padding: 15px 0;

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

        font-size: 13px;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav .nav-cta {
        margin-top: 12px;
        padding: 15px 18px;

        text-align: center;

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


/* ==========================================================
   DC — REFONTE PAGE RÉALISATIONS 2026
   Palette exclusive : greige + brun
   ========================================================== */


/* 3 prestations sur l'accueil */

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


/* Introduction */

.projects-showcase {
    background: var(--dc-greige);
}

.projects-showcase__intro {
    padding: 80px 0 65px;

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

.projects-showcase__intro h1 {
    margin: 12px 0 18px;

    font-family: var(--font-title);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.projects-showcase__intro p {
    max-width: 640px;
    margin: 0;

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


/* Sections */

.project-universe {
    padding: 75px 0 90px;
}

.project-universe--greige {
    background: var(--dc-greige);
    color: var(--dc-brown);
}

.project-universe--brown {
    background: var(--dc-brown);
    color: var(--dc-greige);
}

.project-universe__heading {
    margin-bottom: 42px;
    text-align: center;
}

.project-universe__heading h2 {
    margin: 0;

    font-family: var(--font-title);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -.015em;
}

.project-universe__empty {
    text-align: center;
}


/* Mosaïque */

.project-mosaic {
    display: grid;

    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 95px;

    gap: 14px;
}

.project-mosaic__item {
    position: relative;

    display: block;
    overflow: hidden;

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

.project-mosaic__item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease,
        filter .35s ease;
}


/* Composition desktop */

.project-mosaic__item--1 {
    grid-column: span 3;
    grid-row: span 4;
}

.project-mosaic__item--2 {
    grid-column: span 5;
    grid-row: span 3;
}

.project-mosaic__item--3 {
    grid-column: span 4;
    grid-row: span 4;
}

.project-mosaic__item--4 {
    grid-column: span 3;
    grid-row: span 3;
}

.project-mosaic__item--5 {
    grid-column: span 2;
    grid-row: span 3;
}

.project-mosaic__item--6 {
    grid-column: span 4;
    grid-row: span 3;
}

.project-mosaic__item--7 {
    grid-column: span 3;
    grid-row: span 3;
}

.project-mosaic__item--8 {
    grid-column: span 3;
    grid-row: span 3;
}

.project-mosaic__item--9 {
    grid-column: span 2;
    grid-row: span 3;
}


/* Overlay projet */

.project-mosaic__overlay {
    position: absolute;
    inset: 0;

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

    padding: 18px;

    background:
        linear-gradient(
            to top,
            rgba(64,50,42,.68),
            rgba(64,50,42,0) 55%
        );

    color: var(--dc-greige);

    opacity: 0;

    transition: opacity .3s ease;
}

.project-mosaic__overlay span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

.project-mosaic__item:hover img {
    transform: scale(1.035);
}

.project-mosaic__item:hover
.project-mosaic__overlay {
    opacity: 1;
}


/* Séparation uniquement par les deux couleurs */

.project-universe--brown +
.project-universe--greige {
    border-top: 0;
}


/* Tablette */

@media (max-width: 1000px) {

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

    .project-mosaic {
        grid-auto-rows: 75px;
        gap: 10px;
    }

}


/* Mobile */

@media (max-width: 760px) {

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

    .projects-showcase__intro {
        padding: 55px 0 45px;
    }

    .project-universe {
        padding: 55px 0 65px;
    }

    .project-universe__heading {
        margin-bottom: 28px;

        text-align: left;
    }

    .project-mosaic {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-auto-rows: 150px;

        gap: 8px;
    }

    .project-mosaic__item,
    .project-mosaic__item--1,
    .project-mosaic__item--2,
    .project-mosaic__item--3,
    .project-mosaic__item--4,
    .project-mosaic__item--5,
    .project-mosaic__item--6,
    .project-mosaic__item--7,
    .project-mosaic__item--8,
    .project-mosaic__item--9 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-mosaic__item:nth-child(5n + 1) {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

    .project-mosaic__overlay {
        opacity: 1;

        padding: 12px;

        background:
            linear-gradient(
                to top,
                rgba(64,50,42,.55),
                rgba(64,50,42,0) 60%
            );
    }

}


/* ==========================================================
   MOSAÏQUE RÉALISATIONS — VERSION CLIENT
   ========================================================== */

/* titre aligné à gauche */

.project-universe__heading {
    margin-bottom: 36px;
    text-align: left;
}

.project-universe__heading h2 {
    text-align: left;
}


/* mosaïque fidèle au schéma */

.project-mosaic {
    display: grid;

    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 220px 220px;

    gap: 14px;
}


/* 1 — grande verticale gauche */

.project-mosaic__item--1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}


/* 2 — petit horizontal haut */

.project-mosaic__item--2 {
    grid-column: 3 / span 2;
    grid-row: 1;
}


/* 3 — grand horizontal haut */

.project-mosaic__item--3 {
    grid-column: 5 / span 4;
    grid-row: 1;
}


/* 4 — grande verticale centre-droite */

.project-mosaic__item--4 {
    grid-column: 9 / span 2;
    grid-row: 1 / span 2;
}


/* 5 — horizontal haut droite */

.project-mosaic__item--5 {
    grid-column: 11 / span 2;
    grid-row: 1;
}


/* 6 — grand horizontal bas gauche */

.project-mosaic__item--6 {
    grid-column: 3 / span 3;
    grid-row: 2;
}


/* 7 — horizontal bas centre */

.project-mosaic__item--7 {
    grid-column: 6 / span 3;
    grid-row: 2;
}


/* 8 — horizontal bas droite */

.project-mosaic__item--8 {
    grid-column: 11 / span 2;
    grid-row: 2;
}


.project-mosaic__item {
    min-width: 0;
    min-height: 0;
}

.project-mosaic__item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Couleurs strictement brun / greige */

.project-universe--brown {
    background: #40322A;
    color: #BFB8AA;
}

.project-universe--greige {
    background: #BFB8AA;
    color: #40322A;
}


/* mobile : simplification propre */

@media (max-width: 760px) {

    .project-universe__heading {
        text-align: left;
    }

    .project-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: 150px;
        gap: 8px;
    }

    .project-mosaic__item,
    .project-mosaic__item--1,
    .project-mosaic__item--2,
    .project-mosaic__item--3,
    .project-mosaic__item--4,
    .project-mosaic__item--5,
    .project-mosaic__item--6,
    .project-mosaic__item--7,
    .project-mosaic__item--8 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-mosaic__item--1,
    .project-mosaic__item--5 {
        grid-column: 1 / -1;
        grid-row: span 2;
    }
}


/* ==========================================================
   ESPACEMENT TITRES RÉALISATIONS
   ========================================================== */

.projects-showcase__intro {
    padding-bottom: 50px;
}

.project-universe:first-of-type {
    padding-top: 50px;
}


/* ==========================================================
   RETOUR EN HAUT — VERSION DÉFINITIVE
   ========================================================== */

#dc-back-to-top {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 99999 !important;

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

    width: 46px;
    height: 46px;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: #D99518;
    color: #40322A;

    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

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

#dc-back-to-top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#dc-back-to-top:hover {
    background: #D99518;
    color: #40322A;
    transform: translateY(-2px) !important;
}

@media (max-width: 760px) {

    #dc-back-to-top {
        right: 16px !important;
        bottom: 16px !important;

        width: 44px;
        height: 44px;

        font-size: 22px;
    }
}


/* ==========================================================
   PROJET — CARROUSEL PRINCIPAL DESKTOP
   ========================================================== */

.single-project__main-visual {
    position: relative;
}

.single-project__main-nav {
    position: absolute;
    top: 50%;
    z-index: 10;

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

    width: 46px;
    height: 46px;
    padding: 0;

    border: 0;

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

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);
}

.single-project__main-nav:hover {
    background: #D99518;
    color: #40322A;
}

.single-project__main-prev {
    left: 18px;
}

.single-project__main-next {
    right: 18px;
}

.single-project__main-counter {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 10;

    padding: 8px 11px;

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

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

.single-project__main-image {
    transition: opacity .18s ease;
}

.single-project__main-image.is-changing {
    opacity: .35;
}

@media (min-width: 761px) {

    .single-project__thumbnails {
        display: none !important;
    }

    .single-project__lightbox {
        display: none !important;
    }
}

@media (max-width: 760px) {

    .single-project__main-nav,
    .single-project__main-counter {
        display: none !important;
    }
}


/* ==========================================================
   CARROUSEL PROJET — ADAPTATION PORTRAIT / PAYSAGE
   ========================================================== */

.single-project__main-visual {
    position: relative;

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

    background: #BFB8AA;

    overflow: hidden;
}

.single-project__main-image {
    width: 100%;
    height: 100%;

    object-fit: contain !important;
    object-position: center;

    background: #BFB8AA;
}


/* Desktop */

@media (min-width: 761px) {

    .single-project__main-visual {
        height: min(72vh, 760px);
        min-height: 520px;
    }

}


/* Mobile */

@media (max-width: 760px) {

    .single-project__main-visual {
        height: auto;
        min-height: 0;
    }

    .single-project__main-image {
        width: 100%;
        height: auto;

        object-fit: contain !important;
    }

}


/* ==========================================================
   CARROUSEL — IMAGE PRINCIPALE PLEIN CADRE
   ========================================================== */

/* Images de galerie :
   affichage complet dans la zone */

@media (min-width: 761px) {

    .single-project__main-image {
        width: 100%;
        height: 100%;

        object-fit: contain !important;
        object-position: center;

        background: #BFB8AA;
    }

    /* Image mise en avant :
       elle remplit toujours complètement le cadre */

    .single-project__main-image.is-featured {
        width: 100%;
        height: 100%;

        object-fit: cover !important;
        object-position: center;

        background: transparent;
    }

}


/* ==========================================================
   CARROUSEL — FONDU ENTRE LES IMAGES
   ========================================================== */

.single-project__main-image {
    transition:
        opacity .30s ease,
        transform .30s ease;
}

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


/* ==========================================================
   PROJET — SUPPRESSION DIVISEUR GALERIE DESKTOP
   ========================================================== */

@media (min-width: 761px) {

    .single-project__others {
        border-top: 0 !important;
    }

}


/* ==========================================================
   PROJET — ESPACEMENT AVANT "DÉCOUVRIR AUSSI"
   ========================================================== */

@media (min-width: 761px) {

    .single-project__others {
        margin-top: 50px !important;
        padding-top: 0 !important;
    }

}


/* ==========================================================
   DC COMPANY — FORMULAIRE DE CONTACT
   ========================================================== */

.contact-section {
    background: #40322A;
    color: #F5F1EA;
}

.contact-section__heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.contact-section__heading h2 {
    margin-bottom: 18px;
    color: #F5F1EA;
}

.contact-section__heading p {
    max-width: 560px;
    margin: 0;
}

.contact-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 70px;
    align-items: start;
}

.contact-form {
    width: 100%;
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-form__field {
    margin-bottom: 22px;
}

.contact-form__field label {
    display: block;
    margin-bottom: 8px;

    color: #F5F1EA;

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

.contact-form__field input,
.contact-form__field textarea {
    display: block;
    width: 100%;

    box-sizing: border-box;

    border: 1px solid rgba(245, 241, 234, .35);
    border-radius: 0;

    padding: 14px 15px;

    background: transparent;
    color: #F5F1EA;

    font: inherit;

    outline: none;

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

.contact-form__field input {
    min-height: 50px;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 170px;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: #D99518;
    background: rgba(255, 255, 255, .03);
}

.contact-form__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;

    max-width: 620px;
    margin: 0 0 25px;

    font-size: 12px;
    line-height: 1.6;

    cursor: pointer;
}

.contact-form__consent input {
    margin-top: 3px;
    accent-color: #D99518;
}

.contact-form__submit {
    border: 0;
    cursor: pointer;
}

.contact-section__details {
    padding-left: 30px;
    border-left: 1px solid rgba(245, 241, 234, .25);
}

.contact-section__details-label {
    display: block;

    margin-bottom: 20px;

    color: #D99518;

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

.contact-section__details a {
    display: block;

    margin-bottom: 10px;

    color: #F5F1EA;
    text-decoration: none;
}

.contact-section__details a:hover {
    color: #D99518;
}

.contact-section__details p {
    margin: 30px 0 0;

    color: rgba(245, 241, 234, .72);
    font-size: 13px;
    line-height: 1.7;
}

.contact-form__notice {
    margin-bottom: 30px;
    padding: 15px 18px;

    border-left: 3px solid #D99518;

    background: rgba(255, 255, 255, .07);

    font-size: 14px;
}

.contact-form__notice--error {
    border-left-color: #F5F1EA;
}

.contact-form__honeypot {
    position: absolute !important;
    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}

@media (max-width: 760px) {

    .contact-section__heading {
        margin-bottom: 32px;
    }

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

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section__details {
        padding-left: 0;
        padding-top: 30px;

        border-left: 0;
        border-top: 1px solid rgba(245, 241, 234, .25);
    }

}


/* ==========================================================
   FORMULAIRE CONTACT — MENU SUJET
   ========================================================== */

.contact-form__field select {
    display: block;
    width: 100%;
    min-height: 50px;

    box-sizing: border-box;

    padding: 14px 42px 14px 15px;

    border: 1px solid rgba(245, 241, 234, .35);
    border-radius: 0;

    background-color: transparent;
    color: #F5F1EA;

    font: inherit;

    cursor: pointer;
    outline: none;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #D99518 50%),
        linear-gradient(135deg, #D99518 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;
}

.contact-form__field select:focus {
    border-color: #D99518;
    background-color: rgba(255, 255, 255, .03);
}

.contact-form__field select option {
    background: #40322A;
    color: #F5F1EA;
}


/* ==========================================================
   CONTACT — AJOUT DE PHOTOS
   ========================================================== */

.contact-form__optional {
    margin-left: 7px;

    color: rgba(245, 241, 234, .55);

    font-size: 10px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: none;
}

.contact-form__upload {
    position: relative;

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

    min-height: 105px;
    padding: 20px;

    border: 1px dashed rgba(245, 241, 234, .4);

    background: rgba(255, 255, 255, .025);

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

.contact-form__upload:hover {
    border-color: #D99518;
    background: rgba(255, 255, 255, .045);
}

.contact-form__upload input[type="file"] {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    cursor: pointer;
}

.contact-form__upload-text {
    color: #F5F1EA;

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

.contact-form__upload small {
    display: block;

    margin-top: 6px;

    color: rgba(245, 241, 234, .58);

    font-size: 11px;
}


/* ==========================================================
   PAGE PROJET — RETOUR AUX PROJETS
   ========================================================== */

.single-project__back-projects {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: #40322A;
    text-decoration: none;

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

.single-project__back-projects span {
    color: #D99518;
    transition: transform .2s ease;
}

.single-project__back-projects:hover span {
    transform: translateX(-4px);
}


/* ==========================================================
   PAGE PROJET — TITRE À 50PX DU HEADER
   ========================================================== */

.single-project__intro {
    padding-top: 0 !important;
}

.single-project__heading {
    position: relative;
    padding-top: 50px;
}

.single-project__heading h1 {
    margin-top: 0 !important;
}

.single-project__back-projects {
    position: absolute;
    top: 14px;
    left: 0;

    margin: 0 !important;
}


/* ==========================================================
   PAGE RÉALISATIONS — 50PX SOUS LE HEADER
   ========================================================== */

.projects-showcase__intro {
    padding-top: 50px !important;
}


/* ==========================================================
   RÉALISATIONS — SCROLL HORIZONTAL INTERNE UNIQUEMENT
   ========================================================== */

/* Empêche uniquement la PAGE de créer une barre horizontale */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* Important : ne pas couper le carrousel au niveau de la page projets */
.projects-showcase {
    overflow: visible !important;
}

/* La mosaïque reste sa propre zone de défilement */
.project-mosaic-scroll {
    position: relative;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    overscroll-behavior-x: contain;

    cursor: grab;
    touch-action: pan-x pan-y;
}

.project-mosaic-scroll::-webkit-scrollbar {
    display: none;
}

.project-mosaic-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}


/* ==========================================================
   RÉALISATIONS — LARGEUR HORIZONTALE FIABLE
   ========================================================== */

html,
body {
    overflow-x: hidden !important;
}

.projects-showcase {
    overflow-x: hidden !important;
}

@media (min-width: 761px) {

    .project-mosaic-scroll {
        display: block;

        width: calc(100vw - ((100vw - 100%) / 2));
        max-width: none;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        cursor: grab;
    }

    .project-mosaic-scroll::-webkit-scrollbar {
        display: none;
    }

    .project-mosaic-scroll:active {
        cursor: grabbing;
    }

    .project-mosaic--horizontal {
        max-width: none !important;
    }

}


/* ==========================================================
   MINIATURES PROJETS — RATIO 3:4
   ========================================================== */

/* Page d'accueil : section réalisations */
.project-card__image,
.project-card--large .project-card__image {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
}

/* Archive réalisations : mosaïque */
.project-mosaic__item {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
}

/* Page projet : "Découvrir aussi" */
.single-project__other-image {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
}

/* Toutes les images de projets remplissent bien leur cadre */
.project-card__image img,
.project-card__image .project-image,
.project-mosaic__item img,
.single-project__other-image img,
.single-project__other-photo {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Sécurité mobile */
@media (max-width: 760px) {

    .project-card__image,
    .project-card--large .project-card__image,
    .project-mosaic__item,
    .single-project__other-image {
        aspect-ratio: 3 / 4 !important;
        height: auto !important;
        min-height: 0 !important;
    }

}


/* ==========================================================
   RÉALISATIONS MOBILE — CARTES 3:4 HORIZONTALES
   ========================================================== */

@media (max-width: 760px) {

    /*
     * Zone de défilement.
     */
    .project-mosaic-scroll {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;

        touch-action: pan-x pan-y;
    }

    .project-mosaic-scroll::-webkit-scrollbar {
        display: none !important;
    }


    /*
     * Sur mobile on abandonne la géométrie
     * complexe de la mosaïque desktop.
     *
     * Les projets deviennent une rangée continue.
     */
    .project-mosaic--horizontal {
        display: flex !important;

        width: max-content !important;
        min-width: 100% !important;

        height: auto !important;

        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: initial !important;

        gap: 12px !important;
    }


    /*
     * Une miniature = ratio portrait 3:4.
     *
     * 72vw laisse volontairement apparaître
     * une partie de la carte suivante à droite.
     */
    .project-mosaic--horizontal
    .project-mosaic__item {
        flex: 0 0 min(72vw, 290px) !important;

        width: min(72vw, 290px) !important;
        height: auto !important;

        aspect-ratio: 3 / 4 !important;

        min-width: 0 !important;
        min-height: 0 !important;

        grid-column: auto !important;
        grid-row: auto !important;

        overflow: hidden !important;
    }


    /*
     * L'image remplit toute la miniature.
     */
    .project-mosaic--horizontal
    .project-mosaic__item img {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
        object-position: center !important;
    }

}


/* ==========================================================
   RÉALISATIONS — DESKTOP MOSAÏQUE / MOBILE 3:4
   ========================================================== */

@media (min-width: 761px) {

    /*
     * Sur desktop, on annule le ratio 3:4 forcé.
     * La géométrie est définie par la grille de la mosaïque.
     */
    .project-mosaic--horizontal
    .project-mosaic__item {
        aspect-ratio: auto !important;

        width: auto !important;
        height: auto !important;

        min-width: 0 !important;
        min-height: 0 !important;

        flex: initial !important;
    }

    .project-mosaic--horizontal
    .project-mosaic__item img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
    }

    /*
     * On conserve les deux rangées desktop.
     */
    .project-mosaic--horizontal {
        display: grid !important;

        grid-template-rows:
            220px 220px !important;

        gap: 14px !important;

        height: auto !important;
    }

}


/* ==========================================================
   SAVOIR-FAIRE — CONTRASTE TEXTE
   ========================================================== */

.craft__content h2,
.craft__content h3 {
    color: #40322A !important;
}

.craft__content p {
    color: rgba(64, 50, 42, .78) !important;
}

.craft__content .eyebrow,
.craft__content .eyebrow::before {
    color: #D99518 !important;
}

.craft__content .text-link,
.craft__content a {
    color: #40322A !important;
}

.craft__content .text-link span,
.craft__content a span {
    color: #D99518 !important;
}


/* ==========================================================
   HERO + NOTRE APPROCHE — CADRES IDENTIQUES
   ========================================================== */

.hero__visual::after,
.craft__visual::after {
    inset: 30px !important;

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

    pointer-events: none;
}

@media (max-width: 760px) {

    .hero__visual::after,
    .craft__visual::after {
        inset: 30px !important;
    }

}


/* =========================================================
   RÉALISATIONS — BARRE DE NAVIGATION HORIZONTALE DESKTOP
   ========================================================= */

@media (min-width: 761px) {

    .project-mosaic-scroll {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 14px;

        scrollbar-width: thin !important;
        scrollbar-color: var(--dc-gold) rgba(64, 50, 42, .16) !important;
    }

    .project-mosaic-scroll::-webkit-scrollbar {
        display: block !important;
        height: 8px;
    }

    .project-mosaic-scroll::-webkit-scrollbar-track {
        background: rgba(64, 50, 42, .16);
        border-radius: 999px;
    }

    .project-mosaic-scroll::-webkit-scrollbar-thumb {
        background: var(--dc-gold);
        border-radius: 999px;
    }

    .project-mosaic-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--dc-brown);
    }
}



/* =========================================================
   RÉALISATIONS — GRILLE ÉDITORIALE V1
   ========================================================= */

.projects-editorial {
    padding: 0 0 90px;
    overflow: hidden;
}

.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: 285px;
    gap: 14px;
}


/* ---------------------------------------------------------
   BLOCS ÉDITORIAUX
   --------------------------------------------------------- */

.projects-editorial-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding: clamp(24px, 3vw, 42px);
}

.projects-editorial-card--first {
    grid-column: span 3;
}

.projects-editorial-card--second {
    grid-column: span 4;
}

.projects-editorial-card--brown {
    color: var(--dc-cream);
    background: var(--dc-brown);
}

.projects-editorial-card--greige {
    color: var(--dc-brown);
    background: var(--dc-greige);
}

.projects-editorial-card__eyebrow {
    display: block;
    margin-bottom: 14px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.projects-editorial-card--brown
.projects-editorial-card__eyebrow {
    color: var(--dc-gold);
}

.projects-editorial-card--greige
.projects-editorial-card__eyebrow {
    color: var(--dc-brown);
}

.projects-editorial-card h2 {
    margin: 0 0 18px;

    font-family: "Arvo", serif;
    font-size: clamp(24px, 2.3vw, 36px);
    font-weight: 400;
    line-height: 1.08;
}

.projects-editorial-card p {
    max-width: 34ch;
    margin: 0;

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


/* ---------------------------------------------------------
   PROJETS
   --------------------------------------------------------- */

.projects-editorial-project {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

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

.projects-editorial-project--hero {
    grid-column: span 9;
}

.projects-editorial-project--second-row {
    grid-column: span 4;
}

.projects-editorial-project--span-4 {
    grid-column: span 4;
}

.projects-editorial-project--span-8 {
    grid-column: span 8;
}

.projects-editorial-project img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .55s cubic-bezier(.2, .7, .2, 1),
        filter .35s ease;
}

.projects-editorial-project:hover img,
.projects-editorial-project:focus-visible img {
    transform: scale(1.025);
}


/* ---------------------------------------------------------
   OVERLAY
   --------------------------------------------------------- */

.projects-editorial-project__overlay {
    position: absolute;
    inset: 0;

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

    padding: 24px;

    color: #fff;

    background:
        linear-gradient(
            to top,
            rgba(64, 50, 42, .72) 0%,
            rgba(64, 50, 42, .12) 48%,
            rgba(64, 50, 42, 0) 72%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.projects-editorial-project:hover
.projects-editorial-project__overlay,
.projects-editorial-project:focus-visible
.projects-editorial-project__overlay {
    opacity: 1;
}

.projects-editorial-project__category {
    margin-bottom: 7px;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.projects-editorial-project__overlay strong {
    font-family: "Arvo", serif;
    font-size: clamp(18px, 1.6vw, 26px);
    font-weight: 400;
    line-height: 1.15;
}


/* ---------------------------------------------------------
   ANCRES DEPUIS LA PAGE D'ACCUEIL
   --------------------------------------------------------- */

.projects-editorial-project[id] {
    scroll-margin-top: 50px;
}


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (max-width: 1000px) and (min-width: 761px) {

    .projects-editorial-grid {
        grid-auto-rows: 240px;
    }

    .projects-editorial-card {
        padding: 26px;
    }

    .projects-editorial-card h2 {
        font-size: 26px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .projects-editorial {
        padding-bottom: 60px;
    }

    .projects-editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .projects-editorial-card,
    .projects-editorial-card--first,
    .projects-editorial-card--second {
        width: 100%;
        min-height: 280px;
        padding: 30px 26px;
    }

    .projects-editorial-card h2 {
        font-size: 30px;
    }

    .projects-editorial-project,
    .projects-editorial-project--hero,
    .projects-editorial-project--second-row,
    .projects-editorial-project--span-4,
    .projects-editorial-project--span-8 {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .projects-editorial-project__overlay {
        padding: 20px;

        background:
            linear-gradient(
                to top,
                rgba(64, 50, 42, .68) 0%,
                rgba(64, 50, 42, 0) 60%
            );

        opacity: 1;
    }

    .projects-editorial-project__category {
        font-size: 9px;
    }

    .projects-editorial-project__overlay strong {
        font-size: 21px;
    }

}



/* =========================================================
   RÉALISATIONS — GRILLE ÉDITORIALE PAR UNIVERS
   ========================================================= */

.project-universe {
    padding-top: 70px;
    padding-bottom: 82px;
}

.project-universe__heading {
    margin-bottom: 34px;
}

.project-universe__heading h2 {
    margin: 0;

    font-family: "Arvo", serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.05;
}


/* UNIVERS BRUN */

.project-universe--brown {
    background: var(--dc-brown);
    color: var(--dc-cream);
}

.project-universe--brown
.project-universe__heading h2 {
    color: var(--dc-cream);
}


/* UNIVERS GREIGE */

.project-universe--greige {
    background: var(--dc-greige);
    color: var(--dc-brown);
}

.project-universe--greige
.project-universe__heading h2 {
    color: var(--dc-brown);
}


/* La grille reste contenue dans chaque univers */

.projects-editorial-grid--category {
    width: 100%;
}


/* Le premier bloc éditorial se distingue du fond brun */

.project-universe--brown
.projects-editorial-card--brown {
    background: var(--dc-wood);
    color: #fff;
}


/* Le second bloc reste greige */

.project-universe--brown
.projects-editorial-card--greige {
    background: var(--dc-greige);
    color: var(--dc-brown);
}


/* Espacement mobile */

@media (max-width: 760px) {

    .project-universe {
        padding-top: 46px;
        padding-bottom: 54px;
    }

    .project-universe__heading {
        margin-bottom: 24px;
    }

    .project-universe__heading h2 {
        font-size: 34px;
    }

}



/* ==========================================================
   RÉALISATIONS — CONTRASTE DES BLOCS ÉDITORIAUX
   ========================================================== */

.projects-editorial-card--greige {
    background: var(--dc-greige) !important;
    color: var(--dc-brown) !important;
}

.projects-editorial-card--greige .projects-editorial-card__eyebrow,
.projects-editorial-card--greige h2,
.projects-editorial-card--greige h3,
.projects-editorial-card--greige p {
    color: var(--dc-brown) !important;
}

.projects-editorial-card--brown {
    background: var(--dc-brown) !important;
    color: var(--dc-greige) !important;
}

.projects-editorial-card--brown .projects-editorial-card__eyebrow,
.projects-editorial-card--brown h2,
.projects-editorial-card--brown h3,
.projects-editorial-card--brown p {
    color: var(--dc-greige) !important;
}

.projects-editorial-card h3 {
    margin: 0 0 22px;
    font-family: "Arvo", serif;
    font-size: clamp(34px, 3.2vw, 58px);
    font-weight: 400;
    line-height: 1.02;
}

.projects-editorial-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .projects-editorial-card h3 {
        font-size: 34px;
    }

    .projects-editorial-card p {
        font-size: 15px;
        line-height: 1.65;
    }
}



/* =========================================================
   RÉALISATIONS — CORRECTION DÉBORDEMENT ÉDITORIAL
   ========================================================= */

.projects-editorial-card {
    justify-content: center !important;
    overflow: hidden;
}

.projects-editorial-card h3 {
    margin: 0 0 18px !important;

    font-family: "Arvo", serif;
    font-size: clamp(26px, 2.25vw, 36px) !important;
    font-weight: 400;
    line-height: 1.08 !important;
}

.projects-editorial-card p {
    margin: 0 !important;

    font-size: 14px !important;
    line-height: 1.62 !important;
}

.projects-editorial-card__eyebrow {
    margin-bottom: 12px !important;
    font-size: 10px !important;
}

@media (max-width: 760px) {

    .projects-editorial-card {
        justify-content: center !important;
        min-height: 280px;
        overflow: hidden;
    }

    .projects-editorial-card h3 {
        font-size: 30px !important;
        line-height: 1.08 !important;
    }

    .projects-editorial-card p {
        font-size: 14px !important;
    }

}



/* =========================================================
   RÉALISATIONS — ALIGNEMENT MARGES ÉDITO / PHOTOS
   ========================================================= */

.projects-editorial-card {
    padding: 24px !important;
}

.projects-editorial-project__overlay {
    padding: 24px !important;
}

@media (max-width: 760px) {

    .projects-editorial-card {
        padding: 20px !important;
    }

    .projects-editorial-project__overlay {
        padding: 20px !important;
    }

}



/* =========================================================
   RÉALISATIONS — ALIGNEMENT HAUT DES BLOCS ÉDITORIAUX
   ========================================================= */

.projects-editorial-card {
    justify-content: flex-start !important;
    padding: 24px !important;
}

@media (max-width: 760px) {

    .projects-editorial-card {
        justify-content: flex-start !important;
        padding: 20px !important;
    }

}



/* =========================================================
   RÉALISATIONS — VOIR PLUS
   ========================================================= */

.projects-editorial-more {
    display: contents;
}

.projects-editorial-more[hidden] {
    display: none !important;
}

.projects-editorial-more-button {
    grid-column: 1 / -1;

    display: flex;
    justify-content: center;

    padding: 24px 0 4px;
}

.projects-editorial-more-trigger {
    appearance: none;

    min-width: 170px;

    padding: 14px 24px;

    border: 1px solid currentColor;
    border-radius: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;

    cursor: pointer;

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


/* FOND BRUN */

.project-universe--brown
.projects-editorial-more-trigger {
    color: var(--dc-cream);
    background: transparent;
}

.project-universe--brown
.projects-editorial-more-trigger:hover,
.project-universe--brown
.projects-editorial-more-trigger:focus-visible {
    color: var(--dc-brown);
    background: var(--dc-greige);
    border-color: var(--dc-greige);
}


/* FOND GREIGE */

.project-universe--greige
.projects-editorial-more-trigger {
    color: var(--dc-brown);
    background: transparent;
}

.project-universe--greige
.projects-editorial-more-trigger:hover,
.project-universe--greige
.projects-editorial-more-trigger:focus-visible {
    color: var(--dc-cream);
    background: var(--dc-brown);
    border-color: var(--dc-brown);
}


@media (max-width: 760px) {

    .projects-editorial-more {
        display: contents;
    }

    .projects-editorial-more[hidden] {
        display: none !important;
    }

    .projects-editorial-more-button {
        width: 100%;
        padding: 14px 0 0;
    }

    .projects-editorial-more-trigger {
        width: 100%;
    }

}



/* =========================================================
   RÉALISATIONS — VOIR PLUS HORS GRILLE
   ========================================================= */

.projects-editorial-more-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 28px 0 0 !important;
    margin: 0 !important;
}

.projects-editorial-more-trigger {
    appearance: none !important;

    display: inline-block !important;

    width: auto !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 6px 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    font-family: "Montserrat", sans-serif;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.2 !important;
    letter-spacing: .14em;
    text-transform: uppercase;

    cursor: pointer;
}

.project-universe--brown
.projects-editorial-more-trigger {
    color: var(--dc-cream) !important;
}

.project-universe--greige
.projects-editorial-more-trigger {
    color: var(--dc-brown) !important;
}

.projects-editorial-more-trigger:hover,
.projects-editorial-more-trigger:focus-visible {
    color: var(--dc-gold) !important;
}

@media (max-width: 760px) {

    .projects-editorial-more-button {
        padding-top: 22px !important;
    }

    .projects-editorial-more-trigger {
        width: auto !important;
        padding: 6px 0 !important;
    }

}



/* =========================================================
   RÉALISATIONS — PROJET PLEINE LARGEUR
   ========================================================= */

.projects-editorial-project--span-12 {
    grid-column: span 12;
}

@media (max-width: 760px) {

    .projects-editorial-project--span-12 {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

}



/* =========================================================
   RÉALISATIONS — BLOCS ÉDITORIAUX PARAGRAPHE UNIQUEMENT
   ========================================================= */

.projects-editorial-card p {
    max-width: 30ch;
    margin: 0 !important;

    font-family: "Montserrat", sans-serif;
    font-size: 17px !important;
    font-weight: 400;
    line-height: 1.7 !important;
}

@media (max-width: 760px) {

    .projects-editorial-card p {
        max-width: none;
        font-size: 16px !important;
        line-height: 1.65 !important;
    }

}



/* =========================================================
   MOBILE — BLOCS ÉDITORIAUX À HAUTEUR AUTOMATIQUE
   ========================================================= */

@media (max-width: 760px) {

    .projects-editorial-card,
    .projects-editorial-card--first,
    .projects-editorial-card--second {
        height: auto !important;
        min-height: 0 !important;

        padding-top: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 20px !important;
        padding-left: 20px !important;

        justify-content: flex-start !important;
    }

    .projects-editorial-card p {
        margin: 0 !important;
    }

}



/* =========================================================
   ACCUEIL — PATTERN PHOTO RÉALISATIONS
   ========================================================= */

.home-projects-pattern {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.home-projects-pattern .section-heading {
    margin-bottom: 44px;
}

.home-projects-pattern .section-heading h2 {
    margin-bottom: 0;
}


/* GRILLE */

.home-projects-mosaic {
    display: grid;

    grid-template-columns:
        repeat(12, minmax(0, 1fr));

    grid-template-rows:
        260px 210px;

    gap: 14px;
}


/* TUILES */

.home-projects-mosaic__item {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

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

.home-projects-mosaic__item--small {
    grid-column: span 4;
}

.home-projects-mosaic__item--wide {
    grid-column: span 8;
}

.home-projects-mosaic__item--full {
    grid-column: span 12;
}


/* IMAGES */

.home-projects-mosaic__image {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    transition:
        transform .55s cubic-bezier(.2, .7, .2, 1);
}

.home-projects-mosaic__item:hover
.home-projects-mosaic__image,
.home-projects-mosaic__item:focus-visible
.home-projects-mosaic__image {
    transform: scale(1.025);
}


/* OVERLAY */

.home-projects-mosaic__overlay {
    position: absolute;
    inset: 0;

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

    padding: 24px;

    color: #fff;

    background:
        linear-gradient(
            to top,
            rgba(64, 50, 42, .72) 0%,
            rgba(64, 50, 42, .08) 50%,
            rgba(64, 50, 42, 0) 72%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.home-projects-mosaic__item:hover
.home-projects-mosaic__overlay,
.home-projects-mosaic__item:focus-visible
.home-projects-mosaic__overlay {
    opacity: 1;
}

.home-projects-mosaic__category {
    margin-bottom: 7px;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-projects-mosaic__overlay strong {
    font-family: "Arvo", serif;
    font-size: clamp(18px, 1.7vw, 27px);
    font-weight: 400;
    line-height: 1.15;
}


/* LIEN VERS TOUTES LES RÉALISATIONS */

.home-projects-mosaic__more {
    display: flex;
    justify-content: center;

    padding-top: 30px;
}

.home-projects-mosaic__more a {
    color: var(--dc-brown);

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-projects-mosaic__more a span {
    margin-left: 8px;

    color: var(--dc-gold);

    transition: margin-left .2s ease;
}

.home-projects-mosaic__more a:hover span {
    margin-left: 13px;
}


/* MOBILE */

@media (max-width: 760px) {

    .home-projects-pattern {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .home-projects-pattern .section-heading {
        margin-bottom: 28px;
    }

    .home-projects-mosaic {
        display: flex;
        flex-direction: column;

        gap: 12px;
    }

    .home-projects-mosaic__item,
    .home-projects-mosaic__item--small,
    .home-projects-mosaic__item--wide,
    .home-projects-mosaic__item--full {
        width: 100%;
        height: auto;

        aspect-ratio: 4 / 3;
    }

    .home-projects-mosaic__overlay {
        padding: 20px;

        opacity: 1;
    }

    .home-projects-mosaic__overlay strong {
        font-size: 21px;
    }

    .home-projects-mosaic__more {
        padding-top: 22px;
    }

}



/* =========================================================
   ACCUEIL — HAUTEURS UNIFORMES MOSAÏQUE
   ========================================================= */

.home-projects-mosaic {
    grid-template-rows:
        300px 300px !important;
}



/* =========================================================
   ACCUEIL — MOSAÏQUE 400 PX
   ========================================================= */

@media (min-width: 761px) {

    .home-projects-mosaic {
        grid-template-rows:
            400px 400px !important;
    }

}

