/* ============================================================
   RAPHAËL BODART — Portfolio
   ============================================================ */

@font-face {
  font-family: 'Slagless';
  src: url('../fonts/Slagless.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --blue: #356CFF;
  --blue-light: #eef2ff;
  --blue-mid: rgba(53,108,255,0.1);
  --dark: #0C142B;
  --mid: #2a3250;
  --muted: #7a84a0;
  --border: rgba(12,20,43,0.08);
  --bg: #f7f6f3;
  --white: #ffffff;
  --fn: 'Noto Sans', sans-serif;
  --ft: 'Slagless', 'Georgia', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fn);
  background: var(--white);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 60px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; font-size: 18px; font-weight: normal;
  font-family: var(--ft); letter-spacing: -0.01em;
  color: var(--dark); text-decoration: none;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 6px;
  background: none; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .2s; padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); border-bottom-color: var(--blue); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: #fff !important;
  background: var(--blue); padding: 0 20px; border-radius: 5px;
  transition: all .2s; border-bottom: none !important;
  display: inline-flex; align-items: center; height: 36px; line-height: 1;
}
.nav-cta:hover { background: #2258e8 !important; color: #fff !important; }

/* ─── PAGES ─── */
.page { display: none; padding-top: 60px; animation: fadeUp .3s ease both; }
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-size: 14px; font-weight: 500;
  cursor: pointer; text-decoration: none; border: none;
  transition: all .22s; font-family: var(--fn); border-radius: 6px;
}
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: #2258e8; }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid rgba(12,20,43,0.2); }
.btn-ghost:hover { border-color: var(--dark); }

/* ─── HERO ─── */
.hero {
  display: grid; grid-template-columns: 1fr 400px;
  min-height: calc(100vh - 60px);
  align-items: center; gap: 4rem;
  padding: 0 80px; max-width: 1280px; margin: 0 auto;
  overflow: visible;
}
#page-home { overflow: visible; }
.hero-availability {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #1a8a4a;
  background: rgba(26,138,74,0.08);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 2rem;
}
.hero-availability::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #1a8a4a; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-h1 {
  font-family: var(--ft);
  font-size: clamp(3.5rem, 5.5vw, 6rem);
  font-weight: normal; letter-spacing: -0.02em; line-height: 0.95;
  margin-bottom: 1.5rem; color: var(--dark);
}
.hero-h1 .line2 { display: block; color: var(--blue); }
.hero-subtitle {
  font-family: var(--fn);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  margin-top: -0.5rem;
}
.hero-desc { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 480px; margin-bottom: 2rem; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.htag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--mid);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
  background: linear-gradient(145deg, var(--blue-light) 0%, #dce6ff 100%);
  border: 1px solid rgba(53,108,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: rgba(53,108,255,0.4);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.hero-stat {
  position: absolute; left: -42px; bottom: 40px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(12,20,43,0.08);
}
.hero-stat-num { font-family: var(--fn); font-size: 22px; font-weight: 700; color: var(--blue); }
.hero-stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-stat2 {
  position: absolute; right: -68px; top: 40px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(12,20,43,0.08);
}
.hero-stat2-num { font-family: var(--fn); font-size: 22px; font-weight: 700; color: var(--blue); }

/* ─── MARQUEE STRIP ─── */
.strip-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; background: var(--bg);
}
.strip-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
.strip-item {
  padding: 18px 36px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  border-right: 1px solid var(--border); flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── SECTIONS ─── */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 48px; }
.s-label { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.s-title {
  font-family: var(--ft); font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: normal; letter-spacing: -0.02em; margin-bottom: 32px; color: var(--dark);
}

/* ─── HOME PROJECTS ─── */
.home-projects {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.hp-card {
  background: var(--white); cursor: pointer;
  transition: background .2s; position: relative; overflow: hidden;
}
.hp-card:hover { background: var(--bg); }
.hp-card:hover .hp-thumb-inner { transform: scale(1.03); }
.hp-card:hover .hp-arrow { transform: translate(3px,-3px); background: var(--blue); border-color: var(--blue); }
.hp-card:hover .hp-arrow svg path { stroke: #fff; }
.hp-thumb { height: 260px; width: 100%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hp-thumb-inner { position: absolute; inset: 0; transition: transform .4s ease; }
.hp-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,43,0.4) 0%, transparent 60%); }
.hp-thumb-label { position: relative; z-index: 1; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.hp-body { padding: 1.5rem 1.75rem 2rem; }
.hp-meta { display: flex; gap: 6px; margin-bottom: 10px; align-items: center; }
.hp-co { font-size: 11px; color: var(--muted); }
.hp-sep { color: var(--border); }
.hp-cat { font-size: 11px; color: var(--blue); letter-spacing: 0.05em; text-transform: uppercase; }
.hp-title { font-family: var(--ft); font-size: 1.4rem; font-weight: normal; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--dark); }
.hp-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hp-arrow {
  position: absolute; bottom: 1.25rem; right: 1.5rem;
  width: 32px; height: 32px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .2s, border-color .2s;
}
.hp-body { padding-bottom: 3.5rem; }

/* ─── EXPERTISE ─── */
.expertise-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.ex-card {
  padding: 2rem; border-radius: 12px; border: 1px solid var(--border);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
/* ex-card : pas de hover (non cliquable) */
.ex-num { font-size: 11px; color: var(--blue); letter-spacing: 0.12em; margin-bottom: 1rem; font-weight: 500; }
.ex-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-mid); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ex-title { font-size: 15px; font-weight: 500; margin-bottom: .5rem; color: var(--dark); }
.ex-body { font-size: 13px; color: var(--muted); line-height: 1.7; }
.ex-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1rem; }
.expill { font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--blue-mid); color: var(--blue); }

