/* ── VARIABLES ── */
:root {
    --bg-main: #F9F7F4;
    --bg-warm: #F3EFE9;
    --bg-dark: #0F0A1E;
    --bg-indigo: #160E35;
    --bg-card: #FFFFFF;
    --bg-coral-soft: #FEF0EB;

    --indigo-deep: #1A1040;
    --indigo-mid: #2D1F6E;
    --coral: #F4623A;
    --coral-dark: #D94E28;
    --lavender: #7C6FCD;
    --lavender-light: #EBE8F9;

    --text-main: #3D3758;
    --text-muted: #7B7A99;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-light-dim: rgba(255, 255, 255, 0.55);
    --border: #E5E0D8;
    --border-light: rgba(255, 255, 255, 0.12);

    --nav-h: 66px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;

    --shadow-sm: 0 2px 8px rgba(26, 16, 64, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 16, 64, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 16, 64, 0.15);
    --shadow-coral: 0 12px 40px rgba(244, 98, 58, 0.25);

    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── TEXTURES ────────────────────────────────────────────────
   Grain/noise subtil généré en SVG inline (data URI).
   Pas de requête réseau, pas de fichiers externes.
   ──────────────────────────────────────────────────────────── */

/* Texture grain universelle (pseudo-element réutilisable) */
.mmi-hero::before,
.bg-dark-card::before,
.bg-indigo::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* Sections sombres : on s'assure que le pseudo n'écrase pas le contenu */
.mmi-hero,
.bg-dark-card,
.bg-indigo {
    position: relative;
}

/* Le contenu reste au-dessus du grain */
.mmi-hero>*,
.bg-dark-card>*,
.bg-indigo>* {
    position: relative;
    z-index: 2;
}

/* Texture papier pour les sections claires */
.bg-warm::after,
.bg-coral-soft::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

.bg-warm,
.bg-coral-soft {
    position: relative;
}

.bg-warm>*,
.bg-coral-soft>* {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--indigo-deep);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.mmi-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: var(--bg-dark);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
}

.mmi-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mmi-nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.mmi-nav-back:hover {
    opacity: 1;
    color: white;
}

.mmi-nav-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--coral);
    flex-shrink: 0;
}

.mmi-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.mmi-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    opacity: 0.65;
}

.mmi-nav-links a:hover,
.mmi-nav-links a.active {
    opacity: 1;
    background: rgba(244, 98, 58, 0.15);
    color: var(--coral);
}

.mmi-nav-links a i {
    font-size: 0.85rem;
}

.mmi-nav-siblings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.mmi-nav-siblings a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light-dim);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mmi-nav-siblings a:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* ═══════════════════════════════════════
   SECTIONS COMMUNES
═══════════════════════════════════════ */
.mmi-section {
    padding: 6rem 0;
}

.mmi-section+.mmi-section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-warm {
    background: var(--bg-warm);
}

.bg-dark-card {
    background: var(--bg-dark);
}

.bg-indigo {
    background: var(--bg-indigo);
}

.bg-coral-soft {
    background: var(--bg-coral-soft);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem;
}

.section-intro.light h2,
.section-intro.light p {
    color: rgba(255, 255, 255, 0.9);
}

.section-intro.light .section-tag {
    color: var(--coral);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--indigo-deep);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.section-title em {
    font-style: italic;
    color: var(--coral);
}

.section-intro.light .section-title {
    color: white;
}

.section-intro.light .section-title em {
    color: var(--coral);
}

.section-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.mmi-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Formes décoratives */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--lavender);
    top: -200px;
    left: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--coral);
    bottom: -100px;
    right: 10%;
    opacity: 0.25;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #3B82F6;
    top: 40%;
    right: -50px;
    opacity: 0.18;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 5rem 0 4rem;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light-dim);
    margin-bottom: 1.5rem;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--coral), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-bio {
    font-size: 1.02rem;
    color: var(--text-light);
    opacity: 0.78;
    max-width: 680px;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.hero-bio strong {
    color: white;
    opacity: 1;
}

.hero-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.htag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: white;
    transition: all var(--transition);
}

