@import 'general.css';

:root {
  --color-vert: #03738b;
  --color-bleu: #2d435b;
  --color-jaune: #ffcc00;
  --color-rose: #f3396e;
  --text-base: #2d435b;
}

body {
  background: url('../assets/img/selva_MOTIF3.jpg') fixed repeat;
}

.header-wp-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section {
  /* remplacez scroll-margin-top fixe */
  scroll-margin-top: var(--header-height);
  /* padding par défaut */
  padding: 80px 20px;
}

#process {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

/* === BOUTONS GÉNÉRAUX === */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: scale(0.97);
}

/* Variantes colorées */
.btn-jaune {
  background: var(--color-jaune);
  color: black;
}
.btn-jaune:hover {
  background: var(--color-vert);
}
.btn-rose {
  background: var(--color-rose);
  color: white;
}
.btn-rose:hover {
  background: var(--color-vert);
}
.btn-vert {
  background: var(--color-vert);
  color: white;
}
.btn-vert:hover {
  background: var(--color-jaune);
}
.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: white;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.2);
}

/* Taille compacte */
.btn-sm {
  padding: 6px 14px;
  font-size: 0.875rem;
}

/* Arrondis */
.btn-rounded {
  border-radius: 30px;
}

/*SECTIONS*/
section {
  padding: 80px 20px;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================
   Fancybox Prloader Premium - Style personnalis
   ============================= */

#fancybox-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#fancybox-preloader::after {
  content: "";
  width: 64px;
  height: 64px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

