/* GGG Pro Agency - couche d'animations au scroll.
   Ne change ni le texte ni les pages : elle ajoute seulement du mouvement.
   Tout est ajoute par scroll-fx.js (sans JS, le site reste normal). */

:root { --fx-gold: #c8921e; --fx-gold-2: #f3c969; --fx-ease: cubic-bezier(.2, .7, .2, 1); }

/* barre de progression doree en haut de page */
#fx-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--fx-gold), var(--fx-gold-2));
  box-shadow: 0 0 12px rgba(200, 146, 30, .55);
}

/* apparition au scroll (etat de depart, pose par le JS) */
.fx-js .fx {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .9s var(--fx-ease) var(--fx-d, 0ms), transform .9s var(--fx-ease) var(--fx-d, 0ms),
              filter 1s var(--fx-ease) var(--fx-d, 0ms), clip-path 1.2s var(--fx-ease) var(--fx-d, 0ms);
  will-change: opacity, transform;
}
/* v2 : grands titres qui passent du flou au net */
.fx-js .fx.fx-blur  { filter: blur(10px); transform: translate3d(0, 28px, 0); }
/* v2 : photos qui se devoilent de bas en haut (rideau) */
.fx-js .fx.fx-wipe  { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 16px); }
.fx-js .fx.fx-wipe.fx-in { clip-path: inset(0 0 0 0 round 0); }
.fx-js .fx.fx-left  { transform: translate3d(-64px, 0, 0); }
.fx-js .fx.fx-right { transform: translate3d(64px, 0, 0); }
.fx-js .fx.fx-pop   { transform: translate3d(0, 26px, 0) scale(.93); }
.fx-js .fx.fx-line  { transform: scaleX(0); transform-origin: 50% 50%; }
.fx-js .fx.fx-in    { opacity: 1; transform: none; filter: none; }

/* v2 : les cartes se soulevent legerement au survol (souris seulement) */
@media (hover: hover) {
  .fx-js #root section .grid > [class*="rounded"]:not(.fx) {
    transition: translate .35s var(--fx-ease), box-shadow .35s var(--fx-ease);
  }
  .fx-js #root section .grid > [class*="rounded"]:not(.fx):hover {
    translate: 0 -6px;
    box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .35);
  }
}

/* compteurs : petit effet de brillance quand ils tournent */
.fx-count { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .fx-js .fx { opacity: 1 !important; transform: none !important; transition: none !important; filter: none !important; clip-path: none !important; }
  #fx-progress { display: none; }
}

/* v3 : defilement doux (styles fournis par Lenis 1.3.11, licence MIT) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* avec le defilement doux, on coupe le defilement "smooth" du navigateur pour eviter le double effet */
html.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* v3 : harmonie des couleurs. Le bleu "FIFA" (hors charte) devient bleu nuit + or,
   comme le reste du site. Aucune taille ni mise en page ne change.
   (Le bouton LinkedIn du pied de page garde son bleu.) */
body .bg-fifa-600 { background-color: #1e293b; }
body .hover\:bg-fifa-700:hover { background-color: #0f172a; }
body .bg-fifa-50, body .hover\:bg-fifa-50:hover { background-color: #fefce8; }
body .bg-fifa-100, body .hover\:bg-fifa-100:hover { background-color: #fef9c3; }
body .text-fifa-100 { color: #fef08a; }
body .text-fifa-500 { color: #ca8a04; }
body .text-fifa-600 { color: #a16207; }
body .text-fifa-700, body .hover\:text-fifa-700:hover,
body .group:hover .group-hover\:text-fifa-700, body .group:hover .group-hover\:text-fifa-600 { color: #854d0e; }
body .text-fifa-900 { color: #1e293b; }
body .border-fifa-500, body .border-fifa-600 { border-color: #ca8a04; }
body .focus\:ring-fifa-500:focus, body .focus\:ring-fifa-600:focus { --tw-ring-color: rgb(202 138 4 / .55); }
body .from-fifa-600 { --tw-gradient-from: #1e293b var(--tw-gradient-from-position); --tw-gradient-to: rgb(30 41 59 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
body .to-fifa-600, body .to-fifa-700 { --tw-gradient-to: #0f172a var(--tw-gradient-to-position); }
body .hover\:from-fifa-700:hover { --tw-gradient-from: #0f172a var(--tw-gradient-from-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
body .from-fifa-50 { --tw-gradient-from: #fefce8 var(--tw-gradient-from-position); --tw-gradient-to: rgb(254 252 232 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
body .from-fifa-100 { --tw-gradient-from: #fef9c3 var(--tw-gradient-from-position); --tw-gradient-to: rgb(254 249 195 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
body .to-fifa-200 { --tw-gradient-to: #fef08a var(--tw-gradient-to-position); }
/* page "Succes" : textes, bouton et encadres bleus -> charte du site */
body main .text-blue-600 { color: #a16207; }
body main .bg-blue-600 { background-color: #1e293b; }
body main .from-blue-50 { --tw-gradient-from: #fefce8 var(--tw-gradient-from-position); --tw-gradient-to: rgb(254 252 232 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
body main .to-indigo-50, body main .to-blue-50 { --tw-gradient-to: #f8fafc var(--tw-gradient-to-position); }
