/* ================================================================
   JULIEN KUNZE — PORTFOLIO · DARK TECH DESIGN
   ================================================================ */

/* === FONTS === */
@font-face {
    font-family: 'MadeEvolve';
    src: url("font/madeevolve-50605d5552b38e0420f653f1efc09889.otf") format("truetype");
}
@font-face {
    font-family: 'sourceCode';
    src: url("font/SourceCodePro-6813bcf7c0466c96fcd5481149b4c30d.ttf") format("truetype");
}

/* === VARIABLES === */
:root {
    --bg:           #050814;
    --bg-card:      rgba(255, 255, 255, 0.04);
    --bg-card-h:    rgba(255, 255, 255, 0.07);
    --border:       rgba(255, 255, 255, 0.08);
    --border-glow:  rgba(0, 212, 255, 0.35);
    --accent:       #00D4FF;
    --accent2:      #7C3AED;
    --accent3:      #10B981;
    --text:         #E2E8F0;
    --muted:        #64748B;
    --glow:         0 0 25px rgba(0, 212, 255, 0.25);
    --glow2:        0 0 25px rgba(124, 58, 237, 0.25);
    --radius:       16px;
    --radius-sm:    8px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --tr:           all 0.3s var(--ease);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 15% 50%, rgba(124, 58, 237, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 212, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'sourceCode', monospace;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    border-radius: 3px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar-custom {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(5, 8, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--tr);
}

.navbar-brand-custom {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    transition: var(--tr);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--tr);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-display { font-family: 'MadeEvolve', sans-serif; }
.font-code    { font-family: 'sourceCode', monospace; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 3rem;
}

.container-custom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-content { padding-top: 80px; }

/* ================================================================
   GLASS CARD
   ================================================================ */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--tr);
}
.glass:hover {
    background: var(--bg-card-h);
    border-color: var(--border-glow);
    box-shadow: var(--glow);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    border-radius: 50px;
    font-family: 'sourceCode', monospace;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
    letter-spacing: 0.5px;
}
.btn-neon:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.45);
    transform: translateY(-2px);
}

.btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'sourceCode', monospace;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
    letter-spacing: 0.5px;
}
.btn-solid:hover {
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border-radius: 50px;
    font-family: 'sourceCode', monospace;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* ================================================================
   BADGES
   ================================================================ */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.75rem;
    font-family: 'sourceCode', monospace;
}

.badge-trait {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 50px;
    color: #A78BFA;
    font-size: 0.82rem;
}

.badge-green {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    color: var(--accent3);
    font-size: 0.75rem;
    font-family: 'sourceCode', monospace;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 4rem;
    padding: 9rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
}

.hero-grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-available {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    color: var(--accent3);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.75rem;
}
.hero-available-dot {
    width: 7px; height: 7px;
    background: var(--accent3);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-role {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-family: 'sourceCode', monospace;
}
.hero-role .cursor {
    display: inline-block;
    width: 2px; height: 1.1em;
    background: var(--accent);
    margin-left: 3px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-desc {
    color: var(--muted);
    line-height: 1.85;
    font-size: 0.95rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.hero-stat-value {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-orbit {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.15);
    animation: spin 22s linear infinite;
}
.orbit-ring.r1 { inset: 0; }
.orbit-ring.r2 { inset: 28px; border-color: rgba(124, 58, 237, 0.15); animation-duration: 16s; animation-direction: reverse; }
.orbit-ring.r3 { inset: 56px; border-color: rgba(16, 185, 129, 0.1); animation-duration: 28s; }

.orbit-dot {
    position: absolute;
    border-radius: 50%;
}
.orbit-ring.r1 .orbit-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    top: -4px; left: 50%; transform: translateX(-50%);
}
.orbit-ring.r2 .orbit-dot {
    width: 7px; height: 7px;
    background: var(--accent2);
    box-shadow: 0 0 10px var(--accent2);
    bottom: -3px; left: 50%; transform: translateX(-50%);
}
.orbit-ring.r3 .orbit-dot {
    width: 6px; height: 6px;
    background: var(--accent3);
    box-shadow: 0 0 8px var(--accent3);
    top: -3px; right: 20%;
}

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

.hero-logo-center {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 60px rgba(0,212,255,0.08), inset 0 0 30px rgba(0,212,255,0.03);
}
.hero-logo-center img { width: 100px; height: auto; }

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: float-hint 2.5s ease-in-out infinite;
}
.scroll-hint-line {
    width: 1px; height: 36px;
    background: linear-gradient(180deg, var(--accent), transparent);
}
@keyframes float-hint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-6px); }
}

/* ================================================================
   PROJECTS GRID
   ================================================================ */
.projects-section {
    padding: 6rem 0 4rem;
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--tr);
}
.project-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--glow), 0 24px 48px rgba(0,0,0,0.35);
}

.project-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.project-img-wrap > a {
    display: block;
    height: 100%;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease);
}
.project-card:hover .project-img-wrap img { transform: scale(1.06); }

.project-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,20,0.85) 0%, transparent 55%);
}

.project-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1.05rem;
    color: var(--text);
}