.htag:hover {
    transform: translateY(-2px);
}

.htag-web {
    border-color: #60A5FA;
    color: #93C5FD;
}

.htag-av {
    border-color: #F87171;
    color: #FCA5A5;
}

.htag-ai {
    border-color: #A78BFA;
    color: #C4B5FD;
}

.htag-com {
    border-color: #86EFAC;
    color: #BBF7D0;
}

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

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--coral);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-coral);
}

.btn-hero-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 18px 50px rgba(244, 98, 58, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-3px);
}

.btn-hero-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #93C5FD; /* Web tag text color */
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid #60A5FA; /* Web tag border color */
    background: transparent;
    margin-left: 2rem;
    transition: all var(--transition);
}

.btn-hero-tertiary:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: #93C5FD;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hstat {
    text-align: center;
}

.hstat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.hstat-unit {
    font-size: 1.4rem;
    color: var(--coral);
}

.hstat-label {
    font-size: 0.78rem;
    color: var(--text-light-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: block;
}

.hstat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════
   BADGES & COMMON PILLS
═══════════════════════════════════════ */
.proj-context-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.proj-context-badge.personal {
    background: #EEF2FF;
    color: #5B21B6;
    border: 1.5px solid #C4B5FD;
}

.proj-context-badge.school {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1.5px solid #BFDBFE;
}

.proj-context-badge.stage {
    background: #FFF7ED;
    color: #C2410C;
    border: 1.5px solid #FED7AA;
}

.proj-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.proj-status-badge.ongoing {
    background: #F0FDF4;
    color: #15803D;
    border: 1.5px solid #A7F3D0;
}

.status-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.status-badge-large.coming {
    background: rgba(244, 98, 58, 0.12);
    color: var(--coral);
    border: 1.5px solid rgba(244, 98, 58, 0.3);
}

.proj-year {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.3rem;
}

.proj-year.light {
    color: var(--text-light-dim);
}

.proj-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.2rem 0;
}

.proj-tags span {
    background: var(--lavender-light);
    color: var(--lavender);
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
}

.proj-tags.dark span {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.proj-lesson {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 0.8rem 1rem;
    background: var(--lavender-light);
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

.proj-lesson i {
    color: var(--lavender);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.proj-lesson.light {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.proj-lesson.light i {
    color: var(--coral);
}

.btn-proj-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--coral);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-proj-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    color: white;
    box-shadow: var(--shadow-coral);
}

.btn-proj-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid var(--border);
    color: var(--text-main);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-proj-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-2px);
}

.btn-proj-outline.light {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75);
}

.btn-proj-outline.light:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.proj-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ═══════════════════════════════════════
   SECTION WEB — Projet featured
═══════════════════════════════════════ */
.project-featured {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid var(--border);
}

.project-featured-visual {
    position: relative;
    background: var(--indigo-deep);
    min-height: 380px;
    overflow: hidden;
}

.project-featured-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: all 0.6s ease;
}

.project-featured:hover .project-featured-visual img {
    opacity: 1;
    transform: scale(1.03);
}

.proj-year-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--coral);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-featured-content {
    padding: 3rem 3rem 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.proj-context-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.proj-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--indigo-deep);
    line-height: 1.2;
}

.proj-objective {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.proj-objective strong {
    color: var(--text-main);
}

.proj-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.2rem;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--coral);
}

.proj-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--coral);
}

.detail-val {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Grille projets secondaires */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.proj-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all var(--transition);
}

.proj-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--lavender);
}

.proj-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.proj-card-icon {
    width: 48px;
    height: 48px;
    background: var(--lavender-light);
    color: var(--lavender);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.proj-card-icon.python {
    background: #FFF7ED;
    color: #DA7E22;
}

.proj-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--indigo-deep);
    font-family: 'Inter', sans-serif;
}

.proj-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.proj-ia-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: #F5F3FF;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #5B21B6;
}

