/* Portfolio Nathan Lagler — Dark Blue */

:root {
    --color-primary: #1E6FFF;
    --color-primary-dark: #1557D4;
    --color-primary-light: #5B9BFF;
    --color-secondary: #00C2FF;
    --color-accent: #0A84FF;
    --color-dark: #030c1a;
    --color-dark-2: #060f20;
    --color-dark-3: #091428;
    --color-text: #94A3B8;
    --color-text-bright: #E2E8F0;
    --color-muted: #4B6280;
    --color-border: rgba(30,111,255,.15);
    --color-border-light: rgba(255,255,255,.07);
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px; --radius-full: 9999px;
    --shadow-xs: 0 1px 3px rgba(0,0,0,.6);
    --shadow-sm: 0 2px 12px rgba(0,0,0,.6);
    --shadow-md: 0 4px 32px rgba(0,0,0,.6);
    --shadow-lg: 0 12px 56px rgba(0,0,0,.7);
    --shadow-primary: 0 8px 32px rgba(30,111,255,.4);
    --glow-blue: 0 0 40px rgba(30,111,255,.2);
    --nav-height: 72px;
    --container: 1180px;
    --transition: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background-color: #030c1a; line-height: 1.65; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--color-text-bright); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
p  { font-size: 1rem; color: var(--color-text); line-height: 1.75; }

.text-gradient { background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; background-color: #030c1a; }
.section--light { background-color: #060f20; }
.section__label { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-light); background: rgba(30,111,255,.1); padding: .3rem .9rem; border-radius: var(--radius-full); margin-bottom: 1rem; border: 1px solid rgba(30,111,255,.2); }
.section__title { margin-bottom: .75rem; }
.section__subtitle { font-size: 1.1rem; max-width: 560px; }
.section__header { margin-bottom: 3.5rem; }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle { margin: 0 auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--radius-full); font-size: .95rem; font-weight: 600; transition: var(--transition); white-space: nowrap; border: 2px solid transparent; cursor: pointer; }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(30,111,255,.5); }
.btn--outline { border-color: rgba(30,111,255,.5); color: var(--color-primary-light); }
.btn--outline:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); border-color: var(--color-primary); }
.btn--ghost { color: var(--color-primary-light); background: rgba(30,111,255,.1); }
.btn--ghost:hover { background: rgba(30,111,255,.2); }
.btn--sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--danger { background: var(--color-error); color: #fff; }
.btn--danger:hover { background: #c81e1e; transform: translateY(-1px); }
.btn--success { background: var(--color-success); color: #fff; }
.btn--success:hover { background: #059669; transform: translateY(-1px); }

/* Tags */
.tag { display: inline-block; padding: .25rem .75rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; background: rgba(30,111,255,.12); color: var(--color-primary-light); border: 1px solid rgba(30,111,255,.2); }
.tag--secondary { background: rgba(0,194,255,.1); color: #67D8F5; border-color: rgba(0,194,255,.2); }
.tag--accent { background: rgba(10,132,255,.12); color: #60AEFF; border-color: rgba(10,132,255,.2); }
.tag--dark { background: rgba(255,255,255,.06); color: var(--color-text-bright); border-color: var(--color-border-light); }
.tag--success { background: rgba(16,185,129,.12); color: #34D399; border-color: rgba(16,185,129,.2); }
.tag--warning { background: rgba(245,158,11,.12); color: #FCD34D; border-color: rgba(245,158,11,.2); }
.tag--danger { background: rgba(239,68,68,.12); color: #FCA5A5; border-color: rgba(239,68,68,.2); }

/* Cartes */
.card { background: rgba(255,255,255,.03); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); border: 1px solid rgba(255,255,255,.07); }
.card:hover { transform: translateY(-6px); box-shadow: var(--glow-blue), var(--shadow-lg); border-color: rgba(30,111,255,.3); }
.card__img { width: 100%; height: 220px; object-fit: cover; }
.card__img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg,rgba(30,111,255,.12),rgba(0,194,255,.08)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.card__body { padding: 1.5rem; }
.card__tag { margin-bottom: .75rem; }
.card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.card__text { font-size: .9rem; margin-bottom: 1.25rem; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Nav */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-height); background: rgba(3,12,26,.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07); transition: var(--transition); }
.header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.7); border-bottom-color: rgba(30,111,255,.2); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__logo { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.nav__logo-text { background: linear-gradient(135deg,var(--color-primary-light),var(--color-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav__menu { display: flex; align-items: center; gap: .25rem; }
.nav__link { padding: .5rem 1rem; border-radius: var(--radius-full); font-size: .9rem; font-weight: 500; color: var(--color-text); transition: var(--transition); }
.nav__link:hover, .nav__link--active { color: var(--color-primary-light); background: rgba(30,111,255,.1); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav__mobile-right { display: none; align-items: center; gap: .6rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--color-text-bright); border-radius: 2px; transition: var(--transition); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main { padding-top: var(--nav-height); background-color: #030c1a; }

/* Hero */
.hero {
    min-height: calc(100vh - var(--nav-height));
    position: relative;
    overflow: hidden;
    background-color: #030c1a;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,111,255,.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,194,255,.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero__blob { display: none; }
.hero__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__content {}
.hero__photo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.hero__photo-glow {
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(30,111,255,.18);
    filter: blur(60px);
    z-index: 0;
}
.hero__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    border: 2px solid rgba(30,111,255,.35);
    box-shadow: 0 0 60px rgba(30,111,255,.25), 0 24px 80px rgba(0,0,0,.8);
}
.hero__photo-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3/4;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    background: linear-gradient(135deg,rgba(30,111,255,.12),rgba(0,194,255,.06));
    border: 2px solid rgba(30,111,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}
.hero__greeting { font-size: .85rem; font-weight: 600; color: var(--color-primary-light); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.hero__title { margin-bottom: 1.5rem; }
.hero__subtitle { font-size: 1.05rem; color: var(--color-text); max-width: 500px; margin-bottom: 2.5rem; line-height: 1.85; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--color-muted); font-size: .8rem; animation: bounce 2s infinite; z-index: 2; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(8px)} }

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

/* À propos */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__image-wrap { position: relative; }
.about__img { border-radius: var(--radius-xl); width: 100%; max-height: 480px; object-fit: cover; box-shadow: var(--glow-blue), var(--shadow-lg); border: 1px solid rgba(30,111,255,.25); }
.about__img-placeholder { border-radius: var(--radius-xl); width: 100%; height: 400px; background: linear-gradient(135deg,rgba(30,111,255,.1),rgba(0,194,255,.06)); display: flex; align-items: center; justify-content: center; font-size: 5rem; border: 1px solid var(--color-border-light); }
.about__deco { position: absolute; width: 160px; height: 160px; border-radius: var(--radius-xl); background: linear-gradient(135deg,var(--color-primary),var(--color-secondary)); opacity: .08; bottom: -20px; right: -20px; z-index: -1; filter: blur(24px); }
.about__skills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.about__body > p { margin-bottom: 1.25rem; }

/* Filtres */
.filters { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2.5rem; }
.filters__title { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin-bottom: 1rem; }
.filters__grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1rem; align-items: end; }

/* Forms */
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--color-text-bright); }
.form-group select, .form-group input, .form-group textarea { width: 100%; padding: .65rem 1rem; border: 1.5px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); font-size: .9rem; color: var(--color-text-bright); background: rgba(255,255,255,.05); transition: var(--transition); appearance: none; }
.form-group select:focus, .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30,111,255,.15); }
.form-group select option { background: #091428; color: var(--color-text-bright); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }

/* Projet détail */
.projet-hero { background-color: #060f20; padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.projet-hero__img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--glow-blue), var(--shadow-lg); margin-bottom: 2rem; border: 1px solid rgba(30,111,255,.2); }
.projet-hero__meta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.projet-body { padding: 3rem 0; }
.projet-body__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.info-card { background: rgba(255,255,255,.03); border-radius: var(--radius-md); padding: 1.5rem; border: 1px solid rgba(255,255,255,.07); }
.info-card__title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); margin-bottom: 1.25rem; }
.info-card__row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .9rem; }
.info-card__row:last-child { border: none; }
.info-card__label { font-weight: 600; color: var(--color-text-bright); }
.info-card__value { color: var(--color-text); }

/* Galerie projet */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,.08); cursor: zoom-in; transition: var(--transition); background: rgba(255,255,255,.03); }
.gallery-item:hover { border-color: rgba(30,111,255,.4); box-shadow: 0 0 24px rgba(30,111,255,.2); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.gallery-item__cap { font-size: .78rem; color: var(--color-muted); padding: .5rem .75rem; }
.gallery-item--video { cursor: default; grid-column: 1 / -1; }
.gallery-item--video:hover { transform: none; }
.gallery-item--video video { width: 100%; max-height: 480px; display: block; background: #000; }

/* Commentaires */
.comments { margin-top: 3rem; }
.comments__title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.comment { background: rgba(30,111,255,.06); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 1rem; border: 1px solid rgba(30,111,255,.15); border-left: 3px solid var(--color-primary); }
.comment__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.comment__author { font-weight: 600; font-size: .9rem; color: var(--color-text-bright); }
.comment__date { font-size: .8rem; color: var(--color-muted); }
.comment__body { font-size: .9rem; line-height: 1.7; }
.comment-form { margin-top: 2rem; }
.comment-form__title { font-size: 1.1rem; margin-bottom: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info__item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.contact-info__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(30,111,255,.12); display: flex; align-items: center; justify-content: center; color: var(--color-primary-light); flex-shrink: 0; border: 1px solid rgba(30,111,255,.2); }
.contact-info__label { font-weight: 600; font-size: .8rem; color: var(--color-muted); display: block; }
.contact-info__value { color: var(--color-text-bright); }
.contact-form { background: rgba(255,255,255,.03); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.07); }

/* Auth */
.auth-page { min-height: calc(100vh - var(--nav-height)); display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; background-color: #030c1a; }
.auth-card { background: rgba(255,255,255,.04); backdrop-filter: blur(20px); border-radius: var(--radius-xl); box-shadow: var(--glow-blue), var(--shadow-lg); padding: 2.5rem 2rem; width: 100%; max-width: 460px; border: 1px solid rgba(30,111,255,.2); }
.auth-card__title { text-align: center; margin-bottom: .5rem; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.auth-card__sub { text-align: center; margin-bottom: 2rem; font-size: .9rem; color: var(--color-muted); }
.auth-card__footer { text-align: center; margin-top: 1.5rem; font-size: .9rem; }
.auth-card__footer a { color: var(--color-primary-light); font-weight: 600; }

/* Alertes */
.alert { padding: .9rem 1.25rem; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; margin-bottom: 1.25rem; }
.alert--success { background: rgba(16,185,129,.1); color: #34D399; border-left: 3px solid var(--color-success); }
.alert--error   { background: rgba(239,68,68,.1); color: #FCA5A5; border-left: 3px solid var(--color-error); }
.alert--info    { background: rgba(30,111,255,.1); color: var(--color-primary-light); border-left: 3px solid var(--color-primary); }
.alert--warning { background: rgba(245,158,11,.1); color: #FCD34D; border-left: 3px solid var(--color-warning); }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-height)); }
.admin-sidebar { background-color: #060f20; border-right: 1px solid rgba(255,255,255,.07); padding: 2rem 0; position: sticky; top: var(--nav-height); height: calc(100vh - var(--nav-height)); overflow-y: auto; }
.admin-sidebar__logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #fff; padding: 0 1.5rem; margin-bottom: 2rem; display: block; }
.admin-sidebar__section { padding: 0 1rem; margin-bottom: 1.5rem; }
.admin-sidebar__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); padding: 0 .5rem; margin-bottom: .5rem; display: block; }
.admin-nav__link { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.5); transition: var(--transition); }
.admin-nav__link:hover, .admin-nav__link.active { background: rgba(30,111,255,.15); color: #fff; }
.admin-nav__link.active { color: var(--color-primary-light); }
.admin-content { padding: 2.5rem; background-color: #030c1a; }
.admin-header { margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.admin-header h1 { font-size: 1.75rem; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.07); }
table { width: 100%; background: rgba(255,255,255,.02); border-collapse: collapse; font-size: .9rem; }
thead th { background-color: #091428; color: var(--color-text-bright); padding: .9rem 1.25rem; text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tbody td { padding: .85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--color-text); }
tbody tr:last-child td { border: none; }
tbody tr:hover { background: rgba(30,111,255,.05); }
.table-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Stats admin */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.stat-card { background: rgba(255,255,255,.03); border-radius: var(--radius-md); padding: 1.5rem; border: 1px solid rgba(255,255,255,.07); }
.stat-card__num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--color-primary-light); line-height: 1; margin-bottom: .25rem; }
.stat-card__label { font-size: .85rem; color: var(--color-muted); font-weight: 500; }

/* Footer */
.footer { background-color: #060f20; color: rgba(255,255,255,.6); padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.07); }
.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem 2.5rem; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer__logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg,var(--color-primary-light),var(--color-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer__tagline { font-size: .85rem; margin-top: .5rem; line-height: 1.6; }
.footer__brand { max-width: 220px; }
.footer__nav { display: flex; flex-direction: column; gap: .75rem; }
.footer__nav a { font-size: .9rem; transition: var(--transition); }
.footer__nav a:hover { color: var(--color-primary-light); }
.footer__socials { display: flex; gap: .75rem; }
.footer__social-link { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(30,111,255,.1); border: 1px solid rgba(30,111,255,.2); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--color-primary-light); }
.footer__social-link:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-primary); }
.footer__bottom { max-width: var(--container); margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__bottom p { font-size: .85rem; color: rgba(255,255,255,.3); }
.footer__contact-btn { font-size: .85rem; color: var(--color-primary-light); font-weight: 600; transition: var(--transition); }
.footer__contact-btn:hover { color: var(--color-secondary); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--color-muted); }

/* Responsive */
/* Lang switcher */
.lang-switch { font-size: .8rem; font-weight: 600; color: var(--color-text); letter-spacing: .05em; padding: .3rem .6rem; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.lang-switch:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-switch--mobile { display: none; }

@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__photo-wrap { display: none; }
    .hero__subtitle { margin: 0 auto 2.5rem; }
    .hero__cta { justify-content: center; }
}
@media (max-width: 900px) {
    .about-grid, .contact-grid, .projet-body__grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .filters__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav__menu { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(3,12,26,.97); backdrop-filter: blur(16px); flex-direction: column; align-items: stretch; padding: 1.5rem; gap: .5rem; box-shadow: var(--shadow-md); transform: translateY(-110%); transition: transform .3s ease; border-bottom: 1px solid rgba(255,255,255,.07); }
    .nav__menu.open { transform: translateY(0); }
    .nav__actions { display: none; }
    .nav__mobile-right { display: flex; }
    .nav__toggle { display: flex; }
    .lang-switch--mobile { display: flex; }
    .hero__inner { padding: 3rem 1.5rem 5rem; }
    .hero__cta { flex-direction: column; align-items: center; gap: .75rem; }
    .hero__cta .btn { width: 100%; max-width: 280px; justify-content: center; }
    .section { padding: 3.5rem 0; }
    .projects-grid { grid-template-columns: 1fr; }
    .filters__grid { grid-template-columns: 1fr; }
    .card__img { height: 200px; }
    .projet-body__grid { gap: 2rem; }
    .info-card { margin-top: 0; }
    .table-wrap { overflow-x: auto; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .footer__socials { justify-content: center; }
}
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .container { padding: 0 1rem; }
    .btn--lg { padding: .75rem 1.5rem; font-size: .95rem; }
    .hero__title { font-size: 2.6rem; }
    .section__title { font-size: 1.8rem; }
}
