:root {
    --ink: #10231f;
    --muted: #5f6d68;
    --green: #17483c;
    --green2: #2f6b5a;
    --cream: #f8f6f1;
    --line: #dfe5e1;
    --white: #fff;
    --shadow: 0 18px 50px rgba(22, 46, 39, .08)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6
}

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

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

button,
input,
textarea,
select {
    font: inherit
}

.container {
    width: min(1180px, 90%);
    margin: auto
}

.narrow {
    max-width: 1000px
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

/* =========================
   HEADER - DROPDOWN SERVICES
========================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 12px 0;

    border: 0;
    background: transparent;

    color: var(--ink);

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.nav-dropdown__trigger i {
    font-size: 11px;

    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown__trigger i {
    transform: rotate(180deg);
}


/* MENU */

.nav-dropdown__menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 330px;

    padding: 10px;

    background: #fff;

    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 16px;

    box-shadow:
        0 18px 50px rgba(20, 38, 32, .12);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%) translateY(8px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s;

    z-index: 1000;
}


/* petit triangle */

.nav-dropdown__menu::before {
    content: "";

    position: absolute;

    top: -6px;
    left: 50%;

    width: 12px;
    height: 12px;

    background: #fff;

    border-left:
        1px solid rgba(16, 35, 31, .08);

    border-top:
        1px solid rgba(16, 35, 31, .08);

    transform:
        translateX(-50%) rotate(45deg);
}


/* affichage */

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%) translateY(0);
}


/* liens du menu */

.nav-dropdown__menu a {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px;

    border-radius: 10px;

    color: var(--ink);

    text-decoration: none;

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

.nav-dropdown__menu a:hover {
    background: var(--cream);

    transform: translateX(3px);
}


/* icône */

.nav-dropdown__icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(23, 72, 60, .08);

    color: var(--green);
}


/* texte */

.nav-dropdown__menu strong {
    display: block;

    margin-bottom: 2px;

    font-size: 14px;
}

.nav-dropdown__menu small {
    display: block;

    color: var(--muted);

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

.brand {
    font-family: Manrope;
    font-weight: 800;
    font-size: 25px;
    letter-spacing: -.04em
}

.brand small {
    display: block;
    font: 500 10px Inter;
    letter-spacing: .14em;
    color: #7f8c87;
    text-transform: uppercase;
    margin-top: 4px
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 600
}

.nav a:hover,
.nav a[aria-current=page] {
    color: var(--green2)
}

.nav .cta {
    background: var(--green);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px
}

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

.eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    color: #667c73
}

h1,
h2,
h3 {
    font-family: Manrope, Inter, sans-serif;
    letter-spacing: -.045em;
    line-height: 1.08
}

h1 {
    font-size: clamp(46px, 5.5vw, 50px);
    margin: 12px 0 22px
}

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

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

.lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 720px
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s
}

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

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

.btn-secondary {
    background: #fff;
    border-color: #aebcb6;
    color: #17352e
}

.hero {
    background: var(--cream);
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: end;
    min-height: 450px
}

.hero-content {
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px 20px 7vw
}

.hero-content h1 {
    font-size: clamp(3rem, 3.7vw, 4.6rem);
    line-height: 1.01;
    max-width: 720px
}

.hero-content h1 span {
    color: var(--green)
}

.hero-photo {
    height: 440px;
    background-image: linear-gradient(90deg, var(--cream) 0%, rgba(248, 246, 241, .92) 7%, rgba(248, 246, 241, .42) 20%, rgba(248, 246, 241, 0) 32%), url('../images/thomas-guigon-web.webp');
    background-size: auto 90%;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-color: var(--cream)
}

.proofbar {
    background: #fff
}

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

.proof {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 28px 28px
}

.proof:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    width: 1px;
    height: 80%;
    background: rgba(16, 35, 31, .18)
}

.proof-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(23, 72, 60, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green)
}

.proof strong,
.proof span {
    display: block
}

.proof span {
    font-size: 12px;
    color: var(--muted)
}

.section {
    padding: 50px 0;
    background: var(--cream)
}

.section.concepts,
.section.services {
    background: white
}

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

.section-head>a,
.project-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    border-bottom: 1px solid rgba(23, 72, 60, .3)
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 22px
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 24px rgba(30, 55, 47, .03);
    transition: transform .2s ease, box-shadow .2s ease
}

.card:hover {
    transform: translateY(-9px) scale(1.012);
    box-shadow: 0 22px 48px rgba(22, 46, 39, .13)
}

.card p {
    color: var(--muted)
}

/* =========================
   SERVICES CARDS
========================= */

.service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;

    min-height: 240px;

    padding: 26px;

    border-radius: 16px;
}


/* TITRE + ICÔNE */

.service-card__head {
    display: flex;
    align-items: center;

    gap: 14px;
}


/* ICÔNE */

