.BackFirstSection {
  height: 70vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10px;
}

.BackFirstSection h1 {
  color: white;
  font-size: 70px;
  font-weight: 400;
  margin-bottom: 5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.BackFirstSection p {
  color: white;
  font-size: 16px;
  font-weight: lighter;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.BackFirstSection p:first-of-type{
  color: white;
  font-size: 16px;
  font-weight: lighter;
  line-height: 1.2;
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.BackFirstSection h2 {
  color: white;
  font-size: 18px;
  margin-bottom: 5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.titreacro {
  margin-bottom: 40px;
  margin-left: 40px;
}

.research {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-research {
  padding: 10px 20px;
  border-radius: 30px;
  background-color: #E5811E;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-research:active {
  transform: scale(0.96);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  background-color: #cc6f15;
}

.select-container {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: none;
  border-radius: 9999px;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 350px;
  max-width: 400px;
  outline: none;
  position: relative;
  cursor: pointer;
}

#imagefond {
  position: absolute;
  z-index: -10;
}

/* 🔁 Responsive pour les petits écrans */
@media (max-width: 600px) {
  .BackFirstSection {
    padding: 40px 10px;
    align-items: center;
    text-align: center;
  }

  #imagefond{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -10;
  }

  .BackFirstSection h1 {
    font-size: 36px;
  }

  .BackFirstSection p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .BackFirstSection h2 {
    font-size: 16px;
  }

  .titreacro {
    margin-left: 0;
  }

  .research {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
  }

  .btn-research{
    width: 40%;
    font-size: 12px;
    max-width: 100%;
  }

  .select-container {
      font-size: 6px;
      width: 200px;
  }

  select#namevillethermale {
    color: #666767;
    font-size: 10px;
}

}

.top{
  width: 100%;
  background-color: #44A0B6;
  padding: 0px 20px 0px 20px;
}

.top h1{
  padding-top: 40px;
  text-align: center;
  font-size: 28px;
  color: white;
  
}

.grid-top-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(11, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  margin: 0 auto;
  padding: 50px;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 20px;
  font-size: 1.2em;
  box-shadow: inset 0 -130px 10px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Positionnement initial */
.card-1 {
  grid-area: 1 / 1 / 12 / 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.card-1 h1 {
  color: #FFD700;
  font-size: 100px;
  font-weight: 700;
  text-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
  height: 126px;
}

.card-1 h2{
  font-size: xx-large;
  font-weight: bold;
  text-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
}

.card-1 .l1-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
}

.card-1 .l2-1{
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.card-1 .l2-1 p {
  width: 90%;
  text-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
}

.bg-material_symbols_stars_2_rounded {
  width: 27px; height: 27px;
    background: url('/assets/img/icons/css_sprites.png')  -500px -249px;
    transform: scale(0.8);
}

.bg-iconamoon1{
  width: 60px; height: 60px;
    background: url('/assets/img/icons/css_sprites.png') -500px -189px;
}


.bg-iconamoon2{
  width: 60px; height: 60px;
    background: url('/assets/img/icons/css_sprites.png') -500px -129px;
}

.notation{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.3);
}

.card-1 .notation{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 30px;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.3);
}

.notation span{
  width: 40px;
  align-self: flex-start;
}

.card-2 {
  grid-area: 1 / 7 / 8 / 13;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.card-2 h1,.card-3 h1{
 font-size: 88px;
 height: 116px;
 font-weight: bold;
 text-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
}

.card-2 .infosec2 p,.card-3 .infosec2 p{
font-size: 13px;
text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.3);
}

.card-2 h2,.card-3 h2{

font-weight: bold;
}

.card-3 {
  grid-area: 8 / 7 / 12 / 13;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

/* 🔁 Responsive pour petits écrans */
@media (max-width: 600px) {
  .grid-top-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    padding: 20px;
    grid-row-gap: 30px;
    grid-column-gap: 0;
  }

  .card-1,
  .card-2,
  .card-3 {
    grid-area: auto;
    height: auto;
  }

  .card-1 h1 {
    font-size: 48px;
  }
}



.aviscuriste{
width: 100%;
padding: 20px;
}

.titreavis{
display: flex;
align-items: center;
justify-content: center;
height: 125px;
padding-bottom: 40px;
width: 100%;
}

.titreavis h1{
font-size: 28px;
}

.aviscontainer{
display: flex;
align-items: flex-start;
justify-content: space-around;
gap: 20px;
}

.aviscontainer a{
  width: 100%;
}

.arounditems{
max-width: 338px;
position: relative;
}

.items{
min-height: 200px;
background-color: #E5811E;
border-radius: 20px;
position: relative;
max-width: 338px;
box-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
}

.items:nth-child(0){
background-color: #44A0B6;
}


.icon{
position: absolute;
  width: 110px;
  border: solid 12px white;
  background-color: #D9D9D9;
  margin-top: -50px;
  display: grid
;
  align-items: center;
  justify-content: center;
  right: 20px;
  z-index: 100;
  height: 110px;
  border-radius: 50%;
}


.stars-block{
display: flex;
gap: 2px;
}

.stars-block{
margin-bottom: 15px;
}

.avistext{
height: 100%;
padding: 20px;
display:flex;
flex-direction: column;
align-items: flex-start;
justify-content : center;
gap:20px;
}

.avistext p{
line-height: 1.3;
color: white;
font-size: 15px;
}

.nom{
align-self: flex-end;
color: white;
font-weight: bold;
}


.recherchelogement{
background: linear-gradient(to bottom right, #e6f0f8, #ffffff);
}

.recherchelogement h1{
font-size: 26px;

}
.recherchelogement {
text-align: center;
padding: 40px 20px;
width: 100%;
margin: auto;
}

.recherchelogement h1 {
font-size: 2.2em;
color: #2d3a4a;
margin-bottom: 10px;
}

.subtitle {
font-size: 1.2em;
color: #4f6274;
margin-bottom: 50px;
}

.bubblecontainer {
display: flex;
justify-content: space-around;
gap: 50px;
margin-bottom: 40px;
line-height: 1.2;
font-size: large;
}

.bubble {
background-color: white;
border-radius: 15px;
padding: 20px;
color: white;
width: 300px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
position: relative;
margin-bottom: 30px;
}

.bubble.b1::after,
.bubble.b2::after,
.bubble.b3::after {
content: "";
position: absolute;
bottom: -15px;
width: 0;
height: 0;
border-style: solid;
}

.bubble.b1{
background-color: #44A0B6;
}

.bubble.b2{
background-color: #FF6F61;
}

.bubble.b3{
background-color: #f57c00;
}

.bubble.b1::after {
left: 40px;
border-width: 15px 15px 0 15px;
border-color: #44A0B6 transparent transparent transparent;
}

.bubble.b2::after {
right: 50%;
transform: translate(50%);
border-width: 15px 15px 0 15px;
border-color: #FF6F61 transparent transparent transparent;
}

.bubble.b3::after {
right: 40px;
border-width: 15px 15px 0 15px;
border-color: #f57c00 transparent transparent transparent;
}

.avatar {
display: flex;
width: 250px;
height: 250px;
margin: 0 auto;
animation: fadeIn 1s ease;
background-repeat: no-repeat;
background-size: auto;
filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.type1{
  width: 250px; height: 250px;
  background: url('/assets/img/icons/css_sprites.png') -0 -250px;
}


.type2{
  width: 250px; height: 250px;
  background: url('/assets/img/icons/css_sprites.png') -250px -0;
}

.type3{
  width: 250px; height: 250px;
  background: url('/assets/img/icons/css_sprites.png') -0 -0;
}

.portrait {
display: none;
}

.cta {
background-color: #f57c00;
color: white;
border: none;
padding: 15px 25px;
font-size: 1em;
border-radius: 30px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: background 0.3s ease;
width: 100%;
}


.recherchelogement a{
width: 100%;
}

.link {
display: block;
margin-top: 20px;
text-decoration: none;
color: #2b5fad;
font-weight: 500;
}

.ctalogement{
display: flex
;
    padding: 0px 95px;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

@keyframes slideFadeIn {
0% {
  opacity: 0;
  transform: translateY(20px);
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}

@keyframes fadeIn {
from {
  opacity: 0;
  transform: scale(0.95);
}
to {
  opacity: 1;
  transform: scale(1);
}
}


.bubble {
animation: slideFadeIn 0.8s ease-out forwards;
opacity: 0;
}

.bubble.b1 {
animation-delay: 0.2s;
}

.bubble.b2 {
animation-delay: 0.4s;
}


@media screen and (max-width: 600px) {
.bubblecontainer {
  flex-direction: column;
  align-items: center;
}

.bubblecontainer .b1,.bubblecontainer .b3{
  display: none;
}

.bubblecontainer .b2{
  display: flex
;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.bubble {
  width: 90%;
}

.avatar {
  display: flex
  ;
          height: auto;
}

.type1,.type3{
  display: none;
}




.bubble.b1::after {
    left: 50%;
    transform: translate(-50%);
  }

  .ctalogement{
    padding: 0px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

}

.documentation {
display: flex;
border-radius: 12px;
justify-content: space-between;
gap: 2rem;
align-items: center;
width: 100%;
margin: 10px 0;
}

.info_docu {
color: #222;
background-color: #e5e6e6;
padding: 2rem;
}

.info_docu h1 {
font-size: 1.4rem;
font-weight: bold;
margin-bottom: 1rem;
}

.info_docu p {
font-size: 1rem;
line-height: 1.6;
}

.btn_docu {
display: flex;
flex-direction: column;
gap: 20px;
}

.cta_docu {
display: flex;
align-items: center;
gap: 0.8rem;
padding: 1rem;
border: none;
font-weight: 500;
cursor: pointer;
width: 100%;
height: 100%;
transition: transform 0.2s ease;
}

.cta_docu p{
  font-size: 1.2rem;
color: white;
font-weight: 500;
text-align: center;
}

.btn-classement{
  display: flex
  ;
      align-items: center;
      justify-content: flex-end;
}

.btn-classement{
  color: white;
      font-size: 1.2rem;
      font-weight: bold;
}

.btn-classement a{
      display: flex;
      align-items: center;
      justify-content: center;
      background: #E5811E;
      border: none;
      padding: 21px 30px;
      margin: 0px 50px 15px 0px;
      border-radius: 40px;
      box-shadow: 2px 3px 7px rgb(0, 0, 0, 0.3);
}
.btn-classement span{
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta_docu:hover {
transform: translateY(-2px);
}

.cta_docu:first-of-type {
background-color: #E5811E; /* orange */
}

.cta_docu:last-of-type {
background-color: #44A0B6; /* bleu/vert */
}


.ctab1{
width: 70px; height: 73px;
  background: url('/assets/img/icons/css_sprites.png') -500px -0;
}

.ctab2{
width: 70px; height: 56px;
  background: url('/assets/img/icons/css_sprites.png') -500px -73px;
}

.mobile_information{
display: none;
}

@media screen and (max-width: 600px) {
.info_docu {
  display:none;
}
.btn_docu{
width: 100%;
}
.mobile_information{
display: block;
font-size: 20px;
}

.documentation {
flex-direction: column;
align-items: center;
gap: 1rem;

}
}


.illustration{
display: flex;
align-items: center;
width: 100%;
justify-content: center;
}

.illustr{
display: flex;
}

.illustration .icons2 {
width: 100%;
position: relative;
display: inline-grid;
align-items: center;
justify-content: center;
margin-left: -170px;
}

.illustration .icons1 {
width: 100%;
position: relative;
display: inline-grid;
align-items: center;
justify-content: center;
}

.illustration .icons2 p{
position: absolute;
z-index: 100;
width: 200px;
min-height: 50px;
max-height: 150px;
right: 240px;
top: 110px;
text-align: center;
font-size: 20px;
line-height: 1.6;
background-color: transparent;
color: white;
}

.bg-Bulleicons2 {
width: 485px; height: 507px;
  background: url('./assets/img/icons/css_sprites.png') -10px -811px;
transform: scale(0.8);
margin-top: -15px;
}

.illustration .icons1 p{
position: absolute;
background-color: transparent;
height: 185px;
width: 225px;
font-size: 20px;
line-height: 1.4;
text-align: center;
color: black;
top: 137px;
left: 210px;
z-index: 100;
}

.bg-Bulleicons1{
width: 523px; height: 484px;
background: url('./assets/img/icons/css_sprites.png') -1201px -10px;
transform: scale(0.8);
margin-top: -15px;
}


.btn-rechercheloge{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}

.btn-rechercheloge button {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
background-color: #E5811E;
color: white;
padding: 20px 40px;
border: none;
border-radius: 20px;
font-size: 1.5rem;
cursor: pointer;
margin-bottom: 20px;
  box-shadow: 2px 3px 7px rgb(0, 0, 0, 0.1);
}

.btn-rechercheloge button:hover{
background-color: #e49b52;
}

.btn-rechercheloge svg {
width: 24px;
height: 24px;
fill: white;
flex-shrink: 0;
}

.btn-rechercheloge a{

  text-decoration: none;
  color: black;
  font-size: 20px;
  font-family: sans-serif;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  text-decoration: underline;
 
}

.btn-rechercheloge a:hover{

color: #cc6f15;

}

@media (max-width: 600px) {
.aviscontainer {
  flex-direction: column;
  align-items: center;
}

.aviscontainer a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arounditems {
  max-width: 90%;
  width: 100%;
  margin-bottom: 50px;
}


.items {
  max-width: 100%;
}


.avistext p {
  font-size: 14px;
}

.illustration {
  padding: 20px;
  gap: 30px;
  display: flex;
  flex-direction: column;
}

.illustration .icons2 img{
  display: none;
}

.illustration .icons2 p{
  display: none;
}


.illustration .icons1 p {
  width: 200px;
      max-height: 500px;
      color: black;
      font-size: 20px;
      text-align: center;
      /* bottom: 0; */
      left: 34%;
}

.illustration .icons1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bg-Tiny_cartoon{
  transform: scale(0.7);

}
.btn-rechercheloge button {
  font-size: 1.1rem;
  padding: 20px;
}

.btn-rechercheloge a {
  font-size: 16px;
}

.icons2 span {
  height: 700px;
  display: none;
}

}


