/*
 * STYLE LIGHT — Annet-Romain Portfolio
 * Version monochrome, haut contraste, accessible (WCAG AA)
 * Zéro couleur, zéro animation superflue, lecture rapide
 */

/* ===== RESET & TOKENS ===== */
:root {
    --c-black: #000000;
    --c-white: #ffffff;
    --c-gray-90: #1a1a1a;
    --c-gray-60: #666666;
    --c-gray-20: #cccccc;
    --c-gray-10: #f0f0f0;
    --c-border: #000000;

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;

    --radius: 0;
    --section-pad: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 4rem);
    --max-w: 900px;
    --max-w-wide: 1100px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--c-white);
    color: var(--c-black);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background: var(--c-white);
    color: var(--c-black);
    overflow-x: hidden;
}

/* Focus accessible */
:focus-visible {
    outline: 3px solid var(--c-black);
    outline-offset: 3px;
}

/* ===== TYPOGRAPHIE ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--c-black);
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    line-height: 1.7;
    color: var(--c-gray-90);
}

a {
    color: var(--c-black);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.15s;
}

a:hover {
    opacity: 0.6;
}

/* ===== UTILITAIRES ===== */
.l-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.l-container--wide {
    max-width: var(--max-w-wide);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.l-section {
    padding: var(--section-pad);
    border-top: 2px solid var(--c-black);
}

.l-section:first-of-type {
    border-top: none;
}

.tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1.5px solid var(--c-black);
    padding: 0.2em 0.6em;
    color: var(--c-black);
    background: var(--c-white);
    text-decoration: none;
}

.section-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-gray-60);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--c-gray-20);
}

/* ===== SKIP LINK (accessibilité) ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--c-black);
    color: var(--c-white);
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.1s;
}

.skip-link:focus {
    top: 1rem;
}

/* ===== NAV ===== */
.l-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-white);
    border-bottom: 2px solid var(--c-black);
    padding: 0.75rem clamp(1.25rem, 5vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.l-nav__logo {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--c-black);
}

.l-nav__links {
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    list-style: none;
    align-items: center;
}

.l-nav__links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--c-gray-60);
    transition: color 0.15s;
}

.l-nav__links a:hover {
    color: var(--c-black);
}

.l-nav__switch {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--c-gray-60);
    border: 1.5px solid var(--c-gray-20);
    padding: 0.3em 0.75em;
    transition: all 0.15s;
    white-space: nowrap;
}

.l-nav__switch:hover {
    color: var(--c-black);
    border-color: var(--c-black);
    opacity: 1;
}

/* ===== LIGHT MOBILE NAVIGATION ===== */
.l-nav__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 110;
    position: relative;
}

.l-nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--c-black);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Toggle active animation */
.l-nav__toggle.l-nav__toggle--active .l-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.l-nav__toggle.l-nav__toggle--active .l-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.l-nav__toggle.l-nav__toggle--active .l-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.l-nav__drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--c-white);
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 2px solid var(--c-black);
}

.l-nav.is-open .l-nav__drawer {
    transform: translateY(0);
}

.l-nav__drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.l-nav__drawer-links a {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c-black);
    transition: opacity 0.2s;
}

.l-nav__drawer-links a:hover {
    opacity: 0.6;
}

.l-nav__drawer-switch {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-gray-60) !important;
    border: 1.5px solid var(--c-gray-20);
    padding: 0.4em 1em;
    margin-top: 1rem;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-block;
}

.l-nav__drawer-switch:hover {
    color: var(--c-black) !important;
    border-color: var(--c-black);
    opacity: 1 !important;
}

/* Noscroll helper */
body.l-noscroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .l-nav__links,
    .l-nav__switch {
        display: none;
    }
    .l-nav__toggle {
        display: flex;
    }
}

/* ===== HERO ===== */
.l-hero {
    padding-top: 4rem !important;
    padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 6vw, 6rem);
    max-width: var(--max-w-wide);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .l-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.l-hero__photo-wrap {
    flex-shrink: 0;
}

