/**
 * Typographie Globale - Diezstar Theme
 * 
 * Règles typographiques pour titres et texte
 * Responsive avec ajustements TV
 */

/* Base typographique */
body {
    font-family: var(--dz-font-body);
    color: var(--dz-text-primary);
    background-color: var(--dz-bg-main);
    line-height: var(--dz-line-height-normal);
}

/* Titres - Source Sans 3 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--dz-font-title);
    font-weight: var(--dz-font-weight-bold);
    line-height: var(--dz-line-height-tight);
    color: var(--dz-text-primary);
    margin-bottom: var(--dz-space-md);
}

/* Tailles de titres - Mobile/Desktop */
h1 {
    font-size: 2rem; /* 32px */
    font-weight: var(--dz-font-weight-bold);
}

h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: var(--dz-font-weight-bold);
}

h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: var(--dz-font-weight-bold);
}

h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: var(--dz-font-weight-medium);
}

h5 {
    font-size: 1.125rem; /* 18px */
    font-weight: var(--dz-font-weight-medium);
}

h6 {
    font-size: 1rem; /* 16px */
    font-weight: var(--dz-font-weight-medium);
}

/* Responsive Typography - Mobile (priorité au confort) */
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 1.75rem; /* 28px */
    }
    
    h2 {
        font-size: 1.5rem; /* 24px */
    }
    
    h3 {
        font-size: 1.25rem; /* 20px */
    }
}

/* Responsive Typography - Desktop (équilibre) */
@media (min-width: 768px) and (max-width: 1599px) {
    body {
        font-size: 15px;
    }
}

/* Responsive Typography - TV / Grand écran (immersion) */
@media (min-width: 1600px) {
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 3rem; /* 48px */
    }
    
    h2 {
        font-size: 2.2rem; /* 35px */
    }
    
    h3 {
        font-size: 1.875rem; /* 30px */
    }
    
    h4 {
        font-size: 1.5rem; /* 24px */
    }
    
    h5 {
        font-size: 1.25rem; /* 20px */
    }
    
    h6 {
        font-size: 1.125rem; /* 18px */
    }
    
    /* Container TV - Respiration maximale */
    .container {
        max-width: var(--dz-container-tv-max-width);
        margin: 0 auto;
    }
}