.service-card__icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(23, 72, 60, .08);

    color: var(--green);

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


.service-card__icon i {
    font-size: 19px;
}


/* TITRE */

.service-card h3 {
    margin: 0;

    font-size: 21px;
    line-height: 1.15;
}


/* TEXTE */

.service-card p {
    margin: 0;

    color: var(--muted);

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


/* LIEN */

.service-card__link {
    display: inline-block;

    width: fit-content;

    margin-top: auto;

    color: var(--green);

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

    border-bottom:
        1px solid rgba(23, 72, 60, .25);

    padding-bottom: 2px;
}


/* HOVER */

.service-card:hover .service-card__icon {
    background: var(--green);
    color: #fff;
    transform: translateY(-1px);
}


/* =========================
   SERVICES MOBILE
========================= */

@media (max-width: 700px) {

    .services-grid {
        gap: 16px;
    }


    .service-card {
        min-height: auto;

        padding: 22px;

        gap: 17px;

        border-radius: 16px;
    }


    .service-card__head {
        gap: 12px;
    }


    .service-card__icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        border-radius: 10px;
    }


    .service-card__icon i {
        font-size: 17px;
    }


    .service-card h3 {
        font-size: 20px;
    }


    .service-card p {
        font-size: 15px;
    }


    .service-card__link {
        margin-top: 4px;
    }

}

.projects-showcase {
    margin-top: 72px
}

.project-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 16px;
    padding: 150px 24px 26px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(20, 38, 32, .04);
    transition: transform .32s ease, box-shadow .32s ease
}

.project-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 26px 55px rgba(20, 38, 32, .14)
}

.project-device {
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    z-index: 3;
    transition: transform .32s ease, filter .32s ease
}

.project-wavy .project-device {
    width: 90%
}

.project-card:hover .project-device {
    transform: translateX(-50%) translateY(-10px) scale(1.025);
    filter: drop-shadow(0 14px 16px rgba(15, 35, 29, .10))
}

.laptop-screen {
    position: relative;
    aspect-ratio: 16/10;
    background: #0c0d0e;
    border: 8px solid #111314;
    border-bottom-width: 10px;
    border-radius: 13px 13px 6px 6px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(17, 26, 24, .16)
}

.laptop-screen:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #3b4143;
    z-index: 5
}

.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top
}

.laptop-base {
    position: relative;
    width: 112%;
    height: 14px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -1px;
    background: linear-gradient(to bottom, #dadddf 0%, #bcc2c5 45%, #92999d 100%);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 14px rgba(20, 35, 30, .14)
}

.laptop-base:before {
    content: "";
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 18%;
    height: 3px;
    border-radius: 999px;
    background: rgba(115, 122, 125, .55)
}

.project-content {
    padding: 24px
}

.project-content p {
    color: var(--muted);
    font-size: 15px
}

.project-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

.project-badge,
.tag {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf4f1;
    color: var(--green);
    font-size: 10px;
    font-weight: 700
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px
}

.project-link {
    display: inline-block;
    margin-top: 18px
}

.concept-card {
    background: #fff;
    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 18px;
    overflow: hidden
}

.concept-visual {
    padding: 34px 0 28px;
    background: linear-gradient(#f8f6f1, #f3efe8);
    display: flex;
    justify-content: center
}

.browser-mockup {
    width: 80%;
    background: #fff;
    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(18, 31, 28, .1)
}

.browser-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    background: #f6f7f6
}

.browser-dots {
    display: flex;
    gap: 5px
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5dbd8
}

.browser-bar {
    height: 10px;
    max-width: 200px;
    flex: 1;
    border-radius: 99px;
    background: #e8ece9
}

.browser-screen img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center
}

.about-home-image img,
.page-hero-visual img,
.case-large-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.page-hero-visual-thomas img {
    border-radius: 50%;
    width: 75%;
    box-shadow: var(--shadow);
    margin-left: 90px;
}

.page-hero {
    padding: 40px 0;
    background: white
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center
}

.page-hero-visual img {
    width: 80%;
    max-height: 410px;
    object-fit: cover;
    object-position: top
}

.page-features {
    margin-top: 36px
}

.info-panel,
.contact-hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 30px;
    box-shadow: var(--shadow)
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 27px
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800
}

.showcase-browser .browser-mockup {
    width: 100%
}

/* =========================
   REFONTE - AVANT / APRÈS
========================= */

.refonte-comparison {
    padding: 90px 0;
    background: var(--cream);
}

.refonte-comparison__head {
    max-width: 760px;
    margin-bottom: 48px;
}

.refonte-comparison__head h2 {
    margin: 8px 0 16px;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
}

.refonte-comparison__head .lead {
    margin: 0;

    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}


/* GRID */

.refonte-comparison__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 32px;
    align-items: start;
}


/* CARD */

.refonte-shot {
    position: relative;
}

