/* ==========================================================
   MEVERIA Website v1.0.0
   Style principal
   ========================================================== */

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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ==========================================================
   VARIABLES
   ========================================================== */

:root{

    --primary:#1f4fff;
    --primary-dark:#1539c7;

    --dark:#0b1220;

    --light:#ffffff;

    --gray:#f5f7fb;

    --text:#2c2c2c;

    --border:#e5e7eb;

    --radius:10px;

    --shadow:0 10px 25px rgba(0,0,0,.08);

    --transition:.25s;

}

/* ==========================================================
   HTML
   ========================================================== */

html{

    scroll-behavior:smooth;

}

/* ==========================================================
   BODY
   ========================================================== */

body{

    background:var(--gray);

    color:var(--text);

    font-family:Arial,Helvetica,sans-serif;

    line-height:1.6;

}

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

a{

    color:inherit;

    text-decoration:none;

}

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

img{

    max-width:100%;

    display:block;

}

/* ==========================================================
   CONTAINER
   ========================================================== */

.container{

    width:min(1200px,92%);

    margin:auto;

}

/* ==========================================================
   HEADER
   ========================================================== */

header{

    background:var(--dark);

    color:white;

    box-shadow:var(--shadow);

}

/* ==========================================================
   NAVBAR
   ========================================================== */

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

/* ==========================================================
   LOGO
   ========================================================== */

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-size:1.5rem;

    font-weight:700;

    color:white;

}

.logo img{

    height:52px;

    width:auto;

}

.logo span{

    letter-spacing:1px;

}

/* ==========================================================
   MENU
   ========================================================== */

nav ul{

    list-style:none;

    display:flex;

    gap:28px;

}

nav li{

    list-style:none;

}

nav a{

    color:white;

    transition:var(--transition);

}

nav a:hover{

    color:#7fb0ff;

}












/* ==========================================================
   HERO
   ========================================================== */

.hero{

    background:#ffffff;

    padding:80px 0;

}

.hero h1{

    font-size:3rem;

    margin-bottom:20px;

    color:var(--dark);

}

.hero h2{

    font-size:2.2rem;

    color:var(--primary);

    margin-bottom:20px;

}

.hero p{

    max-width:700px;

    font-size:1.1rem;

    margin-bottom:35px;

    color:#555;

}

/* ==========================================================
   BOUTONS
   ========================================================== */

.btn{

    display:inline-block;

    padding:14px 28px;

    background:var(--primary);

    color:#fff;

    border-radius:var(--radius);

    transition:var(--transition);

    font-weight:600;

}

.btn:hover{

    background:var(--primary-dark);

}

/* ==========================================================
   SECTIONS
   ========================================================== */

section{

    padding:70px 0;

}

section:nth-child(even){

    background:#ffffff;

}

section:nth-child(odd){

    background:#f5f7fb;

}

section h2{

    text-align:center;

    font-size:2rem;

    margin-bottom:20px;

    color:var(--dark);

}

section>p{

    text-align:center;

    max-width:850px;

    margin:0 auto 45px;

    color:#666;

}

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

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.card{

    background:#fff;

    border-radius:var(--radius);

    padding:30px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-6px);

}

.card h3{

    margin-bottom:15px;

    color:var(--primary);

}

.card p{

    color:#666;

}

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

ul.list{

    list-style:none;

    margin-top:20px;

}

ul.list li{

    padding:10px 0;

    border-bottom:1px solid var(--border);

}

/* ==========================================================
   TITRES
   ========================================================== */

h1,h2,h3{

    font-weight:700;

}

p{

    margin-bottom:15px;

}



/* ==========================================================
   FOOTER
   ========================================================== */

footer{

    background:var(--dark);

    color:#ffffff;

    margin-top:60px;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    padding:35px 0;

    flex-wrap:wrap;

}

.footer-content p{

    margin:0;

    color:#d8d8d8;

}

.footer-links{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

}

.footer-links a{

    color:#ffffff;

    transition:var(--transition);

}

.footer-links a:hover{

    color:#7fb0ff;

}

/* ==========================================================
   PAGES
   ========================================================== */

.page-header{

    background:#ffffff;

    padding:60px 0 40px;

    text-align:center;

}

.page-header h1{

    font-size:2.5rem;

    color:var(--dark);

    margin-bottom:15px;

}

.page-header p{

    max-width:700px;

    margin:auto;

    color:#666;

}

.page-content{

    padding:60px 0;

}

/* ==========================================================
   TABLEAUX
   ========================================================== */

table{

    width:100%;

    border-collapse:collapse;

    margin:25px 0;

}

th{

    background:var(--primary);

    color:white;

    padding:14px;

}

td{

    padding:14px;

    border:1px solid var(--border);

}

tr:nth-child(even){

    background:#fafafa;

}

/* ==========================================================
   FORMULAIRES
   ========================================================== */

form{

    max-width:700px;

}

label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

input,
textarea{

    width:100%;

    padding:14px;

    border:1px solid #cccccc;

    border-radius:var(--radius);

    margin-bottom:20px;

    font-size:1rem;

}

textarea{

    resize:vertical;

    min-height:160px;

}

input:focus,
textarea:focus{

    outline:none;

    border-color:var(--primary);

}

/* ==========================================================
   UTILITAIRES
   ========================================================== */

.text-center{

    text-align:center;

}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}

/* ==========================================================
   RESPONSIVE TABLETTE
   ========================================================== */

@media (max-width:992px){

    nav{

        flex-direction:column;

        gap:20px;

    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .hero h1{

        font-size:2.4rem;

    }

    .hero h2{

        font-size:1.8rem;

    }

}

/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */

@media (max-width:768px){

    nav{

        flex-direction:column;

        align-items:center;

    }

    nav ul{

        flex-direction:column;

        align-items:center;

        gap:14px;

        margin-top:20px;

    }

    .logo{

        flex-direction:column;

        text-align:center;

    }

    .logo img{

        height:44px;

    }

    .hero{

        text-align:center;

        padding:60px 0;

    }

    .hero h1{

        font-size:2rem;

    }

    .hero h2{

        font-size:1.5rem;

    }

    section{

        padding:50px 0;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .footer-content{

        flex-direction:column;

        text-align:center;

    }

    .footer-links{

        justify-content:center;

    }

}

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

a,
.btn,
.card{

    transition:all .25s ease;

}

.card:hover{

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.btn:hover{

    transform:translateY(-2px);

}

/* ==========================================================
   SÉLECTION
   ========================================================== */

::selection{

    background:var(--primary);

    color:#ffffff;

}

/* ==========================================================
   FIN DU FICHIER
   ========================================================== */

