:root {
    --cream: #f4f0e8;
    --paper: #f8f5ef;
    --ink: #111713;
    --green: #083a33;
    --green-2: #052d28;
    --line: rgba(17,20,17,.14);
    --muted: #6f716c;
    --serif: "Italiana", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --radius: 6px;
    --shell: min(1440px, calc(100% - 72px));
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 30;
    background: rgba(251,249,244,.97);
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.header-inner {
    min-height: 78px;
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark svg {
    width: 25px;
    height: 25px;
    stroke: var(--ink);
    stroke-width: 1.4;
    fill: none;
}

.brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1;
    font-weight: 400;
}

.brand small {
    display: block;
    margin-top: 7px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .24em;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
    font-size: 13px;
}

.desktop-nav a {
    position: relative;
    padding-block: 26px;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    height: 1px;
    left: 0;
    right: 100%;
    bottom: 19px;
    background: var(--ink);
    transition: right .25s ease;
}

.desktop-nav a:hover::after { right: 0; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-btn {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.btn {
    min-height: 44px;
    padding: 0 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
}

.btn-dark {
    color: #fff;
    background: var(--green);
}

.btn-dark:hover { background: var(--green-2); }

.btn-cream {
    background: #f3ddbd;
    color: #141414;
}

.header-cta {
    padding-inline: 24px;
    min-height: 43px;
}

.mobile-toggle,
.mobile-nav { display: none; }

/* HERO */
.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: white;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("../assets/images/hero-bg.jpg");
    background-size: cover;
    background-position: center 48%;
    transform: scale(1.01);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(6,21,18,.50) 0%, rgba(6,21,18,.22) 34%, rgba(6,21,18,.03) 63%, rgba(6,21,18,.12) 100%),
        linear-gradient(0deg, rgba(0,0,0,.30) 0%, transparent 43%);
}

.hero-content {
    min-height: 620px;
    position: relative;
    z-index: 2;
    padding-top: 78px;
    padding-bottom: 38px;
    display: grid;
    align-content: space-between;
    grid-template-columns: 1fr auto;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 13px;
    font-size: 10px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #7c654f;
    font-weight: 600;
}

.eyebrow.light { color: rgba(255,255,255,.8); }

.hero h1,
.section h2,
.final-cta h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.035em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(64px, 6vw, 96px);
    line-height: .94;
}

.hero-lead {
    margin: 23px 0 22px;
    font-size: 17px;
    line-height: 1.55;
}

.hero-note {
    align-self: center;
    margin: 50px 8px 0 0;
    font-family: "Brush Script MT", cursive;
    font-size: 22px;
    line-height: 1.3;
    transform: rotate(-7deg);
    text-align: center;
    color: rgba(255,255,255,.92);
}

.hero-benefits {
    grid-column: 1 / -1;
    display: flex;
    gap: 52px;
}

.hero-benefits article {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-benefits svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #efdfc8;
    stroke-width: 1.3;
}

.hero-benefits strong,
.hero-benefits small {
    display: block;
}

.hero-benefits strong { font-size: 13px; font-weight: 500; }
.hero-benefits small { font-size: 10px; margin-top: 3px; color: rgba(255,255,255,.7); }

/* SECTIONS */
.section { padding-block: 52px; }

.section-heading {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 40px;
    margin-bottom: 27px;
}

.section-heading h2,
.try-copy h2,
.features-title h2 {
    margin: 0;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1;
}

.section-heading > p {
    margin: 0 0 5px;
    font-size: 12px;
    color: #4f514c;
}

.text-link {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 5px;
}

/* COLLECTIONS */
.collections { background: var(--paper); }

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.collection-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: var(--radius);
    color: white;
    background: #111;
    isolation: isolate;
}

.collection-card img,
.collection-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.collection-card img {
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.collection-card:hover img { transform: scale(1.075); }

.collection-shade {
    z-index: 1;
    background: linear-gradient(180deg, transparent 23%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.9) 100%);
}

.badge {
    position: absolute;
    z-index: 3;
    top: 13px;
    left: 13px;
    padding: 6px 10px;
    background: rgba(255,255,255,.9);
    color: #262626;
    border-radius: 5px;
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.collection-copy {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 56px;
    bottom: 17px;
}

.collection-copy h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 33px;
}

.collection-subtitle {
    margin: 4px 0 13px;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 8px;
}

.collection-description {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
}

.round-arrow {
    position: absolute;
    z-index: 4;
    width: 38px;
    height: 38px;
    right: 14px;
    bottom: 15px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px;
    transition: background .2s, color .2s, transform .2s;
}

.round-arrow:hover {
    background: white;
    color: var(--ink);
    transform: translateX(2px);
}

