/* ═══════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════ */
:root {
  --navy:    #080f18;
  --navy2:   #0d1b2a;
  --navy3:   #142030;
  --navy4:   #1a2d40;
  --blue:    #1c6ea4;
  --cyan:    #3ba0d0;
  --cyan2:   #5ec4f0;
  --cyanl:   #a8dff5;
  --acc:     #e8a020;
  --accl:    #f5c060;
  --white:   #f0f6fc;
  --grayl:   #b8cce0;
  --graym:   #5a7080;
  --text:    #ddeaf6;
  --textd:   #88a8bc;
  --green:   #38b06e;
  --orange:  #e06830;
  --red:     #d04040;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════════════════════
   CURSEUR CUSTOM
═══════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, width .2s, height .2s, background .2s;
  box-shadow: 0 0 10px var(--cyan), 0 0 25px rgba(59,160,208,.3);
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(59,160,208,.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .15s ease-out, width .3s, height .3s, border-color .2s;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor, button:hover ~ .cursor { width:16px; height:16px; }

/* ═══════════════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════════════ */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--acc));
  z-index: 1000;
  width: 0%;
  transition: width .1s;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,15,24,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59,160,208,.08);
  transition: border-color .3s;
}
nav.scrolled { border-bottom-color: rgba(59,160,208,.18); }

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grayl);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:2px; left:12px; right:12px;
  height:1px;
  background:var(--cyan);
  transform:scaleX(0);
  transition:transform .2s;
}
.nav-links a:hover { color:var(--cyan); }
.nav-links a:hover::after { transform:scaleX(1); }
.nav-links a.active { color:var(--cyan); }
.nav-links a.active::after { transform:scaleX(1); }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(59,160,208,.4);
  padding: 7px 16px;
  border-radius: 3px;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: rgba(59,160,208,.1);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(59,160,208,.2);
}

/* burger */
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.burger span { width:22px; height:2px; background:var(--grayl); border-radius:2px; transition:.3s; }

/* ═══════════════════════════════════════════════
   CANVAS FOND
═══════════════════════════════════════════════ */
#bg-canvas {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  z-index: 0;
  opacity: .4;
}

/* ═══════════════════════════════════════════════
   SECTIONS BASE
═══════════════════════════════════════════════ */
section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; }

.hero-pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .6s .3s forwards;
}
.hero-pre::before { content:'> '; opacity:.5; }

.hero-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 9vw, 110px);
  text-transform: uppercase;
  color: var(--white);
  line-height: .95;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeUp .7s .5s forwards;
}
.hero-name .cyan { color: var(--cyan); position: relative; }
.hero-name .cyan::after {
  content: attr(data-text);
  position: absolute;
  left: 2px; top: 2px;
  color: rgba(59,160,208,.15);
  filter: blur(2px);
  z-index: -1;
}

.hero-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 2.5vw, 26px);
  letter-spacing: 5px;
  color: var(--grayl);
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp .7s .7s forwards;
}

.hero-typewriter {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--textd);
  margin-top: 24px;
  min-height: 24px;
  opacity: 0;
  animation: fadeUp .7s .9s forwards;
}
.hero-typewriter .cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--cyan);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink .8s infinite;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 44px;
  opacity: 0;
  animation: fadeUp .7s 1.1s forwards;
}

.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  transition: all .25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--cyan2);
  box-shadow: 0 0 30px rgba(59,160,208,.4);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid rgba(59,160,208,.4);
  color: var(--cyan);
}
.btn-ghost:hover {
  background: rgba(59,160,208,.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(59,160,208,.15);
  transform: translateY(-2px);
}

.hero-scroll {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 1s 1.8s forwards;
}
.hero-scroll span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--graym);
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1px solid rgba(59,160,208,.3);
  border-radius: 11px;
  position: relative;
}
.scroll-mouse::after {
  content:'';
  position:absolute;
  top:5px; left:50%;
  transform:translateX(-50%);
  width:3px; height:6px;
  background:var(--cyan);
  border-radius:2px;
  animation: scrollDown 1.5s infinite;
}

/* hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 52px;
  opacity: 0;
  animation: fadeUp .7s 1.3s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--textd);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   SECTION STYLE COMMUN
═══════════════════════════════════════════════ */
.section-header {
  margin-bottom: 60px;
  text-align: center;
}
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.section-title span { color: var(--cyan); }
.section-line {
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  margin: 18px auto 0;
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
#about {
  padding: 120px 0 100px;
  background: linear-gradient(180deg, transparent, rgba(13,27,42,.5) 30%, rgba(13,27,42,.5) 70%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  color: var(--textd);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text p strong { color: var(--text); }
.about-text p .hl { color: var(--cyan); font-weight: 600; }

.about-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.12);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--cyan),transparent);
}