.l-hero__photo {
    width: clamp(280px, 35vw, 420px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 3px solid var(--c-black);
    box-shadow: 12px 12px 0 var(--c-black);
    display: block;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.l-hero__photo:hover {
    transform: translate(-6px, -6px);
    box-shadow: 18px 18px 0 var(--c-black);
}

@media (max-width: 900px) {
    .l-hero__photo-wrap {
        order: -1;
    }

    .l-hero__photo {
        width: 150px;
        margin-inline: 0;
        border-width: 2px;
        box-shadow: 6px 6px 0 var(--c-black);
    }

    .l-hero__photo:hover {
        transform: translate(-3px, -3px);
        box-shadow: 9px 9px 0 var(--c-black);
    }
}

.l-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-gray-60);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.l-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--c-gray-20);
}

.l-hero__name {
    display: block;
    margin-bottom: 0.5rem;
}

.l-hero__outline {
    -webkit-text-stroke: 2px var(--c-black);
    color: transparent;
}

.l-hero__subtitle {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: var(--c-gray-60);
    margin-top: 2rem;
    max-width: 55ch;
    line-height: 1.6;
}

.l-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    align-items: center;
}

.l-hero__available {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gray-60);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.l-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-black);
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 0.85em 1.75em;
    border: 2px solid var(--c-black);
    background: var(--c-black);
    color: var(--c-white);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    line-height: 1;
}

.btn:hover {
    background: var(--c-white);
    color: var(--c-black);
    opacity: 1;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--c-black);
}

.btn--ghost {
    background: transparent;
    color: var(--c-black);
}

.btn--ghost:hover {
    background: var(--c-black);
    color: var(--c-white);
    box-shadow: none;
}

/* ===== ABOUT ===== */
.l-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 5rem;
    align-items: start;
}

@media (min-width: 700px) {
    .l-about__grid {
        grid-template-columns: auto 1fr;
    }
}

.l-about__photo {
    width: clamp(120px, 25vw, 200px);
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    border: 2px solid var(--c-black);
}

.l-about__text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
}

.l-about__text p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.l-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* ===== PROJETS PHARES ===== */
.l-projects__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.l-project-card {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1.5px solid var(--c-gray-20);
    text-decoration: none;
    color: var(--c-black);
    transition: background 0.15s;
    padding: 1.75rem 0;
    gap: 1rem;
}

.l-project-card:last-child {
    border-bottom: 1.5px solid var(--c-gray-20);
}

.l-project-card:hover {
    background: var(--c-gray-10);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-inline: -1rem;
    opacity: 1;
}

@media (min-width: 768px) {
    .l-project-card {
        grid-template-columns: 120px 1fr auto;
        align-items: start;
        gap: 1.5rem;
    }
}

.l-project-card__thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1.5px solid var(--c-black);
}

@media (min-width: 768px) {
    .l-project-card__thumb {
        width: 120px;
        height: 120px;
    }
}

.l-project-card__body {}

.l-project-card__meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-60);
    margin-bottom: 0.4rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.l-project-card__title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.l-project-card__excerpt-wrap {
    position: relative;
    max-height: 4.8em;
    /* 3 lines of 1.6 line-height */
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.l-project-card__excerpt-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, var(--c-white));
    transition: background 0.15s;
}

.l-project-card:hover .l-project-card__excerpt-wrap::after {
    background: linear-gradient(to bottom, transparent, var(--c-gray-10));
}

.l-project-card__excerpt {
    font-size: 0.9rem;
    color: var(--c-gray-60);
    line-height: 1.6;
    margin-bottom: 0;
}

.l-project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.l-project-card__arrow {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--c-gray-20);
    transition: color 0.15s, transform 0.15s;
    align-self: center;
    padding-top: 0;
}

.l-project-card:hover .l-project-card__arrow {
    color: var(--c-black);
    transform: translateX(4px);
}

/* ===== EXPÉRIENCES ===== */
.l-experience__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.l-exp-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    background: var(--c-white);
    border: 2px solid var(--c-black);
    box-shadow: 6px 6px 0 var(--c-black);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: start;
}

.l-exp-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--c-black);
}

.l-exp-item__thumb-wrap {
    width: 200px;
    height: 200px;
    border: 2px solid var(--c-black);
    overflow: hidden;
    background: var(--c-white);
    flex-shrink: 0;
}