/* ─── PORTFOLIO ─── */
.port-hero {
  padding: 80px 48px 0; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end;
}
.port-desc { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 480px; margin-bottom: 2rem; }
.port-count { font-family: var(--ft); font-size: 80px; font-weight: normal; color: rgba(12,20,43,0.05); letter-spacing: -0.02em; line-height: 1; padding-bottom: 48px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.fbtn {
  font-size: 12px; padding: 7px 18px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--white);
  cursor: pointer; transition: all .18s; color: var(--muted); font-family: var(--fn);
}
.fbtn.active, .fbtn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.port-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 0 48px 80px;
}
.pcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(12,20,43,0.1); }
.pcard-thumb { height: 200px; position: relative; overflow: hidden; }
.pcard-thumb-img { position: absolute; inset: 0; transition: transform .4s ease; }
.pcard:hover .pcard-thumb-img { transform: scale(1.05); }
.pcard-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,20,43,0.5) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
  display: flex; align-items: flex-end; padding: 16px;
}
.pcard:hover .pcard-thumb-overlay { opacity: 1; }
.pcard-cta { font-size: 12px; color: #fff; display: flex; align-items: center; gap: 6px; }
.pcard-body { padding: 1.25rem 1.5rem 1.5rem; }
.pcard-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.pcard-co { font-size: 11px; color: var(--muted); }
.pcard-cat { font-size: 11px; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; }
.pcard h3 { font-family: var(--ft); font-size: 1.1rem; font-weight: normal; letter-spacing: -0.01em; margin-bottom: 3px; color: var(--dark); }
.pcard-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─── CV ─── */
.cv-wrap { max-width: 860px; margin: 0 auto; padding: 80px 48px; }
.page-title { font-family: var(--ft); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: normal; letter-spacing: -0.02em; margin-bottom: 40px; color: var(--dark); }
.cv-dl {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; padding: 13px 26px;
  border-radius: 6px; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--fn); transition: background .2s; margin-bottom: 40px;
}
.cv-dl:hover { background: #2258e8; }
.cv-frame {
  width: 100%; height: 80vh;
  border: 1px solid var(--border); border-radius: 12px;
}

/* ─── ABOUT ─── */
.about-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 48px; }
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 72px; margin-top: 48px; align-items: start; overflow: visible; }
.about-grid > div:first-child {
  min-width: 0;
  position: sticky;
  top: 80px;
  align-self: start;
  height: fit-content;
}
.about-photo {
  width: 100%; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  background: linear-gradient(145deg, var(--blue-light) 0%, #dce6ff 100%);
  border: 1px solid rgba(53,108,255,0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(53,108,255,0.4); font-size: 13px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-text p { font-size: 15px; line-height: 1.8; color: var(--mid); margin-bottom: 1.25rem; }
.about-text strong { color: var(--dark); font-weight: 500; }
.about-section-title {
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin: 2.5rem 0 1.25rem;
  display: flex; align-items: center; gap: 10px;
}
.about-section-title::before { content: ''; width: 16px; height: 1px; background: var(--blue); }
.exp-list { list-style: none; }
.exp-item { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-period { font-size: 12px; color: var(--muted); padding-top: 2px; }
.exp-role { font-size: 14px; font-weight: 500; margin-bottom: 2px; color: var(--dark); }
.exp-co { font-size: 13px; color: var(--muted); }
.passion-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.passion { font-size: 13px; padding: 6px 16px; border: 1px solid var(--border); border-radius: 20px; color: var(--mid); }

/* ─── CONTACT ─── */
.contact-wrap { max-width: 960px; margin: 0 auto; padding: 80px 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; margin-top: 48px; align-items: start; }
.contact-avail {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #1a8a4a;
  background: rgba(26,138,74,0.08);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 1.5rem;
}
.contact-avail::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1a8a4a; }
.contact-text { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--dark); cursor: pointer;
  text-decoration: none; transition: color .18s;
}
.contact-links a:first-child { border-top: 1px solid var(--border); }
.contact-links a:hover { color: var(--blue); }
.contact-links a:hover .cl-arrow { transform: translateX(3px); }
.cl-left { display: flex; align-items: center; gap: 10px; }
.cl-label { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; width: 72px; }
.cl-arrow { transition: transform .18s; opacity: 0.35; }
.flabel { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
.field { margin-bottom: 1.25rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(12,20,43,0.15); border-radius: 7px;
  font-size: 14px; font-family: var(--fn);
  background: var(--white); color: var(--dark);
  outline: none; transition: border-color .2s, box-shadow .2s; resize: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,108,255,0.08);
}
.field textarea { min-height: 110px; }
.form-send {
  width: 100%; padding: 13px; background: var(--blue); color: #fff;
  border: none; border-radius: 7px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--fn); transition: background .2s;
}
.form-send:hover { background: #2258e8; }
.form-ok {
  display: none; text-align: center; padding: 1.5rem;
  background: rgba(26,138,74,0.06); border-radius: 8px;
  border: 1px solid rgba(26,138,74,0.2);
  margin-top: 1rem; font-size: 14px; color: #1a8a4a;
  font-weight: 500;
}

/* ─── CASE STUDY DETAIL ─── */
.detail-wrap { max-width: 1020px; margin: 0 auto; padding: 64px 48px 100px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); cursor: pointer;
  margin-bottom: 48px; background: none; border: none;
  font-family: var(--fn); transition: color .18s; padding: 0;
}
.back-btn:hover { color: var(--dark); }
.cs-hero {
  width: 100%; height: 400px; border-radius: 14px; overflow: hidden;
  margin-bottom: 3rem; position: relative; display: flex; align-items: flex-end;
}
.cs-hero-bg { position: absolute; inset: 0; }
.cs-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,20,43,0.65) 0%, transparent 55%); }
.cs-hero-content { position: relative; z-index: 1; padding: 2.5rem; color: #fff; }
.cs-hero-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.cs-tag { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,0.6); padding: 4px 12px; border-radius: 20px; }
.cs-hero-title { font-family: var(--ft); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: normal; letter-spacing: -0.01em; }
.cs-meta { display: flex; gap: 0; margin-bottom: 3rem; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.cs-meta-item { flex: 1; padding: 16px 20px; border-right: 1px solid var(--border); }
.cs-meta-item:last-child { border-right: none; }
.cs-meta-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.cs-meta-val { font-size: 13px; font-weight: 500; color: var(--dark); }
.cs-intro { font-size: 16px; line-height: 1.8; color: var(--mid); margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.cs-body { color: var(--mid); }
.cs-body p { font-size: 15px; line-height: 1.85; margin-bottom: 1.25rem; }
.cs-body h2 { font-family: var(--ft); font-size: 1.5rem; font-weight: normal; letter-spacing: -0.01em; color: var(--dark); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.cs-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.cs-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(53,108,255,0.3); }
.cs-body a:hover { border-color: var(--blue); }
.cs-body blockquote { border-left: 3px solid var(--blue); padding: .75rem 1.25rem; background: var(--blue-light); border-radius: 0 8px 8px 0; margin: 1.5rem 0; font-size: 14px; font-style: italic; color: var(--mid); }
.cs-img { width: 100%; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #e0e8ff); border: 1px solid rgba(53,108,255,0.12); margin: 1.5rem 0 .5rem; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.cs-img-real { background: none; border: 1px solid var(--border); min-height: 0; display: block; overflow: hidden; }
.cs-img-real img { width: 100%; height: auto; display: block; border-radius: 9px; }
.cs-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 .5rem; }
.cs-img-row .cs-img, .cs-img-row .cs-img-real { margin: 0; }
.cs-img-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(53,108,255,0.35); font-size: 12px; letter-spacing: 0.05em; }
.cs-legend { font-size: 12px; color: var(--muted); margin-bottom: 1.5rem; font-style: italic; padding-left: 4px; }
.cs-kpi { border-radius: 12px; padding: 2rem 2.5rem; margin: 2rem 0; }
.cs-kpi-num { font-family: var(--fn); font-size: 56px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; margin-bottom: 8px; }
.cs-kpi-title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.cs-kpi-desc { font-size: 13px; line-height: 1.6; }
.cs-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 2rem 0; }
.cs-stat-cell { background: var(--white); padding: 1.5rem; text-align: center; }
.cs-stat-num { font-family: var(--fn); font-size: 28px; font-weight: 700; color: var(--blue); letter-spacing: -0.01em; margin-bottom: 4px; }
.cs-stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.cs-insight { background: var(--bg); border-radius: 10px; padding: 1.5rem 2rem; margin: 2rem 0; border-left: 3px solid var(--blue); }
.cs-insight-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: .5rem; }
.cs-insight p { font-size: 14px; line-height: 1.7; color: var(--mid); margin: 0; }
/* ─── H2 AVEC LABEL COLLÉ ─── */
.cs-h2-block { margin: 3rem 0 .75rem; }
.cs-h2-block:first-child { margin-top: 0; }
.cs-h2-label { font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; line-height: 1; display: block; }
.cs-h2-block h2 { font-family: var(--ft); font-size: 1.5rem; font-weight: normal; letter-spacing: -0.01em; color: var(--dark); margin: 0 !important; border: none !important; padding: 0 !important; line-height: 1.15; }
.cs-h2-accent { color: var(--blue); }
/* cs-body h2 bare (hors cs-h2-block) */
.cs-body > h2 { font-family: var(--ft); font-size: 1.5rem; font-weight: normal; letter-spacing: -0.01em; color: var(--dark); margin: 3rem 0 1rem; }
.cs-body > h2:first-child { margin-top: 0; }