.proj-ia-note i {
    color: #7C3AED;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.proj-use-case {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.87rem;
    color: var(--text-main);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.proj-use-case:last-child {
    border-bottom: none;
}

.proj-use-case i {
    color: var(--coral);
}

.proj-tags-list {
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════
   SECTION AUDIOVISUEL
═══════════════════════════════════════ */
.av-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.av-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-light);
    transition: all var(--transition);
}

.av-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(244, 98, 58, 0.35);
    transform: translateY(-4px);
}

.av-card.featured {
    grid-column: 1 / -1;
}

.av-card.coming-soon-card {
    border-color: rgba(244, 98, 58, 0.2);
}

.av-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.av-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.av-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--coral), var(--lavender));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.av-icon-wrap.radio {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.av-icon-wrap.sport {
    background: linear-gradient(135deg, #10B981, #059669);
}

.av-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Inter', sans-serif;
}

.av-card .proj-sub {
    font-size: 0.83rem;
    color: var(--text-light-dim);
    margin-top: 0.2rem;
}

.av-card p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* YouTube placeholder */
.yt-embed-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0.5rem 0;
}

.yt-placeholder {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.yt-placeholder i {
    font-size: 3rem;
    color: #FF0000;
}

.yt-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    margin: 0;
}

.btn-yt {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF0000;
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-yt:hover {
    background: #CC0000;
    color: white;
    transform: translateY(-2px);
}

/* Podcast placeholder */
.podcast-placeholder {
    border: 2px dashed rgba(244, 98, 58, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-placeholder-inner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(244, 98, 58, 0.6);
    font-size: 0.9rem;
}

.podcast-placeholder-inner i {
    font-size: 1.8rem;
}

/* AV details row */
.proj-details-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.proj-detail-pill {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Content placeholder */
.proj-placeholder-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.88rem;
    padding: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.proj-placeholder-content i {
    font-size: 1.4rem;
}

/* ═══════════════════════════════════════
   SECTION COMMUNICATION
═══════════════════════════════════════ */
.com-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.com-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.com-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.com-card.featured-com {
    border-left: 4px solid var(--coral);
}

.com-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.com-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--coral), #F97316);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    flex-shrink: 0;
}

.com-icon-wrap.arts {
    background: linear-gradient(135deg, var(--lavender), #A855F7);
}

.com-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--indigo-deep);
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
}

.com-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.com-livrables h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--coral);
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.livrables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.livrable-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-main);
}

.livrable-item i {
    color: var(--coral);
    font-size: 1rem;
    flex-shrink: 0;
}

.soft-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.soft-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--lavender-light);
    color: var(--lavender);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.soft-pill i {
    font-size: 0.8rem;
}

.com-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.8rem 1rem;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    line-height: 1.6;
}

.com-note i {
    color: var(--lavender);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ═══════════════════════════════════════
   SECTION PARCOURS — TIMELINE
═══════════════════════════════════════ */
.mmi-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.mmi-timeline::before {
    content: '';
    position: absolute;
    left: 52px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--coral), var(--lavender), rgba(255, 255, 255, 0.1));
    border-radius: 2px;
}

.tl-item {
    display: grid;
    grid-template-columns: 80px 40px 1fr;
    gap: 0 1.2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.tl-item.highlight .tl-card {
    border: 2px solid var(--coral);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(244, 98, 58, 0.05) 100%);
}

.tl-item.highlight .tl-dot {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    box-shadow: 0 0 0 4px rgba(244, 98, 58, 0.2), 0 8px 20px rgba(244, 98, 58, 0.4);
}

.tl-year {
    text-align: right;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-top: 1.35rem;
    line-height: 1.3;
    word-break: break-word;
}

.tl-dot {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--lavender), var(--indigo-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(124, 111, 205, 0.4);
    flex-shrink: 0;
    transition: all var(--transition);
}

.tl-item:hover .tl-dot {
    transform: scale(1.1);
}

.tl-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition);
}

.tl-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(6px);
}

.tl-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.6rem;
}