.l-exp-item__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.l-exp-item:hover .l-exp-item__thumb {
    transform: scale(1.05);
}

.l-exp-item__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.l-exp-item__year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-black);
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border: 1.5px solid var(--c-black);
}

.l-exp-item__role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-gray-60);
}

.l-exp-item__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--c-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.l-exp-item__excerpt p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-gray-60);
    margin-bottom: 1.5rem;
}

.l-exp-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-black);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--c-black);
    background: var(--c-white);
    transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.l-exp-item__link:hover {
    background: var(--c-black);
    color: var(--c-white);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--c-black);
}

@media (max-width: 768px) {
    .l-exp-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .l-exp-item__thumb-wrap {
        width: 100%;
        height: 160px;
    }
}


/* ===== INSPIRATIONS ===== */
.l-inspirations__intro {
    font-size: 0.95rem;
    color: var(--c-gray-60);
    max-width: 60ch;
    margin-bottom: 2.5rem;
}

.l-inspirations__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.l-inspi-card {
    border: 1.5px solid var(--c-gray-20);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--c-black);
    transition: border-color 0.15s, background 0.15s;
}

.l-inspi-card:hover {
    border-color: var(--c-black);
    background: var(--c-gray-10);
    opacity: 1;
}

.l-inspi-card__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.l-inspi-card__thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--c-black);
    flex-shrink: 0;
}

.l-inspi-card__domain {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gray-60);
    display: block;
    margin-bottom: 0.25rem;
}

.l-inspi-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.l-inspi-card__type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--c-gray-60);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--c-gray-10);
}

/* Filtres inspirations */
.l-inspi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.l-inspi-filter {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1.5px solid var(--c-gray-20);
    padding: 0.3em 0.8em;
    background: transparent;
    color: var(--c-gray-60);
    cursor: pointer;
    transition: all 0.15s;
}

.l-inspi-filter:hover,
.l-inspi-filter.is-active {
    border-color: var(--c-black);
    background: var(--c-black);
    color: var(--c-white);
}

/* ===== CONTACT ===== */
.l-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 5rem;
}

@media (min-width: 700px) {
    .l-contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.l-contact__info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.l-contact__info p {
    font-size: 0.9rem;
    color: var(--c-gray-60);
    margin-bottom: 1.5rem;
}

.l-contact__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.l-contact__link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--c-black);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.15s;
}

.l-contact__link:hover {
    opacity: 0.6;
}

.l-contact__link-icon {
    width: 1.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--c-gray-60);
}

/* Formulaire CF7 */
.l-form .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.l-form label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-gray-60);
    display: block;
    margin-bottom: 0.4rem;
}

.l-form input[type="text"],
.l-form input[type="email"],
.l-form textarea {
    width: 100%;
    border: 1.5px solid var(--c-gray-20);
    border-radius: 0;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--c-black);
    background: var(--c-white);
    transition: border-color 0.15s;
    outline: none;
    appearance: none;
}

.l-form input[type="text"]:focus,
.l-form input[type="email"]:focus,
.l-form textarea:focus {
    border-color: var(--c-black);
}

.l-form textarea {
    min-height: 140px;
    resize: vertical;
}

.l-form input[type="submit"] {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85em 1.75em;
    border: 2px solid var(--c-black);
    background: var(--c-black);
    color: var(--c-white);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.l-form input[type="submit"]:hover {
    background: var(--c-white);
    color: var(--c-black);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--c-black);
}

/* ===== FOOTER ===== */
.l-footer {
    border-top: 2px solid var(--c-black);
    padding: 2rem clamp(1.25rem, 5vw, 2.5rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--c-gray-60);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 50;
    background: var(--c-white);
}

.l-footer a {
    color: var(--c-gray-60);
    text-decoration: none;
    transition: color 0.15s;
}

.l-footer a:hover {
    color: var(--c-black);
    opacity: 1;
}

/* ===== ÉTAT VIDE ===== */
.l-empty {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--c-gray-60);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2rem 0;
    border-top: 1px solid var(--c-gray-20);
}

