/*
 * Reset + base globaux pour l'app web. Les tokens viennent de tokens.css
 * (généré depuis specs/tokens.json par tooling/design-tokens-build.mjs).
 */

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--color-surface-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { overflow-y: auto; }

.izwb-fab {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--color-brand-orange);
    color: #FFFFFF;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.izwb-fab:hover { filter: brightness(1.05); }
.izwb-fab:active { transform: scale(0.96); }

button {
    font: inherit;
    cursor: pointer;
}

a { color: var(--color-brand-orange); }
nav a { text-decoration: none; }

/*
 * Dark mode différé : tokens light-only pour l'instant. Quand on aura
 * les valeurs dark dans tokens.css (P6.W.3.x), on ajoutera une règle
 * @media (prefers-color-scheme: dark) qui surcharge les --color-*.
 */
