
/* =========================
   01 — DIRECTION ARTISTIQUE
========================= */

:root {
    --bg: #11120f;
    --panel: #191a16;
    --text: #f0f0e9;
    --muted: #96978e;
    --acid: #c6ff4d;
    --line: #34352e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

::selection {
    color: var(--bg);
    background: var(--acid);
}

.acid {
    color: var(--acid);
}

.section-pad {
    padding: 110px 8%;
}

.eyebrow {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.eyebrow span {
    color: var(--acid);
    margin-right: 8px;
}


/* =========================
   02 — HEADER
========================= */

.header {
    min-height: 82px;
    padding: 20px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    width: fit-content;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.wordmark span {
    color: var(--acid);
}

.header-note {
    justify-self: center;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 1px;
}

.menu-link {
    justify-self: end;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--acid);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-link span {
    margin-left: 10px;
    color: var(--acid);
    transition: transform 0.2s;
}

.menu-link:hover span {
    display: inline-block;
    transform: translate(3px, -3px);
}


/* =========================
   03 — HERO
========================= */

.hero {
    position: relative;
    padding: 30px 8% 0;
    overflow: hidden;
}

.hero-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.4px;
}

.hero h1 {
    position: relative;
    z-index: 2;
    margin-top: 85px;
    font-size: clamp(100px, 15.3vw, 220px);
    line-height: 0.76;
    letter-spacing: -0.105em;
    font-weight: 900;
    animation: title-in 0.8s ease both;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
}

.hero h1 .acid {
    -webkit-text-stroke: 0;
}

.hero-bottom {
    position: relative;
    z-index: 3;
    min-height: 190px;
    padding-top: 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 30px;
}

.hero-description {
    max-width: 340px;
    color: #b8b9b0;
    font-size: 14px;
    line-height: 1.9;
}

.round-link {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--acid);
    font-size: 24px;
    transition: color 0.25s, background 0.25s,
                transform 0.25s, border-color 0.25s;
}

.round-link:hover {
    color: var(--bg);
    background: var(--acid);
    border-color: var(--acid);
    transform: translateY(4px);
}

.hero-index {
    justify-self: end;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.9;
    letter-spacing: 1.4px;
    text-align: right;
}

.hero-stripe {
    width: calc(100% + 16.8%);
    margin-left: -8.4%;
    min-height: 48px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 25px;
    overflow: hidden;
    color: var(--bg);
    background: var(--acid);
    transform: rotate(-1.2deg) scale(1.02);
}

.hero-stripe span {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* =========================
   04 — INTRODUCTION
========================= */

.intro-section {
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10%;
    margin-top: 55px;
}

.intro-grid h2 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.08;
    letter-spacing: -3px;
}

.muted {
    color: #77796f;
}

.intro-copy {
    padding-top: 8px;
}

.intro-copy p {
    max-width: 470px;
    margin-bottom: 20px;
    color: #b2b3aa;
    font-size: 14px;
    line-height: 1.95;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    padding-bottom: 8px;
    color: var(--acid);
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.text-link span {
    transition: transform 0.2s;
}

.text-link:hover span {
    transform: translate(3px, 3px);
}


/* =========================
   05 — PROJETS
========================= */

.projects {
    background: #151611;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.section-count {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.project-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 8%;
    margin-top: 50px;
}

.project-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    overflow: hidden;
    background: #25251f;
    isolation: isolate;
}

.project-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(
            180deg,
            rgba(9, 10, 8, 0.05) 20%,
            rgba(9, 10, 8, 0.9) 100%
        ),
        url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1500&q=85");
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.project-visual:hover .project-image {
    transform: scale(1.045);
}

.project-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-label {
    padding: 8px 10px;
    color: var(--text);
    background: rgba(17, 18, 15, 0.65);
    backdrop-filter: blur(8px);
    font-size: 9px;
    letter-spacing: 1.2px;
}

.project-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--bg);
    background: var(--acid);
    border-radius: 50%;
    font-size: 22px;
    transition: transform 0.25s;
}

.project-visual:hover .project-arrow {
    transform: rotate(45deg);
}

.project-title > span {
    color: #e4e4dc;
    font-size: 9px;
    letter-spacing: 2px;
}