/* ===== RESPONSIVE NAV MOBILE ===== */
@media (max-width: 600px) {
    .l-hero {
        padding-top: 3rem;
    }

    .l-contact__grid {
        gap: 2rem;
    }
}

/* ===== PRINT ===== */
@media print {

    .l-nav,
    .l-footer,
    .l-hero__actions,
    .l-form {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 18pt;
    }
}

/* ===== RADAR CRÉATIF PLACEHOLDER ===== */
.l-inspi-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    border: 2px dashed var(--c-gray-20);
    margin-top: 2rem;
    background: var(--c-white);
}

.l-inspi-placeholder i {
    font-size: 2.25rem;
    color: var(--c-black);
    margin-bottom: 1.25rem;
    animation: float 2s ease-in-out infinite;
}

.l-inspi-placeholder p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--c-gray-60);
    max-width: 320px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===== BOUTONS FLOTTANTS ===== */
.l-floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.btn-float {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--c-black);
    background: var(--c-white);
    border: 2px solid var(--c-black);
    padding: 0.75rem 1.25rem;
    box-shadow: 4px 4px 0 var(--c-black);
    transition: transform 0.1s, box-shadow 0.1s, background 0.15s, color 0.15s;
    cursor: pointer;
}

.btn-float:hover {
    background: var(--c-black);
    color: var(--c-white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--c-black);
}

.btn-float:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0 var(--c-black);
}

.btn-float--top {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
}

@media (max-width: 480px) {
    .l-floating-buttons {
        bottom: 1rem;
        padding-inline: 1rem;
    }

    .btn-float__text {
        display: none;
    }

    .btn-float--cv {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
    }
}

/* ===== MODALE CRITIQUE (NEOBRUTALIST MONOCHROME) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99995;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.critique-modal {
    width: 90vw;
    height: 85vh;
    max-width: 1100px;
    background: var(--c-white);
    border: 3px solid var(--c-black);
    box-shadow: 12px 12px 0 var(--c-black);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-overlay.is-open .critique-modal {
    transform: scale(1);
}

#close-critique {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--c-black);
    background: var(--c-white);
    color: var(--c-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}

#close-critique:hover {
    background: var(--c-black);
    color: var(--c-white);
}

#close-critique:active {
    transform: scale(0.95);
}

/* Panneau latéral gauche */
#modal-blue-panel {
    width: 100%;
    background: var(--c-black);
    color: var(--c-white) !important;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

#modal-bg-text {
    position: absolute;
    right: -1rem;
    top: 2rem;
    font-family: var(--font-sans);
    font-size: 10rem;
    font-weight: 900;
    opacity: 0.05;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.05) !important;
}

#modal-type {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--c-white) !important;
    color: var(--c-black) !important;
    padding: 0.25rem 0.5rem;
    border: 1.5px solid var(--c-black);
    display: inline-block;
}

#modal-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--c-white) !important;
}

#modal-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border: 2px solid var(--c-white);
    box-shadow: 6px 6px 0 var(--c-white);
    margin-bottom: 1.5rem;
}

#modal-blue-panel p {
    color: rgba(255, 255, 255, 0.8) !important;
}

#modal-reco {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8) !important;
}

#modal-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Panneau de droite (contenu) */
#modal-white-panel {
    width: 100%;
    background: var(--c-white);
    padding: 2.5rem;
    overflow-y: auto;
    box-sizing: border-box;
}

#modal-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gray-60);
    margin-bottom: 1.5rem;
    display: block;
}

#modal-content {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--c-gray-60);
}

#modal-content p {
    margin-bottom: 1.25rem;
}

#modal-content iframe,
#modal-content video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 2px solid var(--c-black);
    margin: 1.5rem 0;
}

/* Scroll lock */
body.noscroll {
    overflow: hidden !important;
}

/* Responsive modal */
@media (min-width: 768px) {
    .critique-modal {
        flex-direction: row;
    }

    #modal-blue-panel {
        width: 40%;
        height: 100%;
    }

    #modal-white-panel {
        width: 60%;
        height: 100%;
        padding: 4rem;
    }
}

