/* ============================================================
   Portfolio — Anne-Juliette BELLIOT · BTS SIO SISR
   Style : clair, minimaliste, typographique
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Epilogue:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:       #f7f6f2;
  --bg2:      #ffffff;
  --surface:  #ffffff;
  --border:   #e5e3dc;
  --border2:  #d0cdc4;
  --accent:   #1a472a;
  --accent2:  #c8a96e;
  --text:     #1c1c1c;
  --muted:    #7a7770;
  --light:    #f0ede6;
  --tag-bg:   #eceae3;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Navigation ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
}
.nav-logo span { color: var(--accent2); }
nav ul { display: flex; gap: 40px; }
nav ul a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
nav ul a:hover,
nav ul a.active { color: var(--text); }
nav ul a:hover::after,
nav ul a.active::after { width: 100%; }
.nav-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border2);
  padding: 4px 12px;
  border-radius: 2px;
}

/* ── Pages ─────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  padding-top: 80px;
  display: none;
  animation: fadeUp 0.45s ease both;
}
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ── Shared elements ───────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 em { font-style: italic; color: var(--accent2); }
.divider {
  width: 40px; height: 2px;
  background: var(--accent2);
  margin: 20px 0;
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: 'Epilogue', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: none;
  transition: all 0.22s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: #0f2e1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,71,42,0.18);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ══════════════════════════════════════════════════
   PAGE 1 — ACCUEIL
══════════════════════════════════════════════════ */
#page-home { padding-bottom: 0; }

/* Hero */
.hero-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 56px 72px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Stats épurées */
.hero-stats-clean {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.hsc2-item {
  padding: 20px 0 20px 20px;
  border-left: 2px solid var(--border);
  transition: border-color 0.2s;
}
.hsc2-item:hover { border-color: var(--accent2); }
.hsc2-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hsc2-num span { font-size: 15px; color: var(--accent2); margin-left: 2px; }
.hsc2-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--accent2); }
.hero-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats card */
.hero-stats-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.hsc-item { text-align: center; }
.hsc-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hsc-num span { font-size: 16px; color: var(--accent2); }
.hsc-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}
.hsc-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}
/* Profile card */
.hero-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.hpc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.hpc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.hpc-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.hpc-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.hpc-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.hpc-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hpc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text);
}
.hpc-icon { font-size: 15px; flex-shrink: 0; }
.hpc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hpc-tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}

.hero-avail {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

/* Stats bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.hsb-item {
  text-align: center;
  padding: 0 52px;
}
.hsb-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.hsb-num span { font-size: 13px; color: var(--accent2); }
.hsb-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.hsb-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* Explainer BTS SIO */
.home-explainer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.explainer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 10px;
  align-items: stretch;
}
.explainer-intro { align-self: start; }
.explainer-intro p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 8px;
}
.explainer-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  background: var(--bg);
  transition: transform 0.2s;
  margin-top: 0;
}
.explainer-card:hover { transform: translateY(-3px); }
.explainer-active {
  background: var(--surface);
  border-color: var(--accent2);
  box-shadow: 0 4px 20px rgba(200,169,110,0.12);
}
.expl-icon { font-size: 26px; margin-bottom: 10px; }
.expl-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.expl-title span { font-size: 12px; color: var(--accent); font-family: 'Epilogue', sans-serif; font-weight: 500; }
.explainer-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Skills strip */
.home-skills-strip {
  padding: 56px 0 64px;
}
.skills-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.strip-item:hover {
  border-color: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.strip-icon { font-size: 24px; }
.strip-label { font-size: 12px; color: var(--muted); font-weight: 500; text-align: center; }

/* ══════════════════════════════════════════════════
   PAGE 2 — À PROPOS
══════════════════════════════════════════════════ */
#page-about { padding: 80px 0 80px; }
.about-text-block {
  max-width: none;
  margin-bottom: 0;
}
.about-text-block p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* Timeline */
.timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 3px;
  bottom: auto;
  width: auto;
  height: 2px;
  background: var(--border);
}
.tl-item {
  flex: 1;
  position: relative;
  padding-bottom: 0;
  padding-top: 24px;
  padding-right: 16px;
}
.tl-item:last-child { padding-right: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent2);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent2);
}
.tl-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.tl-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.tl-sub { font-size: 13px; color: var(--muted); }

