/* ============================================================
   NISA OZERDEM — PORTFOLIO
   Direction : Éditorial / Magazine Contemporain
   Palette  : Blanc cassé + Encre noire + Cobalt vif
   Typo     : Playfair Display (titres) + DM Sans (corps)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */

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

html { font-size: 62.5%; scroll-behavior: smooth; }
@media (max-width: 1000px) { html { font-size: 57%; } }
@media (max-width: 600px)  { html { font-size: 52%; } }

:root {
  --cream:    #f7f4ef;
  --cream-2:  #ede9e2;
  --ink:      #0d0d0d;
  --ink-2:    #1a1a1a;
  --ink-muted:#6b6560;
  --cobalt:   #1d4ed8;
  --cobalt-l: #3b82f6;
  --cobalt-xl:#eff6ff;
  --white:    #ffffff;
  --rule:     #d8d2c9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max-w:    1160px;
  --gutter:   clamp(2rem, 5vw, 6rem);

  --shadow-sm:  0 2px 8px rgba(13,13,13,.07);
  --shadow-md:  0 6px 24px rgba(13,13,13,.10);
  --shadow-lg:  0 16px 48px rgba(13,13,13,.14);
}

body {
  font-family: var(--font-body);
  font-size: 1.7rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── TYPOGRAPHIE ──────────────────────────────────────────── */

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }

.display-xl {
  font-size: clamp(5.4rem, 10vw, 11rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .95;
}

.display-lg {
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.section-label {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cobalt);
}

.section-title {
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: .8rem;
}

/* ── BOUTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 1.3rem 3rem;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--primary {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
}
.btn--primary:hover {
  background: #1641b5;
  border-color: #1641b5;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--cobalt);
  border-color: var(--cobalt);
}
.btn--ghost:hover {
  background: var(--cobalt);
  color: var(--white);
}

.btn--sm { padding: .9rem 2rem; font-size: 1.3rem; }

/* ── NAVIGATION ───────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.4rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.nav__logo span { color: var(--cobalt); }

.nav__links {
  display: flex;
  list-style: none;
  gap: 3.2rem;
  align-items: center;
}

.nav__link {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: .02em;
  transition: color .2s;
  position: relative;
  padding-bottom: .3rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--cobalt);
  transition: width .25s ease;
}
.nav__link:hover, .nav__link--active { color: var(--ink); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
  display: block;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--cobalt); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--cobalt); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 6.4rem; right: -100%;
    width: 80%; max-width: 320px;
    height: calc(100vh - 6.4rem);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 3rem 2.8rem;
    border-left: 1px solid var(--rule);
    transition: right .4s cubic-bezier(.77,0,.175,1);
    box-shadow: -10px 0 30px rgba(0,0,0,.08);
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 1.7rem; padding: 1.4rem 0; border-bottom: 1px solid var(--cream-2); width: 100%; }
  .nav__link::after { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 6.4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
}

.hero__left {
  padding: clamp(5rem, 10vh, 10rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rule);
  position: relative;
}

/* Numéro décoratif en arrière-plan */
.hero__left::before {
  content: '01';
  position: absolute;
  top: 3rem; left: var(--gutter);
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(13,13,13,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  width: 3rem; height: 1.5px;
  background: var(--cobalt);
  flex-shrink: 0;
}

.hero__name {
  font-size: clamp(5.5rem, 9vw, 10rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .9;
  margin-bottom: 1.2rem;
}

.hero__name em {
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: var(--ink-muted);
  max-width: 46rem;
  line-height: 1.65;
  margin-bottom: 4rem;
}

.hero__actions {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero__chips {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.chip {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  padding: .5rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-muted);
  background: var(--white);
  letter-spacing: .04em;
}

/* Colonne droite — bloc décoratif graphique */
.hero__right {
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

/* Grille de points décorative */
.hero__right::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Carré bleu animé */
.hero__deco-block {
  position: absolute;
  top: 5rem; right: 5rem;
  width: 14rem; height: 14rem;
  border: 1.5px solid rgba(59,130,246,.4);
  animation: rotateSlow 18s linear infinite;
}
.hero__deco-block::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1.5px solid rgba(59,130,246,.2);
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.hero__stat-num span { color: var(--cobalt-l); }

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__rule {
  width: 100%; height: 1px;
  background: rgba(255,255,255,.1);
  margin-bottom: 3rem;
  position: relative; z-index: 1;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { border-right: none; border-bottom: 1px solid var(--rule); padding: 6rem var(--gutter) 5rem; }
  .hero__right { min-height: 28rem; padding: 4rem var(--gutter); }
  .hero__left::before { display: none; }
}

@media (max-width: 500px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── SECTIONS COMMUNES ────────────────────────────────────── */

.section {
  padding: clamp(6rem, 12vh, 11rem) 0;
  border-bottom: 1px solid var(--rule);
}

.section--dark {
  background: var(--ink-2);
  color: var(--cream);
}
.section--dark .section-label { color: var(--cobalt-l); }
.section--dark .section-title { color: var(--white); }
.section--dark p { color: rgba(247,244,239,.65); }
.section--dark .rule { border-color: rgba(255,255,255,.08); }

.section--alt { background: var(--cream-2); }

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.section__header-text { max-width: 58rem; }

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* ── CARTES EXPÉRIENCES ───────────────────────────────────── */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.4rem;
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--cobalt);
  transition: height .35s ease;
}
.exp-card:hover::before { height: 100%; }
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.exp-card__num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--cobalt);
  letter-spacing: .06em;
}

.exp-card__company {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.exp-card__role {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cobalt);
}

.exp-card__desc {
  font-size: 1.5rem;
  color: var(--ink-muted);
  line-height: 1.7;
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  background: var(--cobalt-xl);
  color: var(--cobalt);
  padding: .4rem 1rem;
  border-radius: 2px;
  font-weight: 500;
}

.section--dark .tag {
  background: rgba(59,130,246,.12);
  color: var(--cobalt-l);
}

/* ── ABOUT / PRÉSENTATION ─────────────────────────────────── */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: center;
}

.about-photo {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-photo__initials {
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(13,13,13,.08);
  letter-spacing: -.04em;
  user-select: none;
}

.about-photo__label {
  position: absolute;
  bottom: 2rem; left: 2rem;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-muted);
  letter-spacing: .06em;
}

.about-info { display: flex; flex-direction: column; gap: 2.5rem; }

.about-detail {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.about-detail:last-child { border-bottom: none; }

.about-detail__key {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--ink-muted);
  letter-spacing: .06em;
  flex-shrink: 0;
  min-width: 11rem;
  padding-top: .2rem;
}

.about-detail__val {
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 800px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16/7; }
}