/* ─── TABLEAU COMPARATIF ─── */
.cs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 1.5rem 0 2rem; }
.cs-compare-col { padding: 1.5rem; }
.cs-compare-before { background: var(--bg); }
.cs-compare-after { background: var(--white); }
.cs-compare-head { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.cs-compare-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.cs-compare-col li { font-size: 13px; line-height: 1.55; color: var(--mid); padding-left: 1.4rem; position: relative; }
.cs-compare-before li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; }
.cs-compare-after li::before { content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* ─── INSIGHT + IMAGE CÔTE À CÔTE ─── */
.cs-insight-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; align-items: stretch; }
.cs-insight-side { margin: 0; height: 100%; box-sizing: border-box; border-radius: 0 10px 10px 0; }
.cs-img-side { margin: 0; min-height: 0; height: 100%; border-radius: 0; background: none; border: none; }

/* ─── DESIGN CARDS (3 par ligne, sans hover) ─── */
.cs-dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 1.5rem 0 2rem; }
.cs-dcard { background: var(--white); padding: 1.5rem; }
.cs-dcard-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-mid); display: flex; align-items: center; justify-content: center; margin-bottom: .85rem; flex-shrink: 0; }
.cs-dcard-title { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.cs-dcard-body { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ─── STEPS HORIZONTAUX ─── */
.cs-hsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 1.5rem 0 2rem; }
.cs-hstep { background: var(--white); padding: 1.5rem; }
.cs-hstep-num { font-family: var(--fn); font-size: 22px; font-weight: 700; color: var(--blue); opacity: .2; line-height: 1; margin-bottom: .75rem; }
.cs-hstep-title { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: .4rem; }
.cs-hstep-body { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ─── KPI GRID (3 par ligne) ─── */
.cs-kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 1.5rem 0; }
.cs-kgrid-cell { background: var(--white); padding: 1.75rem 1.5rem; }
.cs-kgrid-num { font-family: var(--fn); font-size: 32px; font-weight: 700; color: var(--blue); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.cs-kgrid-label { font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.cs-kgrid-desc { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ─── META INLINE ─── */
.cs-meta-inline { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 2rem 0; }
.cs-meta-inline-item { background: var(--bg); padding: 1.25rem 1.5rem; }
.cs-meta-inline .cs-meta-label { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.cs-meta-inline .cs-meta-val { font-size: 13px; color: var(--mid); line-height: 1.5; }
.cs-nav { display: flex; justify-content: space-between; align-items: flex-start; padding: 2rem 0 0; margin-top: 3rem; border-top: 1px solid var(--border); gap: 1rem; }
.cs-nav-btn { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; background: none; border: 1px solid var(--border); font-family: var(--fn); transition: all .18s; padding: 12px 16px; border-radius: 8px; }
.cs-nav-btn:hover { color: var(--dark); border-color: var(--dark); }
.cs-nav-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.cs-nav-title { font-size: 13px; font-weight: 500; color: var(--dark); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border); padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
}
.footer-left { font-size: 12px; color: var(--muted); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s; text-decoration: none;
}
.footer-social a:hover { border-color: var(--blue); background: var(--blue-mid); }
.footer-social svg path { fill: var(--muted); }
.footer-social a:hover svg path { fill: var(--blue); }

/* ─── RESPONSIVE ─── */
/* ─── BURGER ─── */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; z-index: 201;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-logo-text { display: none; }
  .burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px; z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 15px; padding: 12px 0;
    border-bottom: 1px solid var(--border);
    border-right: none;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 8px; text-align: center;
    border-radius: 6px; padding: 13px 20px !important;
    border-bottom: none !important;
  }
  .hero { grid-template-columns: 1fr; padding: 40px 24px 48px; min-height: auto; gap: 3rem; }
  .hero-visual { order: -1; display: flex; justify-content: center; }
  .hero-stat, .hero-stat2 { display: none; }
  .section { padding: 60px 24px; }
  .home-projects, .expertise-row { grid-template-columns: 1fr; }
  .port-hero { grid-template-columns: 1fr; padding: 60px 24px 0; }
  .port-count { display: none; }
  .port-grid { grid-template-columns: 1fr; padding: 0 24px 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid > div:first-child { position: static; }
  .about-photo { position: static; aspect-ratio: 3/4; max-width: 420px; margin: 0 auto; }
  .hero-photo { aspect-ratio: 4/5; position: static; max-width: 360px; margin: 0 auto; }  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cv-wrap, .about-wrap, .contact-wrap, .detail-wrap { padding: 48px 24px 80px; }
  .cs-meta { flex-wrap: wrap; }
  .cs-meta-item { flex: 1 1 40%; border-bottom: 1px solid var(--border); }
  .cs-stats { grid-template-columns: repeat(2,1fr); }
  .cs-compare { grid-template-columns: 1fr; }
  .cs-dcards { grid-template-columns: 1fr; }
  .cs-hsteps { grid-template-columns: repeat(2,1fr); }
  .cs-kgrid { grid-template-columns: 1fr; }
  .cs-insight-row { grid-template-columns: 1fr; }
  .cs-meta-inline { grid-template-columns: 1fr; }
  .cs-img-row { grid-template-columns: 1fr; }
  footer { padding: 20px 24px; flex-direction: column; gap: 16px; text-align: center; }
}
