/*----------------- HERO ---------------*/

.hero {
  position: relative;
  padding: 64px var(--pad) 48px;
}

.hero-index {
  position: absolute;
  top: 18px;
  left: var(--pad);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}

.pavillons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-title {
  margin: 0;
  font-size: 120px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-title-dot {
  color: var(--graphiva-yellow);
}

.hero-description {
  margin: 28px 0 20px;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-60);
}

/*----------------- POSITION DU CARNET ---------------*/

.position-carnet {
  background-color: var(--paper);
  border: var(--hairline);
  padding: 24px;
}

.position-carnet-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-60);
}

.position-carnet .journal-compact {
  margin-top: 14px;
}

.position-carnet-stats {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-15);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.position-carnet-stats strong {
  font-size: 22px;
  font-weight: 700;
}

.stat-libelle {
  color: var(--ink-60);
}

/*----------------- FILTRES ---------------*/

.filtres-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--pad) 32px;
  border-bottom: var(--hairline);
}

.filtre-groupe {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
}

.filtre-groupe-total {
  flex: 1;
  gap: 8px;
}

.filtre-groupe-tri {
  gap: 8px;
}

.filtre-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-60);
  margin-right: 8px;
}

.filtre-groupe-tri .filtre-label {
  margin-right: 0;
}

.filtre-total {
  font-size: 13px;
  font-weight: 600;
}

.filtre-tri-lien {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: var(--hairline);
}

/*----------------- GRILLE : LISTE + SIDEBAR ---------------*/

.journal-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  padding: 48px var(--pad);
}

.journal-liste {
  display: flex;
  flex-direction: column;
}

/* --- entrée courante --- */

.entree {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1.5px solid var(--ink-15);
  text-decoration: none;
  color: var(--ink);
}

.entree-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-60);
}

.entree-jour {
  font-weight: 700;
  color: var(--graphiva-yellow);
}

.entree-titre {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.entree-desc {
  margin: 8px 0 0;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
}

.entree-fleche {
  align-self: center;
  font-size: 20px;
  color: var(--ink-60);
}

/* --- entrée mise en avant --- */

.entree-featured {
  background-color: var(--paper);
  border: var(--hairline);
  margin-bottom: 32px;
}

.entree-featured-image {
  height: 300px;
}

img.entree-featured-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.entree-featured-texte {
  padding: 32px;
}

.entree-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-60);
}

.entree-featured-titre {
  margin: 16px 0 12px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.entree-featured-desc {
  margin: 0;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-60);
}

.entree-featured-bas {
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.entree-featured-bas .btn-lien {
  font-weight: 700;
}

/* --- charger plus --- */

.journal-plus {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/*----------------- SIDEBAR ---------------*/

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-self: start;
}

.profile-card {
  background-color: var(--paper);
  border: var(--hairline);
  padding: 24px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-pic {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-2);
  border: var(--hairline);
}

.profile-nom {
  font-size: 20px;
  font-weight: 800;
}

.profile-position {
  font-size: 12px;
  color: var(--ink-60);
}

.profile-bio {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.profile-lien {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: var(--hairline);
  padding-bottom: 2px;
}

/*----------------- PIED DE PAGE LÉGER ---------------*/

.footer-leger {
  padding: 36px var(--pad);
  border-top: var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-60);
}

.footer-pavillons {
  display: flex;
  gap: 4px;
}