/* Hobbies */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hobby-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hobby-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.hobby-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.hobby-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.hobby-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════
   PAGE 3 — COMPÉTENCES
══════════════════════════════════════════════════ */
#page-skills { padding: 80px 0; }
.skills-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.skill-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.skill-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}
.skill-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.skill-icon { font-size: 22px; }
.skill-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.flex-break { width: 100%; height: 0; }
.skill-tag {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 400;
  padding: 5px 11px;
  color: var(--muted);
}
.skill-tag--main {
  background: var(--light);
  border-color: var(--border2);
  color: var(--text);
  font-weight: 500;
}

/* Certifications + Langues côte à côte */
.certif-langues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Certifications */
.certif-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-auto-rows: 1fr;
}
.certif-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.certif-row:last-child { border-bottom: none; }
.certif-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 4px 10px;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.certif-link:hover { background: var(--accent); color: #fff; }
.certif-icon { font-size: 20px; flex-shrink: 0; }
.certif-info { flex: 1; }
.certif-name { font-size: 14px; font-weight: 500; color: var(--text); }
.certif-date { font-size: 12px; color: var(--muted); margin-top: 2px; }
.certif-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid;
  flex-shrink: 0;
}
.certif-ok   { color: var(--accent);  border-color: var(--accent); }
.certif-wip  { color: var(--accent2); border-color: var(--accent2); }
.certif-prep { color: var(--muted);   border-color: var(--border2); }

/* ══════════════════════════════════════════════════
   PAGE 4 — PROJETS
══════════════════════════════════════════════════ */
#page-projects { padding: 80px 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.project-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  border-bottom: 1px solid var(--border);
}
.pv-1 { background: #eef2ee; }
.pv-2 { background: #f2eeee; }
.pv-3 { background: #eeeef2; }
.pv-4 { background: #f2f0ee; }
.pv-5 { background: #eef0f2; }
.pv-6 { background: #f0eef2; }
.project-body { padding: 22px; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.project-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 2px;
}
.project-year { font-size: 11px; color: var(--muted); }
.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.project-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.p-tag {
  background: var(--tag-bg);
  border-radius: 2px;
  font-size: 11px;
  padding: 3px 8px;
  color: var(--muted);
}
.project-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
  margin-right: 16px;
}
.project-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════
   PAGE 5 — STAGES
══════════════════════════════════════════════════ */
#page-stage { padding: 80px 0; }

.stage-num-label {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.stage-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.stage-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.stage-company {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.stage-role {
  font-size: 14px;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 14px;
}
.stage-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-chip {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.stage-chip::before { content: '·'; color: var(--accent2); font-size: 16px; }
.stage-duration-box {
  text-align: center;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 28px;
}
.dur-num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.dur-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}
.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  transition: transform 0.2s;
}
.mission-card:hover { transform: translateY(-3px); }
.mission-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--border2);
  line-height: 1;
  margin-bottom: 8px;
}
.mission-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}
.mission-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
.bilan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bilan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
}
.bilan-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.bilan-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.bilan-list li:last-child { border-bottom: none; }
.bilan-arrow { color: var(--accent2); flex-shrink: 0; }
.stage-separator {
  height: 1px;
  background: var(--border);
  margin: 48px 0 36px;
  position: relative;
}
.stage-separator::after {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 16px;
  color: var(--border2);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════
   PAGE 6 — CONTACT
══════════════════════════════════════════════════ */
#page-contact { padding: 80px 0 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.contact-link-item:hover {
  border-color: var(--accent);
  transform: translateX(5px);
  color: var(--accent);
}
.cli-icon {
  width: 34px; height: 34px;
  background: var(--light);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.cli-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 11px 15px;
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--accent); background: #fff; }
.form-textarea { resize: vertical; min-height: 110px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  max-width: 1060px;
  margin: 64px auto 0;
  padding: 28px 56px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════
   ACCUEIL — nouveaux blocs
══════════════════════════════════════════════════ */

/* Citation */
.home-quote-band {
  background: var(--accent);
  padding: 48px 0;
}
.home-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.home-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-family: 'Epilogue', sans-serif;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  letter-spacing: 0.06em;
}

/* Cartes navigation accueil */
.home-cards-section {
  padding: 56px 0 64px;
}
.home-nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.home-nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 22px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
  border-color: var(--accent2);
}
.hnc-icon { font-size: 28px; margin-bottom: 4px; }
.hnc-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.hnc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.hnc-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════
   PROJETS — bouton document
══════════════════════════════════════════════════ */
.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 18px;
  background: var(--light);
  border: 1px solid var(--border2);
  border-radius: 3px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  text-decoration: none;
}
.btn-doc:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════
   STAGES — bloc mission texte unique
