/* Typographie locale : aucune requête vers un service de polices. */
@font-face { font-family:Portfolio; src:url('assets/fonts/open-sans-regular.woff') format('woff'); font-weight:400; font-display:swap; }
@font-face { font-family:Portfolio; src:url('assets/fonts/open-sans-bold.woff') format('woff'); font-weight:700; font-display:swap; }
@font-face { font-family:Portfolio; src:url('assets/fonts/open-sans-display.woff') format('woff'); font-weight:800; font-display:swap; }
:root {
  --paper:#f6f7fb; --white:#fff; --ink:#172035; --muted:#5d6577;
  --blue:#3655e8; --line:#dce1ec; --lime:#d7f378; --dark:#0b1020;
  --max:1240px; --radius:20px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:105px; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 16px/1.7 Portfolio,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
button,a { -webkit-tap-highlight-color:transparent; }
img,svg { max-width:100%; }
img { display:block; height:auto; }
[hidden] { display:none!important; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #6b85ff; outline-offset:5px; }
::selection { background:var(--lime); color:var(--dark); }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { line-height:1.14; letter-spacing:-.045em; }
h2 { font-size:clamp(38px,4.25vw,60px); font-weight:800; margin-bottom:0; }
h3 { font-size:25px; font-weight:700; }
.container { width:min(calc(100% - 104px),var(--max)); margin-inline:auto; }
.icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.icon { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; flex-shrink:0; }
.inline-arrow { width:15px; height:15px; }
.arrow-down-right { transform:rotate(90deg); }
.arrow-down { transform:rotate(135deg); width:17px; height:17px; }
.art-word .icon { width:30px; height:30px; }
.skip-link { position:fixed; left:20px; top:-100px; padding:12px 24px; background:var(--blue); color:white; z-index:100; }
.skip-link:focus { top:12px; }
.blue { color:var(--blue); }
.muted { color:var(--muted); }
.mono { font:12px/1.6 'Courier New',monospace; letter-spacing:.055em; }
.eyebrow { font:700 12px/1.6 'Courier New',monospace; letter-spacing:.12em; text-transform:uppercase; margin:0 0 22px; display:flex; align-items:center; gap:11px; }
.status-dot { width:7px; height:7px; display:inline-block; background:var(--blue); border-radius:50%; box-shadow:0 0 0 5px #3655e810; flex-shrink:0; }
.serif { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-style:italic; color:var(--blue); }
.button { min-height:54px; padding:15px 24px; border:1px solid transparent; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; gap:23px; font-size:14px; font-weight:700; transition:background .2s,transform .2s,box-shadow .2s; line-height:1.5; }
.button:hover { transform:translateY(-3px); }
.button-primary { background:var(--blue); color:white; box-shadow:0 8px 26px #3655e825; }
.button-primary:hover { background:#2848d7; box-shadow:0 12px 30px #3655e835; }
.button-text { gap:12px; padding-inline:13px; }
.button-text:hover { background:#ffffff0c; }
.button-dark { background:var(--ink); color:white; }
.button-dark:hover { background:#283955; }
.button-outline { background:transparent; border-color:#adb5c5; }
.text-link { font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:10px; }
.text-link:hover { color:var(--blue); text-decoration:underline; text-underline-offset:6px; }

/* Accueil contrasté et objet 3D manipulable, avec commandes accessibles. */
.header { position:sticky; top:0; z-index:30; background:#0b1020ef; color:#f4f6ff; backdrop-filter:blur(18px); border-bottom:1px solid #ffffff12; }
.header-inner { height:84px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { font-size:33px; font-weight:800; letter-spacing:-3px; line-height:1; padding-right:5px; }
.brand-slash { color:#8fa4ff; font-weight:400; padding-inline:2px; }
.brand-dot { color:var(--lime); }
.nav { display:flex; align-items:center; gap:34px; font-size:13px; }
.nav>a { padding-block:10px; }
.nav a:hover,.nav a[aria-current='location'] { color:var(--lime); }
.nav>a>span { font:10px 'Courier New',monospace; vertical-align:super; color:#a0aac2; margin-left:3px; }
.nav-contact { display:flex; align-items:center; gap:18px; margin-left:12px; border:1px solid #ffffff30; border-radius:7px; padding-inline:18px; }
.nav-contact .icon { width:15px; height:15px; }
.menu-toggle { background:none; border:1px solid #ffffff30; border-radius:7px; padding:8px 13px; font-size:13px; }
.hero-shell { background:radial-gradient(ellipse at 82% 28%,#273b763d,transparent 53%),var(--dark); color:#f8f9ff; overflow:hidden; }
.hero { display:grid; grid-template-columns:1.08fr 1fr; gap:0 52px; padding-top:76px; position:relative; }
.hero-copy { padding-bottom:62px; position:relative; z-index:2; }
.hero .eyebrow { color:#b5c0dc; }
.hero .status-dot { background:var(--lime); box-shadow:0 0 0 5px #d7f37810; }
.hero h1 { font-size:clamp(78px,8.5vw,122px); font-weight:800; line-height:.98; margin:23px 0 30px; letter-spacing:-.075em; }
.hero h1 .blue { color:#7791ff; }
.hero-tagline { font-size:23px; line-height:1.5; letter-spacing:-.035em; margin-bottom:20px; }
.hero .muted { color:#a6b2cc; }
.hero-description { max-width:435px; font-size:15px; line-height:1.85; color:#aeb9d1; margin-bottom:28px; }
.hero-actions { display:flex; align-items:center; gap:14px; }
.hero .button-primary { background:var(--lime); color:#172117; box-shadow:0 8px 24px #d7f3780b; }
.hero .button-primary:hover { background:#e7ff9e; }
.hero-social { display:flex; align-items:center; flex-wrap:wrap; gap:17px; margin-top:31px; font-size:12px; color:#a7b3ce; }
.hero-social a { display:flex; gap:9px; align-items:center; }
.hero-social a:hover { color:white; }
.hero-social .icon { width:16px; height:16px; }
.small-separator { width:1px; height:15px; background:#ffffff25; }
.hero-visual { min-width:0; position:relative; display:flex; flex-direction:column; padding:5px 0 59px; }
.visual-top,.visual-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; position:relative; z-index:2; }
.visual-top { color:#92a5d6; }
.visual-top .mono:last-child { font-size:10px; color:#8e9bb8; }
.scene-wrap { position:relative; flex:1; min-height:428px; display:grid; place-items:center; }
.scene-wrap:before { content:''; position:absolute; width:85%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,#5271ff24,transparent 70%); pointer-events:none; }
.scene-grid { position:absolute; inset:20px -20px; background-image:radial-gradient(#7795e84f .8px,transparent .8px); background-size:23px 23px; mask-image:radial-gradient(ellipse at center,black 25%,transparent 70%); }
.scene-orbit { position:absolute; width:94%; height:50%; top:27%; border:1px solid #a6bcff23; border-radius:50%; pointer-events:none; }
.orbit-one { transform:rotate(-26deg); }
.orbit-two { transform:rotate(45deg); border-color:#a6bcff12; }
#scene { position:absolute; inset:0; width:100%; height:100%; touch-action:pan-y; cursor:grab; }
#scene:active { cursor:grabbing; }
.floating-tag { position:absolute; display:flex; align-items:center; gap:10px; padding:11px 15px; background:#1b2740ed; border:1px solid #93acf231; border-radius:9px; font-size:12px; color:#e6edff; box-shadow:0 12px 28px #0003; pointer-events:none; backdrop-filter:blur(8px); }
.floating-tag .blue { color:#9eb5ff; font-weight:700; font-size:18px; }
.tag-code { top:14%; right:0; transform:rotate(6deg); }
.tag-idea { bottom:15%; left:0; transform:rotate(-7deg); }
.tag-spark { color:var(--lime); font-size:29px; font-weight:400; line-height:1; }
.visual-bottom { border-top:1px solid #ffffff1c; padding-top:20px; }
.scene-hint { font-size:12px; line-height:1.7; }
.scene-controls { display:flex; gap:9px; }
.scene-controls button { width:41px; height:41px; padding:0; display:grid; place-items:center; border:1px solid #ffffff2c; background:#ffffff05; border-radius:50%; font:15px Arial,sans-serif; }
.scene-controls button:hover { background:#334a91; border-color:#6d87e4; }
.scene-controls .icon { width:18px; height:18px; }
.scene-fallback { font:22px monospace; color:#a5b7ff; }
.hero-footer { grid-column:1/-1; border-top:1px solid #ffffff1c; padding:23px 0; display:flex; justify-content:space-between; align-items:center; color:#95a3c0; }
.hero-footer a { display:flex; align-items:center; gap:14px; font-size:12px; color:#d2dbef; }
.hero-footer>.mono:last-child { font-size:10px; }

/* Cartes illustrées : une présentation commune, un visuel propre à chaque projet. */
.section { padding:108px 0; }
.projects-section { background:var(--paper); }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:35px; margin-bottom:45px; }
.section-heading>p { font-size:14px; line-height:1.9; max-width:340px; color:var(--muted); margin-bottom:4px; }
.project-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:31px; }
.filters { display:flex; flex-wrap:wrap; gap:6px; }
.filters button { background:transparent; border:1px solid transparent; border-radius:7px; padding:11px 17px; font-size:13px; }
.filters button:hover { background:#e8ecf5; }
.filters button[aria-pressed='true'] { background:var(--ink); color:white; }
.filters button span { font:10px 'Courier New',monospace; margin-left:7px; opacity:.75; }
.project-toolbar>.mono { white-space:nowrap; color:var(--muted); }
.project-grid { display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:start; }
.project-card { min-width:0; border:1px solid #dfe4ee; border-radius:var(--radius); background:white; padding:12px; transition:transform .25s,box-shadow .25s,border-color .25s; }
.project-card:hover { transform:translateY(-5px); border-color:#b2c0ed; box-shadow:0 20px 40px #1720350c; }
.project-art { height:294px; position:relative; overflow:hidden; border-radius:12px; isolation:isolate; }
.art-label,.art-corner,.art-note { position:absolute; z-index:3; font:10px/1.4 'Courier New',monospace; letter-spacing:.045em; }
.art-label { top:22px; left:23px; }
.art-corner { bottom:21px; left:23px; }
.art-note { bottom:21px; right:19px; opacity:.8; font-size:9px; }
.card-content { padding:24px 16px 14px; }
.card-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font:11px/1.6 'Courier New',monospace; color:var(--muted); margin-bottom:13px; }
.card-title { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:14px; }
.card-title h3 { font-size:27px; margin:0; }
.circle-link { width:42px; height:42px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; flex-shrink:0; background:var(--paper); transition:background .2s,color .2s; }
.circle-link:hover { color:white; background:var(--blue); border-color:var(--blue); }
.circle-link .icon { width:18px; height:18px; }
.card-content>p { font-size:14px; line-height:1.85; color:var(--muted); margin-bottom:21px; }
.card-content details { border-top:1px solid var(--line); padding-top:12px; }
.card-content summary,.early-projects summary { list-style:none; font-size:13px; font-weight:700; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:15px; padding-block:4px; }
.card-content summary::-webkit-details-marker,.early-projects summary::-webkit-details-marker { display:none; }
.card-content summary span,.early-projects summary span { font-size:22px; font-weight:400; transition:transform .2s; }
details[open] summary span { transform:rotate(45deg); }
.card-content details ul { padding-left:18px; font-size:13px; color:var(--muted); line-height:1.85; }
.card-content details p { font-size:13px; color:var(--muted); }
.card-content details .text-link { font-size:12px; color:var(--blue); margin:4px 0 7px; }
.private-label { color:#7c5921; }
.github-footer { display:flex; width:fit-content; margin:45px auto 0; border-bottom:1px solid #aab3c5; padding-bottom:8px; }
.art-shooting {
  background:#e3e9fe;
  color:#2344db
}
.target-art {
  position:absolute;
  width:224px;
  height:224px;
  border:1px solid #2548ed3d;
  left:50%;
  top:50%;
  transform:translate(-50%,-46%) rotateX(25deg) rotate(-22deg);
  border-radius:50%;
  box-shadow:0 20px 0 #2548ed09,0 40px 0 #2548ed05
}
.target-art i {
  position:absolute;
  border:20px solid var(--blue);
  border-radius:50%;
  inset:22px;
  box-shadow:0 8px 0 #1532bb
}
.target-art i:nth-child(2) {
  inset:65px;
  border-width:14px
}
.target-art i:nth-child(3) {
  inset:103px;
  border-width:7px;
  background:var(--lime);
  border-color:var(--lime);
  box-shadow:none
}
.target-art b {
  position:absolute;
  right:-20px;
  top:22px;
  color:#172956;
  font-size:55px;
  font-weight:400
}
.art-trip {
  background:#e7eddb;
  color:#284d37
}
.art-trip > svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  fill:#e7eddb;
  stroke:#86a375;
  stroke-width:2
}
.art-trip .map-path {
  stroke-dasharray:7 7;
  fill:none
}
.art-trip .map-contour {
  opacity:.25;
  fill:none
}
.art-trip .plane {
  fill:#305337;
  stroke:none
}
.art-word {
  position:absolute;
  font-size:54px;
  font-weight:500;
  letter-spacing:-3px;
  top:85px;
  left:45px;
  transform:rotate(-7deg);
  line-height:1.1
}
.art-word span {
  font-family:Georgia,serif;
  font-style:italic
}
.art-word sup {
  font-size:30px;
  vertical-align:super
}
.art-music {
  background:#efe9df;
  color:#574733
}
.record {
  position:absolute;
  width:240px;
  height:240px;
  right:50px;
  top:25px;
  background:repeating-radial-gradient(circle,#26312d 0 2px,#303b35 3px 4px);
  border-radius:50%;
  box-shadow:15px 13px 22px #1e2b2a26
}
.record b {
  position:absolute;
  inset:79px;
  background:#e6b383;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  font-size:29px;
  color:#242d27;
  line-height:1.2;
  letter-spacing:-2px;
  font-weight:500
}
.record small {
  font:8px "Courier New",monospace;
  letter-spacing:1px
}
.record i {
  position:absolute;
  inset:6px;
  border:1px solid #b7bbaa21;
  border-radius:50%
}
.api-chip {
  position:absolute;
  left:30px;
  top:130px;
  background:#f9f7ed;
  border:1px solid #e3dfd3;
  padding:16px 20px;
  font:13px "Courier New",monospace;
  box-shadow:0 8px 16px #46322210;
  transform:rotate(-7deg);
  border-radius:6px
}
.api-chip b {
  color:#6e7a63;
  margin-left:16px
}
.art-chat {
  background:#f0e5f1;
  color:#694c70
}
.chat-bubble {
  position:absolute;
  border-radius:22px 22px 4px 22px;
  box-shadow:0 9px 0 #583f6410
}
.bubble-one {
  left:12%;
  top:82px;
  background:#fff;
  padding:17px 27px;
  font-size:31px;
  transform:rotate(-6deg);
  display:flex;
  gap:35px;
  align-items:center;
  letter-spacing:-1px
}
.bubble-one span {
  color:#9670a0;
  font-size:26px
}
.bubble-two {
  right:13%;
  top:169px;
  background:#8a5e96;
  padding:22px 34px;
  display:flex;
  gap:10px;
  transform:rotate(6deg);
  border-radius:22px 22px 22px 4px
}
.bubble-two i {
  width:9px;
  height:9px;
  border-radius:50%;
  background:#eee0f2
}
.art-pendu {
  background:#eeeeb0;
  color:#3c481d
}
.letter-game {
  position:absolute;
  display:flex;
  gap:11px;
  inset:82px 20px auto;
  justify-content:center;
  transform:rotate(-5deg)
}
.letter-game span {
  background:#f8f8d7;
  border:1px solid #b3bf6940;
  box-shadow:0 7px 0 #b4bf73;
  width:66px;
  height:86px;
  border-radius:6px;
  display:grid;
  place-items:center;
  font:52px/1 Georgia,serif
}
.letter-game span:nth-child(3) {
  background:#bbcd77;
  transform:translateY(-13px) rotate(10deg)
}
.letter-options {
  position:absolute;
  top:207px;
  left:0;
  right:0;
  text-align:center;
  letter-spacing:6px;
  font:11px "Courier New",monospace
}
.art-vacances {
  background:#e3edf0;
  color:#365b64
}
.sun-art {
  position:absolute;
  right:40px;
  top:12px;
  font-size:205px;
  line-height:1.1;
  color:#9cb8bf
}
.vacances-word {
  font-size:39px;
  line-height:1.08;
  position:absolute;
  top:100px;
  left:40px;
  letter-spacing:-2px;
  font-weight:500;
  transform:rotate(-5deg)
}
.vacances-word span {
  display:block;
  font-family:Georgia,serif;
  font-style:italic
}
.art-shooting { background:radial-gradient(circle at 60% 30%,#eef2ff,#dce4ff); }
.art-trip { background:linear-gradient(130deg,#edf4e2,#dae7ce); }
.art-music { background:linear-gradient(135deg,#f3eade,#e7d7c7); }
.art-chat { background:linear-gradient(135deg,#f5ebfa,#e7d9ef); }
.art-pendu { background:linear-gradient(135deg,#f5f5cb,#e6eba3); }
.art-vacances { background:linear-gradient(135deg,#e8f2f5,#d0e3e9); }
.sun-art { width:210px; height:210px; fill:none; stroke:#94b5c0; stroke-width:12px; }

/* Expérience : trois missions, séparées des dépôts personnels. */
.experience-section { background:#111a30; color:#eef3ff; position:relative; }
.experience-section .eyebrow { color:#a6b7df; }
.experience-section h2 .serif { color:var(--lime); }
.stage-label { font:700 21px 'Courier New',monospace; letter-spacing:.045em; }
.stage-label .status-dot { background:var(--lime); margin-right:6px; }
.stage-label p { font:13px/1.9 Portfolio,Arial,sans-serif; color:#aebcda; margin:16px 0 0; letter-spacing:0; }
.experience-intro { display:grid; grid-template-columns:1fr 2fr; gap:45px; border-top:1px solid #ffffff22; padding:32px 0 42px; }
.experience-intro>.mono { color:#a4b7dd; font-size:11px; padding-top:5px; }
.experience-intro>p { font-size:19px; line-height:1.8; margin:0; max-width:740px; color:#ccd7ed; }
.mission { display:grid; grid-template-columns:52px 1fr 208px; align-items:center; gap:25px; padding:35px 0; border-top:1px solid #ffffff22; }
.mission-number { align-self:start; font:13px 'Courier New',monospace; color:var(--lime); padding-top:6px; }
.mission h3 { font-size:25px; margin-bottom:14px; }
.mission p { color:#b3c0dc; font-size:14px; line-height:1.85; margin-bottom:18px; max-width:690px; }
.tags { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:7px; }
.tags li { font:11px/1.5 'Courier New',monospace; color:#c9d6f4; border:1px solid #ffffff26; padding:5px 10px; border-radius:5px; background:#ffffff04; }
.mission-visual { width:190px; justify-self:end; }
.xml-visual { background:#ffffff04; border:1px solid #ffffff20; border-radius:8px; padding:17px; font:11px/2 'Courier New',monospace; transform:rotate(4deg); display:flex; flex-direction:column; color:#c9d6f4; }
.xml-visual .added { color:var(--lime); }
.xml-visual .removed { color:#eeaeaa; }
.mesh-visual { height:150px; }
.mesh-visual svg { fill:none; stroke:#9aafe9; stroke-width:1.1; }
.mesh-visual .mesh-cut { fill:var(--lime); stroke:var(--lime); }
.table-visual { display:flex; justify-content:center; align-items:center; gap:19px; color:var(--lime); }
.sheet-symbol { width:48px; height:48px; fill:none; stroke:currentColor; stroke-width:2; }
.web-symbol { font:25px 'Courier New',monospace; }
.experience-note { font-size:12px; color:#9dacce; border-top:1px solid #ffffff22; padding-top:21px; margin-bottom:0; }

/* Compétences et parcours : hiérarchie lisible, sans jauges de niveau inventées. */
.skills-section { background:#fff; }
.skill-row { display:grid; grid-template-columns:42px 230px 1fr; gap:23px; padding:29px 0; border-top:1px solid var(--line); }
.skill-row:last-child { border-bottom:1px solid var(--line); }
.skill-index { font:12px 'Courier New',monospace; color:var(--blue); padding-top:6px; }
.skill-row h3 { font-size:22px; margin:0; padding-top:2px; }
.skill-row p { font-size:15px; line-height:1.85; margin:0; }
.skill-row .skill-sub { font-size:13px; color:var(--muted); margin-top:8px; }
.about-section { border-top:1px solid var(--line); }
.about-layout { display:grid; grid-template-columns:.75fr 1.25fr; gap:90px; align-items:start; }
.about-photo { position:relative; margin-top:15px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:15px 15px 53px; transform:rotate(-3deg); box-shadow:0 18px 40px #17203512; }
.about-photo img { width:100%; aspect-ratio:356/464; object-fit:cover; border-radius:7px; }
.photo-caption { position:absolute; bottom:18px; left:19px; color:var(--muted); }
.photo-sticker { position:absolute; right:-24px; bottom:55px; padding:19px; background:var(--lime); color:var(--dark); font:italic 20px/1.25 Georgia,serif; transform:rotate(9deg); box-shadow:0 3px 8px #0001; }
.photo-sticker .icon { width:17px; height:17px; }
.about-copy h2 { font-size:43px; margin-bottom:27px; }
.about-copy>p:not(.eyebrow) { font-size:14px; line-height:1.9; color:var(--muted); }
.timeline { list-style:none; padding:8px 0 0; margin:22px 0; }
.timeline li { display:grid; grid-template-columns:105px 1fr; gap:18px; border-top:1px solid var(--line); padding:18px 0; }
.timeline time { font:11px/1.6 'Courier New',monospace; color:var(--muted); padding-top:4px; }
.timeline h3 { font-size:15px; line-height:1.55; letter-spacing:-.02em; margin:0; }
.timeline p { font-size:13px; line-height:1.6; color:var(--muted); margin:5px 0 0; }
.early-projects { border-block:1px solid var(--line); padding-block:10px; }
.early-projects p { font-size:13px; line-height:1.8; color:var(--muted); margin:12px 0 7px; }

/* Le CV original reste un fichier local visible et téléchargeable. */
.cv-section { background:#e7edff; padding:70px 0; overflow:hidden; border-block:1px solid #d5dff7; }
.cv-layout { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.cv-layout h2 { margin-bottom:24px; }
.cv-layout p:not(.eyebrow) { font-size:15px; max-width:380px; color:#4f5d7a; margin-bottom:27px; }
.cv-open { display:flex; width:fit-content; margin-top:20px; font-size:13px; }
.cv-preview { width:300px; max-width:100%; justify-self:center; position:relative; transform:rotate(5deg); box-shadow:0 25px 55px #2238652b; border:7px solid #fff; border-radius:4px; transition:transform .3s; background:white; }
.cv-preview:hover { transform:rotate(1deg) translateY(-4px); }
.cv-preview>img { width:100%; }
.cv-preview>span { position:absolute; bottom:-18px; left:-22px; right:-22px; background:var(--blue); color:#fff; padding:12px 18px; display:flex; justify-content:space-between; font:11px 'Courier New',monospace; align-items:center; border-radius:5px; box-shadow:0 5px 15px #24387d25; }
.cv-preview .icon { width:15px; height:15px; }
.contact-section { background:white; padding-bottom:75px; }
.contact-section h2 { font-size:clamp(40px,5.2vw,73px); position:relative; max-width:1100px; }
.contact-star { width:82px; height:82px; fill:none; stroke:var(--blue); stroke-width:10; position:absolute; right:0; bottom:5px; }
.contact-bottom { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-top:42px; }
.contact-bottom p { font-size:14px; color:var(--muted); margin-bottom:15px; }
.email-link { display:inline-flex; align-items:center; gap:20px; font-size:clamp(17px,2.2vw,27px); letter-spacing:-.035em; border-bottom:1px solid var(--ink); padding-bottom:6px; overflow-wrap:anywhere; }
.email-link:hover { color:var(--blue); border-color:var(--blue); }
.copy-status { font-size:13px; min-height:22px; color:var(--blue); margin:15px 0 0; }
.footer { background:var(--dark); color:#a6b3cf; padding:30px 0; }
.footer-inner { display:flex; align-items:center; gap:30px; font-size:12px; }
.footer-inner .brand { color:white; font-size:30px; }
.footer-inner>span { margin-right:auto; }
.footer-inner>a:last-child { margin-left:20px; }

/* Animations brèves ; la scène possède sa commande pause. */
@media(prefers-reduced-motion:no-preference) {
  .project-card.is-entering { animation:enter .55s ease-out both; }
  .hero-copy { animation:enter .7s ease-out both; }
  .hero-visual { animation:enter .9s ease-out both; }
  @keyframes enter { from { transform:translateY(18px); opacity:.25; } to { transform:translateY(0); opacity:1; } }
}
@media(max-width:1100px) {
  .container { width:calc(100% - 64px); }
  .hero { gap:0 30px; padding-top:60px; }
  .hero h1 { font-size:92px; }
  .hero-tagline { font-size:21px; }
  .hero-description { font-size:14px; }
  .hero-actions { gap:8px; flex-wrap:wrap; }
  .button { padding-inline:18px; gap:17px; }
  .nav { gap:24px; }
  .nav-contact { margin-left:0; }
  .project-art { height:260px; }
  .record { right:25px; }
  .card-content { padding-inline:10px; }
  .mission { grid-template-columns:35px 1fr 175px; gap:20px; }
  .mission-visual { width:170px; }
  .skill-row { grid-template-columns:30px 205px 1fr; gap:18px; }
  .about-layout { gap:60px; }
  .about-copy h2 { font-size:37px; }
  .contact-star { width:63px; height:63px; }
}
@media(max-width:800px) {
  .container { width:calc(100% - 44px); }
  .header-inner { height:74px; }
  .nav { gap:22px; }
  .nav-contact { display:none; }
  .hero { grid-template-columns:1.1fr .9fr; gap:0 18px; padding-top:50px; }
  .hero h1 { font-size:76px; }
  .hero-tagline { font-size:19px; }
  .hero .eyebrow { font-size:10px; }
  .hero-copy { padding-bottom:42px; }
  .hero-visual { padding-bottom:43px; }
  .scene-wrap { min-height:395px; }
  .visual-top .mono { font-size:10px; }
  .visual-top>.mono:last-child { display:none; }
  .floating-tag { font-size:10px; padding:9px 11px; }
  .tag-code { top:23%; }
  .tag-idea { bottom:23%; }
  .scene-hint { font-size:10px; }
  .scene-controls { gap:5px; }
  .scene-controls button { width:33px; height:33px; }
  .hero-footer>.mono:last-child { display:none; }
  .section { padding:78px 0; }
  .section-heading { gap:25px; }
  .section-heading h2 { font-size:43px; }
  .section-heading>p { max-width:235px; font-size:13px; }
  .project-grid { gap:22px; }
  .project-art { height:230px; }
  .art-label,.art-corner { font-size:8px; left:16px; }
  .art-note { font-size:8px; right:14px; }
  .target-art { width:175px; height:175px; }
  .target-art i { inset:17px; border-width:15px; }
  .target-art i:nth-child(2) { inset:51px; border-width:10px; }
  .target-art i:nth-child(3) { inset:80px; border-width:6px; }
  .art-word { font-size:41px; top:78px; left:25px; }
  .record { width:184px; height:184px; right:18px; top:22px; }
  .record b { inset:61px; font-size:24px; }
  .api-chip { font-size:10px; top:112px; left:14px; padding:12px; }
  .bubble-one { top:65px; font-size:23px; padding:15px 21px; gap:21px; }
  .bubble-two { top:143px; padding:19px 26px; }
  .letter-game { top:72px; gap:9px; }
  .letter-game span { width:48px; height:65px; font-size:36px; }
  .letter-options { top:165px; font-size:9px; }
  .vacances-word { top:80px; left:25px; font-size:34px; }
  .sun-art { width:165px; height:165px; right:20px; }
  .card-meta { font-size:10px; }
  .card-title h3 { font-size:24px; }
  .card-content>p { font-size:13px; }
  .experience-intro { grid-template-columns:1fr; gap:17px; }
  .experience-intro>p { font-size:18px; }
  .mission { grid-template-columns:28px 1fr 125px; gap:14px; }
  .mission-visual { width:120px; }
  .mission h3 { font-size:23px; }
  .xml-visual { padding:8px; font-size:8px; }
  .table-visual { gap:9px; }
  .sheet-symbol { width:38px; }
  .web-symbol { font-size:20px; }
  .skill-row { grid-template-columns:24px 170px 1fr; gap:15px; }
  .skill-row h3 { font-size:19px; }
  .skill-row p { font-size:14px; }
  .about-layout { gap:42px; grid-template-columns:.7fr 1.3fr; }
  .about-copy h2 { font-size:33px; }
  .about-photo { padding:11px 11px 46px; }
  .photo-sticker { right:-17px; font-size:16px; padding:15px; }
  .photo-caption { font-size:10px; }
  .timeline li { grid-template-columns:86px 1fr; gap:12px; }
  .timeline h3 { font-size:14px; }
  .cv-layout { gap:45px; }
  .cv-preview { width:240px; }
  .contact-section h2 { font-size:48px; }
  .contact-star { width:53px; height:53px; }
  .contact-bottom { align-items:flex-start; flex-direction:column; gap:25px; }
  .footer-inner { gap:20px; font-size:11px; }
  .footer-inner>a:last-child { margin-left:0; }
}
@media(max-width:600px) {
  html { scroll-padding-top:90px; }
  .container { width:calc(100% - 40px); }
  .header-inner { height:68px; position:relative; }
  .brand { font-size:30px; }
  .menu-toggle:not([hidden]) { display:flex; align-items:center; gap:15px; }
  .menu-toggle span { font-size:22px; line-height:1; }
  .nav { gap:12px; flex-wrap:wrap; justify-content:flex-end; font-size:11px; }
  .nav.enhanced { display:none; position:absolute; top:68px; left:-20px; right:-20px; background:#111a30; padding:22px 25px 28px; flex-direction:column; align-items:stretch; gap:8px; border-bottom:1px solid #ffffff26; box-shadow:0 14px 20px #0002; font-size:15px; }
  .nav.enhanced.is-open { display:flex; }
  .nav.enhanced .nav-contact { display:flex; justify-content:space-between; margin-top:8px; }
  .hero { display:flex; flex-direction:column; padding-top:42px; }
  .hero .eyebrow { font-size:10px; margin-bottom:24px; letter-spacing:.05em; }
  .hero h1 { font-size:clamp(70px,18vw,96px); margin:0 0 27px; }
  .hero-tagline { font-size:20px; margin-bottom:18px; }
  .hero-description { font-size:14px; max-width:400px; line-height:1.85; }
  .hero-actions { gap:8px; }
  .hero-actions .button { font-size:12px; padding-inline:15px; gap:16px; min-height:52px; }
  .hero-social { gap:12px; font-size:11px; margin-top:25px; }
  .hero-copy { padding-bottom:34px; }
  .hero-visual { width:100%; max-width:460px; align-self:center; padding:0 0 29px; }
  .visual-top>.mono:last-child { display:block; font-size:9px; }
  .scene-wrap { min-height:315px; }
  .tag-code { top:15%; right:0; }
  .tag-idea { bottom:16%; left:0; }
  .floating-tag { font-size:11px; }
  .scene-hint { font-size:11px; }
  .scene-controls button { width:38px; height:38px; }
  .hero-footer { width:100%; padding:20px 0; }
  .hero-footer .mono,.hero-footer a { font-size:10px; }
  .hero-footer a { gap:8px; }
  .section { padding:66px 0; }
  .eyebrow { font-size:11px; margin-bottom:18px; }
  h2,.section-heading h2 { font-size:clamp(34px,9vw,46px); }
  .section-heading { align-items:flex-start; flex-direction:column; gap:22px; margin-bottom:30px; }
  .section-heading>p { max-width:100%; font-size:14px; }
  .section-heading>p br { display:none; }
  .project-toolbar { align-items:flex-start; flex-direction:column; gap:14px; margin-bottom:24px; }
  .filters { gap:4px; }
  .filters button { font-size:11px; padding:9px 10px; }
  .project-grid { grid-template-columns:1fr; gap:24px; }
  .project-card { padding:10px; border-radius:17px; }
  .project-art { height:255px; }
  .card-content { padding:20px 10px 12px; }
  .card-meta { font-size:10px; }
  .card-title h3 { font-size:26px; }
  .card-content>p { font-size:14px; }
  .art-label,.art-corner { font-size:9px; }
  .art-note { font-size:8px; }
  .target-art { width:195px; height:195px; }
  .target-art i { inset:20px; border-width:17px; }
  .target-art i:nth-child(2) { inset:57px; border-width:12px; }
  .target-art i:nth-child(3) { inset:90px; border-width:6px; }
  .art-word { font-size:46px; top:86px; left:25px; }
  .record { width:205px; height:205px; right:25px; top:24px; }
  .record b { inset:68px; font-size:26px; }
  .api-chip { top:125px; font-size:11px; }
  .bubble-one { top:70px; font-size:27px; }
  .bubble-two { top:155px; }
  .letter-game { top:81px; }
  .letter-game span { width:51px; height:68px; font-size:40px; }
  .letter-options { top:181px; }
  .vacances-word { top:95px; font-size:36px; }
  .sun-art { width:185px; height:185px; }
  .github-footer { font-size:12px; gap:8px; }
  .experience-intro { padding:25px 0 30px; }
  .experience-intro>p { font-size:16px; }
  .stage-label { font-size:19px; }
  .stage-label p { margin-top:12px; }
  .mission { grid-template-columns:22px 1fr; gap:12px; padding:28px 0; }
  .mission h3 { font-size:22px; }
  .mission p { font-size:14px; }
  .mission-visual { display:none; }
  .tags li { font-size:10px; }
  .experience-note { font-size:11px; }
  .skill-row { grid-template-columns:22px 1fr; gap:9px 12px; padding:23px 0; }
  .skill-row>div { grid-column:2; }
  .skill-row h3 { font-size:21px; }
  .skill-row p { font-size:14px; }
  .skill-row .skill-sub { font-size:13px; }
  .about-layout { display:flex; flex-direction:column; gap:50px; }
  .about-photo { max-width:280px; width:80%; align-self:center; margin-top:0; }
  .about-copy h2 { font-size:35px; }
  .about-copy>p:not(.eyebrow) { font-size:14px; }
  .timeline li { grid-template-columns:88px 1fr; gap:12px; }
  .timeline h3 { font-size:14px; }
  .timeline p { font-size:12px; }
  .cv-section { padding:60px 0 66px; }
  .cv-layout { grid-template-columns:1fr; gap:48px; }
  .cv-layout h2 { font-size:43px; }
  .cv-preview { width:245px; max-width:83%; }
  .cv-layout p:not(.eyebrow) { font-size:14px; }
  .contact-section h2 { font-size:clamp(32px,8.3vw,43px); }
  .contact-star { position:static; display:block; margin-top:25px; width:44px; height:44px; }
  .contact-bottom { margin-top:28px; gap:23px; }
  .contact-bottom p { font-size:13px; }
  .email-link { font-size:17px; gap:10px; }
  .email-link .icon { width:17px; height:17px; }
  .footer-inner { display:grid; grid-template-columns:auto 1fr; gap:24px 18px; font-size:11px; }
  .footer-inner>span { margin:0; text-align:right; }
  .footer-inner>a:last-child { justify-self:end; }
}
@media(max-width:360px) {
  .container { width:calc(100% - 32px); }
  .hero h1 { font-size:66px; }
  .hero .eyebrow { font-size:9px; }
  .hero-actions .button { padding-inline:12px; gap:11px; }
  .hero-actions .button-text { padding-inline:6px; }
  .art-label,.art-corner { font-size:8px; }
  .art-word { font-size:42px; }
  .email-link { font-size:15px; gap:8px; }
  .nav.enhanced { left:-16px; right:-16px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*:before,*:after { animation:none!important; transition:none!important; }
}
@media print {
  body { background:#fff; color:#111; }
  .header,.hero-visual,.hero-footer,.filters,.project-art,.copy-status,#copy-email,.contact-star { display:none!important; }
  .hero-shell,.experience-section,.cv-section,.footer { background:white; color:#111; }
  .hero { display:block; padding-top:20px; }
  .hero h1 { font-size:55px; }
  .hero-description,.hero .muted,.hero-social,.mission p,.experience-intro>p { color:#333; }
  .section { padding:30px 0; }
  .container { width:100%; }
  .project-grid { display:block; }
  .project-card { break-inside:avoid; margin-bottom:15px; border:1px solid #ccc; }
  .project-card[hidden] { display:block!important; }
  .card-content { padding:12px; }
  .cv-preview { transform:none; box-shadow:none; }
  .about-photo { transform:none; max-width:190px; }
  a[href] { text-decoration:underline; }
}
