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

:root {
  --navy: #0b1929;
  --navy-light: #122340;
  --blue-deep: #1a3a5c;
  --blue: #0077b6;
  --blue-light: #00b4d8;
  --cyan: #48cae4;
  --accent: #64dfdf;
  --bg: #f0f4f8;
  --bg-card: #ffffff;
  --text: #1a2332;
  --text-light: #5a6a7a;
  --text-muted: #8a9aaa;
  --border: #dce4ec;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --header-h: 70px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-light); }
img { max-width: 100%; height: auto; display: block; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 25, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header-h);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-logo .dot {
  width: 10px;
  height: 10px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main {
  flex: 1;
  padding-top: var(--header-h);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-deep) 100%);
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,182,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 6px auto 0;
  position: relative;
  z-index: 1;
}
.page-header .line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--accent));
  border-radius: 3px;
  margin: 14px auto 0;
  position: relative;
  z-index: 1;
}

/* ===== SECTION / CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* ===== HERO / ACCUEIL (full page) ===== */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, var(--blue-deep) 100%);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,182,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin: 12px auto 36px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
  display: block;
}
.hero-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  color: #fff;
}
.hero-card .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.hero-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,119,182,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,119,182,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--blue-light);
  color: #fff;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
  padding: 8px 20px;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,119,182,0.04);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ===== CV PAGE ===== */
