/* Amélioration des polices pour toutes les pages */

/* Polices de base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Paragraphes */
p {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    margin-bottom: 1.5rem;
}

/* Liens - correction globale */
a {
    text-decoration: none;
    border-bottom: none !important;
    outline: none !important;
    transition: color 0.3s ease;
}

a:hover, a:focus, a:active {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
}

a:focus {
    box-shadow: none !important;
}

/* Inputs - correction globale */
input, textarea, select, button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

input:focus, textarea:focus, select:focus, button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Boutons */
.btn, button {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Classes spécifiques pour les liens */
.link-clean {
    text-decoration: none;
    border-bottom: none;
    outline: none;
}

.link-clean:hover, .link-clean:focus, .link-clean:active {
    text-decoration: none;
    border-bottom: none;
    outline: none;
}

/* Correction spécifique pour les liens de licence */
.licence-link, .licence-action-btn {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
}

.licence-link:hover, .licence-link:focus, .licence-link:active,
.licence-action-btn:hover, .licence-action-btn:focus, .licence-action-btn:active {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
}

/* Amélioration des placeholders */
::placeholder {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
}
