@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-ExtraLightItalic.ttf")
    format("truetype");
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-ExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/images/font/poppins/Poppins-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("/images/font/Montserrat/Montserrat-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900; /* plage de poids supportée */
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("/images/font/Montserrat/Montserrat-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900; /* plage de poids supportée */
  font-style: italic;
}

* {
  cursor: none;
}

#cursor {
  position: fixed;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999999;
}

#cursor-border {
  --size: 50px;
  position: fixed;
  top: calc(var(--size) / -2);
  left: calc(var(--size) / -2);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  box-shadow: 0 0 0 1px black;
  pointer-events: none;
  transition: top 0.15s ease-out, left 0.15s ease-out, width 0.15s ease-out,
    height 0.15s ease-out, background-color 0.15s ease-out;
  z-index: 99999999;
}

@media (hover: none), (pointer: coarse) {
  #cursor,
  #cursor-border {
    display: none;
  }
}

/* reset.css - Inspiré de Eric Meyer */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
menu,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}
body,
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #fffefb;
}
menu,
ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #f6e501 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 9px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #f6e501;
  border-radius: 10px;
  border: 3px solid #dbdbdb;
}

/* ----------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.1s;
}
.reveal.d2 {
  transition-delay: 0.2s;
}
.reveal.d3 {
  transition-delay: 0.3s;
}
.reveal.d4 {
  transition-delay: 0.4s;
}
.reveal.d5 {
  transition-delay: 0.5s;
}

/* ----------- GLOBAL ----------- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999999;
}

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

.logo img {
  height: 60px;
}

.menu {
  display: flex;
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  overflow: hidden;
  z-index: 99999;
}

.menu li {
  position: relative;
  padding: 20px 20px;
}

.menu li:hover {
  /* cursor: pointer; */
}

.menu li a {
  display: block;
  text-decoration: none;
  color: black;
  font-size: 20px;
}

.contact-btn {
  background: #ffe600;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 8px;
  transition: 0.5s;
  color: black;
  text-decoration: none;
}

.contact-btn:hover {
  animation: gelatine 0.5s;
}

.dropdown-box {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  background: #fffefb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border-radius: 10px;
  display: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.dropdown-content {
  display: none;
  animation: swipe 0.3s ease forwards;
}

.dropdown-content.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  gap: 30px;
}

.lien {
  display: flex;
  flex-direction: column;
  max-width: 220px;
  transition: 0.2s;
}

.lien:hover .lien-icon img {
  animation: gelatine 1s;
  /* background-color: #444; */
}

