*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg-nacre:   #F5F7FA;
  --bg-paper:   #FFFFFF;
  --text-main:  #0F1F2F;
  --text-mut:   #64748B;
  --accent-bl:  #1e3a5f;
  --accent-bl2: #2a4a7c;
  --accent-cyan:#00d4ff;
  --accent-cyan2:#00b8d4;
  --accent-soft: oklch(0.72 0.09 250);
  --teal:       #0E7490;
  --accent-or:  #1e3a5f;
  --accent-or-light: #00d4ff;
  --ok:         #16A34A;
  --err:        #DC2626;
  --border:     rgba(15, 31, 47, 0.10);
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-nacre);
  color: var(--text-mut);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
}
@media (hover: hover) and (pointer: fine) { body.cursor-on { cursor: none; } }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--accent-bl); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 0; font-weight: 600; font-size: .85rem;
}
.skip:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent-bl); outline-offset: 3px; border-radius: 4px;
}

/* ─── AURAS ─── */
.bg-auras { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aura { position: absolute; border-radius: 50%; filter: blur(100px); animation: floatAura 25s infinite alternate ease-in-out; }
.aura-blue   { width: 55vw; height: 55vw; background: var(--accent-bl);   top: -10%; left: -10%; opacity: .2; }
.aura-orange { width: 45vw; height: 45vw; background: var(--accent-cyan); bottom: -15%; right: -5%; opacity: .12; animation-delay: -7s; }
.aura-cyan   { width: 40vw; height: 40vw; background: var(--accent-cyan); top: 30%; left: 20%; opacity: .15; animation-delay: -12s; }
@keyframes floatAura {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  50%  { transform: translate(5%,10%) scale(1.1) rotate(10deg); }
  100% { transform: translate(-5%,5%) scale(.95) rotate(-5deg); }
}

/* ─── CURSOR ─── */
#cur, #cur-o { display: none; }
body.cursor-on #cur, body.cursor-on #cur-o { display: block; }
#cur {
  position: fixed; width: 8px; height: 8px; background: var(--accent-or);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); transition: width .15s, height .15s, background .2s;
}
#cur-o {
  position: fixed; width: 40px; height: 40px; border: 1px solid rgba(30,58,95,.5);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, border-color .2s;
}
body.cursor-on:has(a:hover) #cur, body.cursor-on:has(button:hover) #cur { width: 5px; height: 5px; background: var(--accent-bl); }
body.cursor-on:has(a:hover) #cur-o, body.cursor-on:has(button:hover) #cur-o { width: 60px; height: 60px; border-color: rgba(0,212,255,.7); background: rgba(0,212,255,.06); }

/* ─── PROGRESS ─── */
#sprog { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; }
#sprogfill { height: 100%; width: 0%; background: var(--accent-bl); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 52px; z-index: 200; transition: all .4s ease; border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(248,249,250,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 16px 52px; border-bottom: 1px solid var(--border);
}
.nav-brand { font-family: var(--sans); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--text-main); text-decoration: none; }
.nav-brand span { color: var(--accent-or); }
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .03em;
  color: var(--text-mut); text-decoration: none; transition: color .2s; position: relative;
}
.nav-links a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background: var(--accent-bl); transition: width .3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cv {
  font-family: var(--sans); font-weight: 700; font-size: .78rem; color: #fff;
  background: var(--text-main); padding: 10px 20px; border-radius: 50px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: all .3s ease;
}
.nav-cv:hover { background: var(--accent-bl2); transform: translateY(-2px); }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: .3s; }

/* ─── HERO ─── */
#hero { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 52px 0; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .8; }
.hero-inner { position: relative; z-index: 2; max-width: 1050px; }
.hero-eyebrow {
  font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-bl); margin-bottom: 20px; display: inline-block; padding: 6px 16px;
  background: rgba(30,58,95,.08); border-radius: 50px; opacity: 0; animation: fadeUp .8s .2s ease forwards;
}
.hero-name {
  font-family: var(--sans); font-weight: 900; font-size: clamp(60px, 12vw, 160px); line-height: .9;
  color: var(--text-main); letter-spacing: -.04em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s .4s ease forwards; margin-bottom: 24px;
}
.hero-name span { color: var(--accent-bl); display: inline-block; }
.hero-tagline { font-family: var(--sans); font-weight: 400; font-size: clamp(18px, 2.5vw, 24px); color: var(--text-mut); max-width: 760px; line-height: 1.55; opacity: 0; animation: fadeUp .8s .6s ease forwards; }
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s .8s ease forwards; }
.btn-primary, .btn-ghost {
  font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: 15px 30px; border-radius: 50px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all .3s ease; border: none; cursor: pointer;
}
.btn-primary { background: var(--accent-bl); color: #fff; box-shadow: 0 10px 24px rgba(30,58,95,.22); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(30,58,95,.34); }
.btn-ghost { background: transparent; color: var(--text-main); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-main); transform: translateY(-3px); }