/* ── CV ───────────────────────────────────────────────────── */

.cv-wrapper {
  max-width: 82rem;
  margin: 0 auto;
}

.cv-frame {
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}

.cv-frame__bar {
  height: 4px;
  background: linear-gradient(90deg, var(--cobalt) 0%, var(--cobalt-l) 100%);
}

.cv-frame__inner { padding: 3rem; }

.cv-placeholder {
  aspect-ratio: 1/1.41; /* A4 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--cream-2);
  border: 2px dashed var(--rule);
  border-radius: 3px;
}
.cv-placeholder p { font-size: 1.55rem; color: var(--ink-muted); text-align: center; max-width: 38rem; line-height: 1.7; }
.cv-placeholder code { font-family: var(--font-mono); font-size: 1.3rem; background: var(--white); padding: .2rem .6rem; border: 1px solid var(--rule); border-radius: 2px; color: var(--cobalt); }

.cv-img { width: 100%; border-radius: 3px; cursor: zoom-in; transition: transform .3s ease; }
.cv-img.zoomed { cursor: zoom-out; }

.cv-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pdf-embed { display: block; width: 100%; height: 900px; border: none; border-radius: 3px; }

@media (max-width: 600px) {
  .cv-controls .btn { width: 100%; justify-content: center; }
}

/* ── STAGES ───────────────────────────────────────────────── */

.stage-block {
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: box-shadow .25s ease;
}
.stage-block:hover { box-shadow: var(--shadow-lg); }

.stage-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem 3rem;
  border-bottom: 1px solid var(--rule);
  gap: 2rem;
  flex-wrap: wrap;
}

.stage-block__co {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.stage-block__meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  padding: .45rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-muted);
}
.badge--blue { border-color: var(--cobalt); color: var(--cobalt); background: var(--cobalt-xl); }

.stage-block__body { padding: 3rem; display: flex; flex-direction: column; gap: 2rem; }

.stage-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stage-block__list li {
  padding-left: 2rem;
  position: relative;
  font-size: 1.6rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.stage-block__list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--cobalt);
  font-size: 1.4rem;
}
.stage-block__list li strong { color: var(--ink); font-weight: 600; }