.refonte-shot__label {
    width: fit-content;

    margin-bottom: 14px;
    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(16, 35, 31, .08);

    color: var(--muted);

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

.refonte-shot__label--after {
    background: rgba(23, 72, 60, .1);
    color: var(--green);
}


/* BROWSER */

.refonte-browser {
    overflow: hidden;

    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 16px;

    background: #fff;

    box-shadow: 0 18px 45px rgba(16, 35, 31, .08);
}

.refonte-browser__top {
    height: 34px;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 0 14px;

    background: #f3f5f4;

    border-bottom: 1px solid rgba(16, 35, 31, .06);
}

.refonte-browser__top span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d6dcda;
}

.refonte-browser__screen {
    height: 420px;

    overflow: hidden;

    background: #fff;
}

.refonte-browser__screen img {
    width: 100%;
    height: 100%;

    display: block;

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


/* AFTER = LÉGÈRE MISE EN AVANT */

.refonte-shot:last-child .refonte-browser {
    border-color: rgba(23, 72, 60, .16);

    box-shadow: 0 22px 55px rgba(16, 35, 31, .12);
}


@media (max-width: 600px) {

    .refonte-comparison {
        padding: 55px 0;
    }

    .refonte-comparison__head {
        margin-bottom: 34px;
    }

    .refonte-comparison__head .lead {
        font-size: 16px;
    }

    .refonte-browser__screen {
        height: 300px;
    }

}

/* =========================
   HERO RÉALISATIONS - MOSAÏQUE
========================= */

.portfolio-hero-grid {
    width: 100%;
    max-width: 700px;

    margin-left: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    background: #fff;
}


/* MINI BROWSER */

.portfolio-mini {
    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(16, 35, 31, .08);

    border-radius: 14px;

    box-shadow:
        0 14px 35px rgba(20, 38, 32, .08);
}


/* BARRE NAVIGATEUR */

.portfolio-mini__top {
    height: 24px;

    display: flex;
    align-items: center;

    gap: 5px;

    padding: 0 10px;

    background: #f4f6f5;

    border-bottom: 1px solid rgba(16, 35, 31, .06);
}

.portfolio-mini__top span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #d7ddda;
}


/* IMAGE */

.portfolio-mini__screen {
    height: 185px;

    overflow: hidden;

    background: #fff;
}

