/* ---------- hero ---------- */
.hero {
  padding: 110px 0 90px;
}
.hero .badge { margin-bottom: 36px; }
.hero h1 {
  font-size: clamp(56px, 8.6vw, 124px);
}
.hero .accroche {
  margin: 30px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero .accroche em {
  font-style: normal;
  color: var(--accent-ink);
}
.hero .lede {
  max-width: 560px;
  margin-top: 18px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat {
  flex: 1;
  max-width: 240px;
  padding: 26px 32px 0 0;
}
.hero-stats .stat + .stat {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.hero-stats .num {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stats .num.grad-text { font-weight: 700; }
.hero-stats .lbl {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- sections ---------- */
.section { padding: 90px 0 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
  margin-bottom: 56px;
}

/* ---------- bento compétences ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.comp-card {
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comp-card .comp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.comp-card .comp-code {
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}
.comp-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.comp-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
.comp-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: span 12; }

.comp-wide {
  flex-direction: row;
  align-items: center;
  gap: 40px;
}
.comp-wide .comp-main { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.comp-wide .tags { margin-top: 0; padding-top: 0; max-width: 360px; justify-content: flex-end; }

/* ---------- projets ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.proj-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  text-decoration: none;
  overflow: hidden;
}
.proj-card .ph { aspect-ratio: 16 / 10; width: 100%; }
.proj-card.proj-lg .ph { aspect-ratio: 16 / 8.2; }
.proj-card .proj-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 12px 4px;
}
.proj-card .proj-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.proj-card .proj-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.proj-card h3 {
  margin: 0;
  padding: 0 12px 10px;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.proj-card h3 .go {
  font-size: 16px;
  color: var(--ink-3);
  transition: transform 0.2s ease, color 0.2s ease;
}
.proj-card:hover h3 .go {
  transform: translate(3px, -3px);
  color: var(--accent-ink);
}
.proj-card .ph .ph-tag { transition: transform 0.25s ease; }
.proj-card:hover .ph .ph-tag { transform: scale(1.04); }

/* ---------- à propos / contact ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 20px;
  align-items: stretch;
}
.about-photo {
  padding: 14px;
  display: flex;
}
.about-photo .ph { flex: 1; min-height: 380px; }
.about-card { padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.about-card p { margin: 0; color: var(--ink-2); text-wrap: pretty; max-width: 56ch; }
.about-card .tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}
.contact-band {
  margin-top: 20px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(120deg, var(--accent), var(--accent-2)) border-box;
  border: 1.5px solid transparent;
}
.contact-band h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.contact-band .sub {
  margin: 14px 0 0;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.contact-actions .mono-label { text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { padding: 70px 0 60px; }
  .span-4, .span-5, .span-7 { grid-column: span 12; }
  .comp-wide { flex-direction: column; align-items: flex-start; gap: 16px; }
  .comp-wide .tags { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo .ph { min-height: 300px; }
  .proj-grid > * { grid-column: span 12; }
  .contact-band { padding: 36px 28px; }
  .contact-actions { align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero-stats { flex-direction: column; border-top: 0; }
  .hero-stats .stat { max-width: none; padding: 18px 0 0; border-top: 1px solid var(--line); }
  .hero-stats .stat + .stat { border-left: 0; padding-left: 0; margin-top: 18px; }
  .comp-card { padding: 26px 22px 22px; }
  .about-card { padding: 28px 22px; }
}
@media (min-width: 921px) {
  .proj-lg { grid-column: span 7; }
  .proj-md { grid-column: span 5; }
  .proj-sm { grid-column: span 4; }
}
