/* ══════════════════════════════════════
   FONTS
══════════════════════════════════════ */
@import url('https://fonts.cdnfonts.com/css/public-pixel');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

/* ══════════════════════════════════════
   VARIABLES
══════════════════════════════════════ */
:root {
    --bg:           #0f0f1a;
    --bg2:          #1a1a2e;
    --bg3:          #16213e;
    --purple:       #6e6ed7;
    --purple-light: #8f8ff1;
    --purple-dark:  #2d2d5f;
    --card:         rgba(45, 44, 88, 0.95);
    --white:        #fff;
    --text:         #e0e0e0;
    --pad-x:        clamp(1rem, 4vw, 4rem);
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-image: url(https://wallpapers.com/images/hd/pixel-background-qutlpw5y7lg016gx.jpg);
    background-size: contain;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--white);
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.pe_header_container_0 {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(10, 9, 28, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(110, 110, 215, 0.35);
    box-shadow:
        0 0 0 1px rgba(110,110,215,0.08),
        0 4px 28px rgba(0,0,0,0.6),
        0 0 40px rgba(110,110,215,0.06);
    /* Scanlines légères */
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0,0,0,0.06) 3px,
        rgba(0,0,0,0.06) 4px
    );
}

/* Liseré bas qui pulse */
.pe_header_container_0::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--purple) 20%,
        var(--purple-light) 50%,
        var(--purple) 80%,
        transparent 100%
    );
    animation: header-line 3s ease-in-out infinite;
    opacity: 0.7;
}
@keyframes header-line {
    0%, 100% { opacity: 0.5; filter: blur(0px);  }
    50%       { opacity: 1;   filter: blur(1px);  }
}

.container_0 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.container_0 h1.logo {
    font-family: 'Public Pixel', sans-serif;
    color: var(--white);
    font-size: clamp(0.65rem, 1.4vw, 1.1rem);
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 12px;
    border-left: 3px solid var(--purple);
    line-height: 1;
}
.container_0 h1.logo strong { color: var(--purple-light); }

.container_0 nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.container_0 nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 14px);
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.container_0 nav ul::-webkit-scrollbar { display: none; }

.container_0 nav ul > i {
    flex-shrink: 0;
    font-size: clamp(0.55rem, 0.85vw, 0.8rem);
    color: var(--purple);
}
.container_0 nav ul li { flex-shrink: 0; }
.container_0 nav ul li a {
    text-decoration: none;
    font-family: 'Public Pixel', sans-serif;
    color: rgba(255,255,255,0.75);
    font-size: clamp(0.48rem, 0.85vw, 0.7rem);
    white-space: nowrap;
    padding: 4px 2px;
    position: relative;
    transition: color 0.2s;
}
.container_0 nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--purple-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.container_0 nav ul li a:hover {
    color: var(--white);
}
.container_0 nav ul li a:hover::after { transform: scaleX(1); }

.nav-gaming {
    color: var(--purple-light) !important;
    font-weight: bold;
}
.nav-gaming:hover { color: var(--white) !important; }

/* ── Burger ── */
.burger {
    display: none;
    background: none;
    border: 2px solid var(--purple);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}
.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}
.burger span::before, .burger span::after {
    content: '';
    position: absolute;
    left: 0;
}
.burger span::before { top: -7px; }
.burger span::after  { top:  7px; }
.burger.open span              { background: transparent; }
.burger.open span::before      { transform: translateY(7px) rotate(45deg); }
.burger.open span::after       { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(5rem, 10vw, 8rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
    overflow: hidden;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15,15,26,0.88) 0%,
        rgba(26,26,46,0.93) 55%,
        rgba(22,33,62,0.9)  100%
    );
    z-index: 0;
}
.hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(110,110,215,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110,110,215,0.07) 1px, transparent 1px);
    background-size: 44px 44px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.6rem);
    text-align: center;
}

.hero-eyebrow {
    font-family: 'VT323', monospace;
    font-size: clamp(0.95rem, 2.5vw, 1.35rem);
    color: var(--purple-light);
    letter-spacing: 4px;
    opacity: 0.8;
}

.pe_header_h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(1.6rem, 6vw, 3.6rem);
    color: var(--white);
    text-shadow:
        4px 4px 0 var(--purple-dark),
        0 0 40px rgba(110,110,215,0.45);
    line-height: 1.4;
    text-align: center;
}

.container_1_switching_txt {
    width: 100%;
    text-align: center;
}
.container_1_switching_txt h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.5rem, 1.5vw, 0.82rem);
    color: var(--white);
    line-height: 2.2;
}

