/* =========================================
   CSS - VARIABLES & RESET
========================================= */
:root {
    --red-cinematic: #b21010; /* Le rouge profond de tes images */
    --bg-light: #f4f1eb; /* Un blanc un peu "papier" */
    --text-dark: #111111;
    --text-light: #f4f1eb;
    --video-pink: #ffe4ec;
    --drawing-yellow: #fff3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* On cache le curseur pour mettre le nôtre */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Effet de grain "Pellicule/Magazine" sur toute la page */
.noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Curseur personnalisé (Un point blanc qui suit la souris) */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.95);
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* =========================================
   STICKY HEADER
========================================= */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    background: rgba(255, 235, 0, 0);
    backdrop-filter: blur(0px);
    padding: 2rem;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    height: auto;
}

.sticky-header.visible {
    transform: translateY(0);
    background: rgba(255, 235, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sticky-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #111;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, font-size 0.3s ease;
}

.sticky-header.visible .sticky-title {
    opacity: 1;
}

.sticky-signature {
    font-family: 'Rock Salt', cursive;
    font-size: 1.2rem;
    color: #111;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, font-size 0.3s ease;
}

.sticky-header.visible .sticky-signature {
    opacity: 1;
}

/* =========================================
   TYPOGRAPHIES
========================================= */
.font-serif { font-family: 'Bodoni Moda', serif; }
.font-hand { font-family: 'Caveat', cursive; }
.font-mono { font-family: 'Space Mono', monospace; }

/* =========================================
   HERO SECTION (L'affiche rouge)
========================================= */
.hero {
    background-color: #ffeb00;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0;
    text-align: center;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    z-index: 0;
}

.hero-corner {
    position: absolute;
    width: clamp(120px, 18vw, 280px);
    height: clamp(120px, 18vw, 280px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.hero-corner:hover {
    transform: scale(1.05);
}

.hero-corner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-corner-tl {
    top: -0.5rem;
    left: -0.5rem;
}

.hero-corner-tr {
    top: -0.5rem;
    right: -0.5rem;
}

.hero-corner-bl {
    bottom: -0.5rem;
    left: -0.5rem;
}

.hero-corner-br {
    bottom: -0.5rem;
    right: -0.5rem;
}

.hero-top-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(244, 241, 235, 0.3);
    padding: 5px 15px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 16vw;
    font-weight: 900;
    line-height: 0.85;
    text-transform: capitalize;
    letter-spacing: -0.03em;
    z-index: 2;
    transform: scaleX(1.75);
    transform-origin: center;
}

.hero .signature {
    font-size: 4rem;
    color: var(--text-dark);
    position: absolute;
    bottom: 10%;
    transform: rotate(-5deg);
    opacity: 0.8;
    z-index: 1;
}

.hero-nav {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-nav-top {
    margin-bottom: 1rem;
}

.hero-nav-bottom {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-center-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    background: #111;
    color: #fff;
    border: 5px solid #111;
    border-radius: 18px;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    min-width: 140px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem;
    border: 4px solid;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 140px;
    color: #111;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.12);
}

.hero-btn:hover {
    transform: translateY(-5px);
}

.hero-btn-insta {
    background: #ff98ff;
    border-color: #43006d;
    color: #f7f0ff;
    text-shadow: 2px 2px 0 #5c0083;
}

.hero-btn-press {
    background: #ffdc3f;
    border-color: #c26300;
    color: #0b1344;
    text-shadow: 2px 2px 0 #8c4f00;
}

.hero-btn-summary {
    background: #80ffb8;
    border-color: #006d3f;
    color: #00220f;
    text-shadow: 2px 2px 0 #0d3f1d;
}

.hero-btn-mail {
    background: #ffb88f;
    border-color: #9f3d00;
    color: #2c0a00;
    text-shadow: 2px 2px 0 #8a4200;
}

.hero-btn-tel {
    background: #8fd9ff;
    border-color: #004d92;
    color: #001433;
    text-shadow: 2px 2px 0 #005eaf;
}

.hero-btn:hover.hero-btn-insta,
.hero-btn:hover.hero-btn-press,
.hero-btn:hover.hero-btn-summary,
.hero-btn:hover.hero-btn-mail,
.hero-btn:hover.hero-btn-tel {
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.hero-main {
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: none;
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(50rem, 55vw, 100rem);
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    line-height: 0.65;
    text-transform: uppercase;
    letter-spacing: -0.15em;
    color: #111;
    white-space: normal;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-signature {
    font-family: 'Rock Salt', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin-top: 0.75rem;
    color: #111;
    text-align: center;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-subtext {
    margin-top: 2rem;
    font-size: 1.25rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(17,17,17,0.85);
}

.summary-section {
    min-height: 100vh;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.summary-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/fond.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.9;
}

.summary-sheet {
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 3rem;
    border-radius: 42px;
    background: rgba(255, 249, 229, 0.95);
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    border: 2px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.summary-sheet::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size: 100% 3rem, 3rem 100%;
    opacity: 0.5;
    pointer-events: none;
    border-radius: 42px;
}

.summary-header {
    position: relative;
    z-index: 1;
    font-size: 7rem;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin: 0 0 2rem;
    color: #111;
}

.summary-menu {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 2rem;
}

.summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 1.8rem;
    background: rgba(255,255,255,0.96);
    border: 2px dashed rgba(0,0,0,0.18);
    border-radius: 28px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.35), transparent 28%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.12);
}

.summary-card:hover::before {
    opacity: 1;
}

.summary-icon {
    width: clamp(120px, 22vw, 170px);
    height: clamp(120px, 22vw, 170px);
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: rgba(0,0,0,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.summary-card:hover .summary-icon {
    transform: scale(1.08) rotate(-3deg);
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 20px 40px rgba(0,0,0,0.08);
}

.summary-icon svg {
    width: 65%;
    height: auto;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.08));
}

.summary-icon-video {
    background: linear-gradient(135deg, #ffe4ec 0%, #ffd8ec 100%);
}

.summary-icon-drawings {
    background: linear-gradient(135deg, #fff3b8 0%, #ffe9ae 100%);
}

.summary-icon-websites {
    background: linear-gradient(135deg, #d9f4ff 0%, #dbe9ff 100%);
}

.summary-label {
    font-size: 1.45rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.summary-card:hover .summary-label {
    color: #111;
}

@keyframes iconPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.summary-card:nth-child(1) .summary-icon,
.summary-card:nth-child(2) .summary-icon,
.summary-card:nth-child(3) .summary-icon {
    animation: iconPulse 4.5s ease-in-out infinite;
}

.websites-section {
    padding: 6rem 4rem;
    background: linear-gradient(180deg, rgba(255,250,240,0.6), rgba(255,245,230,0.6));
}

.websites-section .section-title {
    font-size: clamp(3.5rem, 6.5vw, 5.5rem);
    margin: 0 0 1.2rem 0;
    z-index: 2;
    text-align: center;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
    align-items: stretch;
}

.site-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 260px;
    background: #111;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    transform: translateY(20px) scale(0.995);
    transition: transform 420ms cubic-bezier(.2,.9,.2,1), box-shadow 420ms ease, filter 420ms ease;
    will-change: transform, filter;
}

.site-preview {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.9) contrast(0.95) brightness(0.85);
    transition: transform 650ms cubic-bezier(.2,.9,.2,1);
}

.site-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
    pointer-events: none;
    transition: opacity 300ms ease;
}

.site-meta {
    position: absolute;
    right: 2.5rem;
    bottom: 2.2rem;
    z-index: 2;
    text-align: right;
}

.site-title {
    font-size: 2rem;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.site-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.site-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 110px rgba(0,0,0,0.28);
    filter: saturate(1.05) brightness(1);
}

.site-card:hover .site-preview {
    transform: scale(1.06) translateY(-6px);
}

.site-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
}

.site-card.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 600ms ease, transform 700ms cubic-bezier(.2,.9,.2,1);
}

.site-cta {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.6rem 1rem;
    background: #ffeb3b;
    color: #111;
    font-weight: 700;
    border: 6px solid #111;
    border-radius: 10px;
    box-shadow: 8px 12px 0 rgba(0,0,0,0.12);
    transform: skew(-6deg);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    cursor: pointer;
    z-index: 3;
}

.site-cta:hover {
    transform: translateY(-6px) skew(-6deg) scale(1.02);
    box-shadow: 14px 18px 0 rgba(0,0,0,0.18);
}

.site-cta:active {
    transform: translateY(-2px) skew(-6deg) scale(0.99);
}

/* creative animated accent */
.site-card .glow {
    position: absolute;
    left: -30%;
    top: -20%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 30% 20%, rgba(255,200,50,0.12), transparent 20%), radial-gradient(circle at 70% 80%, rgba(255,50,150,0.06), transparent 18%);
    mix-blend-mode: screen;
    animation: slowRotate 12s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .websites-grid { grid-template-columns: 1fr; }
    .site-meta { right: 1.25rem; left: 1.25rem; text-align: left; }
    .summary-menu { grid-template-columns: 1fr; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   SECTION A PROPOS (Style croquis / N&B)
========================================= */
.about-section {
    padding: 8rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border-bottom: 2px solid var(--text-dark);
}

.about-title-image {
    font-size: 2.5rem;
    color: var(--red-cinematic);
    margin-top: 2rem;
    transform: rotate(-2deg);
}

.about-side-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0.5rem 0 0 3.5rem;
}

/* =========================================
   SECTION TITLES (VIDÉOS / DESSINS) — style hero-like
========================================= */
.section-heading {
    min-height: 24vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 3rem 0;
}

.section-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(6rem, 12vw, 11rem);
    line-height: 0.75;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: #111;
    transform: scaleX(1.75) translateY(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 700ms cubic-bezier(.2,.9,.2,1), opacity 500ms ease;
    will-change: transform, opacity;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 6px;
    background: rgba(0,0,0,0.12);
    margin: 1.2rem auto 0 auto;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 450ms ease;
}

.section-heading.visible .section-title {
    opacity: 1;
    transform: scaleX(1) translateY(-10px);
}

.section-heading.visible .section-title::after {
    transform: scaleX(1);
}

/* subtle shimmer and underline pulse */
.section-heading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.02));
    pointer-events: none;
    opacity: 0;
    transition: opacity 500ms ease;
}

