/* =========================================================
   I-TECH CONSTRUCTION BOIS
   STYLE.CSS — PAGE D'ACCUEIL
   ========================================================= */


/* =========================================================
   01 — VARIABLES
   ========================================================= */

:root {
    --black: #171614;
    --black-soft: #211f1c;
    --charcoal: #2a2824;

    --ivory: #f3eee5;
    --cream: #e9e0d2;
    --white: #faf8f4;

    --wood: #8b684e;
    --wood-light: #b09278;
    --wood-dark: #5f4534;

    --line-light: rgba(35, 31, 27, 0.16);
    --line-dark: rgba(243, 238, 229, 0.20);

    --max-width: 1400px;
    --page-gutter: clamp(24px, 5.2vw, 90px);
}


/* =========================================================
   02 — RESET & BASE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--ivory);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max-width));
    margin-inline: auto;
}

.section-light {
    background: var(--ivory);
    color: var(--black);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

h1,
h2,
h3 {
    font-weight: 400;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
}

em {
    font-weight: 400;
}

.eyebrow {
    color: var(--wood);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.light-text {
    color: var(--wood-light);
}


/* =========================================================
   03 — HEADER
   RÈGLES COMMUNES IDENTIQUES À LA PAGE D'ACCUEIL
   ========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
}

/* Header noir uniquement sur la page Contact */
body:has(.project-page) .site-header {
    background: var(--black);
}

.header-inner {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max-width));
    min-height: 125px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: 105px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 32px);
}

.nav-link {
    position: relative;
    padding: 10px 0;

    color: rgba(250, 248, 244, 0.76);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link::after {
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 1px;

    background: var(--wood-light);
    content: "";

    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    padding: 14px 22px;
    border: 1px solid rgba(243, 238, 229, 0.45);

    color: var(--white);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.header-contact:hover {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--black);
}

.menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    margin: 7px auto;
    background: var(--white);
}


/* =========================================================
   04 — HERO
   ========================================================= */

.hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 100svh;
    overflow: hidden;

    background: var(--black);
    color: var(--white);
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 75% 50%,
            rgba(139, 104, 78, 0.16),
            transparent 55%
        ),
        linear-gradient(
            120deg,
            #171614 15%,
            #211f1c 100%
        );
}

.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(243, 238, 229, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(243, 238, 229, 0.035) 1px,
            transparent 1px
        );

    background-size: 110px 110px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 2 * var(--page-gutter)), 1250px);
    margin: 110px auto 0;
    padding-left: 0;
}

.hero-content .eyebrow {
    margin-bottom: 42px;
    color: var(--wood-light);
}

.hero h1 {
    max-width: 1150px;

    font-size: clamp(60px, 8.2vw, 132px);
    line-height: 0.96;
    letter-spacing: -0.065em;
    overflow-wrap: break-word;
}

.hero h1 span {
    display: block;
    color: var(--wood-light);
    font-style: italic;
}

.hero-line {
    width: 75px;
    height: 1px;
    margin: 48px 0 28px;
    background: var(--wood-light);
}

.hero-description {
    max-width: 490px;
    color: rgba(243, 238, 229, 0.68);
    font-size: 15px;
    line-height: 1.95;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    right: var(--page-gutter);
    bottom: 55px;

    display: flex;
    align-items: center;
    gap: 20px;

    color: rgba(243, 238, 229, 0.5);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    display: block;
    width: 65px;
    height: 1px;
    background: rgba(243, 238, 229, 0.4);
}

/* =========================================================
   05 — INTRODUCTION / ENTREPRISE
   ========================================================= */