.hero-bio {
    background: var(--card);
    border: 2px solid var(--purple);
    border-radius: 12px;
    padding: clamp(1.2rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.5rem);
    max-width: 740px;
    width: 100%;
    position: relative;
}
.hero-bio::before {
    content: '';
    position: absolute; inset: -2px;
    border: 2px solid var(--purple-light);
    border-radius: 12px;
    pointer-events: none;
    animation: borderPulse 2s infinite;
}
.hero-bio p {
    font-family: 'VT323', monospace;
    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem clamp(1.5rem, 3vw, 2.5rem);
    background: var(--purple);
    color: var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.48rem, 1.2vw, 0.68rem);
    text-decoration: none;
    border: 3px solid var(--purple-light);
    border-radius: 4px;
    text-shadow: 2px 2px 0 var(--purple-dark);
    box-shadow: 4px 4px 0 var(--purple-dark), 0 0 20px rgba(110,110,215,0.3);
    transition: all 0.2s ease;
    animation: pulse-cta 2.5s ease-in-out infinite;
}
.hero-cta:hover {
    transform: translate(-2px, -2px);
    background: var(--purple-light);
    box-shadow: 6px 6px 0 var(--purple-dark), 0 0 35px rgba(110,110,215,0.5);
}
@keyframes pulse-cta {
    0%, 100% { box-shadow: 4px 4px 0 var(--purple-dark), 0 0 15px rgba(110,110,215,0.3); }
    50%       { box-shadow: 4px 4px 0 var(--purple-dark), 0 0 32px rgba(110,110,215,0.55); }
}

/* ══════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════ */
.section-intro {
    text-align: center;
    padding: 0 var(--pad-x) 2.5rem;
}
.section-eyebrow {
    display: block;
    font-family: 'VT323', monospace;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--purple-light);
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}
.section-heading {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.9rem, 2.5vw, 1.7rem);
    color: var(--white);
    text-shadow: 3px 3px 0 var(--purple-dark), 5px 5px 0 rgba(45,45,95,0.4);
}

/* ══════════════════════════════════════
   PARCOURS / TIMELINE
══════════════════════════════════════ */
.container_parcours {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, var(--bg2), var(--bg3));
    display: flex;
    flex-direction: column;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(2rem, 4vw, 4rem);
}

.container_timeline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.5rem) var(--pad-x);
}

.timeline-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-row {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    position: relative;
}
.timeline-row::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -24px; bottom: -24px;
    width: 4px;
    background: var(--purple);
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--purple);
    border-radius: 2px;
}
.timeline-row.reverse { flex-direction: row-reverse; }

.timeline-content {
    flex: 1;
    padding: clamp(1.4rem, 3vw, 2.5rem);
    background: var(--card);
    border: 3px solid var(--purple);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(110,110,215,0.2);
    position: relative;
    backdrop-filter: blur(5px);
    min-width: 0;
}
.timeline-content::before {
    content: '';
    position: absolute; inset: -2px;
    border: 2px solid var(--purple-light);
    border-radius: 8px;
    pointer-events: none;
    animation: borderPulse 2s infinite;
}

.timeline-content h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--white);
    font-size: clamp(0.72rem, 1.4vw, 1.2rem);
    margin-bottom: 1.2rem;
    text-shadow: 3px 3px 0 var(--purple-dark);
    letter-spacing: 1px;
    line-height: 1.8;
}
.timeline-content p {
    font-family: 'VT323', monospace;
    color: var(--text);
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    line-height: 1.65;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

.timeline-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: rgba(45,44,88,0.8);
    border-radius: 8px;
    border: 2px solid var(--purple);
    position: relative;
    overflow: hidden;
}
.timeline-icons::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110,110,215,0.2), transparent);
    animation: shine 3s infinite;
}
.timeline-icons img {
    width: 52px; height: 52px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.5));
}
.timeline-icons img:hover {
    transform: scale(1.2) translateY(-4px);
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.5)) brightness(1.2);
}

.timeline-year {
    flex: 0 0 340px;
    height: 440px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--purple);
    box-shadow: 0 0 30px rgba(110,110,215,0.22);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.3s ease;
}
.timeline-row.reverse .timeline-year {
    transform: perspective(1000px) rotateY(-5deg);
}
.timeline-year:hover,
.timeline-row.reverse .timeline-year:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.timeline-year img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
}
.timeline-year h2 {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(45,44,88,0.95), transparent);
    color: var(--white);
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.9rem, 1.8vw, 1.5rem);
    text-align: center;
    text-shadow: 3px 3px 0 var(--purple-dark);
}