@media (max-width: 767px) {
    .critique-modal {
        height: 80vh;
        width: 95vw;
    }

    #modal-blue-panel {
        padding: 1.5rem;
    }

    #modal-white-panel {
        padding: 1.5rem;
    }

    #modal-img {
        display: none !important;
        /* Cache l'image sur mobile pour gagner de la place */
    }

    #modal-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   THEME LIGHT ACTIVE — OVERRIDES POUR TOUTES LES PAGES FILLES
   ========================================================================== */

/* --- 1. Global Reset & Texture --- */
body.theme-light-active {
    background-color: #f2f2f0 !important;
    color: #1a1a1a !important;
}

/* --- 2. Header & Navigation (Monochrome & Épuré) --- */
body.theme-light-active #header a,
body.theme-light-active nav a {
    color: #1a1a1a !important;
}

/* Logo en haut à gauche */
body.theme-light-active #header .bg-\[\#ccff00\],
body.theme-light-active nav .bg-\[\#ccff00\],
body.theme-light-active .fixed.top-6.left-6.md\:hidden a {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.2) !important;
}

body.theme-light-active #header .bg-\[\#ccff00\]:hover,
body.theme-light-active nav .bg-\[\#ccff00\]:hover,
body.theme-light-active .fixed.top-6.left-6.md\:hidden a:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    transform: translate(2px, 2px) !important;
}

/* Barre de navigation principale */
body.theme-light-active nav .flex.items-center.gap-2 {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light-active nav .flex.items-center.gap-2 a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.theme-light-active nav .flex.items-center.gap-2 a.bg-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

body.theme-light-active nav .flex.items-center.gap-2 a.bg-black:hover {
    background-color: #f2f2f0 !important;
    color: #000000 !important;
}

/* Menu mobile hamburger */
body.theme-light-active .bubble-toggle {
    background: #000000 !important;
    border-color: #000000 !important;
}

body.theme-light-active .bubble-line {
    background: #ffffff !important;
}

body.theme-light-active .bubble-toggle.is-open {
    background: #ffffff !important;
}

body.theme-light-active .bubble-toggle.is-open .bubble-line {
    background: #000000 !important;
}

body.theme-light-active .bubble-link {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
}

body.theme-light-active .bubble-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 2px 2px 0px #000000 !important;
}

