/* ── Variables ── */
:root {
  --orange: #f07020;
  --green: #44ff99;
  --bg: #080808;
  --bg2: #181818;
  --bdr: #2a2a2a;
  --txt: #f0eae2;
  --sub: #c0b0a4;
  --muted: #6a6058;
  --mono: "Space Mono", monospace;
  --big: "Bebas Neue", sans-serif;
  --term: "JetBrains Mono", monospace;

  /* Surfaces pilotées par variable → basculent en mode clair */
  --surface: rgba(16, 16, 16, 0.95);
  --surface-hover: rgba(8, 8, 8, 0.95);
  --header-bg: rgba(8, 8, 8, 0.95);
  --term-bg: rgba(4, 7, 5, 0.97);

  /* Couleur de la constellation (triplet RGB lu par makeConstellation) */
  --constellation: 240, 112, 32; /* orange en sombre */
}

/* MODE CLAIR  */
body.light {
  --green: #0e8f4e;
  --bg: #f4f1ea;
  --bg2: #e9e3d8;
  --bdr: #d8cfc1;
  --txt: #1c1815;
  --sub: #5a5048;
  --muted: #9a8f82;

  --surface: #ffffff;
  --surface-hover: #f0ebe1;
  --header-bg: rgba(244, 241, 234, 0.92);
  --term-bg: #fbf8f2;

  --constellation: 22, 138, 138; /* teal en clair — identique au formulaire */
}

body.light::before {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: hidden;
}
/* Scanlines subtiles */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
  z-index: 9000;
}

/* ════════════════════════════════════════
   FOND SOPHISTIQUÉ — constellation canvas
   Appliqué sur hero, projets, contact
════════════════════════════════════════ */
.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* canvas constellation positionné en absolu */
.dark-section canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Tout le contenu des dark-section doit passer au-dessus du canvas */
.dark-section > *:not(canvas) {
  position: relative;
  z-index: 1;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bdr);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.nav-brand img {
  width: 30px;
}
.nav-brand-text {
  font-size: 0.78rem;
  color: var(--txt);
}
.nav-brand-text span {
  color: var(--orange);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--sub);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--orange);
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem 3rem;
  gap: 2.5rem;
}

.terminal-window {
  width: 100%;
  max-width: 860px;
  background: var(--term-bg);
  border: 1px solid rgba(240, 112, 32, 0.18);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 0 transparent,
    0 0 30px rgba(240, 112, 32, 0.1),
    0 0 60px rgba(240, 112, 32, 0.07),
    0 0 100px rgba(240, 112, 32, 0.04),
    0 16px 48px rgba(0, 0, 0, 0.45);
  animation: fade-up 0.5s ease both;
  display: flex;
  flex-direction: column;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.term-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--bdr);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-r {
  background: #ff5f56;
}
.dot-y {
  background: #ffbd2e;
}
.dot-g {
  background: #27c93f;
}
.term-title {
  margin-left: auto;
  font-family: var(--term);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.term-body {
  padding: 1.6rem 2rem 0.4rem 2rem;
  height: clamp(280px, 52vh, 420px);
  font-family: var(--term);
  font-size: 0.84rem;
  line-height: 1.78;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
}
.term-body::-webkit-scrollbar {
  width: 3px;
}
.term-body::-webkit-scrollbar-track {
  background: transparent;
}
.term-body::-webkit-scrollbar-thumb {
  background: rgba(240, 112, 32, 0.3);
  border-radius: 2px;
}
.term-body::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 112, 32, 0.55);
}

/* Couleurs terminal */
.t-orange {
  color: var(--orange);
}
.t-green {
  color: var(--green);
}
.t-muted {
  color: var(--muted);
}
.t-txt {
  color: var(--txt);
}
.t-amber {
  color: #ffbd2e;
}
.t-red {
  color: #ff5f56;
}

.t-caret {
  display: inline-block;
  width: 8px;
  height: 0.88em;
  background: var(--orange);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.85s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.term-input-row {
  display: flex;
  align-items: center;
  gap: 0;
}
#term-input {
  background: none;
  border: none;
  outline: none;
  color: var(--txt);
  font-family: var(--term);
  font-size: 0.84rem;
  flex: 1;
  caret-color: var(--orange);
  padding: 0;
  margin: 0;
}

/* Hero hint — flows naturally below the terminal */
.hero-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  animation: fade-in 0.6s 1s ease forwards;
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}

.hero-hint .hint-line {
  font-family: var(--term);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: center;
}
.hero-hint .hint-line strong {
  color: var(--orange);
  font-weight: 700;
}
.hero-hint .hint-line .hint-sep {
  color: var(--bdr);
  margin: 0 0.6rem;
}

.scroll-chevron {
  position: relative;
  width: 12px;
  height: 20px;
  animation: bounce-down 2.2s ease-in-out infinite;
}
.scroll-chevron::before,
.scroll-chevron::after {
  content: "";
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(240, 112, 32, 0.5);
  border-bottom: 1px solid rgba(240, 112, 32, 0.5);
  transform: rotate(45deg);
}
.scroll-chevron::before {
  top: 0;
}
.scroll-chevron::after {
  top: 6px;
  opacity: 0.3;
}
@keyframes bounce-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

