/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*
=============== 
Variables
===============
*/
@font-face {
  font-family: fonts;
  src: url(/assets/fonts/Bahnschrift/BAHNSCHRIFT.TTF);
}

@font-face {
  font-family: fontss;
  src: url(/assets/fonts/franklin-gothic/FranklinGothic.ttf);
}

:root {
  /* --clr-grey-1: rgb(15, 42, 66); */
  --clr-blue-2: #013572;
  --clr-orange: linear-gradient(90deg, #c89a4b 0%, #c77f05 100%);

  --clr-grey: #414141;

  /* --ff-primary: "Kanit", sans-serif; */
  --ff-secondary: "Orbitron", sans-serif;
  --ff-primary: "Poppins", sans-serif;
  --ff-tertiary: "fonts", sans-serif;
  --ff-quart: "fontss", sans-serif;

  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;

  --max-width: 1170px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}



/* components */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0647c5 0%, #0954e6 100%);
  padding: 15px 30px;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease-in;
  white-space: nowrap;
}

/* Hover */
.card-btn:hover {
  background: var(--clr-orange);
}

/* Responsive — tablette */
@media (max-width: 768px) {
  .card-btn {
    padding: 12px 24px;

  }
  .buttons .btn {
    height: 50px;
  }
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;

  align-items: center;
}

.buttons.forms {
  justify-content: center;
  margin-top: 20px;
  font-family: var(--ff-tertiary);

}

.buttons .btn {
  padding: 16px 28px;
  font-size: 22px;
  border-radius: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;

  text-align: center;
  height: 60px;


}

.tertiary i {
  color: black;
  padding-right: 6px;
  font-size: 18px;
}

.tertiary a{
  color: black;
}


.buttons .btn a {
  color: white;
}

.primary {
  background: var(--clr-orange);
  box-shadow: 0px 4px 4px 0px #c89a4b80;

  color: white;
  border: none;
}

.primary a {
  color: white;
}

.secondary a {
  color: white;
}
.tertiary{
  background: white;
border: 2px solid white;
color: black;
}


.third {
  padding: 16px 28px;
  font-size: 22px;
  border-radius: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #c77f05;
  background-color: transparent;

  transition: all 300ms ease-in-out;
  text-align: center;
}



.third a {

  color: #c77f05;
}

.secondary:hover {
  color: white;
  border: 1px solid #fff;
}

.primary:hover {
  background: linear-gradient(90deg, #e37707 0%, #f88e20 100%);
  box-shadow: 0 4px 12px rgba(248, 142, 32, 0.4);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.secondary {

  border: 2px solid white;
  color: white;
  background: transparent;

}




.secondary:hover {
  color: black;
}

@media (max-width: 768px) {


  .buttons .btn {
    font-size: 15px;
  }

  .secondary {
    border: 1px solid white;


  }
}

@media (max-width: 640px) {


  .buttons {
    flex-direction: column;
  }
  .buttons .btn {
    width: 280px;
    border-radius: 6px;
  }
}

body {
  scroll-behavior: smooth;

  overflow-x: hidden;
  font-family: var(--ff-primary);
  position: relative;

}

#section1 {
  margin-top: 160px;
}


#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 100;
  background-color: #013572;
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#scrollToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
}

p,
li,
ul,
span,
label,
input,
button,
textarea,
legend,
i,
em,
div,
section,
main,
header,
footer,
aside,
table,
td,
th,
a {
  /* font-size: 1.4rem; */
}

ul {
  list-style: none;
}

a {
  text-decoration: none;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-secondary);
}

/* Animation de "rebond" pour chaque point */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}