.portfolio-mini__screen img {
    width: 100%;
    height: 100%;

    display: block;

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

/* =========================
   PROJET WAVY
========================= */

.project-hero {
    padding: 40px 0 10px;

    background: #fff;
}

.project-hero__grid {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.project-hero__content h1 {
    margin:
        8px 0 20px;

    font-family:
        "DM Serif Display",
        Georgia,
        serif;

    font-size:
        clamp(4rem,
            7vw,
            7rem);

    line-height: .95;

    color: var(--ink);
}

.project-hero__description {
    max-width: 560px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}


/* browser */

.project-browser {
    overflow: hidden;

    width: 100%;

    border:
        1px solid rgba(16, 35, 31, .08);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 24px 65px rgba(20, 38, 32, .10);
}

.project-browser__top {
    height: 38px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding:
        0 14px;

    background: #f4f6f5;

    border-bottom:
        1px solid rgba(16, 35, 31, .06);
}

.project-browser__top>div:first-child {
    display: flex;

    gap: 6px;
}

.project-browser__top span {
    width: 8px;
    height: 8px;

    display: block;

    border-radius: 50%;

    background: #d4dcd8;
}

.project-browser__bar {
    width: 43%;
    height: 10px;

    border-radius: 999px;

    background: #e5eae7;
}

.project-browser__screen img {
    width: 100%;

    display: block;
}



/* =========================
   INTRO
========================= */

.project-intro {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 90px;

    align-items: start;
}

.project-intro h2 {
    max-width: 520px;
}

.project-intro__text {
    max-width: 660px;

    font-size: 19px;

    line-height: 1.75;

    color: var(--ink);
}

.project-intro__text p+p {
    margin-top: 20px;
}



/* =========================
   FEATURE
========================= */

.project-feature {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 80px;

    align-items: center;
}

.project-feature__content {
    max-width: 540px;
}

.project-feature-list {
    margin-top: 40px;

    display: grid;

    gap: 16px;
}

.project-feature-list>div {
    display: flex;

    gap: 15px;

    padding: 18px 0;

    border-bottom:
        1px solid var(--line);
}

.project-feature-list i {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(23, 72, 60, .08);

    color: var(--green);
}

.project-feature-list strong,
.project-feature-list span {
    display: block;
}

.project-feature-list span {
    margin-top: 4px;

    color: var(--muted);

    font-size: 14px;
}

.project-feature__visual {
    display: flex;

    justify-content: center;
}

.project-feature__visual img {
    width: 100%;
    max-width: 700px;

    display: block;
}



/* =========================
   WEB + MOBILE
========================= */

.project-wide-title {
    max-width: 760px;

    margin-bottom: 55px;
}

.project-wide-visual {
    position: relative;

    width: 100%;

    padding:
        20px 80px 50px 0;
}

.project-wide-visual .project-browser {
    width: 84%;
}

.project-wide-phone {
    position: absolute;

    right: 0;
    bottom: 0;

    height: 70%;

    max-height: 570px;

    filter:
        drop-shadow(0 22px 30px rgba(20, 38, 32, .16));
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {

    .project-hero__grid,
    .project-intro,
    .project-feature {
        grid-template-columns: 1fr;

        gap: 45px;
    }


}

/* =========================
   REFONTE - HERO VISUEL
========================= */

.refonte-mini {
    width: 100%;
    max-width: 760px;
    margin-left: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.refonte-mini__item {
    min-width: 0;
}

.refonte-mini__item--after {
    transform: none;
}

.refonte-mini__label {
    display: inline-block;
    margin-bottom: 10px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.refonte-mini__label--after {
    color: var(--green);
}

.refonte-mini__browser {
    overflow: hidden;

    border: 1px solid rgba(16, 35, 31, .08);
    border-radius: 18px;
    background: #fff;

    box-shadow: 0 14px 35px rgba(16, 35, 31, .08);
}

.refonte-mini__top {
    height: 28px;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 0 12px;

    background: #f3f5f4;
    border-bottom: 1px solid rgba(16, 35, 31, .06);
}

.refonte-mini__top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d7ddda;
}

/* IMPORTANT : ne plus zoomer */
.refonte-mini__browser img {
    width: 100%;
    display: block;
    object-fit: contain;
    object-position: top center;
    background: #fff;
    padding: 0;
}

.refonte-mini__item--after .refonte-mini__browser {
    border-color: rgba(23, 72, 60, .16);
    box-shadow: 0 18px 42px rgba(16, 35, 31, .11);
}

@media (max-width: 1100px) {
    .refonte-mini {
        max-width: 640px;
        gap: 18px;
    }

}

@media (max-width: 900px) {
    .refonte-mini {
        max-width: 100%;
        margin-top: 36px;
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .refonte-mini {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 700px) {

    .project-hero {
        padding:
            55px 0 60px;
    }

    .project-hero__grid {
        gap: 35px;
    }

    .project-hero__content h1 {
        font-size: 4rem;
    }


    .project-wide-visual {
        padding: 0;
    }

    .project-wide-visual .project-browser {
        width: 100%;
    }

    .project-wide-phone {
        position: relative;

        right: auto;
        bottom: auto;

        display: block;

        height: 480px;

        margin:
            35px auto 0;
    }

}

/* =========================
   WAVY - MOBILE + UX
========================= */

.wavy-mobile-section {
    background: #fff;
}

.wavy-phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 36px;

    margin-top: 48px;

    align-items: start;
}

.wavy-phone-step {
    text-align: center;
}

.wavy-phone {
    height: 360px;

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

    margin-bottom: 22px;
}

.wavy-phone img {
    height: 100%;
    max-width: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 16px 22px rgba(13, 32, 27, .10));
}

.wavy-phone-step__text {
    max-width: 280px;

    margin: 0 auto;
}

.wavy-step-number {
    display: block;

    margin-bottom: 6px;

    color: var(--green2);

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

    letter-spacing: .12em;
}

.wavy-phone-step h3 {
    margin: 0 0 8px;

    font-size: 23px;
}

.wavy-phone-step p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}


/* UX */

.wavy-ux {
    margin-top: 75px;

    padding-top: 55px;

    border-top:
        1px solid var(--line);

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 70px;

    align-items: start;
}

.wavy-ux__intro {
    max-width: 520px;
}

.wavy-ux__intro h3 {
    margin:
        6px 0 16px;

    font-family:
        "DM Serif Display",
        Georgia,
        serif;

    font-size:
        clamp(2.4rem,
            4vw,
            4rem);

    line-height: 1;

    font-weight: 400;

    color: var(--ink);
}

.wavy-ux__intro p:last-child {
    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}

.wavy-ux__list {
    display: grid;

    gap: 0;
}

.wavy-ux__item {
    display: flex;

    gap: 16px;

    padding: 20px 0;

    border-bottom:
        1px solid var(--line);
}

.wavy-ux__item:first-child {
    padding-top: 0;
}

.wavy-ux__icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(23, 72, 60, .08);

    color: var(--green);
}

.wavy-ux__item strong {
    display: block;

    margin-bottom: 4px;
}

.wavy-ux__item span {
    display: block;

    color: var(--muted);

    font-size: 14px;
}

/* =========================
   FICHES PROJETS
   Réalisateur / Rédactrice
========================= */

.project-story,
.project-story--stack {
    display: block;
}

.project-story__top {
    max-width: 780px;
    margin-bottom: 48px;
}

.project-story__top .eyebrow {
    margin-bottom: 12px;
}

.project-story__top h2 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.04;
}

.project-story__lead {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.project-story__points,
.project-story__points--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-story__points>div,
.project-story__points--grid>div {
    min-height: 165px;
    padding: 28px 30px;
    border-right: 1px solid var(--line);
}

.project-story__points>div:first-child,
.project-story__points--grid>div:first-child {
    padding-left: 0;
}

.project-story__points>div:last-child,
.project-story__points--grid>div:last-child {
    padding-right: 0;
    border-right: 0;
}

.project-story__points strong,
.project-story__points--grid strong {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.project-story__points span,
.project-story__points--grid span {
    display: block;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.project-role {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.project-role strong {
    color: var(--ink);
}

.project-story__icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: rgba(23, 72, 60, .08);

    color: var(--green);

    font-size: 17px;
}

.project-story__titleline {
    display: flex;
    align-items: baseline;

    gap: 12px;
}

.project-story__icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(23, 72, 60, .08);

    color: var(--green);

    font-size: 15px;
}

.project-story__titleline strong {
    margin: 0;

    color: var(--ink);

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

    line-height: 1.25;
}

.project-story__point>span {
    display: block;

    color: var(--muted);

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

@media (max-width: 900px) {
    .project-story__top {
        margin-bottom: 36px;
    }

    .project-story__points,
    .project-story__points--grid {
        grid-template-columns: 1fr;
    }

    .project-story__points>div,
    .project-story__points--grid>div {
        min-height: auto;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .project-story__points>div:last-child,
    .project-story__points--grid>div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .project-story__top h2 {
        font-size: 34px;
    }

    .project-story__lead {
        font-size: 16px;
    }
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .wavy-phone {
        height: 320px;
    }

    .wavy-ux {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}

@media (max-width: 700px) {

    .wavy-phone-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .wavy-phone {
        height: 340px;
    }

    .wavy-ux {
        margin-top: 55px;
        padding-top: 40px;
    }

}

/* responsive */

@media (max-width: 900px) {

    .portfolio-hero-grid {
        display: none !important;

    }

    .refonte-comparison {
        padding: 70px 0;
    }

    .refonte-comparison__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .refonte-browser__screen {
        height: 380px;
    }

}


@media (max-width: 600px) {

    .portfolio-hero-grid {
        display: none !important;
    }

    .portfolio-mini__screen {
        height: 220px;
    }

}

.portfolio-stack {
    display: grid;
    gap: 40px
}

/* =========================
   RÉALISATIONS - VISUELS ÉGAUX
========================= */

.case-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.case-row .case-large-image,
.case-row .showcase-browser,
.case-row .browser-mockup {
    width: 100%;
}

.case-row .case-large-image img,
.case-row .showcase-browser img,
.case-row .browser-mockup img {
    width: 100%;
    height: 300px;
    object-position: top center;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.case-row.reverse>div:first-child {
    order: 2
}

.case-detail {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    align-items: center
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 45px
}

.form {
    display: grid;
    gap: 16px
}

.form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 700
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cfd7d3;
    border-radius: 6px;
    background: #fff
}

.form textarea {
    min-height: 150px
}

.notice {
    font-size: 12px;
    color: #7d8984
}

.section-concept {
    background-color: white;
}

.cta-full {
    width: 100%;
    min-height: 330px;
    position: relative;
    background-image: url('../images/cta-background.webp');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden
}

.cta-full__overlay {
    position: relative;
    width: 100%;
    min-height: 330px;
    display: flex;
    align-items: center;
    padding: 48px 7vw;
    background: linear-gradient(90deg, rgba(9, 45, 37, .92) 0%, rgba(9, 45, 37, .74) 32%, rgba(9, 45, 37, .24) 67%, rgba(9, 45, 37, .38) 100%)
}

.cta-full__content {
    position: relative;
    z-index: 2;
    max-width: 720px
}

.cta-eyebrow {
    color: #c8d9d3 !important;
    margin-bottom: 12px
}

.cta-full h2 {
    margin: 0;
    color: #fff;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.7rem, 4vw, 4.8rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.04em
}

.cta-text {
    margin: 16px 0 28px;
    color: rgba(255, 255, 255, .92);
    font-size: 18px
}

.cta-btn {
    background: #fff;
    color: var(--green);
    border: 1px solid rgba(255, 255, 255, .8);
    padding: 15px 24px
}

.cta-btn:hover {
    background: #f8f6f1;
    color: #0f372e
}

.cta-note {
    position: absolute;
    right: 7vw;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 2;
    color: #fff;
    font-family: 'Caveat', 'Brush Script MT', cursive;
    font-size: clamp(2rem, 2.7vw, 3.2rem);
    line-height: 1.05
}

.cta-note:after {
    content: "";
    display: block;
    width: 42px;
    margin-top: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, .85)
}

.footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 42px 0 20px
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 36px
}

.footer-main p {
    color: var(--muted);
    max-width: 280px
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
    font-size: 13px
}

.footer-links strong {
    margin-bottom: 6px;
    color: var(--ink)
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    color: #87918d;
    font-size: 12px
}

/* =========================
   FOOTER - LINKEDIN
========================= */

.footer-linkedin-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    margin-top: 18px;
}

.footer-linkedin-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.footer-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.footer-linkedin-icon i {
    color: #0A66C2;
    font-size: 32px;

    transition: transform .2s ease;
}

.footer-linkedin-icon:hover i {
    transform: translateY(-2px) scale(1.05);
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
}

.cookie-banner__content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(16, 35, 31, .14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 16px;
}

.cookie-banner p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--green);
    font-weight: 700;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 11px 18px;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-cookie--primary {
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
}

.btn-cookie--secondary {
    background: #fff;
    color: var(--green);
    border: 1px solid var(--green);
}

.cookie-settings {
    position: fixed;

    left: 16px;
    bottom: 16px;

    z-index: 9998;

    padding: 8px 12px;

    border: 1px solid var(--line);
    border-radius: 8px;

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

    color: var(--muted);

    font-size: 12px;

    box-shadow:
        0 6px 20px rgba(16, 35, 31, .10);

    cursor: pointer;
}

@media(max-width: 700px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-banner__content {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

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

/* =========================
   FORMULAIRE - STATUT
========================= */

.form-status {
    margin: 4px 0 0;
    min-height: 20px;

    font-size: 13px;
    line-height: 1.5;
}

.form-status.success {
    color: #287a56;
}

.form-status.error {
    color: #b43b3b;
}

.form button {
    cursor: pointer;
}

.form button:disabled {
    opacity: .65;
    cursor: wait;
}


/* champ facultatif */

.optional {
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE GLOBAL + NAVIGATION MOBILE
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.nav-dropdown__trigger {
    appearance: none;
    -webkit-appearance: none;
}

.menu-btn {
    cursor: pointer;
}

/* Le JS ajoute .open sur .nav-dropdown */
.nav-dropdown.open .nav-dropdown__trigger i {
    transform: rotate(180deg);
}

@media (max-width: 950px) {

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

    /* HEADER */
    .header-inner {
        height: 72px;
        gap: 14px;
    }

    .brand {
        font-size: 22px;
    }

    .brand small {
        font-size: 9px;
        letter-spacing: .11em;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 10px;
        color: var(--ink);
    }

    .menu-btn:hover,
    .menu-btn:focus-visible {
        background: var(--cream);
    }

    .nav {
        display: none;
    }

    .nav.open {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        z-index: 999;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;

        max-height: calc(100dvh - 72px);
        overflow-y: auto;

        padding: 14px 16px 22px;

        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 35px rgba(16, 35, 31, .10);
    }

    .nav>a {
        width: 100%;
        padding: 12px 4px;
    }

    .nav .cta {
        display: none !important;

    }

    /* SERVICES */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown__trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 4px;
    }

    .nav-dropdown:hover .nav-dropdown__trigger i {
        transform: none;
    }

    .nav-dropdown.open .nav-dropdown__trigger i {
        transform: rotate(180deg);
    }

    .nav-dropdown__menu {
        position: static;

        width: 100%;
        margin: 0;
        padding: 4px 0 8px;

        border: 0;
        border-radius: 0;
        box-shadow: none;

        background: transparent;

        opacity: 1;
        visibility: visible;
        transform: none;

        display: none;
    }

    .nav-dropdown__menu::before {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown__menu {
        display: grid;
        gap: 2px;
    }

    .nav-dropdown__menu a {
        width: 100%;
        padding: 10px 8px;
        border-radius: 10px;
    }

    .nav-dropdown__menu a:hover {
        transform: none;
    }

    /* GRILLES */
    .hero-grid,
    .page-hero-grid,
    .split,
    .case-row,
    .case-detail,
    .contact-grid,
    .project-hero__grid,
    .project-intro,
    .project-feature,
    .wavy-ux {
        grid-template-columns: 1fr;
    }

    .hero-grid>*,
    .page-hero-grid>*,
    .split>*,
    .case-row>*,
    .case-detail>*,
    .contact-grid>*,
    .project-hero__grid>*,
    .project-intro>*,
    .project-feature>* {
        min-width: 0;
    }

    /* HERO HOME */
    .hero-content {
        height: auto;
        padding: 52px 5vw 24px;
    }

    .hero-content h1 {
        font-size: clamp(2.65rem, 8vw, 4rem);
        line-height: 1.02;
    }

    .hero-photo {
        height: 380px;
        background-size: auto 92%;
        background-position: right bottom;
    }

    /* HERO PAGES */
    .page-hero {
        padding: 48px 0;
    }

    .page-hero-grid {
        gap: 34px;
    }

    .page-hero-visual,
    .page-hero-visual-thomas {
        width: 100%;
    }

    .page-hero-visual img {
        width: 100%;
        max-height: none;
    }

    .page-hero-visual-thomas img {
        width: min(100%, 380px);
        margin: 0 auto;
    }

    /* GRILLES DE CARTES */
    .proofgrid,
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-showcase {
        gap: 80px;
    }

    .project-card {
        padding-top: 180px;
    }

    .project-device {
        width: 72%;
    }

    /* PROJETS */
    .project-hero__grid,
    .project-intro,
    .project-feature {
        gap: 40px;
    }

    .project-hero__content h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .project-wide-visual {
        padding-right: 0;
    }

    .project-wide-visual .project-browser {
        width: 100%;
    }

    .wavy-ux {
        gap: 36px;
    }

    /* REFONTE */
    .refonte-mini {
        max-width: 100%;
        margin: 32px 0 0;
    }

    .refonte-mini__browser img {
        width: 100%;
    }

    /* FOOTER */
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .case-row.reverse>div:first-child {
        order: 0;
    }

    .cta-note {
        display: none;
    }
}

@media (max-width: 700px) {

    h1 {
        font-size: clamp(2.35rem, 11vw, 3rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
    }

    .lead {
        font-size: 17px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .proofgrid {
        grid-template-columns: 1fr;
    }

    .proof {
        padding: 22px 0;
        border-bottom: 1px solid var(--line);
    }

    .proof:not(:last-child)::after {
        display: none;
    }

    .proof:last-child {
        border-bottom: 0;
    }

    /* HERO HOME */
    .hero-content {
        padding: 42px 20px 22px;
    }

    .hero-content h1 {
        font-size: clamp(2.45rem, 11.5vw, 3.25rem);
    }

    .hero-photo {
        height: 320px;
        background-size: auto 94%;
        background-position: 70% bottom;
    }

    /* BOUTONS */
    .actions {
        flex-direction: column;
        width: 100%;
    }

    .actions .btn {
        width: 100%;
    }

    /* CARTES PROJETS */
    .projects-showcase {
        margin-top: 52px;
        gap: 70px;
    }

    .project-card {
        padding: 135px 18px 22px;
    }

    .project-device,
    .project-wavy .project-device {
        width: 90%;
        top: -28px;
    }

    .project-content {
        padding: 24% 4px 4px;
    }

    .project-content.concept {
        padding: 18px 4px 4px !important;
    }


    .browser-mockup {
        width: 92%;
    }

    /* PORTFOLIO / REFONTE */
    .portfolio-hero-grid {
        display: none !important;
    }

    .refonte-mini,
    .wavy-phone-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-mini__screen {
        height: 210px;
    }

    .refonte-mini {
        gap: 24px;
    }

    .refonte-mini__browser img {
        height: auto;
        object-fit: contain;
    }

    .case-row .case-large-image img,
    .case-row .showcase-browser img,
    .case-row .browser-mockup img {
        height: auto;
        max-height: 330px;
    }

    /* PROJET WAVY */
    .project-hero {
        padding: 46px 0 52px;
    }

    .project-hero__content h1 {
        font-size: clamp(3rem, 15vw, 4rem);
    }

    .project-wide-phone {
        position: relative;
        right: auto;
        bottom: auto;
        display: block;
        width: auto;
        height: 420px;
        max-width: 100%;
        margin: 28px auto 0;
    }

    .wavy-phone-grid {
        gap: 46px;
    }

    .wavy-phone {
        height: 320px;
    }

    /* CTA */
    .cta-full,
    .cta-full__overlay {
        min-height: 300px;
    }

    .cta-full__overlay {
        padding: 38px 20px;
        background: rgba(9, 45, 37, .82);
    }

    .cta-full h2 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .cta-text {
        font-size: 16px;
    }

    /* FOOTER */
    .footer {
        padding-top: 34px;
    }

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

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

    /* FORMULAIRE */
    .form input,
    .form textarea,
    .form select {
        font-size: 16px;
        /* évite le zoom automatique sur iPhone */
    }

    /* COOKIES */
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-banner__content {
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
        padding: 18px;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        border-radius: 14px;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .btn-cookie {
        min-height: 44px;
        padding: 10px 12px;
    }

    .cookie-settings {
        left: 10px;
        bottom: 10px;

        padding: 6px 9px;

        font-size: 11px;
    }
}

@media (max-width: 420px) {

    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand {
        font-size: 20px;
    }

    .brand small {
        display: none;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-photo {
        height: 285px;
        background-position: 64% bottom;
    }

    .cookie-banner__actions {
        grid-template-columns: 1fr;
    }

    .project-wide-phone {
        height: 360px;
    }

    .wavy-phone {
        height: 290px;
    }
}

/* =========================================================
   FIX MENU MOBILE
   ========================================================= */

@media (max-width: 950px) {

    /* Menu principal */
    .nav.open {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;

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

        gap: 4px;

        padding: 18px 20px 24px;

        background: #fff;

        border-bottom: 1px solid var(--line);

        box-shadow:
            0 20px 35px rgba(16, 35, 31, .10);

        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }


    /* Liens principaux */
    .nav>a {
        width: 100%;

        padding: 12px 8px;

        font-size: 16px;
    }


    /* Bloc Services */
    .nav-dropdown {
        width: 100%;
    }


    .nav-dropdown__trigger {
        width: 100%;

        padding: 12px 8px;

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

        font-size: 16px;
    }


    /* IMPORTANT :
       annule totalement les transforms desktop */
    .nav-dropdown__menu,
    .nav-dropdown:hover .nav-dropdown__menu,
    .nav-dropdown:focus-within .nav-dropdown__menu,
    .nav-dropdown.open .nav-dropdown__menu {

        position: static;

        left: auto;
        top: auto;

        width: 100%;

        margin: 0;
        padding: 6px 0 8px;

        transform: none !important;

        opacity: 1;
        visibility: visible;

        border: 0;
        box-shadow: none;

        background: transparent;
    }


    /* Fermé par défaut */
    .nav-dropdown__menu {
        display: none;
    }


    /* Ouvert au clic */
    .nav-dropdown.open .nav-dropdown__menu {
        display: grid;
        gap: 4px;
    }


    /* Pas de triangle desktop */
    .nav-dropdown__menu::before {
        display: none;
    }


    /* Liens Services */
    .nav-dropdown__menu a {
        width: 100%;

        display: flex;
        align-items: center;

        gap: 12px;

        padding: 11px 10px;

        border-radius: 10px;

        transform: none !important;
    }


    .nav-dropdown__menu a:hover {
        transform: none;
        background: var(--cream);
    }


    /* Icône */
    .nav-dropdown__icon {
        width: 38px;
        height: 38px;

        flex: 0 0 38px;
    }


    /* Texte */
    .nav-dropdown__menu strong {
        font-size: 14px;
    }


    .nav-dropdown__menu small {
        font-size: 12px;
        line-height: 1.35;
    }


    /* Rotation de la flèche uniquement quand ouvert */
    .nav-dropdown:hover .nav-dropdown__trigger i {
        transform: none;
    }


    .nav-dropdown.open .nav-dropdown__trigger i {
        transform: rotate(180deg);
    }


    /* CTA */
    .nav .cta {
        display: none !important;

    }
}

/* =========================================================
   RÉALISATIONS - VISUEL MOBILE SOUS LE TITRE
========================================================= */

/* caché sur desktop */
.case-visual--mobile {
    display: none;
}


@media (max-width: 700px) {

    /* une seule colonne */
    .case-row,
    .case-row.reverse {
        display: block;
    }


    /* on cache le visuel desktop */
    .case-visual--desktop {
        display: none !important;
    }


    /* et on affiche celui placé sous le titre */
    .case-visual--mobile {
        display: block;

        width: 100%;

        margin:
            22px 0 24px;
    }


    /* annule l'ordre spécial du reverse desktop */
    .case-row.reverse > div:first-child {
        order: initial;
    }


    /* browser prend toute la largeur mobile */
    .case-visual--mobile .browser-mockup {
        width: 100%;

        border-radius: 14px;
    }


    .case-visual--mobile .browser-screen {
        overflow: hidden;
    }


    .case-visual--mobile .browser-screen img {
        width: 100%;
        height: auto;

        aspect-ratio: 16 / 10;

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


    /* espace entre les différents projets */
    .portfolio-stack {
        gap: 70px;
    }


    .case-content h2 {
        margin-bottom: 0;
    }


    .case-content > p {
        margin-top: 0;
    }

}

/* =========================================================
   CONCEPTS - VISUEL SOUS LE TITRE EN MOBILE
========================================================= */

.concept-visual--mobile {
    display: none;
}

@media (max-width: 950px) {

    .concept-visual--desktop {
        display: none !important;
    }

    .concept-visual--mobile {
        display: flex !important;

        width: 100%;

        margin: 20px 0 22px;

        padding: 24px 0;

        background:
            linear-gradient(
                #f8f6f1,
                #f3efe8
            );

        justify-content: center;
    }

    .concept-visual--mobile .browser-mockup {
        width: 100%;
        max-width: 100%;
    }

    .concept-visual--mobile .browser-screen img {
        width: 100%;
        height: auto;

        aspect-ratio: 16 / 10;

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

    .project-content.concept h3 {
        margin-bottom: 0;
    }

    .project-content.concept > p {
        margin-top: 0;
    }

    .project-content.concept > p + p {
        margin-top: 12px;
    }
}