.intro {
    padding: 150px 0 165px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 75px;

    color: var(--wood-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-label span {
    color: var(--wood);
    font-size: 11px;
}

.section-label.light {
    color: var(--ivory);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: clamp(50px, 7vw, 110px);
}

.intro-heading h2 {
    max-width: 700px;
    font-size: clamp(52px, 6vw, 95px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.intro-heading h2 em {
    display: block;
    color: var(--wood);
    font-style: italic;
}

.intro-text {
    max-width: 490px;
    padding-top: 15px;
}

.intro-text .lead {
    color: var(--charcoal);
    font-size: 18px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    margin-top: 45px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wood);

    color: var(--black);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition: gap 0.25s ease;
}

.text-link:hover {
    gap: 42px;
}

.text-link span {
    color: var(--wood);
    font-size: 17px;
}


/* =========================================================
   06 — CONTACT CTA
   ========================================================= */

.contact-cta {
    padding: 125px 0;
    background: var(--black);
    color: var(--white);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-cta .eyebrow {
    margin-bottom: 30px;
    color: var(--wood-light);
}

.contact-cta h2 {
    max-width: 850px;
    font-size: clamp(45px, 5.5vw, 90px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    flex-shrink: 0;

    min-width: 205px;
    padding: 19px 24px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.button span {
    font-size: 17px;
    font-weight: 400;
}

.button-light {
    background: var(--ivory);
    color: var(--black);
}

.button-light:hover {
    background: var(--wood-light);
    color: var(--black);
}


/* =========================================================
   07 — CONTACT INFORMATION
   ========================================================= */

.contact-section {
    padding: 135px 0 145px;
    background: var(--ivory);
    color: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: clamp(50px, 7vw, 100px);
}

.contact-section .section-label {
    gap: 18px;
    margin-bottom: 48px;

    color: var(--wood-dark);
    font-size: 10px;
    letter-spacing: 0.2em;
}

.contact-section .section-label span {
    color: var(--wood);
}

.contact-section h2 {
    max-width: 600px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6.5vw, 96px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.055em;
}

.contact-section h2 em {
    display: block;
    margin-top: 8px;
    color: var(--wood);
    font-weight: 400;
    font-style: italic;
}

.contact-details {
    padding-top: 0;
    border-top: 1px solid var(--line-light);
}

.contact-item {
    display: grid;
    grid-template-columns: minmax(110px, 0.65fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 22px;

    padding: 26px 0;
    border-bottom: 1px solid var(--line-light);
}

.contact-item span {
    display: block;
    padding-top: 5px;

    color: var(--wood-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-item p {
    margin: 0;
    color: var(--black-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.7;
    overflow-wrap: anywhere;
}


/* =========================================================
   08 — FOOTER
   ========================================================= */

.site-footer {
    padding: 70px 0 25px;
    background: #11100f;
    color: var(--white);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand {
    display: block;
    width: 150px;
}

.footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-description {
    padding-top: 15px;
}

.footer-description p {
    max-width: 280px;
    color: rgba(243, 238, 229, 0.55);
    font-size: 12px;
    line-height: 1.9;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-top: 15px;
}

.footer-nav a {
    color: rgba(243, 238, 229, 0.62);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 22px;
    border-top: 1px solid rgba(243, 238, 229, 0.12);

    color: rgba(243, 238, 229, 0.42);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   09 — TABLET & SMALL DESKTOP
   ========================================================= */

@media (max-width: 1100px) {
    .header-inner {
        gap: 20px;
    }

    .main-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 9px;
    }

    .brand-logo {
        width: 90px;
    }

    .header-contact {
        padding: 12px 16px;
    }

    .intro-grid {
        gap: 55px;
    }

    .contact-grid {
        gap: 45px;
    }

    .footer-top {
        gap: 35px;
    }
}


/* =========================================================
   10 — TABLET
   ========================================================= */

@media (max-width: 900px) {
    .header-inner {
        width: calc(100% - 60px);
    }

    .main-nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 8px;
        letter-spacing: 0.08em;
    }

    .header-contact {
        font-size: 9px;
    }

    .hero-content {
        width: calc(100% - 100px);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* =========================================================
   11 — MOBILE
   ========================================================= */

@media (max-width: 800px) {
    :root {
        --page-gutter: 22px;
    }

    .container {
        width: calc(100% - 44px);
    }

    /* HEADER */

    .header-inner {
        width: calc(100% - 44px);
        min-height: 95px;
        gap: 12px;
    }

    .brand-logo {
        width: 78px;
    }

    .header-contact {
        margin-left: auto;
        padding: 11px 13px;
        font-size: 8px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
        flex-shrink: 0;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 95px;
        left: 22px;
        right: 22px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 20px 22px 28px;
        background: var(--black-soft);
        border: 1px solid var(--line-dark);
        box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    }

    .main-nav.active,
    .main-nav.open,
    .main-nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--line-dark);
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    /* HERO */

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        width: calc(100% - 44px);
        margin-top: 80px;
    }

    .hero-content .eyebrow {
        margin-bottom: 28px;
        font-size: 9px;
    }

    .hero h1 {
        font-size: clamp(46px, 10vw, 78px);
        line-height: 1;
        letter-spacing: -0.055em;
    }

    .hero-line {
        margin: 35px 0 24px;
    }

    .hero-description {
        max-width: 430px;
        font-size: 14px;
    }

    .hero-scroll {
        right: 22px;
        bottom: 28px;
        gap: 14px;
    }

    .scroll-line {
        width: 40px;
    }

    /* INTRODUCTION */

    .intro {
        padding: 95px 0 110px;
    }

    .section-label {
        margin-bottom: 48px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .intro-heading h2 {
        font-size: clamp(46px, 10vw, 72px);
    }

    .intro-text {
        max-width: 600px;
        padding-top: 0;
    }

    .intro-text .lead {
        font-size: 16px;
    }

    .text-link {
        margin-top: 32px;
    }

    /* CONTACT CTA */

    .contact-cta {
        padding: 85px 0;
    }

    .contact-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .contact-cta .eyebrow {
        margin-bottom: 22px;
    }

    .contact-cta h2 {
        font-size: clamp(42px, 9vw, 66px);
    }

    /* CONTACT INFORMATION */

    .contact-section {
        padding: 90px 0 100px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-section .section-label {
        margin-bottom: 35px;
    }

    .contact-section h2 {
        font-size: clamp(50px, 10vw, 76px);
    }

    .contact-details {
        width: 100%;
    }

    .contact-item {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 16px;
        padding: 22px 0;
    }

    .contact-item p {
        font-size: 16px;
    }

    /* FOOTER */

    .site-footer {
        padding: 55px 0 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-brand {
        width: 125px;
    }

    .footer-description,
    .footer-nav {
        padding-top: 0;
    }

    .footer-description p {
        max-width: 360px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* =========================================================
   12 — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .header-inner {
        gap: 9px;
    }

    .brand-logo {
        width: 68px;
    }

    .header-contact {
        padding: 10px 9px;
        font-size: 7px;
        letter-spacing: 0.08em;
    }

    .menu-toggle {
        width: 32px;
    }

    .hero-content {
        width: calc(100% - 44px);
    }

    .hero h1 {
        font-size: clamp(42px, 10.5vw, 58px);
    }

    .hero-description {
        font-size: 13px;
    }

    .intro-heading h2 {
        font-size: 45px;
    }

    .contact-cta h2 {
        font-size: 42px;
    }

    .contact-section h2 {
        font-size: 48px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .button {
        width: 100%;
    }
}


/* =========================================================
   13 — ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =========================================================
   PAGE ENTREPRISE
   ========================================================= */

/* Les règles du header sont centralisées plus haut.
   Elles ne sont pas redéfinies ici. */

.company-hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 720px;
    padding: 190px 0 120px;

    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 80% 45%,
            rgba(139, 104, 78, 0.16),
            transparent 48%
        ),
        linear-gradient(
            120deg,
            #171614 15%,
            #211f1c 100%
        );

    color: var(--white);
}

.company-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(243, 238, 229, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(243, 238, 229, 0.025) 1px,
            transparent 1px
        );

    background-size: 110px 110px;
    pointer-events: none;
}

.company-hero .container {
    position: relative;
    z-index: 1;
}

.company-hero .eyebrow {
    margin-bottom: 40px;
    color: var(--wood-light);
}

.company-hero h1 {
    max-width: 1150px;
    font-size: clamp(64px, 8.5vw, 125px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.company-hero h1 em {
    display: block;
    color: var(--wood-light);
    font-style: italic;
}

.company-hero-text {
    max-width: 560px;
    margin-top: 40px;
    color: rgba(243, 238, 229, 0.68);
    font-size: 16px;
    line-height: 1.95;
}


/* SHARED SECTION LABELS */

.company-page .section-label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 65px;

    color: var(--wood-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.company-page .section-label span {
    color: var(--wood);
    font-size: 11px;
}

.company-page .section-label.light {
    color: var(--ivory);
}


/* I-TECH / MAÎTRE D'ŒUVRE */

.company-page .company-moe {
    position: relative;
    padding: 145px 0 150px;

    background:
        radial-gradient(
            ellipse at 85% 15%,
            rgba(139, 104, 78, 0.10),
            transparent 45%
        ),
        var(--black);

    color: var(--white);
}

.company-moe-content {
    max-width: 1150px;
    padding-top: 20px;
}

.company-moe-content > .eyebrow {
    margin-bottom: 35px;
    color: var(--wood-light);
}

.company-moe-content h2 {
    max-width: 1050px;
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(65px, 9vw, 130px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.065em;
}

.company-moe-content h2 em {
    display: block;
    margin-top: 8px;
    color: var(--wood-light);
    font-style: italic;
}

.company-moe-content .company-moe-lead {
    max-width: 760px;
    margin-top: 55px;

    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 2vw, 26px);
    font-style: italic;
    line-height: 1.65;
}

.company-moe-content > p:not(.eyebrow):not(.company-moe-lead) {
    max-width: 760px;
    margin-top: 25px;
    color: rgba(243, 238, 229, 0.68);
    font-size: 15px;
    line-height: 1.95;
}


/* I-TECH EXPERTISE GRID */

.company-moe-expertise {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 75px;
    border-top: 1px solid var(--line-dark);
}

.company-moe-item {
    min-width: 0;
    padding: 34px 42px 35px 0;
    border-bottom: 1px solid var(--line-dark);
}

.company-moe-item:nth-child(even) {
    padding-right: 0;
    padding-left: 42px;
    border-left: 1px solid var(--line-dark);
}

.company-moe-item h3 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.company-moe-item p {
    max-width: 480px;
    margin: 0;
    color: rgba(243, 238, 229, 0.60);
    font-size: 14px;
    line-height: 1.9;
}


/* COMPANY EXPERTISE */

.company-expertise {
    padding: 140px 0 155px;
    background: var(--ivory);
    color: var(--black);
}

.company-expertise-heading {
    max-width: 900px;
    margin-bottom: 75px;
}

.company-expertise-heading .eyebrow {
    margin-bottom: 25px;
    color: var(--wood-dark);
}

.company-expertise-heading h2 {
    max-width: 850px;
    font-size: clamp(48px, 6.5vw, 90px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.company-expertise-heading h2 em {
    display: block;
    color: var(--wood);
    font-style: italic;
}

.company-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}

.company-expertise-grid article {
    min-width: 0;
    min-height: 250px;
    padding: 35px 30px 38px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.company-expertise-grid article:hover {
    background: var(--cream);
}

.company-expertise-grid article > span {
    display: block;
    margin-bottom: 38px;
    color: var(--wood);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.company-expertise-grid article h3 {
    margin-bottom: 15px;
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.company-expertise-grid article p {
    max-width: 350px;
    color: rgba(33, 31, 28, 0.70);
    font-size: 13px;
    line-height: 1.9;
}


/* COMPANY CONTACT CTA */

.contact-cta {
    padding: 115px 0;
    background: var(--black);
    color: var(--white);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.contact-cta .eyebrow {
    margin-bottom: 28px;
    color: var(--wood-light);
}

.contact-cta h2 {
    max-width: 800px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.5vw, 82px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.contact-cta h2 em {
    color: var(--wood-light);
    font-style: italic;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    flex-shrink: 0;

    min-width: 205px;
    padding: 19px 24px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.button span {
    font-size: 17px;
    font-weight: 400;
}

.button-light {
    background: var(--ivory);
    color: var(--black);
}

.button-light:hover {
    background: var(--wood-light);
    color: var(--black);
}


/* FOOTER */

.site-footer {
    padding: 65px 0 25px;
    background: #11100f;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-brand {
    width: 150px;
}

.footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    justify-self: end;
    max-width: 100%;
}

.footer-contact a {
    color: rgba(243, 238, 229, 0.78);
    font-size: 13px;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--wood-light);
}

.footer-contact p {
    margin-top: 5px;
    color: rgba(243, 238, 229, 0.48);
    font-size: 12px;
    line-height: 1.9;
}

/* Compatibility with the homepage footer */

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-description p {
    max-width: 280px;
    color: rgba(243, 238, 229, 0.50);
    font-size: 12px;
    line-height: 1.9;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-nav a {
    color: rgba(243, 238, 229, 0.60);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--white);
}


/* =========================================================
   RESPONSIVE — PAGE ENTREPRISE
   ========================================================= */

@media (max-width: 1100px) {
    .company-hero h1 {
        font-size: clamp(60px, 8vw, 100px);
    }

    .company-moe-content h2 {
        font-size: clamp(60px, 8.5vw, 110px);
    }

    .company-expertise-grid article {
        padding: 30px 24px;
    }

    .footer-main {
        gap: 35px;
    }
}

@media (max-width: 900px) {
    .company-hero {
        min-height: 650px;
    }

    .company-moe {
        padding: 115px 0 120px;
    }

    .company-expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-expertise-grid article {
        min-height: 230px;
    }

    .contact-cta-inner {
        gap: 35px;
    }

    .footer-top {
        gap: 30px;
    }
}

@media (max-width: 800px) {
    .company-hero {
        min-height: 620px;
        padding: 155px 0 90px;
    }

    .company-hero .eyebrow {
        margin-bottom: 30px;
    }

    .company-hero h1 {
        font-size: clamp(49px, 10vw, 78px);
        line-height: 0.98;
    }

    .company-hero-text {
        margin-top: 30px;
        font-size: 14px;
    }

    .company-page .section-label {
        margin-bottom: 45px;
    }

    .company-page .company-moe {
        padding: 90px 0 100px;
    }

    .company-moe-content {
        padding-top: 0;
    }

    .company-moe-content > .eyebrow {
        margin-bottom: 28px;
    }

    .company-moe-content h2 {
        font-size: clamp(48px, 10vw, 78px);
        line-height: 0.95;
    }

    .company-moe-content .company-moe-lead {
        margin-top: 35px;
        font-size: 20px;
        line-height: 1.55;
    }

    .company-moe-content > p:not(.eyebrow):not(.company-moe-lead) {
        font-size: 14px;
    }

    .company-moe-expertise {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .company-moe-item,
    .company-moe-item:nth-child(even) {
        padding: 27px 0;
        border-left: none;
    }

    .company-moe-item:first-child {
        padding-top: 30px;
    }

    .company-moe-item h3 {
        font-size: 16px;
    }

    .company-expertise {
        padding: 90px 0 100px;
    }

    .company-expertise-heading {
        margin-bottom: 45px;
    }

    .company-expertise-heading h2 {
        font-size: clamp(45px, 9vw, 68px);
    }

    .company-expertise-grid {
        grid-template-columns: 1fr;
    }

    .company-expertise-grid article {
        min-height: auto;
        padding: 28px 25px 32px;
    }

    .company-expertise-grid article > span {
        margin-bottom: 22px;
    }

    .contact-cta {
        padding: 85px 0;
    }

    .contact-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .contact-cta .eyebrow {
        margin-bottom: 22px;
    }

    .contact-cta h2 {
        font-size: clamp(42px, 9vw, 66px);
    }

    .site-footer {
        padding: 50px 0 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 38px;
    }

    .footer-brand {
        width: 125px;
    }

    .footer-contact {
        justify-self: start;
        gap: 10px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .company-hero {
        min-height: 580px;
        padding: 140px 0 75px;
    }

    .company-hero h1 {
        font-size: clamp(43px, 10.5vw, 58px);
    }

    .company-moe-content h2 {
        font-size: clamp(43px, 10.5vw, 60px);
    }

    .company-moe-content .company-moe-lead {
        font-size: 18px;
    }

    .company-expertise-heading h2 {
        font-size: 44px;
    }

    .contact-cta h2 {
        font-size: 42px;
    }

    .button {
        width: 100%;
    }
}


/* =========================================================
   CONTACT / PROJECT PAGE
   ========================================================= */

.project-page {
    background: #f4eee7;
    min-height: 100vh;
    padding-top: 94px;
    color: #1c1b19;
}

.project-page .container {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
}

/* CONTACT HERO */

.project-hero {
    background: #f4eee7;
    padding: 85px 0 55px;
    text-align: left;
}

.project-hero .eyebrow {
    margin-bottom: 18px;
    color: #9a6244;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.project-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #24211e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.project-hero h1 em {
    color: #9a6244;
    font-style: italic;
}

.project-hero p:not(.eyebrow) {
    max-width: 600px;
    margin-top: 25px;
    color: #6e665e;
    font-size: 14px;
    line-height: 1.9;
}

/* FORM SECTION */

.project-form-section {
    padding: 30px 0 120px;
    background: #f4eee7;
}

.project-form-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
    gap: 80px;
    align-items: start;
    padding-top: 55px;
    border-top: 1px solid rgba(45, 39, 34, 0.16);
}

.project-form-intro {
    position: sticky;
    top: 40px;
}

.project-form-intro .section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
    color: #8c5a40;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.project-form-intro .section-label span {
    color: #b09278;
}

.project-form-intro h2 {
    max-width: 400px;
    margin-bottom: 25px;
    color: #24211e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.project-form-intro h2 em {
    color: #9a6244;
    font-style: italic;
}

.project-form-intro > p {
    max-width: 350px;
    color: #6e665e;
    font-size: 13px;
    line-height: 1.9;
}

.back-home {
    display: inline-block;
    margin-top: 35px;
    padding-bottom: 7px;
    border-bottom: 1px solid #9a6244;
    color: #24211e;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* FORM */

.project-form {
    width: 100%;
}

.form-heading {
    margin-bottom: 35px;
}

.form-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #9a6244;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.form-heading h3 {
    color: #24211e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 400;
    line-height: 1.3;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 25px;
}

.form-row .form-field {
    margin-bottom: 0;
}

.form-field label {
    margin-bottom: 10px;
    color: #514941;
    font-size: 11px;
    font-weight: 600;
}

.form-required {
    color: #9a6244;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(45, 39, 34, 0.25);
    border-radius: 0;
    background: transparent;
    color: #24211e;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field input,
.form-field select {
    min-height: 45px;
    padding: 8px 0;
}

.form-field select {
    cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #9a6244;
}

.form-field textarea {
    min-height: 200px;
    padding: 15px 0;
    resize: vertical;
    line-height: 1.8;
}

.form-field textarea::placeholder {
    color: #aaa19a;
}

/* FORM FOOTER */

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 25px;
}

.form-note {
    max-width: 330px;
    margin: 0;
    color: #8b837c;
    font-size: 9px;
    line-height: 1.7;
}

/* SEND BUTTON */

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 185px;
    min-height: 46px;
    padding: 0 25px;
    border: 1px solid #9a6244;
    border-radius: 0;
    background: #9a6244;
    color: #fffaf5;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.form-submit span {
    font-size: 16px;
    line-height: 1;
}

.form-submit:hover {
    background: #744831;
    border-color: #744831;
}

/* SUCCESS / ERROR */

.form-notice {
    padding: 18px 0;
    margin-bottom: 25px;
    border-top: 1px solid #9a6244;
    border-bottom: 1px solid rgba(45, 39, 34, 0.15);
    font-size: 12px;
    line-height: 1.7;
}

.form-success {
    color: #496450;
}

.form-error {
    color: #8b4238;
}


/* =========================================================
   SAVOIR-FAIRE — I-TECH CONSTRUCTION BOIS
   ========================================================= */

.knowhow-page {
    background: var(--ivory);
    color: var(--black);
}

.knowhow-page .container {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--max-width));
    margin-inline: auto;
}

/* HERO */

.knowhow-hero {
    padding: 190px 0 95px;
    background:
        radial-gradient(
            ellipse at 80% 45%,
            rgba(139, 104, 78, 0.16),
            transparent 48%
        ),
        linear-gradient(120deg, #171614 15%, #211f1c 100%);
    color: var(--white);
}

.knowhow-hero .eyebrow {
    margin-bottom: 30px;
    color: var(--wood-light);
}

.knowhow-hero h1 {
    max-width: 1000px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.knowhow-hero h1 em {
    color: var(--wood-light);
}

.knowhow-intro {
    max-width: 620px;
    margin-top: 25px;
    color: rgba(243, 238, 229, 0.7);
    font-size: 15px;
    line-height: 1.9;
}

/* SECTIONS */

.knowhow-section {
    padding: 85px 0 95px;
}

.knowhow-light {
    background: #e9e0d2;
}

.knowhow-heading {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 45px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-light);
}

.knowhow-number {
    color: var(--wood);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.knowhow-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.15;
}

/* CAREER */

.career-list {
    border-top: 1px solid var(--line-light);
}

.career-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line-light);
}

.career-date {
    color: var(--wood-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.career-content h3,
.expertise-item h3,
.qualification-item h3,
.reference-item h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.career-role {
    margin: 4px 0 12px;
    color: var(--wood);
    font-size: 12px;
    font-weight: 600;
}

.career-content > p:last-child {
    max-width: 800px;
    color: #655e57;
    font-size: 13px;
    line-height: 1.9;
}

/* EXPERTISE */

.expertise-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}

.expertise-item {
    padding: 28px 30px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.expertise-item h3 {
    margin-bottom: 12px;
}

.expertise-item p {
    color: #655e57;
    font-size: 13px;
    line-height: 1.9;
}

/* QUALIFICATIONS */

.qualification-list {
    border-top: 1px solid var(--line-light);
}

.qualification-item {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line-light);
}

.qualification-item > span {
    color: var(--wood-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.qualification-item p {
    margin-top: 5px;
    color: #655e57;
    font-size: 13px;
    line-height: 1.8;
}

/* REFERENCES */

.references-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}

.reference-item {
    padding: 30px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.reference-item > span {
    display: block;
    margin-bottom: 15px;
    color: var(--wood);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reference-item h3 {
    margin-bottom: 8px;
}

.reference-item p {
    color: #655e57;
    font-size: 13px;
    line-height: 1.8;
}

.references-note {
    margin-top: 22px;
    color: #777068;
    font-size: 11px;
}

/* RESPONSIVE — SAVOIR-FAIRE */

@media (max-width: 800px) {
    .knowhow-hero {
        padding: 145px 0 70px;
    }

    .knowhow-section {
        padding: 65px 0 70px;
    }

    .career-item,
    .qualification-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .expertise-list,
    .references-grid {
        grid-template-columns: 1fr;
    }

    .expertise-item,
    .reference-item {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .knowhow-hero h1 {
        font-size: 44px;
    }

    .knowhow-heading {
        gap: 14px;
    }

    .knowhow-heading h2 {
        font-size: 30px;
    }
}


/* =========================================================
   RESPONSIVE — CONTACT / PROJECT PAGE
   ========================================================= */

@media (max-width: 1100px) {
    .project-form-grid {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
        gap: 45px;
    }

    .footer-top,
    .footer-main {
        gap: 28px;
    }
}

@media (max-width: 850px) {
    .project-hero {
        padding: 65px 0 45px;
    }

    .project-form-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 45px;
    }

    .project-form-intro h2 {
        max-width: 600px;
    }

    .project-contact-details {
        margin-top: 35px;
    }
}

@media (max-width: 800px) {
    .footer-top,
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-brand {
        width: 125px;
    }

    .footer-contact {
        align-items: flex-start;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .project-page {
        padding-top: 80px;
    }

    .project-hero h1 {
        font-size: 48px;
    }

    .project-form-section {
        padding-bottom: 70px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-submit {
        width: 100%;
    }

    .project-description textarea {
        min-height: 240px;
    }

    .footer-top,
    .footer-main {
        gap: 30px;
    }
}


/* =========================================================
   PAGE RÉALISATIONS
========================================================= */

.realisations-page {
    background: var(--ivory);
}


/* =========================================================
   HERO
========================================================= */

.realisations-hero {
    position: relative;
    padding: 190px 0 105px;
    background: var(--black);
    color: var(--ivory);
}

.realisations-hero .eyebrow {
    margin-bottom: 28px;
    color: var(--wood-light);
}

.realisations-hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(54px, 8vw, 100px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.realisations-hero h1 em,
.realisations-section-heading h2 em,
.project-gallery-heading h2 em,
.contact-cta h2 em {
    font-weight: 400;
}

.realisations-intro {
    max-width: 600px;
    margin-top: 30px;
    color: rgba(243, 238, 229, 0.75);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   NAVIGATION PRINCIPALE
========================================================= */

.realisations-navigation {
    background: var(--ivory);
    border-bottom: 1px solid var(--line-light);
}

.realisations-navigation .container {
    display: flex;
    align-items: center;
    gap: 65px;
    min-height: 85px;
}

.realisations-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--black);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.realisations-nav-link span {
    color: var(--wood);
    font-size: 10px;
}

.realisations-nav-link:hover {
    color: var(--wood);
}


/* =========================================================
   SECTIONS
========================================================= */

.realisations-section {
    padding: 115px 0;
}

.construction-section {
    background: var(--ivory);
}

.other-projects-section {
    background: var(--cream);
}

.realisations-section-heading {
    max-width: 750px;
    margin-bottom: 65px;
}

.realisations-section-heading .eyebrow {
    margin-bottom: 24px;
    color: var(--wood);
}

.realisations-section-heading h2 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.realisations-section-heading > p:last-child {
    max-width: 620px;
    margin-top: 25px;
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   SOUS-NAVIGATION CONSTRUCTION
========================================================= */

.construction-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 35px;
    padding: 25px 0;
    margin-bottom: 75px;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.construction-subnav a {
    position: relative;
    color: var(--charcoal);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.construction-subnav a::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 1px;
    background: var(--wood);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.construction-subnav a:hover {
    color: var(--wood);
}

.construction-subnav a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   CATÉGORIES DE PROJETS
========================================================= */

.project-category {
    margin-top: 85px;
    scroll-margin-top: 40px;
}

.project-category:first-of-type {
    margin-top: 0;
}

.category-heading {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-light);
}

.category-number {
    color: var(--wood);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.category-heading h3 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(27px, 3.5vw, 38px);
    font-weight: 400;
}


/* =========================================================
   LISTES DE PROJETS
   Numéro à gauche, contenu à droite.
   Lieu et date toujours sous le titre.
========================================================= */

.project-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: start;
    column-gap: 25px;
    row-gap: 9px;
    min-height: 100px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-light);
}

.project-index {
    grid-column: 1;
    grid-row: 1;
    padding-top: 5px;
    color: var(--wood);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.project-item h4 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.4;
}

.project-location {
    grid-column: 2;
    grid-row: 2;
    display: block;
    margin-top: 2px;
    color: var(--wood);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: left;
}


/* =========================================================
   AUTRES RÉALISATIONS — PROJETS DÉTAILLÉS
========================================================= */

.project-item-detailed {
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: start;
    column-gap: 25px;
    row-gap: 10px;
    padding: 38px 0;
}

.project-item-detailed > .project-index {
    grid-column: 1;
    grid-row: 1;
}

.project-item-content {
    grid-column: 2;
    grid-row: 1;
}

.project-item-content h3 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.25;
}

.project-item-content .project-location {
    margin-top: 10px;
}

.project-item-content p {
    max-width: 700px;
    margin: 15px 0 0;
    color: var(--charcoal);
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================================
   ANCRES
========================================================= */

#construction-bois,
#autres-realisations,
#batiments-publics,
#maisons-ossature-bois,
#batiments-professionnels,
#galerie-realisations {
    scroll-margin-top: 35px;
}


/* =========================================================
   GALERIE PHOTOS — RÉALISATIONS
========================================================= */

.project-gallery {
    padding: 110px 0;
    background: var(--ivory);
}

.project-gallery-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.project-gallery-heading .eyebrow {
    margin-bottom: 24px;
    color: var(--wood);
}

.project-gallery-heading h2 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.project-gallery-heading > p:last-child {
    max-width: 600px;
    margin-top: 22px;
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CARROUSEL — UNE IMAGE À LA FOIS
========================================================= */

.project-image {
    width: 100%;
}

.project-slides {
    position: relative;
    width: 100%;
    height: clamp(350px, 55vw, 720px);
    overflow: hidden;
    background: var(--black-soft);
}

/* Toutes les photos sont masquées par défaut */

.project-image .project-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Seule la photo active est affichée */

.project-image .project-slide.active {
    display: block;
    animation: projectPhotoFade 0.45s ease;
}

.project-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes projectPhotoFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* LÉGENDE SUR LA PHOTO */

.project-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 65px 35px 25px;
    color: var(--white);
    font-family: Georgia, serif;
    font-size: clamp(20px, 2.5vw, 28px);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7),
        transparent
    );
}


/* =========================================================
   COMMANDES DU CARROUSEL
========================================================= */

.project-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding-top: 30px;
}

.project-arrow-prev,
.project-arrow-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    color: var(--black);
    font-size: 23px;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.project-arrow-prev:hover,
.project-arrow-next:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--ivory);
}

.project-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wood);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.project-current {
    color: var(--black);
    font-weight: 600;
}

.project-total {
    color: var(--wood);
}


/* =========================================================
   RESPONSIVE — TABLETTES
========================================================= */

@media (max-width: 900px) {

    .realisations-hero {
        padding: 165px 0 85px;
    }

    .realisations-section,
    .project-gallery {
        padding: 85px 0;
    }

    .project-item,
    .project-item-detailed {
        grid-template-columns: 35px minmax(0, 1fr);
        column-gap: 18px;
    }

    .project-slides {
        height: 480px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILES
========================================================= */

@media (max-width: 600px) {

    .realisations-hero {
        padding: 145px 0 70px;
    }

    .realisations-hero h1 {
        font-size: 50px;
    }

    .realisations-intro {
        font-size: 14px;
    }

    .realisations-navigation .container {
        min-height: 75px;
        gap: 25px;
        flex-wrap: wrap;
    }

    .realisations-nav-link {
        font-size: 10px;
    }

    .realisations-section,
    .project-gallery {
        padding: 70px 0;
    }

    .realisations-section-heading {
        margin-bottom: 45px;
    }

    .realisations-section-heading h2,
    .project-gallery-heading h2 {
        font-size: 43px;
    }

    .construction-subnav {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 55px;
    }

    .project-category {
        margin-top: 60px;
    }

    .category-heading {
        gap: 14px;
        flex-wrap: wrap;
    }

    .category-heading h3 {
        font-size: 27px;
    }

    .project-item,
    .project-item-detailed {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 15px;
        row-gap: 8px;
        min-height: auto;
        padding: 25px 0;
    }

    .project-item h4 {
        font-size: 19px;
    }

    .project-location {
        font-size: 11px;
    }

    .project-item-content h3 {
        font-size: 25px;
    }

    .project-item-content p {
        font-size: 13px;
    }

    .project-gallery-heading {
        margin-bottom: 35px;
    }

    .project-gallery-heading > p:last-child {
        font-size: 14px;
    }

    .project-slides {
        height: 380px;
    }

    .project-caption {
        padding: 45px 20px 20px;
        font-size: 21px;
    }

    .project-slider-controls {
        gap: 25px;
        padding-top: 25px;
    }

    .project-arrow-prev,
    .project-arrow-next {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}


/* =========================================================
   PAGE PATRIMOINE
========================================================= */

.patrimoine-page {
    background: var(--ivory);
}


/* =========================================================
   HERO
========================================================= */

.patrimoine-hero {
    position: relative;
    padding: 190px 0 105px;
    background: var(--black);
    color: var(--ivory);
}

.patrimoine-hero .eyebrow {
    margin-bottom: 28px;
    color: var(--wood-light);
}

.patrimoine-hero h1 {
    max-width: 950px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(54px, 8vw, 100px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.patrimoine-hero h1 em {
    font-weight: 400;
}

.patrimoine-intro {
    max-width: 620px;
    margin-top: 30px;
    color: rgba(243, 238, 229, 0.75);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   NAVIGATION
========================================================= */

.patrimoine-navigation {
    background: var(--ivory);
    border-bottom: 1px solid var(--line-light);
}

.patrimoine-navigation .container {
    display: flex;
    align-items: center;
    min-height: 85px;
}

.patrimoine-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--black);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.patrimoine-nav-link span {
    color: var(--wood);
    font-size: 10px;
}

.patrimoine-nav-link:hover {
    color: var(--wood);
}


/* =========================================================
   SECTION PATRIMOINE
========================================================= */

.patrimoine-section {
    padding: 115px 0;
    background: var(--ivory);
}

.patrimoine-section-heading {
    max-width: 800px;
    margin-bottom: 70px;
}

.patrimoine-section-heading .eyebrow {
    margin-bottom: 24px;
    color: var(--wood);
}

.patrimoine-section-heading h2 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.patrimoine-section-heading h2 em {
    font-weight: 400;
}

.patrimoine-section-heading > p:last-child {
    max-width: 650px;
    margin-top: 25px;
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   LISTE DES MONUMENTS
========================================================= */

.patrimoine-project-list {
    display: flex;
    flex-direction: column;
}

.patrimoine-project-item {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    align-items: start;
    column-gap: 25px;
    row-gap: 10px;
    min-height: 115px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-light);
}

.patrimoine-project-item:first-child {
    border-top: 1px solid var(--line-light);
}

.patrimoine-project-index {
    grid-column: 1;
    grid-row: 1;
    padding-top: 6px;
    color: var(--wood);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.patrimoine-project-content {
    grid-column: 2;
    grid-row: 1;
}

.patrimoine-project-content h3 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.3;
}

.patrimoine-project-location {
    display: block;
    margin-top: 10px;
    color: var(--wood);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.05em;
}


/* =========================================================
   GALERIE PHOTOS — PATRIMOINE
========================================================= */

.patrimoine-gallery {
    padding: 110px 0;
    background: var(--cream);
}

.patrimoine-gallery-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.patrimoine-gallery-heading .eyebrow {
    margin-bottom: 24px;
    color: var(--wood);
}

.patrimoine-gallery-heading h2 {
    margin: 0;
    color: var(--black);
    font-family: Georgia, serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.patrimoine-gallery-heading h2 em {
    font-weight: 400;
}

.patrimoine-gallery-heading > p:last-child {
    max-width: 650px;
    margin-top: 22px;
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CARROUSEL — UNE IMAGE À LA FOIS
========================================================= */

.patrimoine-gallery .project-image {
    width: 100%;
}

.patrimoine-gallery .project-slides {
    position: relative;
    width: 100%;
    height: clamp(350px, 55vw, 720px);
    overflow: hidden;
    background: var(--black-soft);
}

/* Masquer toutes les photos */

.patrimoine-gallery .project-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Afficher uniquement la photo active */

.patrimoine-gallery .project-slide.active {
    display: block;
    animation: patrimoinePhotoFade 0.45s ease;
}

.patrimoine-gallery .project-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes patrimoinePhotoFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* LÉGENDE */

.patrimoine-gallery .project-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 65px 35px 25px;
    color: var(--white);
    font-family: Georgia, serif;
    font-size: clamp(20px, 2.5vw, 28px);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7),
        transparent
    );
}


/* =========================================================
   COMMANDES DU CARROUSEL
========================================================= */

.patrimoine-gallery .project-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    padding-top: 30px;
}

.patrimoine-gallery .project-arrow-prev,
.patrimoine-gallery .project-arrow-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    color: var(--black);
    font-size: 23px;
    cursor: pointer;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.patrimoine-gallery .project-arrow-prev:hover,
.patrimoine-gallery .project-arrow-next:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--ivory);
}

.patrimoine-gallery .project-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wood);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.patrimoine-gallery .project-current {
    color: var(--black);
    font-weight: 600;
}

.patrimoine-gallery .project-total {
    color: var(--wood);
}


/* =========================================================
   ANCRES
========================================================= */

#monuments-historiques,
#galerie-patrimoine {
    scroll-margin-top: 35px;
}


/* =========================================================
   RESPONSIVE — TABLETTES
========================================================= */

@media (max-width: 900px) {

    .patrimoine-hero {
        padding: 165px 0 85px;
    }

    .patrimoine-section,
    .patrimoine-gallery {
        padding: 85px 0;
    }

    .patrimoine-project-item {
        grid-template-columns: 35px minmax(0, 1fr);
        column-gap: 18px;
    }

    .patrimoine-gallery .project-slides {
        height: 480px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILES
========================================================= */

@media (max-width: 600px) {

    .patrimoine-hero {
        padding: 145px 0 70px;
    }

    .patrimoine-hero h1 {
        font-size: 48px;
    }

    .patrimoine-intro {
        font-size: 14px;
    }

    .patrimoine-navigation .container {
        min-height: 75px;
    }

    .patrimoine-section,
    .patrimoine-gallery {
        padding: 70px 0;
    }

    .patrimoine-section-heading {
        margin-bottom: 45px;
    }

    .patrimoine-section-heading h2,
    .patrimoine-gallery-heading h2 {
        font-size: 40px;
    }

    .patrimoine-project-item {
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 15px;
        row-gap: 8px;
        min-height: auto;
        padding: 25px 0;
    }

    .patrimoine-project-content h3 {
        font-size: 24px;
    }

    .patrimoine-project-location {
        margin-top: 8px;
        font-size: 11px;
    }

    .patrimoine-gallery-heading {
        margin-bottom: 35px;
    }

    .patrimoine-gallery-heading > p:last-child {
        font-size: 14px;
    }

    .patrimoine-gallery .project-slides {
        height: 380px;
    }

    .patrimoine-gallery .project-caption {
        padding: 45px 20px 20px;
        font-size: 21px;
    }

    .patrimoine-gallery .project-slider-controls {
        gap: 25px;
        padding-top: 25px;
    }

    .patrimoine-gallery .project-arrow-prev,
    .patrimoine-gallery .project-arrow-next {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