.about-contact-list { list-style:none; }
.about-contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 14px;
  color: var(--textd);
}
.about-contact-list li:last-child { border-bottom: none; }
.about-contact-list li a { color: var(--cyan); text-decoration: none; transition: color .2s; }
.about-contact-list li a:hover { color: var(--cyanl); }

.contact-icon {
  width: 36px; height: 36px;
  background: rgba(59,160,208,.08);
  border: 1px solid rgba(59,160,208,.18);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════ */
#skills {
  padding: 100px 0;
}

.skills-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--textd);
}
.leg-dot { width: 28px; height: 3px; border-radius: 2px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skill-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.1);
  border-radius: 8px;
  padding: 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(59,160,208,.3),transparent);
  transform:scaleX(0);
  transition:transform .4s;
}
.skill-card:hover {
  border-color: rgba(59,160,208,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.skill-card:hover::before { transform:scaleX(1); }

.skill-card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--acc);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-card-title::before { content:'▶'; font-size:7px; }

.sk-item { margin-bottom: 14px; }
.sk-top { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:5px; }
.sk-name { font-size: 13px; font-weight: 600; color: var(--text); }
.sk-lv { font-family:'JetBrains Mono',monospace; font-size: 9px; }

.bar { height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.bf { height:100%; border-radius:2px; width:0; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.m  { background:linear-gradient(90deg,#38b06e,#5de09a); }
.p  { background:linear-gradient(90deg,#3ba0d0,#7dcfee); }
.n  { background:linear-gradient(90deg,#e06830,#f0a060); }

/* ═══════════════════════════════════════════════
   EXPÉRIENCE — TIMELINE
═══════════════════════════════════════════════ */
#experience {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13,27,42,.4) 20%, rgba(13,27,42,.4) 80%, transparent);
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content:'';
  position:absolute;
  left: 20px; top:0; bottom:0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(59,160,208,.3) 10%, rgba(59,160,208,.3) 90%, transparent);
}

.tl-item {
  padding-left: 64px;
  margin-bottom: 16px;
  position: relative;
}

.tl-dot {
  position: absolute;
  left: 13px; top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy2);
  border: 2px solid var(--cyan);
  transition: box-shadow .3s, border-color .3s;
  z-index: 2;
}
.tl-item.current .tl-dot {
  border-color: var(--acc);
  box-shadow: 0 0 10px var(--acc), 0 0 20px rgba(232,160,32,.2);
  animation: glowPulse 2s infinite;
}

.tl-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.tl-card:hover { border-color: rgba(59,160,208,.25); }

.tl-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.tl-header:hover .tl-title { color: var(--cyan); }

.tl-left {}
.tl-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
  transition: color .2s;
}
.tl-company {
  font-size: 13px;
  color: var(--cyan);
  font-style: italic;
}

.tl-right { text-align: right; flex-shrink: 0; }
.tl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--acc);
  background: rgba(232,160,32,.08);
  border: 1px solid rgba(232,160,32,.2);
  border-radius: 3px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 8px;
}
.tl-toggle {
  font-size: 18px;
  color: var(--graym);
  transition: transform .3s, color .2s;
  display: block;
  text-align: right;
}
.tl-card.open .tl-toggle { transform: rotate(180deg); color: var(--cyan); }

.tl-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.tl-card.open .tl-body { max-height: 400px; }

.tl-content {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(59,160,208,.08);
}
.tl-content ul { list-style:none; margin-top:14px; }
.tl-content ul li {
  font-size: 14px;
  color: var(--textd);
  padding: 4px 0;
  display: flex;
  gap: 10px;
  line-height: 1.5;
}
.tl-content ul li::before {
  content:'—';
  color: rgba(59,160,208,.4);
  flex-shrink:0;
  margin-top:1px;
}

/* ═══════════════════════════════════════════════
   PROJETS
═══════════════════════════════════════════════ */
#projects {
  padding: 100px 0;
}

.proj-warn {
  max-width: 820px;
  margin: -20px auto 40px;
  padding: 12px 18px;
  background: rgba(232,160,32,.05);
  border: 1px solid rgba(232,160,32,.15);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(232,160,32,.8);
  font-style: italic;
  text-align: center;
}

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

.proj-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,160,208,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 30px rgba(59,160,208,.05);
}

.proj-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.proj-icon {
  width: 48px; height: 48px;
  background: rgba(59,160,208,.1);
  border: 1px solid rgba(59,160,208,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.proj-badges { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 3px;
}
.badge-green { background:rgba(56,176,110,.1); color:var(--green); border:1px solid rgba(56,176,110,.25); }
.badge-cyan  { background:rgba(59,160,208,.1); color:var(--cyan); border:1px solid rgba(59,160,208,.25); }
.badge-acc   { background:rgba(232,160,32,.1); color:var(--acc); border:1px solid rgba(232,160,32,.25); }

.proj-body { padding: 16px 24px 24px; flex:1; display:flex; flex-direction:column; }
.proj-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
}
.proj-desc {
  font-size: 14px;
  color: var(--textd);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.proj-note {
  font-size: 12px;
  color: var(--orange);
  font-style: italic;
  margin-bottom: 14px;
}
.tags { display:flex; flex-wrap:wrap; gap:6px; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--cyan);
  background: rgba(59,160,208,.07);
  border: 1px solid rgba(59,160,208,.18);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   FORMATIONS
═══════════════════════════════════════════════ */
#formation {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13,27,42,.4) 20%, rgba(13,27,42,.4) 80%, transparent);
}

.formation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.fm-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.1);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
}
.fm-card::before {
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background:var(--blue);
}
.fm-card.highlight::before { background:var(--acc); }
.fm-card:hover { border-color: rgba(59,160,208,.25); transform: translateY(-3px); }