.cv-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}
.cv-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.cv-content .name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.cv-content .title {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.cv-block { margin-bottom: 20px; }
.cv-block:last-child { margin-bottom: 0; }
.cv-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cv-block ul {
  list-style: none;
  padding: 0;
}
.cv-block li {
  padding: 3px 0;
  font-size: 0.92rem;
  color: var(--text-light);
  position: relative;
  padding-left: 16px;
}
.cv-block li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue-light);
}
.cv-block p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}
.cv-block .sub-title {
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.cv-block .date {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.cv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cv-tags span {
  padding: 3px 12px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* CV Sidebar */
.cv-preview {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cv-preview-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}
.cv-preview-card iframe {
  width: 100%;
  aspect-ratio: 210/297;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.cv-preview-card .download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.cv-preview-card .download-btn:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}
.cv-preview-info {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.cv-preview-info h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
}
.cv-preview-info .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
}
.cv-preview-info .info-item:last-child { border-bottom: none; }

/* ===== COMPÉTENCES PAGE ===== */
.competence-tabs {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.competence-tab {
  flex: 1;
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: var(--bg-card);
  color: var(--text-light);
  position: relative;
}
.competence-tab:hover {
  background: var(--bg);
  color: var(--text);
}
.competence-tab.active {
  color: var(--blue);
  background: #f0f7ff;
}
.competence-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
}
.competence-panel {
  display: none;
  background: var(--bg-card);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.competence-panel.active { display: block; }

.competence-intro { margin-bottom: 32px; }
.competence-intro h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.competence-intro p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Référentiel */
.referentiel {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
  border: 1px solid rgba(0,119,182,0.15);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}
.referentiel h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.referentiel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.referentiel-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border);
}
.referentiel-item .r-icon { font-size: 1.4rem; margin-bottom: 6px; }
.referentiel-item h5 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.referentiel-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Evolution timeline */
.evolution { margin: 32px 0; }
.evolution h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.evolution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.evo-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}
.evo-card.debut { border-left: 4px solid #f59e0b; }
.evo-card.fin { border-left: 4px solid #10b981; }
.evo-card h5 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.evo-card.debut h5 { color: #d97706; }
.evo-card.fin h5 { color: #059669; }
.evo-item {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  font-size: 0.88rem;
  color: var(--text-light);
}
.evo-item:last-child { border-bottom: none; }
.evo-item strong { color: var(--text); }

/* Project references in competence */
.comp-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.comp-project-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.comp-project-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.comp-project-card .cpc-header {
  padding: 16px 20px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.comp-project-card .cpc-header .cpc-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.comp-project-card .cpc-header h5 { font-size: 0.95rem; color: var(--navy); }
.comp-project-card .cpc-body {
  padding: 0 20px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}
.comp-project-card .cpc-skills {
  padding: 0 20px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.comp-project-card .cpc-skills span {
  padding: 2px 10px;
  background: rgba(0,119,182,0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 500;
}

/* Analyse perso */
.analyse-box {
  background: linear-gradient(135deg, #f0f7ff, #faf5ff);
  border: 1px solid rgba(0,119,182,0.12);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}
.analyse-box h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.analyse-box ul { list-style: none; }
.analyse-box li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-light);
  font-size: 0.92rem;
}
.analyse-box li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-size: 0.6rem;
  top: 10px;
}

/* ===== PROJETS OVERVIEW ===== */
.projets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.projet-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.projet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.projet-card .card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.projet-card .card-img svg {
  width: 72px;
  height: 72px;
  opacity: 0.3;
  position: absolute;
}
.projet-card .card-img .card-label {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 14px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.projet-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.projet-card .card-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.projet-card .card-body .card-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.projet-card .card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.projet-card .card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.projet-card .card-tech span {
  padding: 3px 10px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== PROJET DETAIL PAGE ===== */
.projet-detail {
  max-width: 1000px;
  margin: 0 auto;
}
.projet-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.projet-back:hover { color: var(--blue); }

/* Photo gallery */
.projet-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.projet-photos-single {
  grid-template-columns: 1fr;
}
.photo-card-wide {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.photo-card-wide .photo-img-wide {
  aspect-ratio: 16/9;
  min-height: 420px;
}
.console-photos,
.borne-photos {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.photo-card .console-photo-img,
.photo-card .borne-photo-img {
  aspect-ratio: 5/4;
  min-height: 360px;
}
.photo-card a {
  display: block;
  color: inherit;
}
.photo-card a:hover {
  color: inherit;
}
.photo-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.photo-card .photo-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.photo-card .photo-img svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}
.photo-card .photo-img .photo-label {
  font-size: 0.78rem;
  opacity: 0.5;
  padding: 0 16px;
  text-align: center;
}
.photo-card .photo-caption {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}
.projet-detail .projet-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.projet-detail .projet-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.projet-detail .projet-summary {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.projet-detail .projet-summary strong {
  color: var(--text);
}
.projet-detail .projet-body h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 28px 0 12px;
}
.projet-detail .projet-body p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}
.projet-detail .projet-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.projet-detail .projet-body li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text-light);
  font-size: 0.92rem;
}
.projet-detail .projet-body li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--blue-light);
  font-weight: bold;
}
.projet-detail .projet-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.projet-detail .projet-tech span {
  padding: 4px 14px;
  background: var(--bg);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}
.projet-detail .skills-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 28px;
  color: rgba(255,255,255,0.9);
  margin-top: 24px;
}
.projet-detail .skills-box h3 {
  color: #fff;
  margin-top: 0;
}
.projet-detail .skills-box ul { list-style: none; padding: 0; }
.projet-detail .skills-box li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}
.projet-detail .skills-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  margin-top: auto;
}
.footer a { color: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cv-layout {
    grid-template-columns: 1fr;
  }
  .cv-preview { position: static; }
  .evolution-grid { grid-template-columns: 1fr; }
  .competence-panel { padding: 24px; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11,25,41,0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .page-header h1 { font-size: 1.6rem; }
  .projets-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .projet-photos { grid-template-columns: 1fr; }
  .photo-card-wide .photo-img-wide { min-height: 260px; }
  .photo-card .console-photo-img,
  .photo-card .borne-photo-img { min-height: 280px; }
}
@media (max-width: 600px) {
  .referentiel-grid { grid-template-columns: 1fr; }
  .competence-tab { font-size: 0.82rem; padding: 12px 8px; }
  .container { padding: 24px 16px 40px; }
  .cv-content { padding: 20px; }
}