.project-desc {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.75;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.project-tag-img {
    width: 28px; height: 28px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 3px;
    transition: var(--tr);
}
.project-tag-img:hover {
    border-color: var(--border-glow);
    background: rgba(0,212,255,0.08);
}

.project-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 1rem;
    font-size: 0.78rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--tr);
    font-family: 'sourceCode', monospace;
    border: 1px solid;
}
.project-btn.visit {
    color: var(--accent);
    border-color: rgba(0,212,255,0.3);
    background: rgba(0,212,255,0.06);
}
.project-btn.visit:hover { background: var(--accent); color: var(--bg); }
.project-btn.github {
    color: var(--muted);
    border-color: var(--border);
    background: rgba(255,255,255,0.03);
}
.project-btn.github:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); }

/* No projects state */
.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--muted);
}
.no-projects i { font-size: 3rem; margin-bottom: 1rem; display: block; color: rgba(255,255,255,0.1); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-section {
    padding: 6rem 0 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.about-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}
.about-photo {
    width: 180px; height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
                linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.18);
}
.about-photo-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.08), transparent 70%);
    pointer-events: none;
}

.about-name {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}
.about-role-tag {
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.about-social-link {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--tr);
}
.about-social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0,212,255,0.2);
}

.about-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--tr);
}
.about-card:hover {
    border-color: rgba(255,255,255,0.12);
}

.about-card-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
}
.about-card-title i { font-size: 0.9rem; }

.about-text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}
.about-text strong { color: var(--text); }

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.75rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 60%, transparent 100%);
    border-radius: 1px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.25rem;
    top: 0.3rem;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    border: 2px solid var(--bg);
}
.timeline-year {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.timeline-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.timeline-body {
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.75;
}

/* Skills */
.skill-bar { margin-bottom: 1.25rem; }
.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.skill-bar-name { font-size: 0.83rem; color: var(--text); }
.skill-bar-pct  { font-size: 0.75rem; color: var(--muted); }
.skill-bar-track {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-bar-fill.animated { transform: scaleX(1); }

/* Modal overlay (CV/Titre) */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 8, 20, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.modal-inner img { max-width: 90vw; max-height: 85vh; display: block; object-fit: contain; }
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--tr);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--accent); }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section {
    padding: 6rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-info-title {
    font-family: 'MadeEvolve', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.contact-info-sub {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.contact-info-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-info-label {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}
.contact-info-value {
    font-size: 0.88rem;
    color: var(--text);
}

.contact-social-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.contact-social-btn {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--tr);
}
.contact-social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0,212,255,0.2);
}

/* Contact form */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    color: var(--text);
    font-family: 'sourceCode', monospace;
    font-size: 0.9rem;
    transition: var(--tr);
    outline: none;
    resize: vertical;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(255,255,255,0.05);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(100, 116, 139, 0.6); }

/* Flash messages */
.flash-success {
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent3);
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.flash-danger {
    padding: 1rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    color: #F87171;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-custom {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(5, 8, 20, 0.6);
    backdrop-filter: blur(10px);
}
.footer-copy {
    color: var(--muted);
    font-size: 0.78rem;
}
.footer-copy a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--tr);
}
.footer-copy a:hover { color: var(--text); }
.footer-socials {
    display: flex;
    gap: 1rem;
}
.footer-socials a {
    color: var(--muted);
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--tr);
}
.footer-socials a:hover { color: var(--accent); }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.breadcrumb-custom a { color: var(--muted); text-decoration: none; transition: var(--tr); }
.breadcrumb-custom a:hover { color: var(--accent); }
.breadcrumb-custom .sep { color: rgba(255,255,255,0.2); }
.breadcrumb-custom .active { color: var(--text); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
        text-align: center;
    }
    .hero-visual { display: none; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; }
    .about-sidebar { position: static; }
    .about-photo-wrap { justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 260px;
        background: rgba(5, 8, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        border-left: 1px solid var(--border);
        transition: right 0.35s var(--ease);
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; }

    .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { letter-spacing: -0.5px; }
    .contact-form-card { padding: 1.5rem; }
    .about-card { padding: 1.5rem; }
}

/* ================================================================
   LEGACY ADMIN COMPAT (projet/tag admin pages)
   ================================================================ */
.link { color: whitesmoke; }
.link:hover { color: gray; cursor: pointer; }
.banner { background-color: rgba(0, 0, 0, 0.5); }
.showimage { width: 60px; height: auto; margin: 5px; }
.imgProjet { max-width: 100%; height: auto; object-fit: cover; }
.studi { width: 50px; height: auto; }
.photo { width: auto; height: 150px; border-radius: 10%; border: 2px solid whitesmoke; }
.tag { background-color: rgb(30, 200, 126); color: whitesmoke; border-radius: 20px; }
.taglink { background-color: rgb(248, 193, 42); color: whitesmoke; border-radius: 20px; }
.titre {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(117, 117, 117, 0.5);
    align-items: center;
    justify-content: center;
}
.cross { position: absolute; right: 10px; top: 10px; z-index: 10; padding-right: 1rem; padding-top: .6rem; color: black; }
