/* ==========================================================================
   1. Configuration et Variables
   ========================================================================== */

/* --- 1. Police (Pour le texte standard) --- */
@font-face {
  font-family: 'Poppins-Regular';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Police (Pour les gros titres dynamiques) --- */
@font-face {
  font-family: 'Neucha-Regular';
  src: url('../fonts/Neucha-Regular.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}


/* Variables CSS */
:root {
  --primary: #f08300;
  --secondary: #282828;
  --text-color: #323232;
  --white: white;
  --black: black;

  --background-color: #f0f0f0;
  --background-color-container: transparent;
  --background-color-card: whitesmoke;

  --anime-card: translateY(-8px);
  --anime-button: rotate(360deg) scale(1.3);
  --transition: all 0.3s ease-in-out;

  --box-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 12px #f0840077; 

  --border-radius: 0.5rem;
}


/* Styles généraux */
html {
  scroll-behavior: smooth;
}

/* Style de la scrollbar */
/* Compatibilité améliorée avec préfixes et fallbacks */
::-webkit-scrollbar {
  width: 0.625rem;
}

::-webkit-scrollbar-thumb {
  border-radius: var(--border-radius);
  background: linear-gradient(180deg, var(--primary) 0.52%, var(--background-color) 50%, var(--primary) 100%);
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

/* Fallback pour navigateurs non Webkit */
.scrollbar-thumb {
  scrollbar-color: var(--primary) var(--background-color);
  scrollbar-width: thin;
}

body {
  background-color: var(--background-color);
  font-family: "Neucha-Regular", Arial, sans-serif; /* Fallback ajouté */
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Styles pour les titres h1 à h3 */
h1,
h2,
h3{
  font-family: var(--font-family-title);
  color: var(--title-color);
}

/* Styles pour les listes */
ul, ol {
  list-style: none;
}

.logo-animate {
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
  transition: all 0.8s ease-out;
}

.logo-visible {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary, .btn-primary {
  background: var(--primary) !important;
  }