══════════════════════════════════════════════════ */
.mission-single-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent2);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 8px;
}
.mission-single-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ══════════════════════════════════════════════════
   PAGE VEILLE TECHNOLOGIQUE
══════════════════════════════════════════════════ */
#page-veille { padding: 80px 0; }

.veille-methode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 0;
}
.veille-methode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.veille-methode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.vm-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.vm-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.vm-desc { font-size: 12px; color: var(--muted); line-height: 1.65; }

.veille-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.veille-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.veille-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.veille-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.veille-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid;
}
.veille-cat-secu   { color: #b45309; border-color: #b45309; background: #fefce8; }
.veille-cat-reseau { color: var(--accent); border-color: var(--accent); background: #f0fdf4; }
.veille-cat-sys    { color: #6d28d9; border-color: #6d28d9; background: #faf5ff; }
.veille-cat-virt   { color: #0369a1; border-color: #0369a1; background: #f0f9ff; }
.veille-date { font-size: 11px; color: var(--muted); }
.veille-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.veille-summary { font-size: 13px; color: var(--muted); line-height: 1.7; }
.veille-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.v-tag {
  background: var(--tag-bg);
  border-radius: 2px;
  font-size: 11px;
  padding: 3px 8px;
  color: var(--muted);
}
.veille-source {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.vs-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--border2);
}
.vs-name { font-size: 12px; color: var(--muted); }

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.source-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  justify-content: center;
  gap: 6px;
  height: 150px;
}
.source-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent2);
}
.source-icon { font-size: 26px; display: block; }
.source-name { font-size: 13px; font-weight: 600; color: var(--text); }
.source-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 16px 28px; }
  nav ul { gap: 20px; }
  .hero-wrap,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-layout,
  .projects-grid,
  .bilan-grid,
  .hobbies-grid,
  .veille-grid { grid-template-columns: 1fr; }
  .veille-methode-grid,
  .home-nav-cards { grid-template-columns: repeat(2, 1fr); }
  .sources-grid { grid-template-columns: repeat(3, 1fr); }
  .container, .hero-wrap { padding: 0 28px; }
  .stage-header-card { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 14px; padding: 24px 28px; }
  .timeline {
    flex-direction: column;
    padding-left: 24px;
  }
  .timeline::before {
    left: 3px; right: auto; top: 6px; bottom: 0;
    width: 1px; height: auto;
  }
  .tl-item {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 28px;
  }
  .tl-item::before {
    left: -24px; top: 6px;
  }
}
@media (max-width: 560px) {
  nav ul { display: none; }
  h1 { font-size: 42px; }
  .home-nav-cards,
  .veille-methode-grid { grid-template-columns: 1fr; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
}
