/* ============================================================
   layout.css — Structure de page, grille, en-tête, pied de page
   ============================================================ */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;

  padding-top: 56px; /* ← EXACTEMENT la hauteur de ta navbar */
}

/* ── Conteneur principal ── */
.cv-root {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

/* ── En-tête ── */
.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.header-right {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
  flex-shrink: 0;
}

/* ── Grille 2 colonnes ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
}

/* ── Sections ── */
.section {
  margin-bottom: var(--space-xl);
}

/* ── Pied de page ── */
.footer-line {
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .header {
    flex-direction: column;
    gap: var(--space-md);
  }

  .header-right {
    text-align: left;
  }

  .contact-item {
    justify-content: flex-start !important;
    flex-direction: row-reverse;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}


.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}