.timeline-button {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: #4a4a8f;
    color: var(--white);
    border: 2px solid var(--purple);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.4rem 0.4rem 0.4rem 0;
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.5rem, 0.9vw, 0.72rem);
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--purple-dark);
    box-shadow: 3px 3px 0 var(--purple-dark);
    position: relative;
    overflow: hidden;
}
.timeline-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: 0.4s;
}
.timeline-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--purple-dark), 0 0 20px rgba(110,110,215,0.4);
    background: #5f5fb4;
}
.timeline-button:hover::before { left: 100%; }
.timeline-button:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--purple-dark);
}
.timeline-button--tomo {
    text-decoration: none;
    background: #0d1f2d;
    border: 1px solid rgba(0, 210, 180, 0.5);
    color: #00d2b4;
    box-shadow: 3px 3px 0 rgba(0, 210, 180, 0.25), 0 0 12px rgba(0, 210, 180, 0.15);
    margin-top: 0.2rem;
}
.timeline-button--tomo::before {
    background: linear-gradient(90deg, transparent, rgba(0, 210, 180, 0.12), transparent);
}
.timeline-button--tomo:hover {
    background: #102a37;
    border-color: rgba(0, 210, 180, 0.85);
    color: #00ffd5;
    box-shadow: 5px 5px 0 rgba(0, 210, 180, 0.2), 0 0 24px rgba(0, 210, 180, 0.3);
    transform: translate(-2px, -2px);
}

/* ══════════════════════════════════════
   COMPÉTENCES
══════════════════════════════════════ */
.container_skills {
    background: linear-gradient(to bottom, var(--bg3), var(--bg2));
    padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
}

.container_skills h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--white);
    font-size: clamp(0.9rem, 2.5vw, 1.7rem);
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 3px 3px 0 var(--purple-dark), 5px 5px 0 rgba(45,45,95,0.4);
}

.competences-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.7rem, 1.8vw, 1.6rem);
    max-width: 1200px;
    margin: 0 auto;
}

.box {
    background: var(--card);
    padding: clamp(0.8rem, 1.4vw, 1.3rem);
    border: 2px solid var(--purple);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(88px, 11vw, 136px);
}
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(110,110,215,0.35);
    border-color: var(--purple-light);
}
.box img {
    width: clamp(34px, 4.5vw, 54px);
    height: clamp(34px, 4.5vw, 54px);
    object-fit: contain;
    margin-bottom: 0.65rem;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.5));
}
.box p {
    font-family: 'VT323', monospace;
    color: var(--white);
    font-size: clamp(0.95rem, 1.4vw, 1.35rem);
    margin: 0;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
    text-align: center;
}

/* ══════════════════════════════════════
   VEILLE
══════════════════════════════════════ */
.veille_container {
    padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
}

.content_veille {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 3px solid var(--purple);
    border-radius: 14px;
    padding: clamp(1.5rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}
.content_veille::before {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 2"><path d="M1,0 L2,0 L2,1 L1,1 L1,0" fill="rgba(110,110,215,0.1)"/></svg>');
    background-size: 4px 4px;
    pointer-events: none;
    opacity: 0.3;
}
.content_veille::after {
    content: '';
    position: absolute; inset: -2px;
    border: 2px solid var(--purple-light);
    border-radius: 12px;
    pointer-events: none;
    animation: borderPulse 2s infinite;
}

.content_veille h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--white);
    font-size: clamp(0.8rem, 2.2vw, 1.7rem);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0 var(--purple-dark), 5px 5px 0 rgba(45,45,95,0.4);
    letter-spacing: 2px;
    line-height: 1.7;
}
.content_veille p {
    font-family: 'VT323', monospace;
    color: var(--text);
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    line-height: 1.65;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}
.content_veille strong {
    display: block;
    text-align: center;
    margin: 1rem 0;
    font-family: 'Press Start 2P', cursive;
    color: var(--purple-light);
    font-size: clamp(0.48rem, 1.1vw, 0.85rem);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    line-height: 1.9;
}

