
/* ------------------------------------------------------------
   HEADER
------------------------------------------------------------ */

header{
position:fixed;
top:0;
width:100%;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
z-index:2000;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:1rem 5%;
}


/* ------------------------------------------------------------
   LOGO
------------------------------------------------------------ */

.logo-container{
display:flex;
align-items:center;
}

.logo-img{
width:220px;
height:auto;
max-width:60vw;
}


/* ------------------------------------------------------------
   NAVIGATION
------------------------------------------------------------ */

.nav-links{
display:flex;
list-style:none;
gap:2rem;
align-items:center;
}


/* LIENS (SAUF CTA) */

.nav-links a:not(.cta-button){
position:relative;
text-decoration:none;
color:#113356;
font-weight:500;
padding-bottom:4px;
transition:color 0.25s ease;
}


/* LIGNE ANIMÉE */

.nav-links a:not(.cta-button)::after{
content:"";
position:absolute;
left:0;
bottom:0;

width:100%;
height:2px;

background:#F2B705;

transform:scaleX(0);
transform-origin:left;

transition:transform 0.35s ease;
}


/* HOVER */

.nav-links a:not(.cta-button):hover{
color:#0d2643;
}

.nav-links a:not(.cta-button):hover::after{
transform:scaleX(1);
}


/* ------------------------------------------------------------
   BOUTON CTA
------------------------------------------------------------ */

.cta-button{
background:#113356;
color:white !important;
padding:0.6rem 1.3rem;
border-radius:30px;
transition:all 0.3s ease;
text-decoration: none;
}

.cta-button:hover{
background:#F2B705;
color:#113356 !important;
}


/* ------------------------------------------------------------
   MENU BURGER
------------------------------------------------------------ */

.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
width:30px;
height:24px;
justify-content:space-between;
}

.menu-toggle span{
width:100%;
height:3px;
background:#113356;
border-radius:3px;
transition:0.35s;
}


/* ------------------------------------------------------------
   MOBILE & TABLET
------------------------------------------------------------ */

@media(max-width:900px){

.menu-toggle{
display:flex;
}

.nav-links{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;

background:white;

transform:translateY(-100%);
transition:transform 0.45s ease;

flex-direction:column;
align-items:center;
justify-content:center;
gap:2.5rem;

font-size:1.6rem;
}

.nav-links.active{
transform:translateY(0);
}


/* animation burger → croix */

.menu-toggle.active .line1{
transform:rotate(45deg) translate(6px,6px);
}

.menu-toggle.active .line2{
opacity:0;
}

.menu-toggle.active .line3{
transform:rotate(-45deg) translate(7px,-6px);
}

}


/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */

#site-footer{
background:white;
border-top:1px solid #eee;
margin-top:80px;
}

/* CONTAINER */

.footer-container{
max-width:1400px;
margin:auto;
padding:60px 20px;

display:flex;
justify-content:space-between;
gap:60px;
flex-wrap:wrap;
}

/* SECTIONS */

.footer-section{
flex:1;
min-width:220px;
}

/* section texte plus large */

#about-us{
flex:2;
}

.footer-section h3{
color:#113356;
margin-bottom:20px;
font-size:1.2em;
}

/* TEXTE */

.footer-section p{
color:#555;
line-height:1.7;
font-size:0.95em;
}

/* LISTES */

.footer-section ul{
list-style:none;
padding:0;
}

.footer-section li{
margin-bottom:12px;
color:#555;
font-size:0.95em;
display:flex;
align-items:center;
gap:10px;
}

/* ICONES */

.footer-section i{
color:#113356;
}

/* LIENS FOOTER */

.footer-section a{
color:#113356;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

.footer-section a:hover{
color:#F2B705;
}

/* CGP LINK */

.cgp-link{
font-weight:600;
}

.cgp-link:hover{
text-decoration:underline;
}

/* SOCIAL */

.social-icons{
display:flex;
gap:15px;
}

.social-icons a{
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;

width:40px;
height:40px;

border-radius:50%;
background:#ffffff;
color:#113356;

transition:0.3s;
}

.social-icons a:hover{
background:#F2B705;
color:#113356;
}

/* BOTTOM */

.footer-bottom{
border-top:1px solid #eee;
text-align:center;
padding:20px;
font-size:0.9em;
color:#777;
}

.footer-bottom a{
color:#113356;
text-decoration:none;
font-weight:500;
}

.footer-bottom a:hover{
color:#F2B705;
}

/* ------------------------------------------------------------
   TABLETTE
------------------------------------------------------------ */

@media (max-width:1024px){

.footer-container{
flex-direction:column;
align-items:center;
text-align:center;
gap:40px;
}

.footer-section{
max-width:500px;
}

.footer-section li{
justify-content:center;
}

.social-icons{
justify-content:center;
}

}

/* ------------------------------------------------------------
   MOBILE
------------------------------------------------------------ */

@media (max-width:600px){

.footer-container{
padding:40px 20px;
gap:30px;
}

.footer-section h3{
font-size:1.1em;
}

.footer-section p{
font-size:0.9em;
}

.footer-section li{
font-size:0.9em;
}

.social-icons a{
width:36px;
height:36px;
}

.footer-bottom{
font-size:0.8em;
padding:15px;
}

}