@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter-VariableFont_slnt,wght.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100%;
    min-width: 0;
    background-color: var(--bg-body);
    display: flex;
    justify-content: center;
    color: var(--text-main);
    font-optical-sizing: auto;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

/* Conteneur format Mobile (iPhone proportion) */
.app-container {
    width: min(100vw, 414px);
    max-width: 100vw;
    min-height: 100vh;
    background-color: var(--bg-app);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: background-color 0.3s, color 0.3s;
}

a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; outline: none; background: none; font-family: inherit;}
ul { list-style: none; }

@media (max-width: 414px) {
    body {
        justify-content: flex-start;
    }

    .app-container {
        width: 100vw;
        max-width: none;
    }
}