/* TRY */
.try-section {
    display: grid;
    grid-template-columns: .68fr 1.42fr;
    align-items: center;
    gap: 72px;
    padding-top: 18px;
    padding-bottom: 62px;
}

.try-copy > p:not(.eyebrow) {
    max-width: 390px;
    margin: 20px 0;
    line-height: 1.65;
    font-size: 14px;
}

.try-actions {
    display: flex;
    align-items: center;
    gap: 23px;
}

.try-actions em {
    font-family: "Brush Script MT", cursive;
    font-size: 21px;
    transform: rotate(-4deg);
}

.try-copy > small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.preview-stage {
    position: relative;
    min-height: 430px;
}

.desktop-mock {
    position: absolute;
    width: 76%;
    height: 345px;
    right: 15%;
    top: 21px;
    overflow: hidden;
    border: 8px solid #101313;
    border-radius: 11px;
    background: #eee;
    box-shadow: 0 21px 32px rgba(0,0,0,.16);
}

.desktop-mock::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -14px;
    height: 14px;
    background: linear-gradient(#474747,#a5a5a5 50%,#373737);
    border-radius: 0 0 50% 50%;
}

.browser-bar {
    height: 29px;
    background: #f9f8f5;
    padding-inline: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 6px;
    color: #555;
}

.browser-bar span:first-child {
    font-family: var(--serif);
    color: #111;
    font-size: 10px;
}

.mock-hero,
.phone-site {
    background:
        linear-gradient(rgba(0,0,0,.06),rgba(0,0,0,.06)),
        url("../assets/images/hero-bg.jpg") center/cover;
}

.mock-hero {
    height: calc(100% - 29px);
    display: grid;
    place-content: center;
    text-align: center;
    color: #171717;
}

.mock-hero p {
    font-family: var(--serif);
    font-size: 34px;
    margin: 0;
}

.mock-hero small { margin-top: 8px; }

.phone-mock {
    position: absolute;
    right: 7%;
    top: 62px;
    width: 23%;
    min-width: 130px;
    height: 320px;
    padding: 7px;
    border-radius: 26px;
    background: #101313;
    box-shadow: 0 18px 35px rgba(0,0,0,.2);
}

.phone-top {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 42%;
    height: 12px;
    border-radius: 0 0 10px 10px;
    background: #101313;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-site {
    height: 100%;
    border-radius: 20px;
    color: #222;
    padding: 22px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.phone-site > span {
    font-family: var(--serif);
    font-size: 13px;
}

.phone-site div {
    margin-bottom: 36px;
}

.phone-site p {
    margin: 0 0 5px;
    font-family: var(--serif);
    font-size: 17px;
}

.phone-site small { font-size: 7px; }

.preview-note {
    position: absolute;
    top: 18px;
    right: 0;
    margin: 0;
    font-family: "Brush Script MT", cursive;
    font-size: 18px;
    line-height: 1.15;
    transform: rotate(-7deg);
}

.leaf {
    position: absolute;
    color: #7e8f7c;
    font-size: 110px;
    left: 0;
    bottom: 15px;
    transform: rotate(-40deg);
    opacity: .55;
}

/* FEATURES */
.features {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #f1ede6;
}

.features-inner {
    display: grid;
    grid-template-columns: .8fr 1.7fr;
    align-items: center;
    gap: 60px;
}

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

.feature-list article {
    padding: 4px 24px;
    text-align: center;
    border-left: 1px solid rgba(0,0,0,.12);
}

.feature-list article:first-child { border-left: 0; }

.feature-list svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.4;
}

.feature-list h3 {
    margin: 13px 0 6px;
    font-size: 14px;
    font-weight: 500;
}

.feature-list p {
    margin: 0;
    color: #64655f;
    font-size: 11px;
    line-height: 1.5;
}

/* FINAL CTA */
.final-cta {
    min-height: 470px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: white;
}

.final-cta-bg,
.final-cta-overlay {
    position: absolute;
    inset: 0;
}

.final-cta-bg {
    background: url("../assets/images/cta-v1.jpg") center 54%/cover;
    transform: scale(1.03);
}