.project-title h3 {
    margin-top: 10px;
    font-size: clamp(50px, 6vw, 82px);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -5px;
}

.project-title h3 span {
    color: var(--acid);
}

.project-details {
    padding: 25px 0;
}

.project-details > h3 {
    margin-top: 25px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.project-details > p:not(.eyebrow):not(.disclaimer) {
    margin-top: 22px;
    color: #adaea4;
    font-size: 13px;
    line-height: 1.95;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.tag-list span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    color: #c3c4ba;
    font-size: 9px;
    letter-spacing: 0.8px;
}

.project-details .text-link {
    margin-top: 30px;
}

.disclaimer {
    margin-top: 35px;
    color: #77796f;
    font-size: 10px;
}


/* =========================
   06 — COMPÉTENCES
========================= */

.skills-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10%;
    margin-top: 45px;
}

.skills-layout > h2 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.skills-list {
    border-top: 1px solid var(--line);
}

.skill-row {
    min-height: 88px;
    display: grid;
    grid-template-columns: 35px 1fr 1.3fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    transition: padding 0.25s, background 0.25s;
}

.skill-row:hover {
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.018);
}

.skill-no {
    color: var(--acid);
    font-size: 10px;
}

.skill-row h3 {
    font-size: 17px;
    letter-spacing: -0.4px;
}

.skill-row p {
    color: var(--muted);
    font-size: 11px;
}

.skill-status {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.8px;
}


/* =========================
   07 — CONTACT
========================= */

.contact {
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    padding-bottom: 40px;
    border-top: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
}

.contact-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.contact-heading .eyebrow {
    color: var(--muted);
}

.contact-heading .eyebrow span {
    color: var(--acid);
}

.contact-index {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.2px;
    text-align: right;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: start;
    gap: clamp(35px, 7vw, 100px);
    padding: 65px 0;
}

.contact-intro {
    min-width: 0;
}