/* SECTIONS — base */
section {
  padding: 5rem 3rem;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--bdr);
  padding-bottom: 0.8rem;
  margin-bottom: 2.8rem;
}
.sec-num {
  font-size: 0.6rem;
  color: var(--orange);
  letter-spacing: 0.15em;
}
.sec-cmd {
  margin-left: auto;
  font-size: 0.6rem;
  color: var(--muted);
}
h2 {
  font-family: var(--big);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* About starts close to hero's bottom hint — tighter visual flow */
#about {
  padding-top: clamp(2.5rem, 5vh, 3.5rem);
}

/* ABOUT — framed grid (matche contact) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  border: 1px solid var(--bdr);
}
.about-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--bdr);
}
.about-left-body {
  padding: 2.2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.about-p {
  font-size: 0.82rem;
  color: var(--sub);
  line-height: 2.1;
  margin-bottom: 1.2rem;
}
.about-p:last-of-type {
  margin-bottom: 0;
}
.about-p em {
  color: var(--orange);
  font-style: normal;
  letter-spacing: 0.02em;
}
.about-p strong {
  color: var(--txt);
  font-weight: 700;
}

.stats {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--bdr);
}
.stat-val {
  font-family: var(--big);
  font-size: 2.2rem;
  color: var(--orange);
  display: block;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.58rem;
  color: var(--sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-right {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.about-right-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.about-right-fox {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1.5rem;
}
.about-right-fox img {
  width: clamp(95px, 38%, 140px);
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.about-right-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1.5rem 1.6rem;
  border-top: 1px solid var(--bdr);
  text-align: left;
}
.about-right-info .cml-row {
  font-size: 0.65rem;
}
.about-right-info .cml-key {
  min-width: 64px;
}

/* PROJETS */
.proj-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bdr);
}
.proj-row + .proj-row,
.proj-row + .proj-empty {
  border-top: 1px solid var(--bdr);
}
.proj-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.8rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s;
  position: relative;
  overflow: hidden;
}
.proj-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}
.proj-row:hover {
  background: var(--surface-hover);
}
.proj-row:hover::before {
  transform: scaleY(1);
}
.proj-row:hover .proj-num {
  color: var(--orange);
}
.proj-row:hover .proj-arrow {
  opacity: 1;
  transform: translateX(0);
}

.proj-num {
  font-family: var(--big);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.18s;
}
.proj-title {
  font-size: 0.9rem;
  color: var(--txt);
  margin-bottom: 0.3rem;
}
.proj-desc {
  font-size: 0.72rem;
  color: var(--sub);
  line-height: 1.9;
  max-width: 52ch;
}
.proj-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.tag {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--bdr);
  color: var(--muted);
}
.tag.hi {
  border-color: rgba(240, 112, 32, 0.35);
  color: var(--orange);
}

.proj-arrow {
  font-size: 0.7rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  white-space: nowrap;
  padding-top: 0.15rem;
}

.proj-empty {
  padding: 1.5rem 2rem;
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.proj-empty::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 112, 32, 0.45);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(240, 112, 32, 0);
  }
}

/* TECH STACK — framed rows (matche projets) */

.stack-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bdr);
}
.stack-row {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 2rem 2.5rem 2.2rem;
}
.stack-row + .stack-row {
  border-top: 1px solid var(--bdr);
}