@keyframes gelatine {
  from,
  to {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

.btn {
  border: none;
  padding: 18px 24px;
  font-size: 18px;
  border-radius: 8px;
  transition: 0.5s;
}

.btn-yellow {
  background: #ffe600;
  text-decoration: none;
  color: black;
}

.btn-white {
  background-color: #ffffff;
  color: #0c0c0c;
  text-decoration: none;
}
.btn-black {
  background-color: #0c0c0c;
  color: #fffefb;
  text-decoration: none;
}

.btn:hover {
  animation: gelatine 0.5s;
}

.lien img {
  width: 50px;
  margin-bottom: 20px;
}

.lien .titre {
  font-weight: bold;
  margin-bottom: 5px;
}

.lien .explain {
  color: #686868;
}

.dropdown-content a {
  text-decoration: none;
  color: black;
  font-family: "lato";
}

.dropdown-content.animate-left {
  animation: swipe 0.3s ease forwards;
}

.dropdown-content.animate-right {
  animation: swipe-right 0.3s ease forwards;
}

@keyframes swipe {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes swipe-right {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----------- RESPONSIVE ----------- */

.mobile-only {
  display: none;
}

.hamburger {
  display: none;
  font-size: 30px;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  user-select: none;
}

.hamburger.open {
  transform: rotate(90deg);
}

footer {
  background-color: #f6f6f6;
  padding: 50px;
  color: #444;
  min-height: 50vh;
  width: 100vw;

  background-image: url("/images/logo-min-centre.webp");
  background-position: right bottom;
  background-repeat: no-repeat;
}

footer .footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
}
.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: auto;
}

.footer-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: rgb(7, 7, 0);
}

.btn-footer {
  border: none;
  padding: 18px 48px;
  font-size: 18px;
  border-radius: 8px;
  transition: 0.5s;
  background-color: #0c0c0c;
  color: #fffefb;
  text-decoration: none;
  margin: 16px 0 32px 0;
}

.liste-lien {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.liste-lien a {
  color: #0c0c0c;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.liste-lien a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  gap: 6px; /* espace entre texte et flèche */
}

/* Flèche PNG */
.liste-lien a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("/images/lien.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
  transform: translate(1px, -1px);
}

/* Flèche sort au hover */
.liste-lien a:hover::after {
  transform: translate(2px, -2px);
}

/* Texte souligné */
.texte-lien {
  position: relative;
  display: inline-block;
}

/* Soulignement sur le texte uniquement */
.texte-lien::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 1.5px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

/* Hover : ligne s'étend sous le texte */
.liste-lien a:hover .texte-lien::before {
  width: 100%;
}

footer h2 {
  font-weight: bold;
  font-size: 4rem;
}

form {
  width: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.form-group {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 3px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ededed;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 10px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #0c0c0c;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fffefb;
  background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.custom-select-wrapper {
  position: relative;
}
form * {
  font-family: "Montserrat", sans-serif;
}

form button {
  width: 100%;
  margin: 0;
}

.error {
  color: rgb(225, 148, 47);
  font-size: 0.8rem;
  margin-top: -8px;
}

.copyright {
  text-align: center;
}

@media (max-width: 1350px) {
  .footer-left,
  .footer-right {
    width: 50%;
  }
}

@media (max-width: 1000px) {
  .menu li:not(.mobile-only) {
    display: none;
  }

  .menu {
    display: flex;
    flex-direction: column;
    background: #fffefb;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    padding: 0px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .menu.active {
    padding: 10px 0 20px 0;
    max-height: 1000px;
  }

  .menu li {
    padding: 10px 0;
  }

  .menu li .mobile-label {
    display: block;
    padding: 12px 20px;
    font-size: 20px;
    text-align: center;
    user-select: none;
  }

  .mobile-dropdown {
    display: none;
    padding: 10px 30px;
    background-color: #f9f9f9;
    border-left: 5px solid #ffe600;
    text-align: center;
  }

  .mobile-dropdown.active {
    display: block;
    margin-top: 10px;
  }

  .mobile-dropdown a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: #444;
    text-decoration: none;
  }

  .hamburger {
    display: block;
  }

  .contact-btn {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile-contact {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-contact a {
    background: #ffe600;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    width: fit-content;
    margin-top: 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-left,
  .footer-right {
    width: 90%;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
  }

  .footer-left h2 {
    font-size: 2.5rem;
  }
  .copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #686868;
  }
}

.space {
  height: 110vh;
}

:root {
  --fab-size: 48px;
  --fab-radius: 999px;
  --fab-bg: color-mix(in oklab, #000 70%, transparent);
  --fab-bg-hover: color-mix(in oklab, #000 82%, transparent);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Bloc réseaux sociaux en bas à gauche */
.social-fixed {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.social-btn {
  width: var(--fab-size);
  height: var(--fab-size);
  display: grid;
  place-items: center;
  border-radius: var(--fab-radius);
  background: var(--fab-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}
.social-btn:hover,
.social-btn:focus-visible {
  background: var(--fab-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.social-btn svg {
  fill: currentColor;
}

/* Bouton “haut de page” en bas à droite */
.to-top {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: var(--fab-size);
  height: var(--fab-size);
  display: grid;
  place-items: center;
  border-radius: var(--fab-radius);
  background: var(--fab-bg);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
  z-index: 1000;
}
.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover,
.to-top:focus-visible {
  background: var(--fab-bg-hover);
}
.to-top svg {
  fill: currentColor;
}

/* Petits écrans */
@media (max-width: 480px) {
  :root {
    --fab-size: 44px;
  }
  .social-fixed {
    gap: 8px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .social-btn,
  .to-top {
    transition: none;
  }
}