.stage-block__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── COMPÉTENCES ──────────────────────────────────────────── */

.comp-section { background: var(--white); }

.comp-table-wrap { overflow-x: auto; margin-bottom: 4rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.55rem;
}

table caption {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  padding-bottom: 1.4rem;
  letter-spacing: -.01em;
}

table thead th {
  background: var(--ink-2);
  color: var(--white);
  padding: 1.4rem 1.8rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

table tbody td {
  padding: 1.3rem 1.8rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.6;
}

table tbody tr:hover td { background: var(--cream); }

.comp-code {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--cobalt);
  background: var(--cobalt-xl);
  padding: .25rem .7rem;
  border-radius: 2px;
  white-space: nowrap;
}

.comp-ok { color: #16a34a; font-weight: 700; font-size: 1.4rem; white-space: nowrap; }

/* ── VEILLE ───────────────────────────────────────────────── */

.veille-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  margin-top: 2rem;
}

.veille-card {
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 4px;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}

.veille-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--cobalt);
}

.veille-card__icon-wrap {
  width: 5.6rem; height: 5.6rem;
  border: 1.5px solid var(--rule);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  background: var(--cream);
  transition: all .25s;
  flex-shrink: 0;
}
.veille-card:hover .veille-card__icon-wrap {
  background: var(--cobalt-xl);
  border-color: var(--cobalt);
}

.veille-card__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.veille-card__desc {
  font-size: 1.5rem;
  color: var(--ink-muted);
  line-height: 1.7;
  flex: 1;
}

.veille-card__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: auto; }

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

/* ── TEXTE VEILLE ÉDITORIAL ───────────────────────────────── */

.prose { max-width: 75rem; }
.prose p { font-size: 1.75rem; line-height: 1.85; color: var(--ink-muted); margin-bottom: 2rem; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  margin: 4rem 0 1.5rem;
  letter-spacing: -.02em;
}
.prose h4 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 3rem 0 1rem;
}
.prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding-left: 0;
  margin: 1.5rem 0 2.5rem;
  background: var(--cream-2);
  border-left: 3px solid var(--cobalt);
  padding: 2rem 2.4rem;
  border-radius: 0 4px 4px 0;
}
.prose ul li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 1.6rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.prose ul li::before { content: '›'; position: absolute; left: 0; color: var(--cobalt); font-size: 1.8rem; line-height: 1.4; }
.prose ul li strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--ink-muted);
  padding: 2rem 2.8rem;
  border-left: 3px solid var(--cobalt);
  margin: 3rem 0;
  background: var(--cream-2);
  border-radius: 0 4px 4px 0;
}

/* ── CONTACT ──────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: center;
}

.contact-big {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.contact-big em { font-style: italic; font-weight: 400; color: var(--cobalt-l); }

.contact-sub {
  font-size: 1.7rem;
  color: rgba(247,244,239,.6);
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 1.55rem;
  color: var(--cobalt-l);
  border-bottom: 1px solid rgba(59,130,246,.35);
  padding-bottom: .3rem;
  transition: all .2s;
}
.contact-email-link:hover { color: var(--white); border-color: rgba(255,255,255,.5); }

.contact-socials { display: flex; gap: 1.4rem; margin-top: 3rem; flex-wrap: wrap; }

.contact-sidebar {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 3.5rem;
  background: rgba(255,255,255,.04);
}

.contact-sidebar__item {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-sidebar__item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-sidebar__key {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: rgba(247,244,239,.35);
  letter-spacing: .08em;
}
.contact-sidebar__val {
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--white);
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── FOOTER ───────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: rgba(247,244,239,.5);
  padding: 4rem 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
}
.footer__logo span { color: var(--cobalt-l); }

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer__links a { font-size: 1.35rem; color: rgba(247,244,239,.45); transition: color .2s; }
.footer__links a:hover { color: var(--white); }

.footer__copy { font-size: 1.35rem; }

@media (max-width: 600px) {
  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
}

/* ── BACK TO TOP ──────────────────────────────────────────── */

.back-top {
  position: fixed;
  bottom: 3.5rem; right: 3.5rem;
  width: 4.8rem; height: 4.8rem;
  background: var(--cobalt);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.back-top.visible { visibility: visible; opacity: 1; transform: translateY(0); }
.back-top:hover { background: #1641b5; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

@media (max-width: 500px) { .back-top { bottom: 2rem; right: 2rem; } }

/* ── ANIMATIONS D'ENTRÉE ──────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }