/* Reset léger + typographie de base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--color-gray-900);
    background: var(--color-gray-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, figure {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/**
 * Logo officiel SECONDE BANCASSURANCE (public/assets/images/logo.png).
 * Asset unique et non modifiable : seule la largeur d'affichage varie
 * selon l'emplacement (jamais width + height simultanés, pour ne jamais
 * déformer le fichier).
 */
.brand-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-logo {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 95px;
    }
}

/* --- Page invité (connexion, mot de passe oublié, ...) --- */
.layout-guest {
    min-height: 100vh;
}

.guest-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(12px, 3vh, var(--space-8)) var(--space-5);
}

.placeholder-page {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-6);
}
