/* =========================
   CSS VARIABLES
========================= */

:root {
    --bg: #080d14;
    --bg2: #0d1421;
    --bg3: #111b2e;
    --accent: #39ff93;
    --accent2: #00c8ff;
    --text: #d4e0f0;
    --text-dim: #6b7fa3;
    --border: rgba(255, 255, 255, 0.07);
    --font-head: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mode Clair */
:root.light-mode {
    --bg: #f8f9fa;
    --bg2: #f0f2f5;
    --bg3: #e8ebf0;
    --accent: #2ecc71;
    --accent2: #00a8d8;
    --text: #1a1a2e;
    --text-dim: #5a5a7a;
    --border: rgba(0, 0, 0, 0.08);
}

/* =========================
   RESET & BASE
========================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 6%;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background var(--transition), backdrop-filter var(--transition);
}

header.scrolled {
    background: var(--bg2);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

/* Header Right Container */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    z-index: 1001; /* Reste au-dessus de l'overlay */
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px;
    gap: 2px;
}

.lang-btn {
    padding: 6px 12px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition);
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    background: var(--accent);
    color: var(--bg);
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.theme-toggle:hover {
    color: var(--accent);
    background: rgba(57, 255, 147, 0.1);
    border-color: var(--accent);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.theme-toggle.rotated i {
    transform: rotate(180deg);
}

/* Menu btn */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu de navigation mobile en plein écran overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s;
    visibility: hidden;
}

.mobile-overlay.open {
    opacity: 0.98;
    pointer-events: all;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dim);
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--accent);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    padding: 130px 6% 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 70% 50%, rgba(57, 255, 147, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    position: relative;
    z-index: 1;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(57, 255, 147, 0.08);
    border: 1px solid rgba(57, 255, 147, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -2px;
}

.hero-title em {
    font-style: normal;
    color: var(--accent);
    display: block;
}

.hero-sub {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 22px;
}

.hero-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 38px;
    font-family: var(--font-mono);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 13px 28px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(57, 255, 147, 0.3);
}

.btn-ghost {
    padding: 13px 28px;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: border-color var(--transition), color var(--transition);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero visual */
.hero-visual {
    position: relative;
    flex-shrink: 0;
}

.img-frame {
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 60% 40% / 40% 50% 50% 60%;
    border: 2px solid rgba(57, 255, 147, 0.3);
    overflow: hidden;
    position: relative;
    background: var(--bg3);
    animation: morphBorder 8s ease-in-out infinite;
}

@keyframes morphBorder {
    0%, 100% { border-radius: 30% 70% 60% 40% / 40% 50% 50% 60%; }
    33% { border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; }
    66% { border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%; }
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.4;
}

.floating-badge {
    position: absolute;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.75rem;
    color: var(--text);
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.floating-badge i {
    margin-right: 6px;
    color: var(--accent);
}

.badge-1 { top: 15px; right: -20px; animation: float1 4s ease-in-out infinite; }
.badge-2 { bottom: 60px; right: -30px; animation: float2 5s ease-in-out infinite; }
.badge-3 { bottom: -10px; left: -10px; animation: float1 4.5s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-hint {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* =========================
   SECTION COMMON
========================= */

section {
    padding: 110px 0;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1.5px;
    margin-bottom: 55px;
}

/* Scroll fade animation */
.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-dim);
    margin-bottom: 18px;
    font-size: 0.92rem;
}

.about-text strong {
    color: var(--text);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 25px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

/* =========================
   SKILLS
========================= */

.skills {
    background: var(--bg2);
}

.skills-wrap {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 50px;
}

.skill-item {}

.skill-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.skill-pct {
    color: var(--accent);
}

.progress-track {
    height: 6px;
    background: var(--bg3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 10px;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    color: var(--text-dim);
    transition: border-color var(--transition), color var(--transition);
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(57, 255, 147, 0.25);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--bg3);
}
.project-imge {
    position: relative;
    overflow: hidden;
    height: 700px;
    background: var(--bg3);
}

.project-card.featured .project-img {
    height: 100%;
    min-height: 220px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 13, 20, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}.project-tag {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(57, 255, 147, 0.12);
    border: 1px solid rgba(57, 255, 147, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-body h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.project-body p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-stack span {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(57, 255, 147, 0.08);
    color: var(--accent);
    border: 1px solid rgba(57, 255, 147, 0.2);
}

/* =========================
   GITHUB
========================= */

.github {
    background: var(--bg2);
}

.github-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: var(--bg3);
    transition: border-color var(--transition);
}

.github-card:hover {
    border-color: rgba(57, 255, 147, 0.25);
}

.github-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.github-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
    flex-shrink: 0;
}

.github-info h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.github-info p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 16px;
    max-width: 380px;
}

.github-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.github-badges span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.github-badges i {
    color: var(--accent);
    margin-right: 5px;
}

.github-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 12px;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}

.github-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(57, 255, 147, 0.3);
}

