/* HERO */
.hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.hero-layout { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }

.avail {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: var(--green); background: var(--green-bg);
  border: 1px solid var(--green-bd);
  padding: 4px 12px; border-radius: 99px;
  margin-bottom: 2rem;
  animation: fadeUp 0.4s ease both;
}
.avail-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.hero h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 300; letter-spacing: -0.04em; line-height: 1.08;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.4s 0.08s ease both;
}
.hero h1 strong { font-weight: 600; }
.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--text2);
  line-height: 1.75; max-width: 500px; margin-bottom: 2rem;
  animation: fadeUp 0.4s 0.14s ease both;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; animation: fadeUp 0.4s 0.2s ease both; }

/* PROFILE CARD */
.profile-aside { animation: fadeUp 0.4s 0.12s ease both; }
.pcard {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r3); padding: 1.5rem; min-width: 220px;
}
.pcard-title {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--text3); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.prow {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.prow:last-child { border-bottom: none; }
.prow-label { color: var(--text2); font-weight: 300; }
.prow-val { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: var(--text); }
.prow-val.green { color: var(--green); }

/* STATS (grille 4 colonnes) */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--r3);
  overflow: hidden; background: var(--bg2);
  animation: fadeUp 0.4s 0.26s ease both;
  margin-top: 3rem;
}
.stat { padding: 1.5rem 1.75rem; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-n { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; color: var(--text); display: block; margin-bottom: 4px; }
.stat p { font-size: 12.5px; color: var(--text3); line-height: 1.4; }

/* STACK */
.stack-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.stack-row { display: flex; flex-direction: column; gap: 0.4rem; }
.stack-lbl {
  font-family: 'DM Mono', monospace; font-size: 10px;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em;
}

/* SERVICES */
.svcs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r3); overflow: hidden;
}
.svc { background: var(--bg2); padding: 1.75rem; transition: background 0.15s; }
.svc:hover { background: var(--bg3); }
.svc-num { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--text3); margin-bottom: 1rem; }
.svc h3 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.svc .tagline { font-size: 12px; color: var(--text3); font-family: 'DM Mono', monospace; margin-bottom: 0.75rem; }
.svc p { font-size: 13.5px; color: var(--text2); line-height: 1.65; font-weight: 300; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 1rem; }
.stag {
  font-family: 'DM Mono', monospace; font-size: 10.5px;
  padding: 2px 8px; border: 1px solid var(--border);
  border-radius: 3px; color: var(--text3);
}

/* PÉRIMÈTRE */
.perimetre { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.perimetre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; }
.perimetre-item {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-size: 13px; color: var(--text2); line-height: 1.6; font-weight: 300;
}
.perimetre-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; margin-top: 7px;
}

@media (max-width: 640px) { .perimetre-grid { grid-template-columns: 1fr; } }

/* MISSIONS */
.missions {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r3);
  overflow: hidden; background: var(--bg2);
}
.mission { padding: 1.75rem; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.mission:last-child { border-bottom: none; }
.mission:hover { background: var(--bg3); }
.mission-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.4rem; flex-wrap: wrap;
}
.mission-co { font-size: 15px; font-weight: 500; }
.mission-badge {
  font-family: 'DM Mono', monospace; font-size: 10.5px;
  color: var(--text2); background: var(--bg3);
  border: 1px solid var(--border2); padding: 3px 10px;
  border-radius: 99px; white-space: nowrap;
}
.mission-period { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); margin-bottom: 0.85rem; }
.mission ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.mission li {
  font-size: 13.5px; color: var(--text2); line-height: 1.65;
  padding-left: 1.1rem; position: relative; font-weight: 300;
}
.mission li::before { content: '—'; position: absolute; left: 0; color: var(--text3); font-size: 11px; top: 2px; }
.mission-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 1rem; }
.mtag {
  font-family: 'DM Mono', monospace; font-size: 10.5px;
  padding: 2px 8px; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 3px; color: var(--text3);
}

/* ABOUT */
.about-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; align-items: start; }
.about-links--col .about-link { white-space: normal; word-break: break-all; align-items: flex-start; }
.about-ava-lg {
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid var(--border2);
  object-fit: cover; display: block; margin-bottom: 0.75rem;
}
.about-handle-lg { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); margin-top: 4px; }
.lang-row { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 0.6rem; }
.about-right p { font-size: 14.5px; color: var(--text2); line-height: 1.8; margin-bottom: 1rem; font-weight: 300; }
.about-right p strong { color: var(--text); font-weight: 500; }
.about-timeline { display: flex; flex-direction: column; gap: 8px; margin: 1.25rem 0; padding: 1rem 1.25rem; background: var(--bg3); border-radius: var(--r2); border-left: 2px solid var(--green); }
.tl-item { display: grid; grid-template-columns: 38px 1fr; column-gap: 1rem; align-items: baseline; }
.tl-date { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--green); font-weight: 500; }
.tl-text { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* CONTACT */
.contact-layout {
  display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;
}

/* FORM CARD */
.form-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r3); padding: 2.5rem;
}
.form-card h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 0.4rem; }
.form-card > p { font-size: 14px; font-weight: 300; color: var(--text2); margin-bottom: 2rem; }
.form-error {
  font-size: 13px; color: #C0392B;
  margin-top: 1rem; padding: 10px 14px;
  background: #FEF0EF; border: 1px solid #F5C6C6;
  border-radius: var(--r); display: none;
}
.form-error a { color: #C0392B; }

/* ABOUT STRIP (bas de page) */
.about-strip {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.5rem; align-items: center;
  border: 1px solid var(--border); border-radius: var(--r3);
  background: var(--bg2); padding: 1.5rem 2rem;
}
.about-ava-sm {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border2);
  object-fit: cover; flex-shrink: 0;
}
.about-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.about-handle { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--text3); margin-bottom: 0.4rem; }
.about-bio-sm { font-size: 13px; color: var(--text2); line-height: 1.6; font-weight: 300; max-width: 500px; }
.about-langs-sm { display: flex; gap: 5px; margin-top: 0.5rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero-layout { grid-template-columns: 1fr; }
  .profile-aside { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(2) { border-right: none; }
  .stats .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .stats .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .svcs { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: auto 1fr; }
  .about-links { display: none; }
}