.stack-row-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding-bottom: 1rem;
  letter-spacing: 0.14em;
  position: relative;
}
.stack-row-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(280px, 65%, 480px);
  height: 1px;
  background: rgba(240, 112, 32, 0.45);
}
.stack-row-num {
  font-family: var(--big);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: 0.03em;
}
.stack-row-slash {
  color: var(--muted);
  font-size: 0.68rem;
  font-family: var(--term);
}
.stack-row-cat {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.stack-row-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}
.sk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: 72px;
}
.sk-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.82;
  transition:
    opacity 0.22s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.22s;
}
.sk-item:hover img {
  opacity: 1;
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 6px 14px rgba(240, 112, 32, 0.3));
}
.sk-item span {
  font-size: 0.58rem;
  color: var(--txt);
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.2s;
}
.sk-item:hover span {
  color: var(--orange);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--bdr);
}
.contact-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--bdr);
}
.cprompt-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--bdr);
  padding: 0.5rem 1.2rem;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.cprompt-bar span {
  color: var(--orange);
}
.cprompt-cmd {
  border-bottom: 1px solid var(--bdr);
  padding: 0.7rem 1.2rem;
}
.cprompt-cmd .cp-user {
  color: var(--orange);
}
.cprompt-cmd .cp-path {
  color: var(--green);
}
.cprompt-cmd .cp-command {
  color: var(--txt);
}
.contact-left-body {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(68, 255, 153, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(68, 255, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(68, 255, 153, 0);
  }
}
.status-label {
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-name {
  font-family: var(--big);
  font-size: clamp(4.5rem, 5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.contact-name span {
  -webkit-text-stroke: 1px var(--orange);
  color: transparent;
}
.contact-tagline {
  font-size: 0.74rem;
  color: var(--sub);
  line-height: 1.9;
}

.contact-meta-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--bdr);
}
.cml-row {
  display: flex;
  gap: 0.8rem;
  font-size: 0.7rem;
}
.cml-key {
  color: var(--muted);
  min-width: 72px;
}
.cml-val {
  color: var(--txt);
}

.contact-right {
  display: flex;
  flex-direction: column;
}
.contact-link-item + .contact-link-item {
  border-top: 1px solid var(--bdr);
}
.contact-link-item {
  padding: 1.5rem 2rem;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}
.contact-link-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bdr);
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-link-item:hover::before {
  background: var(--orange);
}
.contact-link-item:hover .cli-label {
  color: var(--orange);
}
.contact-link-item:hover .cli-icon {
  color: var(--orange);
}
.contact-link-item:hover .cli-arrow {
  opacity: 1;
  transform: translateX(0);
}

.cli-icon {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cli-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.cli-label {
  font-size: 0.8rem;
  color: var(--txt);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cli-sub {
  font-size: 0.62rem;
  color: var(--sub);
}
.cli-arrow {
  font-size: 0.68rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-5px);
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Footer sys ── */
footer {
  padding: 1rem 3rem;
  border-top: 1px solid var(--bdr);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bg);
}
footer .f-center {
  text-align: center;
}
footer .f-right {
  text-align: right;
}
footer em {
  color: var(--orange);
  font-style: normal;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Enfants en cascade */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.stagger.visible > * {
  opacity: 1;
  transform: none;
}
.stagger.visible > *:nth-child(1) {
  transition-delay: 0.06s;
}
.stagger.visible > *:nth-child(2) {
  transition-delay: 0.14s;
}
.stagger.visible > *:nth-child(3) {
  transition-delay: 0.22s;
}
.stagger.visible > *:nth-child(4) {
  transition-delay: 0.3s;
}
.stagger.visible > *:nth-child(5) {
  transition-delay: 0.38s;
}

/* Respect des préférences utilisateur (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 760px) {
  nav {
    padding: 0.8rem 1.2rem;
  }
  .nav-links {
    display: none;
  }
  #hero {
    padding: 2rem 1.2rem 2.5rem;
  }
  section {
    padding: 4rem 1.2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-left {
    border-right: none;
    border-bottom: 1px solid var(--bdr);
  }
  .about-left-body {
    padding: 1.6rem 1.4rem 1.8rem;
  }
  .about-right-body {
    padding: 1.8rem 1.4rem;
  }
  .proj-row {
    grid-template-columns: 2.5rem 1fr;
  }
  .proj-arrow {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--bdr);
  }
  .stack-row {
    padding: 1.4rem 1.5rem;
  }
  .stack-row-logos {
    gap: 1rem;
  }
  footer {
    flex-direction: column;
    gap: 0.3rem;
  }

  /* Hero hint stacks vertically: help → scroll → chevron */
  .hero-hint .hint-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.5;
  }
  .hero-hint .hint-line .hint-help {
    order: 1;
  }
  .hero-hint .hint-line .hint-sep {
    display: none;
  }
  .hero-hint .hint-line .hint-scroll {
    order: 2;
  }
}

/* ════════════════════════════════════════════════════════════════════
   CLASSES UTILITAIRES — pour remplacer les anciens style="..." inline
   ────────────────────────────────────────────────────────────────────
   Ces classes ont été créées pour pouvoir activer un CSP strict
   (sans 'unsafe-inline' pour les styles). Voir README.md.
════════════════════════════════════════════════════════════════════ */

/* Logo GitHub dans la nav (en haut à gauche) */
.icon-nav {
  width: 26px;
}

/* Icône GitHub dans la section contact (à droite) */
.icon-invert {
  width: 18px;
  filter: invert(1);
}

/* Icône LinkedIn dans la section contact (à droite) */
.icon-bright-invert {
  width: 18px;
  filter: brightness(0) invert(1);
}

/* Le grand "ROBIN CRAEYE" qui s'affiche dans le terminal après whoami */
.boot-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.boot-name-stroke {
  -webkit-text-stroke: 1.5px var(--orange);
  color: transparent;
}

/*  BOUTON THÈME (nav) — emoji + texte ;
   en mobile (≤760px) on garde l'emoji, on masque le texte.*/
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid var(--bdr);
  color: var(--sub);
  font-family: var(--term);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.5rem 0.7rem;
  border-radius: 0;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.theme-toggle .tt-icon {
  font-size: 0.9rem;
  line-height: 1;
}
.theme-toggle:hover {
  color: var(--orange);
  border-color: rgba(240, 112, 32, 0.45);
  background: rgba(240, 112, 32, 0.06);
}

/* Mobile : bouton visible, mais emoji seul (texte masqué) */
@media (max-width: 760px) {
  .theme-toggle .tt-label {
    display: none;
  }
  .theme-toggle {
    padding: 0.5rem 0.6rem;
  }
}