.section-heading.visible::before {
    opacity: 1;
    backdrop-filter: blur(3px);
}

@media (max-width: 700px) {
    .section-title { font-size: clamp(3.2rem, 16vw, 6rem); transform: scaleX(1.4); }
}

.about-title-image:hover {
    transform: translateY(-16px) scale(1.03);
    filter: drop-shadow(0px 36px 42px rgba(0, 0, 0, 0.24));
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-0.25deg);
    }
    50% {
        transform: translateY(-18px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(0.25deg);
    }
}

.about-text {
    font-family: 'Rock Salt', cursive;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: 1.8;
    letter-spacing: 0.03em;
    color: #111;
    margin-top: 0.5rem;
    max-width: 620px;
}

.about-scribble {
    font-family: 'Rock Salt', cursive;
    font-size: 2.3rem;
    color: var(--red-cinematic);
    margin-top: 2rem;
    transform: rotate(-2deg);
}

/* =========================================
   LES BLOCS PROJETS (Faciles à éditer)
========================================= */
.projects-container {
    padding: 6rem 4rem;
}

.project-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 10rem;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alterne l'image à gauche puis à droite */
.project-block:nth-child(even) {
    flex-direction: row-reverse;
}

.project-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.media-wrapper {
    flex: 1.5;
    position: relative;
    height: 0;
    padding-bottom: 38.25%;
    background: #000;
    border: 1px solid var(--text-dark);
    box-shadow: 15px 15px 0px var(--text-dark); /* Ombre dure style BD/Journal */
    transition: transform 0.3s ease;
    overflow: hidden;
}

