/**
 * Echelle typographique DjallaTech
 * Styles globaux pour les elements de texte
 */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  line-height: var(--line-height-loose);
  color: var(--color-text-secondary);
}

.text-on-dark,
.text-on-dark p,
.text-on-dark h1,
.text-on-dark h2,
.text-on-dark h3 {
  color: var(--color-text-on-dark);
}

.text-on-dark p {
  color: rgba(226, 232, 240, 0.80);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: var(--spacing-2);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-8);
  line-height: var(--line-height-loose);
}

.section-title--light,
.section-subtitle--light {
  color: var(--color-text-on-dark);
}

.section-subtitle--light {
  color: rgba(226, 232, 240, 0.80);
}

.label-accent {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-1);
}

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

strong {
  font-weight: var(--font-weight-semibold);
}
