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


/*==========================================================
=            ECRANS XXL (1600px et +)
==========================================================*/

@media (min-width:1600px){

.hero h1{

font-size:6rem;

}

.section{

padding:140px 0;

}

.container{

max-width:1500px;

}

}


/*==========================================================
=                  1400px
==========================================================*/

@media(max-width:1400px){

.hero h1{

font-size:4.5rem;

}

.section-title{

font-size:2.8rem;

}

.grid-4{

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

}

}


/*==========================================================
=                  1200px
==========================================================*/

@media(max-width:1200px){

.hero h1{

font-size:4rem;

}

.hero-content{

max-width:700px;

}

.footer-grid{

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

}

.grid-3{

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

}

}


/*==========================================================
=                  992px
==========================================================*/

@media(max-width:992px){

.header{

height:80px;

}

.nav-menu{

display:none;

}

.mobile-toggle{

display:flex;

}

.grid-2,
.grid-3,
.grid-4{

grid-template-columns:1fr;

}

.hero{

text-align:center;

}

.hero-content{

margin:auto;

}

.hero h1{

font-size:3.3rem;

}

.section{

padding:90px 0;

}

.section-title{

font-size:2.4rem;

}

.cta{

padding:60px 35px;

}

.footer-grid{

grid-template-columns:1fr;

gap:40px;

}

}


/*==========================================================
=                  768px
==========================================================*/

@media(max-width:768px){

.container{

width:92%;

}

.hero{

min-height:90vh;

}

.hero h1{

font-size:2.8rem;

line-height:1.15;

}

.hero p{

font-size:1rem;

}

.section{

padding:70px 0;

}

.section-title{

font-size:2rem;

}

.btn{

width:100%;

justify-content:center;

}

.card{

padding:28px;

}

.logo img{

width:150px;

}

.cta h2{

font-size:2rem;

}

}


/*==========================================================
=                  576px
==========================================================*/

@media(max-width:576px){

.hero{

padding-top:100px;

}

.hero h1{

font-size:2.2rem;

}

.hero p{

font-size:.95rem;

}

.section-subtitle{

font-size:.75rem;

letter-spacing:2px;

}

.section-title{

font-size:1.8rem;

}

.card{

padding:24px;

border-radius:18px;

}

.icon-circle{

width:60px;

height:60px;

font-size:24px;

}

.stat-number{

font-size:2.4rem;

}

.footer{

text-align:center;

}

.footer-grid{

gap:30px;

}

.contact{

flex-direction:column;

}

}


/*==========================================================
=                  420px
==========================================================*/

@media(max-width:420px){

.hero h1{

font-size:1.9rem;

}

.logo img{

width:130px;

}

.btn{

padding:15px;

font-size:.9rem;

}

.card-title{

font-size:1.25rem;

}

.card-text{

font-size:.95rem;

}

.section{

padding:60px 0;

}

}


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

.mobile-menu{

position:fixed;

top:0;

right:-100%;

width:320px;

height:100vh;

background:rgba(7,17,31,.97);

backdrop-filter:blur(18px);

display:flex;

flex-direction:column;

justify-content:center;

padding:40px;

transition:.45s;

z-index:9999;

}

.mobile-menu.active{

right:0;

}

.mobile-menu a{

padding:16px 0;

font-size:1.15rem;

font-weight:600;

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

}

.mobile-toggle{

display:none;

flex-direction:column;

gap:5px;

cursor:pointer;

}

.mobile-toggle span{

width:28px;

height:3px;

border-radius:20px;

background:white;

transition:.3s;

}

.mobile-toggle.active span:nth-child(1){

transform:rotate(45deg) translateY(11px);

}

.mobile-toggle.active span:nth-child(2){

opacity:0;

}

.mobile-toggle.active span:nth-child(3){

transform:rotate(-45deg) translateY(-11px);

}


/*==========================================================
=               TYPOGRAPHIE FLUIDE
==========================================================*/

.hero h1{

font-size:clamp(2rem,5vw,6rem);

}

.section-title{

font-size:clamp(1.8rem,3vw,3rem);

}

.hero p{

font-size:clamp(1rem,1.6vw,1.3rem);

}


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

img{

max-width:100%;

height:auto;

display:block;

}


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

.table{

display:block;

overflow-x:auto;

white-space:nowrap;

}