/* Common styles for all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: #f9f9f9;
    color: #1a1a1a;
    min-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 24px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    color: #1a1a1a;
}

.header-content p {
    font-size: 1rem;
    color: #666666;
    margin-top: 8px;
}

h1, h2 {
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.6rem;
    margin: 24px 0 12px 0;
}

p {
    font-size: 1.1rem;
    color: #333333;
}

/* Links styling */
a {
    color: #0173B2;
    text-decoration: underline;
}

a:visited {
    color: #0173B2;
}

a:hover {
    color: #DE8F05;
}

/* Focus styles for keyboard navigation */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid #DE8F05;
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast focus for better visibility */
@media (prefers-contrast: high) {
    a:focus, button:focus, input:focus, select:focus, textarea:focus {
        outline: 3px solid #000000;
    }
}

/* Skip links pour l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0173B2;
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Responsive tablet */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .header-content h1 {
        font-size: 2rem;
    }
}

/* Responsive mobile */
@media (max-width: 600px) {
    header {
        padding: 16px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .header-content h1 {
        font-size: 1.6rem;
    }

    h1 {
        font-size: 2rem;
    }
}