.hero-foot { position: absolute; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px 52px; border-top: 1px solid var(--border); z-index: 2; opacity: 0; animation: fadeIn 1s 1s ease forwards; }
.hf-item { display: flex; flex-direction: column; gap: 4px; }
.hf-item:last-child { align-items: flex-end; text-align: right; }
.hf-tag { font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-or); }
.hf-val { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--text-main); }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-mut); }
.scroll-dot { width: 6px; height: 6px; background: var(--accent-bl); border-radius: 50%; animation: bounce 2s infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* ─── SHARED ─── */
.section-pad { padding: 130px 52px; }
.wrap { max-width: 1100px; margin: 0 auto; }
.sec-eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bl); margin-bottom: 16px; display: block; font-weight: 700; }
.sec-h { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 5vw, 70px); line-height: 1.1; color: var(--text-main); letter-spacing: -.02em; margin-bottom: 40px; }
.sec-center { text-align: center; margin-bottom: 64px; }
.sec-center .sec-h { margin-bottom: 16px; }
.sec-sub { font-size: 1.05rem; max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* reveal */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; } .rv-d3 { transition-delay: .3s; }

/* ─── À PROPOS ─── */
#apropos { background: var(--bg-paper); border-radius: 40px 40px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.02); }
.ap-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.ap-photo { position: relative; }
.photo-frame {
  width: 100%; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  background: repeating-linear-gradient(135deg, #EDF1F5 0 12px, #E6EBF1 12px 24px);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  position: relative; box-shadow: 0 30px 60px rgba(15,23,42,.08);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { font-family: var(--mono); font-size: .72rem; color: var(--text-mut); text-align: center; line-height: 1.7; padding: 20px; }
.photo-badge { position: absolute; bottom: -16px; left: 24px; background: var(--text-main); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; padding: 10px 16px; border-radius: 12px; box-shadow: 0 12px 24px rgba(15,23,42,.18); }
.photo-badge b { color: var(--accent-or); }

.bio-lead { font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; color: var(--text-main); margin-bottom: 24px; }
.bio-body { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; line-height: 1.8; margin-bottom: 28px; }
.bio-body strong { color: var(--text-main); font-weight: 700; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font-family: var(--mono); font-size: .75rem; color: var(--accent-bl); background: rgba(30,58,95,.05); border: 1px solid rgba(30,58,95,.18); padding: 8px 16px; border-radius: 50px; transition: all .3s ease; }
.chip:hover { background: var(--accent-bl); color: #fff; transform: translateY(-3px); }

/* ─── COMPÉTENCES ─── */
#competences { background: var(--bg-nacre); }
.acc { list-style: none; max-width: 920px; margin: 0 auto; }
.acc-item { background: var(--bg-paper); border-radius: 18px; margin-bottom: 16px; border: 1px solid var(--border); transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.acc-item:hover { box-shadow: 0 12px 30px rgba(0,0,0,.05); transform: translateY(-2px); border-color: rgba(0,212,255,.5); }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 22px; padding: 28px 32px; background: none; border: none; cursor: pointer; text-align: left; }
.acc-num { font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--accent-or); width: 36px; flex-shrink: 0; }
.acc-headings { flex: 1; }
.acc-title { font-family: var(--sans); font-weight: 700; font-size: clamp(17px, 1.9vw, 22px); color: var(--text-main); line-height: 1.25; }
.acc-level { font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; color: var(--accent-bl); margin-top: 6px; display: inline-flex; align-items: center; gap: 7px; }
.acc-level::before { content:''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bl); }
.lvl-strong .acc-level { color: var(--ok); } .lvl-strong .acc-level::before { background: var(--ok); }
.lvl-mid .acc-level { color: var(--teal); } .lvl-mid .acc-level::before { background: var(--teal); }
.acc-plus { width: 40px; height: 40px; background: var(--bg-nacre); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.2rem; color: var(--text-main); transition: all .3s ease; flex-shrink: 0; }
.acc-item.open .acc-plus { transform: rotate(45deg); background: var(--accent-or); color: #fff; }
.acc-item.open { border-color: var(--accent-or); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .55s ease; }
.acc-item.open .acc-panel { max-height: 1400px; }
.acc-inner { padding: 0 32px 32px 90px; }
.acc-desc { font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.acc-block { margin-bottom: 22px; }
.acc-block h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.acc-block h4::after { content:''; flex:1; height:1px; background: var(--border); }
.acc-block.proof h4 { color: var(--accent-bl); }
.acc-block.eval h4 { color: var(--ok); }
.trace-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.trace-list li { font-size: .95rem; line-height: 1.6; padding-left: 20px; position: relative; }
.trace-list li::before { content:'▸'; position: absolute; left: 0; color: var(--accent-or); }
.trace-list li strong { color: var(--text-main); font-weight: 700; }
.proof-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ptag { font-family: var(--mono); font-size: .72rem; background: var(--bg-nacre); border: 1px solid var(--border); color: var(--text-main); padding: 6px 12px; border-radius: 8px; }
.proof-link { font-family: var(--mono); font-size: .78rem; color: var(--accent-bl); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 500; }
.proof-link:hover { text-decoration: underline; }
.acc-eval { font-size: .96rem; line-height: 1.75; font-style: italic; color: var(--text-main); border-left: 3px solid var(--ok); padding-left: 18px; }

/* ─── PROJETS ─── */
#projets { background: var(--bg-paper); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter-btn { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--text-mut); background: var(--bg-nacre); border: 1px solid var(--border); padding: 9px 18px; border-radius: 50px; cursor: pointer; transition: all .25s ease; }
.filter-btn:hover { border-color: var(--accent-bl); color: var(--text-main); }
.filter-btn.active { background: var(--text-main); color: #fff; border-color: var(--text-main); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.proj-card { background: var(--bg-nacre); border: 1px solid var(--border); border-radius: 20px; padding: 30px; transition: all .35s cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column; }
.proj-card.hide { display: none; }
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,23,42,.08); border-color: rgba(0,212,255,.5); }
.proj-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.proj-code { font-family: var(--mono); font-size: .72rem; color: var(--accent-or); font-weight: 700; }
.proj-meta { font-family: var(--mono); font-size: .68rem; color: var(--text-mut); text-align: right; line-height: 1.6; }
.proj-title { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; color: var(--text-main); line-height: 1.25; margin-bottom: 12px; }
.proj-desc { font-size: .92rem; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.proj-tech span { font-family: var(--mono); font-size: .68rem; color: var(--text-mut); background: var(--bg-paper); border: 1px solid var(--border); padding: 5px 10px; border-radius: 6px; }
.proj-comps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.proj-comps span { font-family: var(--mono); font-size: .66rem; font-weight: 700; color: var(--accent-bl); background: rgba(30,58,95,.07); padding: 4px 9px; border-radius: 6px; }
.proj-foot { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.proj-learn { font-size: .86rem; line-height: 1.6; }
.proj-learn b { color: var(--text-main); }
.proj-link { font-family: var(--mono); font-size: .76rem; font-weight: 600; color: var(--accent-bl); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; }
.proj-link:hover { gap: 11px; }

/* ─── CERTIFICATIONS ─── */
#certifs { background: var(--bg-nacre); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cert-card { background: var(--bg-paper); border: 1px solid var(--border); border-radius: 18px; padding: 26px; transition: all .3s ease; }
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.05); border-color: rgba(0,212,255,.5); }
.cert-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: 18px; }
.cert-card h3 { font-family: var(--sans); font-weight: 800; font-size: 1.12rem; color: var(--text-main); margin-bottom: 4px; }
.cert-where { font-family: var(--mono); font-size: .74rem; color: var(--accent-or); margin-bottom: 12px; }
.cert-card p { font-size: .9rem; line-height: 1.6; }
.cert-status { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: .68rem; padding: 4px 10px; border-radius: 50px; }
.st-done { background: rgba(22,163,74,.1); color: var(--ok); }
.st-prog { background: rgba(30,58,95,.1); color: var(--accent-bl); }

/* ─── FORMATION ─── */
#formation { background: var(--bg-paper); border-radius: 40px; margin: 0 20px 40px; box-shadow: 0 10px 40px rgba(0,0,0,.03); }
.tl { position: relative; max-width: 820px; margin: 0 auto; }
.tl::before { content:''; position: absolute; left: 20px; top: 10px; bottom: 0; width: 2px; background: var(--border); }
.tl-entry { position: relative; margin-bottom: 56px; padding-left: 60px; }
.tl-entry:last-child { margin-bottom: 0; }
.tl-entry::before { content:''; position: absolute; left: 14px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-bl); border: 4px solid var(--bg-paper); box-shadow: 0 0 0 2px var(--accent-bl); transition: all .3s ease; }
.tl-entry:hover::before { background: var(--accent-cyan); box-shadow: 0 0 0 2px var(--accent-cyan), 0 0 15px rgba(0,212,255,.5); transform: scale(1.2); }
.tl-year { font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--accent-or); margin-bottom: 8px; }
.tl-title { font-family: var(--sans); font-weight: 800; font-size: 1.5rem; color: var(--text-main); margin-bottom: 4px; }
.tl-where { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--text-mut); margin-bottom: 14px; }