.content_veille .sources {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    margin: 1.5rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.content_veille .sources .box {
    width: clamp(78px, 10vw, 115px);
}
.content_veille .sources .box img {
    width: clamp(34px, 5vw, 50px);
    height: clamp(34px, 5vw, 50px);
    margin-bottom: 0.7rem;
}
.content_veille .sources .box p {
    font-family: 'Press Start 2P', cursive;
    font-size: clamp(0.42rem, 0.9vw, 0.75rem);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.content_veille .pixel-title {
    font-family: 'Press Start 2P', cursive;
    color: var(--white);
    font-size: clamp(0.65rem, 1.8vw, 1.35rem);
    text-align: center;
    margin: 2rem 0 1.5rem;
    text-shadow: 3px 3px 0 var(--purple-dark);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(0.9rem, 2vw, 1.4rem);
    text-align: left;
    position: relative;
    z-index: 1;
}

.card {
    background: rgba(45,44,88,0.95);
    padding: clamp(1.1rem, 2.5vw, 1.8rem);
    border: 2px solid var(--purple);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(110,110,215,0.3);
}
.card h2 {
    font-family: 'Press Start 2P', cursive;
    color: var(--white);
    font-size: clamp(0.6rem, 1.2vw, 0.95rem);
    margin-bottom: 0.9rem;
    text-shadow: 2px 2px 0 var(--purple-dark);
    letter-spacing: 1px;
    line-height: 1.7;
}
.card p {
    font-family: 'VT323', monospace;
    color: var(--text);
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    line-height: 1.55;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes borderPulse {
    0%   { box-shadow: 0 0 0   rgba(110,110,215,0.4); }
    50%  { box-shadow: 0 0 20px rgba(110,110,215,0.6); }
    100% { box-shadow: 0 0 0   rgba(110,110,215,0.4); }
}
@keyframes shine {
    to { left: 200%; }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLETTE (≤ 1100px)
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .timeline-year {
        flex: 0 0 260px;
        height: 360px;
    }
    .timeline-row { gap: 2rem; }
    .timeline-content h1 { font-size: clamp(0.68rem, 1.4vw, 1rem); }
    .timeline-year h2 { font-size: 1.1rem; }
    .timeline-row::before { display: none; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {

    /* Burger */
    .burger { display: flex; }
    .container_0 {
        height: auto;
        padding: 12px clamp(1rem, 4vw, 3rem);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    .container_0 nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
    }
    .container_0 nav.open {
        max-height: 320px;
        padding: 12px 0 8px;
    }
    .container_0 nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        overflow: visible;
    }
    .container_0 nav ul > i { display: none; }
    .container_0 nav ul li a {
        font-size: 0.68rem;
        padding: 6px 8px;
        color: rgba(255,255,255,0.85);
    }

    /* Hero */
    .hero-section { min-height: 90vh; }
    .container_1_switching_txt h2 { font-size: clamp(0.5rem, 2.8vw, 0.7rem); }

    /* Timeline → colonne */
    .timeline-row,
    .timeline-row.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }
    .timeline-row::before { display: none; }
    .timeline-year {
        flex: none;
        width: 100%;
        height: 220px;
        transform: none !important;
    }
    .timeline-year h2 { font-size: 1rem; }
    .container_timeline { padding: 1.5rem 1rem; }

    /* Skills */
    .box { width: clamp(78px, 19vw, 115px); }
    .container_skills { padding: 2.5rem 1rem; }

    /* Veille */
    .content_veille { padding: 1.5rem; }
    .content_veille h1 { font-size: clamp(0.68rem, 3vw, 1rem); }
}

/* ══════════════════════════════════════
   RESPONSIVE — PETIT MOBILE (≤ 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {

    .pe_header_container_0 {
        width: calc(100% - 20px);
        margin: 10px auto;
        border-radius: 16px;
        padding: 10px 14px;
    }

    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 5.5rem 1rem 3rem;
    }
    .hero-overlay::after { background-size: 28px 28px; }
    .hero-bio { padding: 1rem 1.1rem; }
    .hero-cta { font-size: 0.5rem; padding: 0.8rem 1.2rem; }

    /* Timeline */
    .container_timeline { padding: 1.2rem 0.75rem; }
    .timeline-content { padding: 1.1rem; }
    .timeline-content h1 { font-size: 0.68rem; line-height: 2; }
    .timeline-content p { font-size: 1.05rem; }
    .timeline-icons { gap: 0.7rem; padding: 0.8rem; }
    .timeline-icons img { width: 38px; height: 38px; }
    .timeline-button {
        font-size: 0.55rem;
        padding: 0.6rem 0.8rem;
        display: block;
        width: 100%;
        margin: 0.35rem 0;
    }

    /* Skills */
    .container_skills { padding: 2rem 0.75rem; }
    .box { width: clamp(72px, 22vw, 95px); }
    .box img { width: 34px; height: 34px; margin-bottom: 0.5rem; }
    .box p { font-size: 0.95rem; }
    .competences-container { gap: 0.55rem; }

    /* Veille */
    .veille_container { padding: 2rem 0.75rem; }
    .content_veille { padding: 1rem; }
    .content_veille h1 { font-size: clamp(0.58rem, 3.5vw, 0.82rem); }
    .content_veille .pixel-title { font-size: clamp(0.55rem, 3vw, 0.72rem); }
    .card { padding: 1rem; }
    .card h2 { font-size: 0.58rem; }
    .container { gap: 0.7rem; }
}