/* --- 3. Single Project page (single-projet.php) --- */
/* Badge */
body.theme-light-active header span.bg-\[\#ccff00\] {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Titre */
body.theme-light-active h1 span.text-\[\#4361ee\] {
    color: #000000 !important;
}

/* Bords décoratifs */
body.theme-light-active .border-\[\#ccff00\],
body.theme-light-active .border-l-\[\#ccff00\] {
    border-color: #000000 !important;
}

body.theme-light-active .border-\[\#4361ee\],
body.theme-light-active .border-l-\[\#4361ee\] {
    border-color: #999999 !important;
}

/* Gutenberg Title Underline */
body.theme-light-active .project-body h2::after {
    background: #000000 !important;
}

/* Gutenberg Title Subtitle */
body.theme-light-active .project-body h3,
body.theme-light-active .project-body h3::before {
    color: #000000 !important;
    background-color: #000000 !important;
}

/* Bullet markers */
body.theme-light-active .project-body ul li::marker {
    color: #000000 !important;
}

/* Embed button hover */
body.theme-light-active .embed-window a:hover,
body.theme-light-active .da-video-wrapper a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.theme-light-active .embed-window:hover {
    box-shadow: 10px 10px 0px 0px #000000 !important;
}

/* Navigation tabs */
body.theme-light-active .comp-nav-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

body.theme-light-active .comp-nav-link.current {
    background: #000000 !important;
    color: #ffffff !important;
}

/* "Voir Aussi" section */
body.theme-light-active .bg-\[\#4361ee\] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2) !important;
}

body.theme-light-active .bg-\[\#4361ee\] h3 {
    color: #000000 !important;
}

body.theme-light-active .bg-\[\#4361ee\] a {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

body.theme-light-active .bg-\[\#4361ee\] a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* --- 4. Taxonomy Page (taxonomy-competence.php) --- */
/* Toggle TOC mobile */
body.theme-light-active #toc-toggle {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2) !important;
}

/* Active TOC link */
body.theme-light-active .toc-link.active .toc-title {
    background: #000000 !important;
    color: #ffffff !important;
}

body.theme-light-active .toc-link.active .toc-image-container {
    box-shadow: 6px 6px 0px #000000 !important;
}

/* TOC title */
body.theme-light-active .sidebar span.bg-\[\#ccff00\] {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Main tab inside competence */
body.theme-light-active .comp-nav-link.current {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Tags keys */
body.theme-light-active .skill-tag {
    box-shadow: 2px 2px 0px #000000 !important;
}

/* Section borders */
body.theme-light-active .project-section {
    border-bottom-color: #000000 !important;
}

/* Sidebar borders */
body.theme-light-active .sidebar {
    border-right-color: #000000 !important;
}

/* Previous/Next links */
body.theme-light-active .hover\:text-\[\#4361ee\]:hover,
body.theme-light-active .hover\:text-\[\#ccff00\]:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}

/* --- 5. Global Project Archive (archive-projet.php) --- */
/* Banners decor */
body.theme-light-active .absolute .bg-\[\#ccff00\] {
    background-color: #000000 !important;
    border-color: #000000 !important;
}

body.theme-light-active .absolute .bg-\[\#ccff00\] span {
    color: #ffffff !important;
}

body.theme-light-active .absolute .bg-\[\#4361ee\] {
    background-color: #ffffff !important;
    border-color: #000000 !important;
}

body.theme-light-active .absolute .bg-\[\#4361ee\] span {
    color: #000000 !important;
}

/* Card item hover header */
body.theme-light-active .da-project-link:hover .p-5.bg-white {
    background-color: #000000 !important;
}

body.theme-light-active .da-project-link:hover .p-5.bg-white h2 {
    color: #ffffff !important;
}

/* Tag values inside archive cards */
body.theme-light-active .da-project-link span.bg-\[\#ccff00\] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

/* Detail hover button inside card overlay */
body.theme-light-active .da-project-overlay span {
    box-shadow: 4px 4px 0px #000000 !important;
}

body.theme-light-active .da-project-overlay span:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* --- 6. Mode Light Interface Cleanups --- */
/* Marquee bar monochrome */
body.theme-light-active #footer-marquee-bar {
    background-color: var(--c-white) !important;
    border-top: 2px solid var(--c-black) !important;
    border-bottom: 2px solid var(--c-black) !important;
}

body.theme-light-active #footer-marquee-bar .footer-scroll-band {
    color: var(--c-black) !important;
}

/* Hide heavy creative drawings suite */
body.theme-light-active #cs-wrapper,
body.theme-light-active #creative-canvas {
    display: none !important;
}

/* Hide complete version heavy CV button */
body.theme-light-active .cv-button-floating,
body.theme-light-active #fixed-explorer-indicator {
    display: none !important;
}

/* Light homepage: position buttons absolutely below the footer */
body.page-template-front-page-light-php,
body.page-template-front-page-light {
    position: relative !important;
}

.page-template-front-page-light-php .l-footer,
.page-template-front-page-light .l-footer {
    margin-bottom: 7.5rem !important;
}

.page-template-front-page-light-php .l-floating-buttons,
.page-template-front-page-light .l-floating-buttons {
    position: absolute !important;
    bottom: 2rem !important;
    z-index: 10 !important;
}

/* ===== COMPÉTENCES GRID (LIGHT THEME) ===== */
.l-poles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .l-poles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.l-pole-card {
    background: var(--c-white);
    border: 2px solid var(--c-black);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.l-pole-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.l-pole-card__title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--c-black);
}

.l-pole-card__icon {
    font-size: 1.5rem;
    color: var(--c-black);
    opacity: 0.4;
    flex-shrink: 0;
}

.l-pole-card__subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--c-gray-60);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--c-gray-10);
}

.l-pole-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.l-pole-list li {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--c-gray-90);
    position: relative;
    padding-left: 1.25rem;
}

.l-pole-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--c-black);
    font-family: var(--font-mono);
    font-weight: 700;
}

.l-pole-list li strong {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--c-black);
    font-weight: 700;
    margin-right: 0.25rem;
}