.fm-icon {
  width: 40px; height: 40px;
  background: rgba(59,160,208,.08);
  border: 1px solid rgba(59,160,208,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.fm-info {}
.fm-title { font-weight: 700; font-size: 15px; color: var(--white); margin-bottom: 5px; line-height: 1.3; }
.fm-date { font-family:'JetBrains Mono',monospace; font-size:10px; color:var(--acc); margin-bottom:5px; }
.fm-detail { font-size: 13px; color: var(--textd); font-style:italic; line-height: 1.5; }

/* ═══════════════════════════════════════════════
   COMPÉTENCES MÉTIER
═══════════════════════════════════════════════ */
#metier {
  padding: 100px 0;
}

.metier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.metier-card {
  background: var(--navy3);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.metier-card:hover {
  border-color: rgba(59,160,208,.2);
  transform: translateY(-3px);
}
.metier-ico { font-size: 28px; margin-bottom: 10px; display: block; }
.metier-name { font-size: 13px; color: var(--textd); line-height: 1.4; font-weight: 600; }

/* ── LOISIRS : grille 3 colonnes centrée ──── */
.loisirs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 620px) {
  .loisirs-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
}

/* ═══════════════════════════════════════════════
   LANGUES
═══════════════════════════════════════════════ */
.langs-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.lang-card {
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.1);
  border-radius: 8px;
  padding: 24px 32px;
  text-align: center;
  min-width: 160px;
  transition: transform .3s, border-color .3s;
}
.lang-card:hover { transform: translateY(-4px); border-color: rgba(59,160,208,.3); }
.lang-name { font-weight: 700; font-size: 16px; color: var(--white); margin-bottom: 10px; }

.lang-circle {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 10px;
}
.lang-circle svg { transform: rotate(-90deg); }
.lang-circle-bg { fill:none; stroke:rgba(255,255,255,.05); stroke-width:5; }
.lang-circle-fill { fill:none; stroke:var(--cyan); stroke-width:5; stroke-linecap:round; stroke-dasharray:220; stroke-dashoffset:220; transition:stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1); }
.lang-pct {
  position:absolute;
  inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace;
  font-size:16px;
  color:var(--cyan);
  font-weight:600;
}
.lang-level { font-size: 12px; color: var(--graym); letter-spacing: 1px; }

/* ═══════════════════════════════════════════════
   CONTACT / FOOTER
═══════════════════════════════════════════════ */
#contact {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content:'';
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:600px; height:400px;
  background:radial-gradient(ellipse,rgba(59,160,208,.06) 0%,transparent 70%);
  pointer-events:none;
}

.contact-big-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 5vw, 52px);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 16px;
  color: var(--textd);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

