/* ==========================================================
   L2A TRANSPORTS DÉDIÉS
   LAYOUT
   Version 1.0 Production
==========================================================*/

body{

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

    background:var(--bg-main);

    color:var(--text-light);

    line-height:1.7;

}

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

.container{

    width:min(92%, var(--container-width));

    margin-inline:auto;

}

.container-sm{

    width:min(90%,900px);

    margin-inline:auto;

}

.container-xs{

    width:min(90%,760px);

    margin-inline:auto;

}

/*==========================================================
=                     SECTION
==========================================================*/

.section{

    padding:110px 0;

    position:relative;

}

.section-small{

    padding:70px 0;

}

.section-large{

    padding:160px 0;

}

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

.section-title{

    font-size:3rem;

    font-weight:800;

    color:white;

    margin-bottom:20px;

    line-height:1.1;

}

.section-subtitle{

    color:var(--color-accent);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:4px;

    margin-bottom:18px;

}

.section-description{

    max-width:720px;

    color:var(--text-muted);

    font-size:1.1rem;

}

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

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:var(--header-height);

    z-index:var(--z-header);

    transition:var(--transition-normal);

}

.header.scrolled{

    height:72px;

    background:rgba(4,12,22,.82);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

    box-shadow:var(--shadow-medium);

}

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

.navbar{

    height:100%;

}

.nav-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:100%;

}

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

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:170px;

    transition:.4s;

}

.header.scrolled .logo img{

    width:145px;

}

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

.nav-menu{

    display:flex;

    gap:40px;

    align-items:center;

}

.nav-menu a{

    position:relative;

    font-weight:600;

    color:white;

    transition:.3s;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    background:var(--gradient-primary);

    transition:.3s;

}

.nav-menu a:hover{

    color:#ffffff;

}

.nav-menu a:hover::after{

    width:100%;

}

/*==========================================================
=                     CTA NAV
==========================================================*/

.nav-button{

    padding:15px 28px;

    border-radius:999px;

    background:var(--gradient-primary);

    color:white;

    font-weight:700;

    box-shadow:var(--shadow-blue);

    transition:.35s;

}

.nav-button:hover{

    transform:translateY(-3px);

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:var(--hero-overlay);

    z-index:1;

}

.hero video,

.hero img{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:760px;

}

.hero h1{

    font-size:5rem;

    line-height:1;

    color:white;

    margin-bottom:25px;

}

.hero p{

    font-size:1.2rem;

    color:var(--text-light);

    margin-bottom:40px;

}

/*==========================================================
=                     GRID
==========================================================*/

.grid{

    display:grid;

    gap:35px;

}

.grid-2{

    grid-template-columns:repeat(2,1fr);

}

.grid-3{

    grid-template-columns:repeat(3,1fr);

}

.grid-4{

    grid-template-columns:repeat(4,1fr);

}

/*==========================================================
=                     FLEX
==========================================================*/

.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;

}

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

.footer{

    background:var(--footer-bg);

    padding:80px 0 40px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-title{

    color:white;

    margin-bottom:20px;

    font-size:1.2rem;

}

.footer a{

    color:var(--text-muted);

    transition:.3s;

}

.footer a:hover{

    color:white;

}

.footer-bottom{

    margin-top:60px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.06);

    text-align:center;

    color:var(--text-muted);

}

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

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

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

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

.py{padding:100px 0;}
.py-sm{padding:60px 0;}
.py-lg{padding:150px 0;}

body.menu-open{

overflow:hidden;

}