.final-cta-overlay {
    background: rgba(8,22,19,.48);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.final-cta h2 {
    margin: 0 0 29px;
    font-size: clamp(36px, 4.4vw, 60px);
}

.btn-large { min-height: 51px; padding-inline: 34px; }

.final-brand {
    margin-top: 45px;
    display: grid;
    justify-items: center;
    gap: 4px;
}

.final-brand strong {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.final-brand small {
    font-size: 7px;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.site-footer {
    background: #081d19;
    color: rgba(255,255,255,.65);
    font-size: 11px;
}

.site-footer > div {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer nav { display: flex; gap: 22px; }

@media (max-width: 980px) {
    :root { --shell: min(100% - 40px, 1040px); }

    .desktop-nav,
    .hide-small { display: none; }

    .header-inner { grid-template-columns: 1fr auto; }
    .mobile-toggle {
        display: grid;
        width: 38px;
        height: 38px;
        place-content: center;
        gap: 4px;
        background: none;
        border: 0;
    }
    .mobile-toggle span {
        width: 20px; height: 1px; background: currentColor; display: block;
    }
    .mobile-nav.open {
        display: grid;
        padding: 12px 20px 22px;
        gap: 15px;
        border-top: 1px solid var(--line);
    }

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

    .try-section {
        grid-template-columns: 1fr;
    }

    .preview-stage { min-height: 380px; }

    .features-inner {
        grid-template-columns: 1fr;
    }

    .feature-list { gap: 0; }
}

@media (max-width: 650px) {
    :root { --shell: calc(100% - 28px); }

    .header-inner { min-height: 66px; gap: 8px; }
    .brand strong { font-size: 21px; }
    .brand small { display: none; }
    .header-cta { display: none; }

    .hero,
    .hero-content { min-height: 610px; }

    .hero-media {
    background-image: url("../assets/images/hero-bg.jpg");
    background-size: cover;
    background-position: center 48%;
    transform: scale(1.01);
}

    .hero-overlay {
    background:
        linear-gradient(90deg, rgba(6,21,18,.50) 0%, rgba(6,21,18,.22) 34%, rgba(6,21,18,.03) 63%, rgba(6,21,18,.12) 100%),
        linear-gradient(0deg, rgba(0,0,0,.30) 0%, transparent 43%);
}

    .hero-content {
        display: flex;
        flex-direction: column;
        padding-top: 43px;
        padding-bottom: 28px;
    }

    .hero h1 {
        font-size: clamp(49px, 14vw, 72px);
    }

    .hero-lead {
        max-width: 340px;
        font-size: 14px;
    }

    .hero-note { display: none; }

    .hero-benefits {
        margin-top: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .hero-benefits article:nth-child(3) { display: none; }

    .section { padding-block: 40px; }

    .section-heading {
        display: block;
        margin-bottom: 23px;
    }

    .section-heading > p { display: none; }
    .text-link { display: inline-block; margin-top: 14px; }

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

    .collection-card { min-height: 470px; }

    .try-section {
        gap: 26px;
        padding-top: 5px;
    }

    .try-copy h2,
    .features-title h2 { font-size: 44px; }

    .try-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .preview-stage {
        min-height: 300px;
    }

    .desktop-mock {
        width: 86%;
        height: 225px;
        left: 0;
        right: auto;
    }

    .phone-mock {
        width: 31%;
        min-width: 104px;
        height: 218px;
        right: 1%;
        top: 58px;
    }

    .browser-bar span:nth-child(n+4) { display: none; }
    .mock-hero p { font-size: 25px; }
    .preview-note, .leaf { display: none; }

    .features-inner { gap: 30px; }

    .feature-list {
        grid-template-columns: repeat(2,1fr);
        gap: 30px 0;
    }

    .feature-list article:nth-child(3) { border-left: 0; }

    .final-cta { min-height: 420px; }
    .final-cta h2 { font-size: 42px; }

    .site-footer > div {
        padding-block: 18px;
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .site-footer nav {
        flex-wrap: wrap;
        gap: 9px 17px;
    }
}


/* V2 — bande bénéfices sous le hero */
.hero-benefits {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 88px;
    padding-inline: max(36px, calc((100vw - 1440px) / 2));
    background: rgba(248,245,239,.97);
    color: var(--green);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(8,58,51,.08);
}

.hero-benefits article {
    min-height: 88px;
    justify-content: center;
    border-right: 1px solid rgba(8,58,51,.14);
}

.hero-benefits article:last-child { border-right: 0; }

.hero-benefits svg {
    stroke: var(--green);
}

.hero-benefits strong { color: var(--ink); }
.hero-benefits small { color: #6f746f; }

.hero-content {
    padding-bottom: 122px;
}

.collections {
    padding-top: 60px;
}

.collections-heading {
    align-items: center;
}

.collection-copy h3 {
    font-size: 34px;
}

.try-section {
    padding-top: 54px;
    padding-bottom: 72px;
}

.features {
    background: #f2eee6;
}

@media (max-width: 980px) {
    .hero-benefits {
        padding-inline: 20px;
    }
}

@media (max-width: 650px) {
    .hero-content {
        padding-bottom: 150px;
    }

    .hero-benefits {
        min-height: 126px;
        grid-template-columns: 1fr;
        padding: 12px 24px;
    }

    .hero-benefits article {
        min-height: 48px;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid rgba(8,58,51,.10);
    }

    .hero-benefits article:last-child {
        border-bottom: 0;
    }

    .collections {
        padding-top: 42px;
    }
}
