
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --ink: #252722;
    --muted: #72766d;
    --cream: #f6f4ee;
    --paper: #fffefa;
    --olive: #68715b;
    --line: #e5e2d9;
    --rust: #a96e50;
}

/* Réglages généraux */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.65;
}

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

.wrap {
    width: min(1160px, calc(100% - 48px));
    margin: auto;
}

/* En-tête et navigation */
header {
    height: 86px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #fffefa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    display: block;
    width: auto;
    height: 76px;
    max-width: 220px;
    object-fit: contain;
}

.links {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.links a {
    padding: 10px 0;
    color: #55594f;
}

.links a:hover,
.links a.active {
    color: var(--rust);
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
}

/* Titres */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.12;
}

h1 {
    font-size: clamp(42px, 6vw, 76px);
    margin: 18px 0 22px;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 18px;
}

h3 {
    font-size: 25px;
    margin: 0 0 10px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 10px;
    font-weight: 700;
    color: var(--olive);
}

.lead {
    font-size: 17px;
    color: #666a60;
    max-width: 570px;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--olive);
    color: white;
    padding: 15px 22px;
    font-size: 17px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: .2s;
}

.btn:hover {
    background: #4d5743;
}

.btn.outline {
    background: transparent;
    border: 1px solid var(--olive);
    color: var(--olive);
}

.btn.outline:hover {
    background: var(--olive);
    color: white;
}

/* Bannière principale */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    background: var(--cream);
}

.hero-copy {
    padding: 100px max(48px, calc((100vw - 1160px) / 2)) 90px max(48px, calc((100vw - 1160px) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy .lead {
    margin: 0 0 30px;
}

.hero-image {
    min-height: 620px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 15, .08), transparent 45%);
}

/* Téléphone */
.phone {
    margin-top: 34px;
    font-size: 13px;
    color: var(--muted);
}

.phone strong {
    display: block;
    color: var(--ink);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: .04em;
}

/* Sections */
.section {
    padding: 94px 0;
}

.section.soft {
    background: var(--cream);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px;
}

.section-head p {
    max-width: 420px;
    color: var(--muted);
    margin: 0;
}

/* Cartes */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card-image {
    height: 285px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.card p {
    color: var(--muted);
    font-size: 14px;
}

.card a.more {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 700;
}

/* Présentation en deux colonnes */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.split-image {
    height: 510px;
    background-size: cover;
    background-position: center;
}

.split p {
    color: var(--muted);
}

.split .lead {
    margin-bottom: 25px;
}

/* Liste des avantages */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 42px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
}

.feature-list strong {
    font-family: 'Playfair Display';
    font-size: 22px;
    font-weight: 500;
    display: block;
}

.feature-list span {
    font-size: 14px;
    color: var(--muted);
}

/* En-tête des pages */
.page-hero {
    padding: 88px 0 78px;
    background: var(--cream);
}

.page-hero .lead {
    max-width: 650px;
}

.page-hero h1 {
    max-width: 850px;
}

.image-banner {
    height: 450px;
    background-size: cover;
    background-position: center;
}

/* Grille des tissus */
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fabric {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.fabric span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    font-family: 'Playfair Display';
    font-size: 27px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

/* Citation */
.quote {
    padding: 70px 0;
    text-align: center;
    background: #e9e9df;
}

.quote p {
    font-family: 'Playfair Display';
    font-size: clamp(25px, 3vw, 38px);
    max-width: 780px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.quote span {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Pied de page */
footer {
    background: #292d26;
    color: #f6f4ee;
    padding: 48px 0 28px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start;
    padding-bottom: 38px;
}

.footer-brand {
    font-family: 'Playfair Display';
    font-size: 27px;
}

.footer-brand small {
    display: block;
    font-family: 'DM Sans';
    font-size: 10px;
    letter-spacing: .18em;
    color: #c1c4b9;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #d0d2c9;
}

.copyright {
    border-top: 1px solid #484c44;
    padding-top: 18px;
    font-size: 10px;
    color: #aeb2a7;
    letter-spacing: .05em;
}

/* Responsive : tablettes et mobiles */
@media (max-width: 800px) {

    .wrap {
        width: min(100% - 34px, 600px);
    }

    header {
        height: 72px;
    }

    .menu {
        display: block;
    }

    .links {
        display: none;
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background: #fffefa;
        padding: 22px 26px 28px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--line);
    }

    .links.open {
        display: flex;
    }

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

    .hero-copy {
        padding: 70px 28px;
    }

    .hero-image {
        min-height: 360px;
        grid-row: 1;
    }

    .hero {
        min-height: unset;
    }

    .section {
        padding: 68px 0;
    }

    .cards,
    .fabric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .split-image {
        height: 360px;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 15px;
    }

    .feature-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .page-hero {
        padding: 65px 0;
    }

    .image-banner {
        height: 280px;
    }

    .footer-top {
        display: block;
    }

    .footer-links {
        flex-wrap: wrap;
        margin-top: 25px;
    }
}

/* Responsive : petits mobiles */
@media (max-width: 520px) {

    .cards,
    .fabric-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 270px;
    }

    .fabric {
        height: 290px;
    }

    .brand img {
        height: 66px;
        max-width: 190px;
    }

    .hero-image {
        min-height: 290px;
    }

    h1 {
        font-size: 43px;
    }
}