.tl-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.tl-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.tl-tags span {
    background: rgba(124, 111, 205, 0.2);
    color: #C4B5FD;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tl-item.highlight .tl-tags span {
    background: rgba(244, 98, 58, 0.15);
    color: #FCA5A5;
}

.tl-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--coral);
    transition: all var(--transition);
}

.tl-link:hover {
    color: white;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   SECTION COMPÉTENCES
═══════════════════════════════════════ */
.skills-universe {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.skill-domain {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.skill-domain:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.skill-domain-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-domain-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--indigo-deep);
    font-family: 'Inter', sans-serif;
}

.skill-domain-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.skill-domain-icon.web {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.skill-domain-icon.av {
    background: linear-gradient(135deg, var(--coral), #C2410C);
}

.skill-domain-icon.com {
    background: linear-gradient(135deg, #10B981, #047857);
}

.skill-domain-icon.method {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.skill-domain-icon.ai {
    background: linear-gradient(135deg, var(--lavender), #5B21B6);
}

.skill-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.87rem;
    color: var(--text-main);
}

.skill-list em {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.skill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.skill-dot.intermed {
    background: var(--coral);
}

.skill-dot.auto {
    background: #10B981;
}

.skill-dot.level-notions {
    background: var(--lavender);
}

.skill-legend {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   SECTION CONTACT
═══════════════════════════════════════ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left .section-intro {
    text-align: left;
    margin: 0 0 2rem 0;
}

.contact-left .section-title {
    font-size: 2.4rem;
}

.contact-bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    background: white;
}

.contact-link:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.contact-link.email:hover {
    border-color: var(--coral);
}

.contact-link.github:hover {
    border-color: #1F2937;
}

.contact-link.youtube:hover {
    border-color: #FF0000;
}

.contact-link.instagram:hover {
    border-color: #E1306C;
}

.contact-link-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-link.email .contact-link-icon {
    background: #FEF0EB;
    color: var(--coral);
}

.contact-link.github .contact-link-icon {
    background: #F8F8F8;
    color: #1F2937;
}

.contact-link.youtube .contact-link-icon {
    background: #FFF0F0;
    color: #FF0000;
}

.contact-link.instagram .contact-link-icon {
    background: #FDF0F8;
    color: #E1306C;
}

.clink-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.clink-val {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Contact card (right) */
.contact-card {
    background: var(--indigo-deep);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-card-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--coral), var(--lavender));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    font-family: 'Playfair Display', serif;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.contact-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

.contact-card-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-card-tags span {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-cv-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: var(--coral);
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-cv-dl:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-contact-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-contact-mail:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.mmi-footer {
    background: var(--bg-dark);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 1.2rem;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.footer-contact>a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer-contact>a:hover {
    color: var(--coral);
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.footer-socials a:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copy a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    transition: color var(--transition);
}

.footer-copy a:hover {
    color: var(--coral);
}

/* ═══════════════════════════════════════
   RESPONSIVE — 6 BREAKPOINTS
   > 1400px  : Grand écran (TV / wide monitor)
   1100–1400 : Laptop standard
    992–1100 : Laptop compact / tablette L
    768–992  : Tablette portrait
    480–768  : Mobile L
    375–480  : Mobile M
   < 375px   : Mobile S
═══════════════════════════════════════ */

/* ── BURGER BUTTON (caché sur desktop) ── */
.mmi-nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: white;
    font-size: 1.35rem;
    margin-left: auto;
    flex-shrink: 0;
}

/* ── GRAND ÉCRAN : ≥ 1400px ── */
@media (min-width: 1400px) {
    .mmi-nav-inner {
        max-width: 1480px;
        padding: 0 3rem;
    }

    .hero-inner {
        max-width: 960px;
    }

    .mmi-section {
        padding: 8rem 0;
    }

    .section-intro {
        max-width: 820px;
    }

    .skills-universe {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .project-featured {
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .av-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .com-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        gap: 5rem;
    }
}

/* ── LAPTOP STANDARD : 1100px – 1399px ── */
@media (max-width: 1399px) and (min-width: 1100px) {
    .skills-universe {
        grid-template-columns: repeat(5, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── LAPTOP COMPACT : 992px – 1099px ── */
@media (max-width: 1099px) {
    .skills-universe {
        grid-template-columns: repeat(3, 1fr);
    }

    .mmi-nav-title {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

/* ── TABLETTE PORTRAIT : 768px – 991px ── */
@media (max-width: 991px) {

    /* Navbar */
    .mmi-nav-title {
        display: none;
    }

    .mmi-nav-siblings {
        display: none;
    }

    .mmi-nav-links {
        gap: 0;
    }

    .mmi-nav-links a {
        padding: 0.4rem 0.6rem;
        font-size: 0.78rem;
    }

    /* Hero */
    .hero-inner {
        max-width: 100%;
        padding: 4rem 0 3rem;
    }

    .hero-bio {
        font-size: 0.96rem;
    }

    /* Sections */
    .mmi-section {
        padding: 5rem 0;
    }

    .section-intro {
        margin-bottom: 3.5rem;
    }

    /* Projets web */
    .project-featured {
        grid-template-columns: 1fr;
    }

    .project-featured-content {
        padding: 2rem 2rem 2rem;
    }

    .project-featured-visual {
        min-height: 240px;
    }

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

    /* AV */
    .av-grid {
        grid-template-columns: 1fr;
    }

    .av-card.featured {
        grid-column: 1;
    }

    /* Communication */
    .com-grid {
        grid-template-columns: 1fr;
    }

    /* Skills */
    .skills-universe {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-left .section-title {
        font-size: 2rem;
    }

    /* Timeline */
    .tl-item {
        grid-template-columns: 60px 40px 1fr;
        gap: 0 1rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-contact {
        align-items: flex-start;
    }
}

/* ── MOBILE L : 480px – 767px ── */
@media (max-width: 767px) {

    /* Navbar : bascule en burger */
    :root {
        --nav-h: 58px;
    }

    .mmi-navbar {
        height: 58px;
    }

    .mmi-nav-inner {
        padding: 0 1rem;
        gap: 0.8rem;
    }

    .mmi-nav-links {
        display: none;
    }

    .mmi-nav-burger {
        display: flex;
    }

    /* Menu déroulant mobile */
    .mmi-nav-links.nav-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-light);
        padding: 1rem;
        gap: 0.2rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .mmi-nav-links.nav-open a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        justify-content: flex-start;
        gap: 0.8rem;
        font-size: 0.95rem;
        opacity: 1;
    }

    .mmi-nav-links span {
        display: inline;
    }

    /* Hero */
    .mmi-section {
        padding: 4rem 0;
    }

    .hero-inner {
        padding: 3.5rem 0 2.5rem;
    }

    .hero-bio {
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .hero-tags {
        gap: 0.4rem;
    }

    .htag {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hstat-num {
        font-size: 2rem;
    }

    /* Section intro */
    .section-intro {
        margin-bottom: 3rem;
    }

    /* Projets web */
    .project-featured {
        display: flex;
        flex-direction: column;
    }

    .project-featured-content {
        padding: 1.5rem;
    }

    .project-featured-visual {
        min-height: 200px;
    }

    .proj-title {
        font-size: 1.6rem;
    }

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

    .proj-card {
        padding: 1.5rem;
    }

    /* AV */
    .av-card {
        padding: 1.5rem;
    }

    /* Communication */
    .com-card {
        padding: 1.5rem;
    }

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

    /* Skills */
    .skills-universe {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .skill-domain {
        padding: 1.4rem 1.2rem;
    }

    /* Timeline */
    .mmi-timeline::before {
        left: 50px;
    }

    .tl-item {
        grid-template-columns: 52px 36px 1fr;
        gap: 0 0.8rem;
        margin-bottom: 2rem;
    }

    .tl-dot {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-link {
        padding: 0.8rem 1rem;
    }

    .clink-val {
        font-size: 0.82rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-copy {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
    }
}

/* ── MOBILE M : 375px – 479px ── */
@media (max-width: 479px) {

    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero */
    .hero-inner {
        padding: 3rem 0 2rem;
    }

    .hero-label {
        font-size: 0.72rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-bio {
        font-size: 0.9rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 0.7rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    /* Sections */
    .mmi-section {
        padding: 3.5rem 0;
    }

    .section-intro {
        margin-bottom: 2.5rem;
    }

    /* Projets featured */
    .project-featured-content {
        padding: 1.2rem;
    }

    .proj-title {
        font-size: 1.4rem;
    }

    .proj-details-grid {
        padding: 0.9rem;
    }

    /* AV */
    .av-card {
        padding: 1.2rem;
    }

    .av-card-top {
        flex-direction: column;
        gap: 0.8rem;
    }

    .av-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    /* Communication */
    .com-card {
        padding: 1.2rem;
    }

    .com-card-top {
        flex-direction: column;
        gap: 0.6rem;
    }

    .com-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    /* Skills */
    .skills-universe {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .skill-domain {
        padding: 1.1rem 1rem;
    }

    .skill-domain-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .skill-list li {
        font-size: 0.82rem;
    }

    /* Timeline */
    .mmi-timeline::before {
        left: 44px;
    }

    .tl-item {
        grid-template-columns: 44px 32px 1fr;
        gap: 0 0.6rem;
        margin-bottom: 1.6rem;
    }

    .tl-dot {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .tl-card {
        padding: 1.1rem;
    }

    .tl-year {
        font-size: 0.7rem;
    }

    /* Contact */
    .contact-card {
        padding: 1.8rem 1.2rem;
    }

    .contact-card-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    /* Footer */
    .footer-name {
        font-size: 1rem;
    }
}

/* ── MOBILE S : ≤ 374px ── */
@media (max-width: 374px) {
    :root {
        --nav-h: 54px;
    }

    .mmi-navbar {
        height: 54px;
    }

    .mmi-nav-links.nav-open {
        top: 54px;
    }

    .mmi-nav-back span {
        display: none;
    }

    /* Icone seule sur très petit écran */

    /* Hero */
    .hero-inner {
        padding: 2.5rem 0 1.5rem;
    }

    .hero-label {
        display: none;
    }

    /* Trop petit : on masque le label */
    .hero-sub {
        font-size: 0.92rem;
    }

    .hero-bio {
        font-size: 0.85rem;
        line-height: 1.75;
    }

    .hero-stats {
        gap: 0.8rem;
    }

    .hstat-num {
        font-size: 1.7rem;
    }

    .hstat-label {
        font-size: 0.68rem;
    }

    /* Sections */
    .mmi-section {
        padding: 3rem 0;
    }

    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    /* Nav burger + title */
    .mmi-nav-title {
        display: none;
    }

    /* Projets */
    .proj-title {
        font-size: 1.2rem;
    }

    .proj-card {
        padding: 1rem;
    }

    .proj-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .proj-tags span {
        font-size: 0.72rem;
        padding: 0.2rem 0.6rem;
    }

    /* Boutons */
    .btn-proj-primary,
    .btn-proj-outline {
        padding: 0.6rem 1.1rem;
        font-size: 0.82rem;
    }

    /* Skills */
    .skills-universe {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .skill-domain-header {
        flex-direction: row;
        text-align: left;
        gap: 0.8rem;
        justify-content: flex-start;
    }

    .skill-domain-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    /* Timeline */
    .mmi-timeline::before {
        left: 38px;
    }

    .tl-item {
        grid-template-columns: 38px 28px 1fr;
        gap: 0 0.5rem;
        margin-bottom: 1.2rem;
    }

    .tl-dot {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .tl-card {
        padding: 0.9rem;
    }

    /* Footer */
    .footer-copy {
        font-size: 0.7rem;
    }

    .footer-socials a {
        width: 30px;
        height: 30px;
    }
}