.media-wrapper:hover {
    transform: translate(-5px, -5px);
    box-shadow: 20px 20px 0px var(--red-cinematic);
}

.media-wrapper > div,
.media-wrapper iframe,
.media-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-wrapper iframe, .media-wrapper img {
    object-fit: cover;
    /* Petit effet "imprimé" sur les vidéos/images */
    filter: contrast(1.1) saturate(0.9);
}

.info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.project-date {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-title {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
}

.project-note {
    font-family: 'Rock Salt', cursive;
    font-size: 1.7rem;
    color: var(--red-cinematic);
    transform: rotate(-3deg);
    margin-top: 1rem;
}

.section-heading {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.section-heading::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    opacity: 0.52;
    transform: scale(1.08);
    z-index: 0;
}

.section-heading-video {
    background-color: var(--video-pink);
}

.section-heading-video::before {
    background-image: url('img/img2.jpeg');
}

.section-heading-drawings {
    background-color: var(--drawing-yellow);
}

.section-heading-drawings::before {
    background-image: url('img/img3.jpeg');
}

.section-heading-websites {
    background-color: #fef8e2;
}

.section-heading-websites::before {
    background-image: url('img/img4.png');
}

.section-title {
    font-size: 14vw;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin: 0;
    color: var(--text-dark);
    text-transform: uppercase;
    z-index: 1;
}

.drawings-section {
    padding: 6rem 4rem 8rem;
    background: #fff;
}

.drawings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding-bottom: 1rem;
    overflow-x: hidden;
}

