/* Effets hover stylés et transitions fluides */
a, .a1, .at2, .at3, .at4, .aap, #nav a, .imgb, .imgp, iframe {
  transition: all 0.3s ease-in-out;
}

/* Liens du menu */
#nav a:hover {
  background-color: #B9E2F2;
  color: #002559;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Bouton principal */
.a1:hover {
  background-color: #B9E2F2;
  color: #002559;
  transform: scale(1.05);
  text-decoration: none;
}

/* Bouton section 2 */
.at2:hover {
  background-color: #648EC9;
  color: white;
  transform: translateY(-5px);
}

/* Boutons généraux */
.at3:hover,
.at4:hover {
  background-color: #002559;
  color: #B9E2F2;
  transform: scale(1.05);
}

/* Bouton blanc stylé */
.aap:hover {
  background-color: #002559;
  color: #ffffff;
  transform: scale(1.05);
}

/* Images */
.imgb:hover,
.imgp:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Iframe */
iframe:hover {
  transform: scale(1.02);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 25px 50px -12px;
}


* {
 border: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: inherit;
  z-index: 1000;
  padding-right: 30px;
  padding-left: 30px;
}


.flex{
  display: flex ;
  align-items: center;
  align-items: flex-start;
  gap: 2rem;
}

#nav {
  color: white;
  font-family: "Montserrat Alternates";
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  width: 100%;
}

#nav img {
  width: 250px;
  height: auto;
  display: block;
}

#nav a{
  margin-right: 20px;
  margin-left: 20px;
  border-radius: 0px 0px 20px 20px;
  padding: 10px 20px 10px 20px;
  color: white;
  background-color: #648EC9 ;
  border:solid 3px #B9E2F2;
}
nav {
  display: flex;
  margin: 0;
  padding: 0;
  align-self: flex-start; /* Assure que nav est alignée en haut */
}

nav a {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.sec1{
  height: 930px;
  text-align: center;
  align-content: center;
}

.ht1{
  font-family: "Montserrat";
  font-weight: 400;
  margin: 40px;
  font-size: 40pt;
}

.a1{
  text-decoration: none;
  background-color: #648EC9;
  font-size: 28pt;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  padding: 10px 20px 10px 20px;
  border-radius: 25px;
  color: #B9E2F2;
}


.a1:hover{
  text-decoration: underline;
}

.sec2{
  align-content: center ;
  top: 0;
  text-align: center;
  height: 930px;
  background-repeat: no-repeat;
  background-size: cover;
  background: url(../asset/comp1.png);
}

.ht2{
  margin-bottom: 400px;
  color: rgb(255, 255, 255);
  font-size: 50pt ;
}

.at2{
  align-content: end;
  bottom: 0;
  border-radius: 20px ;
  border: #648EC9 solid 2px;
  color: #648EC9;
  background-color: #ffffff;
  padding: 20px;
  font-size: 20pt;
  font-family: "Montserrat" ;
  font-weight: bold;
}

.sec3{
  text-align: center;
  height: 930px;
}

.sec4{
  text-align: center;
  height: 930px;
}

#c5{
  background: url(../asset/tsanfleuron.png);
}

#c3{
  background: url(../asset/altesh.png);
}

#c4{
  background: url(../asset/tschierva.png);
}

.hb{
  margin-top: 200px;
  font-family: "lora";
  font-size: 40pt;
  color: #ffffff;
  -webkit-text-stroke: black 2px;
  margin-bottom: 40px;
}

.hb1{
  margin-top: 240px;
  font-family: "lora";
  font-size: 40pt;
  color: #B9E2F2;
  font-weight: bolder;
  -webkit-text-stroke: #002559 2px;
  margin-bottom: 40px;
}
.ht3{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 60px;
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 80pt;
}

.h2t2{
  text-align: left;
  font-family: "Lora";
  font-size: 52pt;
}

.gauche{
  margin-left: 100px;
  display: flex;
  flex-direction: column;
}

.droite{
  text-align: left;
  align-items: left;
  padding: 30px;
  display: flex;
  flex-direction: column;

}

iframe{
  width: 800px;
  height: 400px;
  border-radius: 52px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.h2t3{
  font-size: 40pt;
  font-family: "Montserrat";
  font-weight: bold;
}

ul{
  margin-left: 60px;
  margin-top: 20px;
  text-align: left;
  font-family: "Montserrat";
  font-weight: 300;
  font-size: 20pt;
  text-align: left;
}

.at3{
  margin: 40px 20px 20px 40px;
  border-radius: 32px;
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 24pt;
  text-decoration: none;
  color: black;
  background-color: #B9E2F2;
  padding: 20px;
}

#documentaire{
  height: 600px;
  width: 1200px;
  margin: 200px;
  align-items: center;
}

#c2{
  background-size: cover;
  background: url(../asset/comp2.png);
}

.flex{
  display: flex;
  padding: 50px;
}

#large{
  margin: 50px;
}

#ez{
  margin: 120px 50px 60px 60px;
}

p{
  font-family: "Lora";
  font-size: 20pt;
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
}

.fb{
  background-color: #648EC9;
  height: 900px;
  display: flex;
  text-align: center;
  padding-top: 100px;
}

.h2t4{
  font-size: 28pt;
  font-weight: bold;
  font-family: "Montserrat";
}

.imgp{
  margin: 50px;
  width: 300px;
}

.ap{
  font-weight: bolder;
  font-size: 32pt;
}

.aap{
  margin: 50px;
  color: #ffffff;
  margin-top: 50px;
  font-weight: bolder;
  font-size: 24pt;
  background-color: #B9E2F2;
  border-radius: 20px;
  padding: 20px;
}

.h1b{
  color: #ffffff;
  font-family: "lora";
  font-weight: bolder;
  font-size: 60pt;
}

.bb{
  display: flex;
  padding: 100px;
  color: #ffffff;
  background-color: #648EC9;
}
.imgb{
  width: 500px;
  margin: 50px;
  border-radius: 25px;
}

.pt2{
  font-family: "Lora";
  font-weight: 600;
  margin-bottom: 50px;
}

.t5{
  font-family: "Montserrat";
  font-weight: bolder;
  font-size: 70pt;
  margin: 200px 0px 30px 50px;
}

.sec6{
  height: 960px;
  background-color: #648EC9;
  text-align: center;
}

.ht6{
  font: "Lora" ;
  font-weight: lighter;
  font-size: 40pt;
}

#bg{
  margin-bottom: 50px;
}

.at4{
  margin-top: 200px;
  color: black;
  background-color: #B9E2F2;
  font-family: "Lora";
  font-weight: bold;
  font-size: 20pt;
  padding: 20px;
  border-radius: 25px;
  border: #B9E2F2 2px solid;
}

a{
  text-decoration: none;
}

A:hover{
  text-decoration: underline;
}