@import url("https://fonts.googleapis.com/css2?family=TASA+Explorer:wght@400..800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* Minimal reset compatible Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Bricolage Grotesque", sans-serif !important;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Bricolage Grotesque", sans-serif !important;
  margin: 0;
  color: #222;
}

/* Légèrement stylise les liens pour cohérence */

a {
  text-decoration: none;
  cursor: pointer;
}

a:hover,
a:focus {
  outline-offset: 2px;
}

/* Inputs, selects, textarea, boutons héritent la font et taille */

/* Radios et checkboxes normalisés sans forcage de couleur */

input[type="radio"],
input[type="checkbox"] {
  vertical-align: middle;
}

/* Labels pointer et user-select */

label {
  user-select: none;
}

button[type="submit"] {
  cursor: pointer !important;
}





input, select, textarea {
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none !important;
  /* background: transparent; */
  padding: 8px;
  width: 100%;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  position: relative;
}

input:focus, select:focus, textarea:focus {
  border-color: #f97316;
}

input:focus::after, select:focus::after, textarea:focus::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-color: #f97316; /* orange */
  animation: slideIn 0.3s forwards;
  pointer-events: none;
}

input, select, textarea {
  position: relative;
}

input::after, select::after, textarea::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-color: #f97316;
  transition: width 0.3s ease;
  pointer-events: none;
}

input:focus::after, select:focus::after, textarea:focus::after {
  width: 100%;
}

@keyframes slideIn {
  from {
    width: 0;
    left: 0;
  }
  to {
    width: 100%;
    left: 0;
  }
}