footer {
  border-top: 1px solid rgba(59,160,208,.08);
  padding-top: 30px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--graym);
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS KEYFRAMES
═══════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
@keyframes scrollDown {
  0%   { opacity:1; transform:translateX(-50%) translateY(0); }
  100% { opacity:0; transform:translateX(-50%) translateY(14px); }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 8px var(--acc), 0 0 16px rgba(232,160,32,.2); }
  50%     { box-shadow: 0 0 16px var(--acc), 0 0 30px rgba(232,160,32,.35); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-height: 720px) {
  .hero-scroll { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .formation-grid { grid-template-columns: 1fr; }
  .metier-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display:none; }
  .burger { display:flex; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .hero-btns { flex-direction:column; align-items:center; }
  .metier-grid { grid-template-columns: repeat(2,1fr); }
}

/* mobile nav */
.nav-mobile {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(8,15,24,.97);
  backdrop-filter: blur(12px);
  padding: 20px 5%;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  border-bottom: 1px solid rgba(59,160,208,.1);
}
.nav-mobile.open { transform:translateY(0); opacity:1; pointer-events:all; }
.nav-mobile a { display:block; padding:14px 0; font-family:'JetBrains Mono',monospace; font-size:13px; letter-spacing:2px; color:var(--grayl); text-decoration:none; border-bottom:1px solid rgba(255,255,255,.04); text-transform:uppercase; }
.nav-mobile a:hover { color:var(--cyan); }

/* ═══════════════════════════════════════════════
   AJOUTS — VERSION MULTI-PAGES (nov. 2026)
═══════════════════════════════════════════════ */
/* En-tête des pages secondaires (plus court que le hero d'accueil) */
.page-top { padding: 130px 0 10px; }

/* Badges de statut (remplacent les styles en ligne) */
.badge-orange { background:rgba(224,104,48,.1); color:var(--orange); border:1px solid rgba(224,104,48,.25); }
.badge-red    { background:rgba(208,64,64,.1);  color:var(--red);    border:1px solid rgba(208,64,64,.25); }

/* Lien « voir le projet » sous une carte */
.proj-link {
  display:inline-block;
  margin-top:14px;
  font-family:'JetBrains Mono',monospace;
  font-size:11px;
  letter-spacing:1px;
  color:var(--acc);
  text-decoration:none;
  border-bottom:1px dashed rgba(232,160,32,.4);
}
.proj-link:hover { color:var(--accl); border-bottom-color:var(--accl); }
.proj-private { margin-top:14px; font-size:11px; color:var(--graym); font-family:'JetBrains Mono',monospace; }

/* Encadré « comment je travaille avec l'IA » */
.ai-note {
  max-width: 820px;
  margin: 0 auto 50px;
  padding: 22px 26px;
  background: rgba(59,160,208,.05);
  border: 1px solid rgba(59,160,208,.18);
  border-radius: 8px;
  font-size: 15px;
  color: var(--textd);
  line-height: 1.75;
}
.ai-note strong { color: var(--white); }

/* Cartes de raccourci vers les autres pages (accueil) */
.goto-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:900px;
  margin:0 auto;
}
.goto-card {
  display:block;
  background:var(--navy3);
  border:1px solid rgba(59,160,208,.12);
  border-radius:8px;
  padding:26px 22px;
  text-decoration:none;
  transition:border-color .3s, transform .3s;
}
.goto-card:hover { border-color:rgba(59,160,208,.35); transform:translateY(-4px); }
.goto-title { font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:22px; text-transform:uppercase; color:var(--white); }
.goto-title span { color:var(--cyan); }
.goto-text { font-size:13px; color:var(--textd); margin-top:6px; line-height:1.5; }
@media (max-width: 900px) { .goto-grid { grid-template-columns:1fr; } }

/* ═══════════════════════════════════════════════
   PAGE INSTALLATION — schéma + cas concrets
═══════════════════════════════════════════════ */
.schema-wrap {
  background: var(--navy2);
  border: 1px solid rgba(59,160,208,.15);
  border-radius: 10px;
  padding: 18px;
  overflow-x: auto;          /* sur téléphone, on fait défiler le schéma */
}
.schema-wrap svg { display:block; min-width: 820px; width:100%; height:auto; }
.schema-legend { text-align:center; font-size:13px; color:var(--textd); margin-top:14px; }

.case {
  max-width: 900px;
  margin: 0 auto 28px;
  background: var(--navy3);
  border: 1px solid rgba(59,160,208,.12);
  border-radius: 10px;
  padding: 28px 30px;
}
.case-title { font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:26px; text-transform:uppercase; color:var(--white); margin-bottom:18px; }
.case-title span { color:var(--cyan); }
.case-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.case-step-label { font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--acc); margin-bottom:8px; }
.case-step p, .case-step li { font-size:14px; color:var(--textd); line-height:1.65; }
.case-step ul { padding-left:18px; }
.case-step strong { color:var(--white); }
.case-foot { margin-top:18px; font-size:12px; color:var(--graym); font-style:italic; }
@media (max-width: 900px) { .case-grid { grid-template-columns:1fr; } }