.contact-intro h2 {
    margin: 0;
    font-size: clamp(44px, 6.2vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.075em;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-intro h2 > span {
    color: var(--text);
}

.contact-intro h2 .acid {
    color: var(--acid);
}

.contact-description {
    max-width: 390px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.contact-status {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--acid);
    box-shadow: 0 0 10px rgba(198, 255, 77, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.form-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 1px;
}

.form-topline span:last-child {
    text-align: right;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.7;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
    opacity: 0.8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--acid);
}

.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--acid);
    border-radius: 0;
    background: var(--acid);
    color: var(--bg);
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.contact-button .contact-button-arrow {
    color: var(--bg);
    font-size: 18px;
    transition: transform 0.2s;
}

.contact-button:hover {
    background: transparent;
    color: var(--acid);
}

.contact-button:hover .contact-button-arrow {
    color: var(--acid);
    transform: translate(3px, -3px);
}

.contact-privacy {
    margin-top: -10px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.contact-bottomline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: 1px;
}


/* =========================
   08 — FOOTER
========================= */

.footer {
    min-height: 90px;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p,
.back-top {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

.back-top:hover {
    color: var(--acid);
}


/* =========================
   09 — ANIMATIONS
========================= */

@keyframes title-in {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   10 — TABLETTES
========================= */

@media (max-width: 950px) {
    .hero h1 {
        font-size: clamp(95px, 15vw, 150px);
    }

    .hero-decoration {
        display: none;
    }

    .intro-grid {
        gap: 6%;
    }

    .project-layout {
        grid-template-columns: 1fr 0.8fr;
        gap: 5%;
    }

    .project-visual {
        min-height: 440px;
    }

    .project-title h3 {
        font-size: 58px;
    }

    .skills-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}


/* =========================
   11 — MOBILES
========================= */

@media (max-width: 650px) {
    .section-pad {
        padding: 75px 22px;
    }

    .header {
        min-height: 72px;
        padding: 17px 22px;
        grid-template-columns: 1fr auto;
    }

    .header-note {
        display: none;
    }

    .wordmark {
        font-size: 21px;
    }

    .menu-link {
        font-size: 9px;
    }

    .hero {
        padding: 25px 22px 0;
    }

    .hero-topline {
        font-size: 8px;
        letter-spacing: 0.7px;
    }

    .hero-topline span:last-child {
        max-width: 130px;
        text-align: right;
    }

    .hero h1 {
        margin-top: 100px;
        font-size: clamp(77px, 17vw, 112px);
        line-height: 0.83;
        letter-spacing: -0.09em;
    }

    .outline-text {
        -webkit-text-stroke-width: 1px;
    }

    .hero-bottom {
        min-height: 205px;
        padding-top: 35px;
        grid-template-columns: 1fr auto;
        gap: 20px;
    }

    .hero-description {
        font-size: 12px;
    }

    .round-link {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .hero-index {
        grid-column: 1 / -1;
        justify-self: start;
        text-align: left;
        font-size: 8px;
    }

    .hero-stripe {
        min-height: 38px;
        gap: 25px;
    }

    .hero-stripe span {
        font-size: 8px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 38px;
    }

    .intro-grid h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .intro-copy p {
        font-size: 13px;
    }

    .section-head {
        align-items: flex-start;
    }

    .section-count {
        font-size: 8px;
        text-align: right;
    }

    .project-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
    }

    .project-visual {
        min-height: 440px;
        padding: 18px;
    }

    .project-title h3 {
        font-size: clamp(42px, 13vw, 60px);
        letter-spacing: -0.07em;
    }

    .project-details {
        padding: 15px 0 0;
    }

    .project-details > h3 {
        font-size: 32px;
    }

    .project-details > p:not(.eyebrow):not(.disclaimer) {
        font-size: 12px;
    }

    .disclaimer {
        margin-top: 24px;
    }

    .skills-layout {
        margin-top: 38px;
        gap: 35px;
    }

    .skills-layout > h2 {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .skill-row {
        grid-template-columns: 24px 1fr auto;
        gap: 10px;
        padding: 15px 0;
    }

    .skill-row h3 {
        font-size: 16px;
    }

    .skill-row p {
        grid-column: 2;
        grid-row: 2;
    }

    .skill-status {
        grid-column: 3;
        grid-row: 1 / 3;
        max-width: 90px;
        text-align: right;
        line-height: 1.5;
    }

    /* Contact sur mobile */

    .contact {
        padding-top: 65px;
        padding-bottom: 30px;
    }

    .contact-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .contact-index {
        max-width: 130px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 45px 0;
    }

    .contact-intro h2 {
        font-size: clamp(43px, 11vw, 65px);
        letter-spacing: -0.06em;
    }

    .contact-description {
        margin-top: 22px;
    }

    .contact-note {
        margin-top: 25px;
    }

    .contact-form {
        gap: 22px;
        padding: 20px;
    }

    .form-topline {
        flex-direction: column;
        gap: 5px;
    }

    .form-topline span:last-child {
        text-align: left;
    }

    .contact-bottomline {
        flex-direction: column;
        gap: 8px;
    }

    .footer {
        padding: 25px 22px;
        flex-wrap: wrap;
    }

    .footer p {
        order: 3;
        width: 100%;
    }
}


/* =========================
   12 — PETITS ÉCRANS
========================= */

@media (max-width: 370px) {
    .hero h1 {
        font-size: 70px;
    }

    .hero-topline {
        font-size: 7px;
    }

    .project-visual {
        min-height: 360px;
    }

    .project-title h3 {
        font-size: clamp(38px, 12.5vw, 46px);
        letter-spacing: -0.06em;
    }

    .section-count {
        max-width: 100px;
    }
}


/* =========================
   13 — ACCESSIBILITÉ
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}



/* Confirmation du formulaire */
.contact-status {
    display: none;
    align-items: center;
    gap: 12px;

    box-sizing: border-box;
    width: 100%;
    margin: 20px 0 0;
    padding: 14px 16px;

    color: #c6ff4d;
    background: rgba(198, 255, 77, 0.06);
    border: 1px solid rgba(198, 255, 77, 0.25);
    border-radius: 10px;

    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.contact-status.visible {
    display: flex;
}


.contact-status::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 24px;
    height: 24px;
    border-radius: 50%;

    color: #101010;
    background: #c6ff4d;
    font-weight: 700;
}

@keyframes confirmationEntree {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .contact-status {
        width: 100%;
        margin-top: 18px;
        padding: 12px 14px;
    }
}