/* =========================
   CONTACT
========================= */

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info > p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    transition: border-color var(--transition), transform var(--transition);
}

.clink:hover {
    transform: translateX(5px);
}

.clink.whatsapp { border-color: rgba(37, 211, 102, 0.2); }
.clink.whatsapp:hover { border-color: #25D366; }
.clink.whatsapp i { color: #25D366; }

.clink.gh:hover { border-color: var(--text); }
.clink.gh i { font-size: 1.1rem; }

/* Form */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.required {
    color: #ff5f5f;
}
.field input,
.field textarea {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(57, 255, 147, 0.5);
}

.field input.error,
.field textarea.error {
    border-color: rgba(255, 95, 95, 0.6);
}

.field-error {
    font-size: 0.75rem;
    color: #ff5f5f;
    min-height: 16px;
    display: block;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(57, 255, 147, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(57, 255, 147, 0.08);
    border: 1px solid rgba(57, 255, 147, 0.3);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--accent);
}

.form-success.show {
    display: flex;
}

/* =========================
  FOOTER
========================= */

footer {
    padding: 35px 6%;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-logo em {
    font-style: normal;
    color: var(--accent);
}

footer p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 1.1rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================
   SCROLL TO TOP
========================= */

#scrollTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--text);
    border-radius: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 900;
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

#scrollTop:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

#scrollTop.visible {
    display: flex;
}

/* ==========================================================================
   RESPONSIVE & MEDIA QUERIES (UPDATED)
   ========================================================================== */

@media (max-width: 900px) {
    /* Navigation & Menu Burger */
    nav { 
        display: none; /* Cache la navigation classique */
    }
    
    .menu-btn { 
        display: flex; /* Active le bouton burger */
    }

    .header-right {
        gap: 10px; /* Aligne proprement la langue, le thème et le burger */
        margin-left: auto;
        z-index: 1001;
    }

    .lang-switch {
        padding: 2px 4px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    /* Section Hero */
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
        gap: 40px;
    }

    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-desc { margin: 0 auto 30px; }

    /* Correction Avatar */
    .img-frame {
        width: 250px;
        height: 250px;
        border-radius: 30% 70% 60% 40% / 40% 50% 50% 60%;
    }

    .badge-1, .badge-2, .badge-3 { display: none; }

    /* Section À Propos */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat { flex: 1; min-width: 100px; }

    /* Section Projets */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    /* Section GitHub */
    .github-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
    
    .github-left {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .github-badges {
        justify-content: center;
    }

    /* Section Contact & Footer */
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .hero-title { letter-spacing: -1px; }
    section { padding: 80px 0; }
    .projects-grid { gap: 16px; }
    .github-card { padding: 25px 20px; }
    
    .logo {
        font-size: 1.1rem; /* Réduction du logo sur très petits écrans */
    }
}
