/* =====================================================
   ATLife - Base CSS
   Reset + styles globaux
===================================================== */


/* ===============================
   RESET GLOBAL
================================ */


*,
*::before,
*::after {

    margin:0;

    padding:0;

    box-sizing:border-box;

}





html {

    scroll-behavior:smooth;

    font-size:16px;

}





body {


    font-family:var(--font-family);


    background:var(--body-bg);


    color:var(--text-primary);


    line-height:1.5;


    min-height:100vh;


}





/* ===============================
   TEXTES
================================ */


h1,
h2,
h3,
h4,
h5,
h6 {


    font-weight:700;


    color:var(--text-primary);


    line-height:1.3;


}





h1 {

    font-size:var(--font-size-xxl);

}



h2 {

    font-size:var(--font-size-xl);

}



h3 {

    font-size:var(--font-size-lg);

}



p {


    color:var(--text-secondary);


    margin-bottom:var(--space-md);


}





small {


    font-size:var(--font-size-xs);


    color:var(--text-muted);


}





strong {


    font-weight:700;


}





/* ===============================
   LIENS
================================ */


a {


    color:inherit;


    text-decoration:none;


    transition:var(--transition);


}





a:hover {


    text-decoration:none;


}





/* ===============================
   LISTES
================================ */


ul,
ol {


    list-style:none;


}





/* ===============================
   IMAGES
================================ */


img {


    max-width:100%;


    display:block;


}





/* ===============================
   FORM ELEMENTS
================================ */


button,
input,
select,
textarea {


    font-family:inherit;


}





button {


    cursor:pointer;


}





input,
select,
textarea {


    outline:none;


}





textarea {


    resize:vertical;


}





/* ===============================
   SCROLLBAR
================================ */



::-webkit-scrollbar {


    width:8px;


}





::-webkit-scrollbar-track {


    background:#F1F5F9;


}





::-webkit-scrollbar-thumb {


    background:#CBD5E1;


    border-radius:20px;


}





::-webkit-scrollbar-thumb:hover {


    background:#94A3B8;


}





/* ===============================
   CONTAINERS
================================ */


.container {


    width:100%;


    max-width:1200px;


    margin:0 auto;


    padding:0 var(--space-md);


}





.full-width {


    width:100%;


}





.text-center {


    text-align:center;


}





.text-right {


    text-align:right;


}





/* ===============================
   DISPLAY UTILITIES
================================ */


.flex {


    display:flex;


}





.flex-center {


    display:flex;


    justify-content:center;


    align-items:center;


}





.flex-between {


    display:flex;


    justify-content:space-between;


    align-items:center;


}





.flex-column {


    display:flex;


    flex-direction:column;


}





.grid {


    display:grid;


}





.hidden {


    display:none;


}





/* ===============================
   SPACING UTILITIES
================================ */


.mt-1 {

    margin-top:var(--space-xs);

}


.mt-2 {

    margin-top:var(--space-sm);

}


.mt-3 {

    margin-top:var(--space-md);

}


.mt-4 {

    margin-top:var(--space-lg);

}


.mt-5 {

    margin-top:var(--space-xl);

}





.mb-1 {

    margin-bottom:var(--space-xs);

}


.mb-2 {

    margin-bottom:var(--space-sm);

}


.mb-3 {

    margin-bottom:var(--space-md);

}


.mb-4 {

    margin-bottom:var(--space-lg);

}


.mb-5 {

    margin-bottom:var(--space-xl);

}





/* ===============================
   COLORS UTILITIES
================================ */


.text-primary {


    color:var(--primary);


}



.text-accent {


    color:var(--accent);


}



.text-success {


    color:var(--success);


}



.text-danger {


    color:var(--danger);


}



.text-muted {


    color:var(--text-muted);


}





/* ===============================
   BACKGROUND UTILITIES
================================ */


.bg-primary {


    background:var(--primary);


    color:white;


}





.bg-accent {


    background:var(--accent);


    color:white;


}





.bg-white {


    background:white;


}





/* ===============================
   CARDS BASIC
================================ */


.card {


    background:var(--card-bg);


    border-radius:var(--radius);


    box-shadow:var(--shadow);


    padding:var(--space-lg);


}





/* ===============================
   ANIMATIONS
================================ */


.fade-in {


    animation:fadeIn .3s ease;


}





@keyframes fadeIn {


    from {


        opacity:0;


        transform:translateY(10px);


    }



    to {


        opacity:1;


        transform:translateY(0);


    }


}






.slide-up {


    animation:slideUp .3s ease;


}





@keyframes slideUp {


    from {


        opacity:0;


        transform:translateY(20px);


    }



    to {


        opacity:1;


        transform:translateY(0);


    }


}