.drawings-grid::-webkit-scrollbar {
    height: 10px;
}

.drawings-grid::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.2);
    border-radius: 999px;
}

.drawing-card {
    border-radius: 24px;
    overflow: hidden;
    background: #f8f5f0;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.08);
    min-height: 420px;
    width: min(420px, 100%);
    flex: 0 0 min(420px, 100%);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawing-card:hover {
    transform: translateY(-8px);
}

.drawing-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.drawing-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.drawing-title {
    font-size: 2rem;
    line-height: 1;
}

.drawing-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.drawing-card.placeholder {
    display: grid;
    place-items: center;
    min-height: 420px;
    color: rgba(17, 17, 17, 0.7);
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

.drawing-fallback {
    border: 2px dashed rgba(17, 17, 17, 0.3);
    border-radius: 24px;
    padding: 2rem;
}

.drawing-card.enlarged {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(90vw, 1100px);
    max-height: 90vh;
    transform: translate(-50%, -50%);
    z-index: 20000;
    min-height: auto;
    cursor: zoom-out;
    box-shadow: 0 50px 120px rgba(17, 17, 17, 0.35);
    background: rgba(248, 245, 240, 0.98);
}

.drawing-card.enlarged img {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 160px);
    object-fit: contain;
}

.drawing-card.enlarged .drawing-info {
    padding: 2rem;
}

body.modal-open {
    overflow: hidden;
}

/* Petit trait dessiné séparateur */
.separator {
    width: 50px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 1rem 0;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .hero h1 { font-size: 18vw; }
    .section-title { font-size: 18vw; }
    .about-section, .project-block { grid-template-columns: 1fr; flex-direction: column !important; padding: 3rem 2rem; }
    .projects-container, .drawings-section { padding: 3rem 2rem; }
    .section-heading { padding: 4rem 2rem 2rem; }
    .drawings-grid { grid-template-columns: 1fr; }
    .project-title { font-size: 2.5rem; }
    .media-wrapper { padding-bottom: 56.25%; width: 100%; }
}
