/* ============================================================
   Layout — barre de navigation, rythme vertical des sections,
   en-têtes de section.
   ============================================================ */

/* --- Barre du haut --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: .3s;
}
.topbar.scrolled {
  background: rgba(246, 239, 226, .85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand b { color: var(--accent); }

.topnav { display: flex; gap: 26px; align-items: center; }
.topnav .lk {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.topnav .lk:hover { color: var(--ink); }

.langbtn {
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 7px 14px;
  cursor: pointer;
  transition: .2s;
}
.langbtn:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 840px) {
  .topnav .lk { display: none; }
}

/* --- Sections --- */
section { padding: clamp(60px, 9vw, 128px) 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(34px, 5vw, 60px);
  flex-wrap: wrap;
}
.sec-head .kick { margin-bottom: 14px; display: block; }

.sec-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.03em;
  white-space: pre-line;
}
.sec-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}
