/* ============================
   about.css
   Page personnelle "à propos"
   ============================ */

/* ── Reset de base ─────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    color: #1E1E1E;
    font-family: var(--font-pgs), sans-serif;
    overflow-x: hidden;
}

/* ── Page entry animation ───────────────────── */
@keyframes aboutFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes aboutFadeRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}

.about-nav {
    opacity: 0;
    animation: aboutFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.chapter-tag {
    opacity: 0;
    animation: aboutFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.hero-left h1 {
    opacity: 0;
    animation: aboutFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-desc {
    opacity: 0;
    animation: aboutFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-right {
    opacity: 0;
    animation: aboutFadeRight 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

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

/* ── Helpers ─────────────────────────── */
.pixel-font {
    font-family: var(--font-pixel), sans-serif;
}

.chapter-tag {
    font-family: var(--font-pixel), sans-serif;
    font-size: 13px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
}

.chapter-tag.muted  { color: #bbb; }
.chapter-tag.pink   { color: var(--primary-color); }

/* ── Navigation minimale ─────────────────────────── */
.about-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    background: rgba(245, 245, 245, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    color: #1E1E1E;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    transition: color 0.2s ease;
}
.back-link:hover { color: var(--primary-color); }

.nav-logo {
    height: 26px;
    opacity: 0.75;
}

.lang-btn {
    background: none;
    border: 1.5px solid #1E1E1E;
    border-radius: 100px;
    padding: 5px 13px;
    font-family: var(--font-header);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    user-select: none;
}
.lang-btn:hover { background: #1E1E1E; color: #fff; }

/* ════════════════════ § 01 HERO ════════════════════ */
.hero-about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-left { flex: 1; }

.hero-left h1 {
    font-family: var(--font-header);
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 28px;
    user-select: none;
}

.outline-text {
    -webkit-text-stroke: 2px #1E1E1E;
    color: transparent;
}

.pink-text { color: var(--primary-color); }

.hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #666;
    max-width: 480px;
    font-family: var(--font-pgs);
}

.hero-right { flex: 0 0 400px; }

/* ── Carousel ─────────────────────────── */
.photo-carousel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.carousel-slides {
    position: relative;
    /* height = largeur × (5/4) pour aspect-ratio 4/5 */
    aspect-ratio: 4 / 5.4;
}

/* Polaroid photo card */
.photo-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px 12px 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13), 0 4px 16px rgba(255, 132, 247, 0.18);
}

/* Slides dans le carousel */
.photo-card.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px) rotate(3deg);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
    pointer-events: none;
}

.photo-card.slide.active {
    opacity: 1;
    transform: rotate(2deg);
    pointer-events: auto;
}

.photo-card.slide.leaving {
    opacity: 0;
    transform: translateX(-24px) rotate(-1deg);
}

.photo-card.slide:hover.active {
    transform: rotate(0deg) scale(1.02);
}

.photo-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.photo-label {
    display: flex;
    justify-content: space-between;
    padding: 10px 4px 12px;
    font-family: var(--font-pixel), sans-serif;
    font-size: 10px;
    color: #aaa;
}

/* ── Navigation carousel ─────── */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.carousel-btn {
    background: none;
    border: 1.5px solid #ddd;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.carousel-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 132, 247, 0.06);
}

.carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
}
.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* ════════════════════ TICKER ════════════════════ */
.ticker-wrap {
    overflow: hidden;
    background: #1E1E1E;
    padding: 13px 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    width: max-content;
    will-change: transform;
}

.ticker-track span {
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.ticker-dot {
    color: var(--primary-color) !important;
    font-size: 9px !important;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ════════════════════ SECTIONS COMMUNES ════════════════════ */
.about-section {
    padding: 100px 5%;
}

.about-section.light { background: #fafafa; }

.about-section.dark {
    background: linear-gradient(150deg, #0b0018 0%, #0e0022 55%, #080812 100%);
    position: relative;
    overflow: hidden;
}

/* Dot grid pattern */
.about-section.dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 132, 247, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Fond aurora animé — bien visible */
.about-section.dark::after {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 35%, rgba(255, 132, 247, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 70% 70% at 80% 65%, rgba(160, 80, 255, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 15%, rgba(80, 40, 200, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 65% 80%, rgba(232, 121, 249, 0.16) 0%, transparent 55%);
    animation: auroraFloat 10s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraFloat {
    0%   { transform: translate(0%, 0%) scale(1); }
    25%  { transform: translate(10%, 14%) scale(1.14); }
    50%  { transform: translate(-12%, 7%) scale(0.90); }
    75%  { transform: translate(8%, -10%) scale(1.20); }
    100% { transform: translate(-8%, 16%) scale(1.08); }
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    color: #1E1E1E;
}

.section-header.light h2 { color: #fff; }

/* ════════════════════ § 02 MOTIVATIONS ════════════════════ */
.big-quote {
    font-family: var(--font-header);
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.35;
    color: #1E1E1E;
    text-align: center;
    margin: 0 auto 80px;
    max-width: 860px;
    padding: 48px 52px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(255, 132, 247, 0.1), 0 1px 6px rgba(0, 0, 0, 0.06);
    position: relative;
    border: none;
    list-style: none;
}

.big-quote::before {
    content: '\201C';
    font-size: 140px;
    color: var(--primary-color);
    opacity: 0.12;
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
    pointer-events: none;
}

.big-quote em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 900;
}

/* Cards motivation */
.motivation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.m-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 132, 247, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    --x: 50%;
    --y: 50%;
}

.m-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(
        420px circle at var(--x) var(--y),
        rgba(255, 132, 247, 0.95),
        transparent 58%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.m-card:hover::before { opacity: 1; }

.m-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 48px rgba(255, 132, 247, 0.18);
    border-color: rgba(255, 132, 247, 0.25);
}

.m-icon {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-family: var(--font-pixel);
    display: block;
}

.m-card h3 {
    font-family: var(--font-header);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E1E1E;
}

.m-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #777;
    font-family: var(--font-pgs);
}

/* ════════════════════ § 03 PASSIONS — BENTO ════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    grid-template-areas:
        "design gaming"
        "lecture musique";
}

.bento-card {
    background: transparent;
    border-radius: 18px;
    padding: 32px 28px;
    border: 2px solid rgba(255, 132, 247, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    --x: 50%;
    --y: 50%;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: radial-gradient(
        420px circle at var(--x) var(--y),
        rgba(255, 132, 247, 0.95),
        transparent 58%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.bento-card:hover::before { opacity: 1; }

.bento-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 48px rgba(255, 132, 247, 0.18);
    border-color: rgba(255, 132, 247, 0.25);
}

/* ── Card accent colors ─────── */
.bento-card.design  { grid-area: design; }
.bento-card.gaming  { grid-area: gaming; }
.bento-card.lecture { grid-area: lecture; }
.bento-card.musique { grid-area: musique; }

/* ── Pixel SVG watermark ─────── */
.bento-deco {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 88px;
    height: 88px;
    opacity: 0.07;
    pointer-events: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.bento-card.design    .bento-deco { fill: #FF84F7; opacity: 0.12; }
.bento-card.gaming    .bento-deco { fill: #4ade80; opacity: 0.12; }
.bento-card.streaming .bento-deco { fill: #fb7185; opacity: 0.12; }
.bento-card.lecture   .bento-deco { fill: #818cf8; opacity: 0.12; }
.bento-card.musique   .bento-deco { fill: #c084fc; opacity: 0.12; }

/* ── Pixel index bento cards ─────── */
.bento-index {
    font-family: var(--font-pixel), sans-serif;
    font-size: 11px;
    color: #bbb;
    position: absolute;
    top: 20px;
    right: 22px;
    letter-spacing: 0.1em;
}

.bento-card h3 {
    font-family: var(--font-header);
    font-size: 16px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #666;
    font-family: var(--font-pgs);
}

/* ════════════════════ § 04 WORKSPACE ════════════════════ */
.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.workspace-vibe h3,
.workspace-tools h3 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 18px;
}

.workspace-vibe p {
    font-size: 15.5px;
    line-height: 1.78;
    color: #666;
    margin-bottom: 14px;
    font-family: var(--font-pgs);
}

.vibe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.vibe-tags span {
    background: #fff;
    border: 1.5px solid #e6e6e6;
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-family: var(--font-header);
    font-weight: 500;
    color: #555;
    transition: border-color 0.2s, color 0.2s;
    cursor: default;
}
.vibe-tags span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Spotify widget ─────── */
.spotify-widget {
    margin-top: 28px;
}
.spotify-label {
    display: block;
    font-family: var(--font-pixel), sans-serif;
    font-size: 11px;
    color: #1db954;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}
.spotify-widget iframe {
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(30, 215, 96, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.spotify-widget iframe:hover {
    box-shadow: 0 8px 32px rgba(30, 215, 96, 0.2);
    transform: translateY(-2px);
}

/* Tool list */
.tools-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1.5px solid rgba(255, 132, 247, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    --x: 50%;
    --y: 50%;
}

.tool-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        300px circle at var(--x) var(--y),
        rgba(255, 132, 247, 0.9),
        transparent 58%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.tool-item:hover::before { opacity: 1; }

.tool-item:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 22px rgba(255, 132, 247, 0.14);
    border-color: rgba(255, 132, 247, 0.2);
}

.tool-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f0f0f0;
    overflow: hidden;
    font-weight: 700;
    font-size: 15px;
}
.tool-icon-wrap img { width: 24px; height: 24px; object-fit: contain; }

.figma-icon  { background: #fff; padding: 0; display: flex; align-items: center; justify-content: center; }
.notion-icon { background: #1E1E1E; padding: 0; display: flex; align-items: center; justify-content: center; }
.github-icon { background: #1E1E1E; color: #fff; }
.adobe-icon  { background: #f0f0f0; padding: 0; display: flex; align-items: center; justify-content: center; }

/* ── Pixel counter tool items ─────── */
.tool-num {
    font-family: var(--font-pixel), sans-serif;
    font-size: 10px;
    color: #ccc;
    min-width: 20px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.tool-info   { display: flex; flex-direction: column; gap: 2px; }
.tool-name   { font-family: var(--font-header); font-weight: 700; font-size: 14px; color: #1E1E1E; }
.tool-desc   { font-family: var(--font-pgs); font-size: 12px; color: #999; }

/* ════════════════════ CTA FINALE ════════════════════ */
.about-cta-section {
    background: linear-gradient(135deg, #1E1E1E 0%, #2d1030 100%);
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 132, 247, 0.12) 0%, transparent 68%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-fin-label {
    display: inline-block;
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.cta-inner h2 {
    font-family: var(--font-header);
    font-size: clamp(26px, 4vw, 50px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.cta-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    font-family: var(--font-pgs);
}

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #1E1E1E;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 15px;
    padding: 15px 32px;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.02em;
}
.return-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(255, 132, 247, 0.4);
}
.return-btn svg {
    transition: transform 0.3s ease;
}
.return-btn:hover svg { transform: translateX(4px); }

/* ════════════════════ § 04 STREAMING ════════════════════ */
.streaming-section {
    background: #fafafa;
    padding: 160px 5%;
    position: relative;
    overflow: hidden;
}

.streaming-bg-grid {
    display: none;
}

.streaming-section::before,
.streaming-section::after {
    display: none;
}

.streaming-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.streaming-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 56px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 0, 60, 0.12);
    border: 1.5px solid rgba(255, 0, 60, 0.35);
    border-radius: 100px;
    padding: 5px 13px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff003c;
    flex-shrink: 0;
    animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 0, 60, 0.55); }
    50%  { opacity: 0.75; box-shadow: 0 0 0 5px rgba(255, 0, 60, 0); }
}

.live-text {
    font-family: var(--font-pixel), monospace;
    font-size: 11px;
    color: #ff003c;
    letter-spacing: 0.18em;
}

.streaming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.streaming-title {
    font-family: var(--font-header);
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.1;
    font-weight: 800;
    color: #1E1E1E;
    margin-bottom: 26px;
}

.streaming-title-outline {
    -webkit-text-stroke: 2px #1E1E1E;
    color: transparent;
}

.streaming-title-pink { color: var(--primary-color); }

.streaming-desc {
    font-size: 15px;
    line-height: 1.78;
    color: #777;
    font-family: var(--font-pgs);
    margin-bottom: 28px;
    max-width: 430px;
}

.streaming-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.streaming-tags span {
    background: #fff;
    border: 1.5px solid #e6e6e6;
    border-radius: 100px;
    padding: 6px 15px;
    font-family: var(--font-header);
    font-size: 12px;
    color: #555;
    transition: border-color 0.2s, color 0.2s;
    cursor: default;
}
.streaming-tags span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Fake stream interface ────────────────────── */
@keyframes screenFloat {
    0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
    50%       { transform: translateY(-12px) rotate(0.5deg); }
}

.stream-screen {
    animation: screenFloat 5s ease-in-out infinite;
    background: #0c0c0c;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 132, 247, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screen-top {
    background: #1c1c1c;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-controls { display: flex; gap: 6px; }

.ctrl {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.ctrl-red    { background: #ff5f57; }
.ctrl-yellow { background: #febc2e; }
.ctrl-green  { background: #28c840; }

.screen-url {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.08em;
}

.screen-body {
    display: grid;
    grid-template-columns: 1fr 136px;
}

.screen-game {
    background: url('../IMG/JEU.jpg') center / cover no-repeat;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.game-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.12) 2px,
        rgba(0, 0, 0, 0.12) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.game-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.orb1 {
    width: 60%;
    height: 80%;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 132, 247, 0.14) 0%, transparent 70%);
    animation: orbFloat 6s ease-in-out infinite alternate;
}
.orb2 {
    width: 50%;
    height: 60%;
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(96, 239, 255, 0.1) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(8%, 6%) scale(1.1); }
}

.game-overlay {
    position: absolute;
    inset: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
}

.viewer-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(220, 0, 50, 0.82);
    border-radius: 5px;
    padding: 3px 9px;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.viewer-icon { font-size: 10px; }

.viewer-num {
    font-size: 10px;
    color: #fff;
    letter-spacing: 0.06em;
}

.stream-title-overlay {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.55);
    padding: 3px 9px;
    border-radius: 4px;
    align-self: flex-start;
    letter-spacing: 0.07em;
    backdrop-filter: blur(4px);
}

/* Chat */
.chat-panel {
    background: #101010;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 7px 10px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.chat-scroll-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 7px;
    animation: chatScroll 12s linear infinite;
}

@keyframes chatScroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.chat-msg {
    font-size: 9.5px;
    line-height: 1.45;
    font-family: var(--font-pgs);
    word-break: break-word;
}

.msg-user {
    font-weight: 700;
    font-family: var(--font-header);
    font-size: 9px;
}

.msg-text { color: rgba(255, 255, 255, 0.55); }

/* Bottom bar */
.screen-bottom {
    background: #141414;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.audio-bar {
    width: 3px;
    background: linear-gradient(to top, #FF84F7, #b088f9);
    border-radius: 2px;
    animation: audioPulse 0.7s ease-in-out infinite alternate;
}

.audio-bar:nth-child(1) { animation-delay: 0.00s; }
.audio-bar:nth-child(2) { animation-delay: 0.10s; }
.audio-bar:nth-child(3) { animation-delay: 0.22s; }
.audio-bar:nth-child(4) { animation-delay: 0.08s; }
.audio-bar:nth-child(5) { animation-delay: 0.18s; }
.audio-bar:nth-child(6) { animation-delay: 0.30s; }
.audio-bar:nth-child(7) { animation-delay: 0.05s; }

@keyframes audioPulse {
    from { height: 2px; opacity: 0.35; }
    to   { height: 17px; opacity: 1; }
}

.stream-status {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.1em;
}

/* ════════════════════ § 05 KARMINE CORP ════════════════════ */
.kc-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    background:
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(255, 60, 110, 0.45) 0%, transparent 65%),
        linear-gradient(165deg, #d4006a 0%, #a8003a 22%, #6e0020 48%, #3a0010 72%, #1a0008 100%);
}

/* Quadrillé blanc discret + lumières */
.kc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(255, 120, 160, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(200, 0, 60, 0.2) 0%, transparent 45%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* Vignette edges */
.kc-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(20, 0, 8, 0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ── Giga marquee ─────────── */
.kc-marquee-wrap {
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 18px 0;
}

/* Le giga layout : les kc-grand côte à côte, défilant en bloc */
.kc-giga-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 70px;
}

/* Un grand layout = les 3 textes en ligne */
.kc-grand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.kc-grand span {
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
    line-height: 1;
}

/* "what's the color?" — Michroma */
.kc-t1 {
    font-family: 'Michroma', sans-serif;
    font-size: 6px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
}

/* "KARMINE" — Russo One */
.kc-t2 {
    font-family: 'Russo One', sans-serif;
    font-size: 8px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.97);
}

/* "OUR CLUB OUR HISTORY" — Arial */
.kc-t3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 6px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.55);
}

.kc-scroll-left  { animation: kcLeft  55s linear infinite; }
.kc-scroll-right { animation: kcRight 55s linear infinite; }

@keyframes kcLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes kcRight {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.kc-spacer { flex: 1; }

/* ── KC centre ─────────── */
.kc-center {
    flex: 1;
    position: relative;
    min-height: 300px;
    z-index: 2;
}

.kc-title-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kc-glow-bg {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse, rgba(255, 100, 140, 0.35) 0%, transparent 65%);
    filter: blur(30px);
    animation: kcGlowPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes kcGlowPulse {
    from { opacity: 0.7; transform: scale(1); }
    to   { opacity: 1; transform: scale(1.15); }
}

.kc-title {
    font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
    font-size: clamp(200px, 40vw, 600px);
    font-weight: 400;
    line-height: 0.88;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 200, 220, 0.35);
    text-stroke: 1px rgba(255, 200, 220, 0.35);
    letter-spacing: 0.01em;
    position: absolute;
    top: 85%;
    left: -2%;
    transform: translateY(-50%);
    user-select: none;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* ════════════════════ SCROLL REVEAL ════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mirroring Apple-style — gauche / droite */
.reveal.reveal-left {
    transform: translateX(-110px) scale(0.95);
}
.reveal.reveal-right {
    transform: translateX(110px) scale(0.95);
}
.reveal.reveal-left.visible,
.reveal.reveal-right.visible {
    transform: translateX(0) scale(1);
}

/* Stagger siblings */
.motivation-grid .m-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.motivation-grid .m-card.reveal:nth-child(3) { transition-delay: 0.2s; }

.bento-grid .bento-card.reveal:nth-child(2) { transition-delay: 0.10s; }
.bento-grid .bento-card.reveal:nth-child(3) { transition-delay: 0.20s; }
.bento-grid .bento-card.reveal:nth-child(4) { transition-delay: 0.14s; }
.bento-grid .bento-card.reveal:nth-child(5) { transition-delay: 0.24s; }

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1024px) {
    .hero-about { gap: 48px; }
    .hero-right { flex: 0 0 320px; }

    .motivation-grid { grid-template-columns: 1fr 1fr; }
    .motivation-grid .m-card:last-child { grid-column: 1 / -1; }

    .workspace-grid { gap: 40px; }

    .streaming-content { grid-template-columns: 1fr; gap: 48px; }
    .stream-screen { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-about {
        flex-direction: column;
        min-height: auto;
        padding: 100px 5% 60px;
        gap: 36px;
        text-align: center;
    }
    .hero-right {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-desc { margin: 0 auto; }

    .motivation-grid { grid-template-columns: 1fr; }
    .motivation-grid .m-card:last-child { grid-column: auto; }

    .big-quote { padding: 36px 28px; }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "design"
            "gaming"
            "lecture"
            "musique";
        grid-template-rows: auto;
    }

    .workspace-grid { grid-template-columns: 1fr; gap: 40px; }

    .about-section { padding: 64px 5%; }

    .streaming-section { padding: 64px 5%; }
    .streaming-content { grid-template-columns: 1fr; gap: 40px; }
    .stream-screen { max-width: 440px; margin: 0 auto; }
    .chat-panel { display: none; }
    .screen-body { grid-template-columns: 1fr; }

    .kc-section { min-height: 420px; }
    .kc-title { font-size: clamp(100px, 26vw, 200px); }
}

@media (max-width: 480px) {
    .hero-left h1 { font-size: 32px; }
    .about-nav { padding: 14px 5%; }
    .big-quote { font-size: 20px; padding: 28px 22px; }
    .kc-title { font-size: clamp(80px, 28vw, 160px); }
    .kc-section { min-height: 340px; }
}