/* ─── CONTACT ─── */
#contact { background: var(--text-main); color: #fff; border-radius: 40px 40px 0 0; padding: 100px 52px 40px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 72px; }
.contact-cta { font-family: var(--sans); font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; margin-bottom: 32px; }
.contact-cta span { color: var(--accent-soft); }
.c-link { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; transition: all .3s ease; }
.c-link:hover { padding-left: 16px; border-bottom-color: var(--accent-soft); }
.c-lbl { font-family: var(--mono); font-size: .72rem; color: #94A3B8; margin-bottom: 4px; display: block; }
.c-val { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
.c-arrow { color: var(--accent-soft); opacity: 0; transform: translateX(-10px); transition: all .3s ease; }
.c-link:hover .c-arrow { opacity: 1; transform: translateX(0); }

.form-box { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; margin-bottom: 8px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #fff; font-family: var(--sans); font-size: .95rem; transition: all .25s ease;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #64748B; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent-soft); background: rgba(255,255,255,.07); box-shadow: 0 0 0 4px rgba(91,143,214,.15); }
.form-row.invalid input, .form-row.invalid textarea { border-color: var(--err); }
.field-err { font-family: var(--mono); font-size: .72rem; color: #FCA5A5; margin-top: 6px; min-height: 1em; display: block; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.submit-btn { font-family: var(--sans); font-weight: 700; font-size: .92rem; background: #fff; color: var(--accent-bl); padding: 15px 32px; border-radius: 50px; border: none; cursor: pointer; transition: all .3s ease; box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.3); }
.form-note { font-family: var(--mono); font-size: .72rem; color: #64748B; }
.form-status { margin-top: 18px; font-family: var(--sans); font-size: .92rem; padding: 0; border-radius: 12px; max-height: 0; overflow: hidden; transition: all .4s ease; }
.form-status.show { padding: 14px 18px; max-height: 120px; }
.form-status.ok { background: rgba(22,163,74,.15); color: #86EFAC; border-left: 3px solid var(--ok); }
.form-status.bad { background: rgba(220,38,38,.15); color: #FCA5A5; border-left: 3px solid var(--err); }

.cv-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 700; font-size: .9rem; background: #fff; color: var(--accent-bl); padding: 16px 32px; border-radius: 50px; text-decoration: none; transition: all .3s ease; box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.cv-btn:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,.3); }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--mono); font-size: .75rem; color: #64748B; flex-wrap: wrap; }
.footer a { color: #94A3B8; text-decoration: none; }
.footer a:hover { color: var(--accent-cyan); }

/* ─── PAGE FOOTER (pages autres que contact) ─── */
.page-footer {
  padding: 24px 52px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--text-mut);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.page-footer a { color: var(--text-mut); text-decoration: none; }
.page-footer a:hover { color: var(--accent-bl); }

/* sr-only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(248,249,250,.98); backdrop-filter: blur(12px); padding: 12px 24px 24px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .burger { display: flex; }
  .section-pad { padding: 90px 24px; }
  #hero { padding: 110px 24px 0; }
  .hero-foot { padding: 22px 24px; }
  .ap-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .ap-photo { max-width: 320px; }
  .acc-inner { padding: 0 24px 28px 24px; }
  .acc-btn { padding: 22px 22px; }
  #contact { padding: 80px 24px 32px; }
  #formation { margin: 0 12px 24px; }
  .page-footer { padding: 20px 24px; }
}
@media (max-width: 480px) {
  .hero-foot { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .hf-item:last-child { align-items: flex-start; text-align: left; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .aura { display: none; }
}
@media print { .bg-auras, #cur, #cur-o, #sprog, nav, #cv { display: none !important; } }
