﻿/*
Theme Name: FACILIT Theme
Theme URI: https://facilit.biz
Author: FACILIT Team
Description: Thème sur mesure pour le fond d'investissement FACILIT. Design moderne, animations et glassmorphism.
Version: 1.0
License: Proprietary
*/

/* Custom CSS from FACILIT static site */

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.font-sans {
  font-family: 'Lexend', sans-serif;
}

.gradient-gold {
  background: linear-gradient(135deg, #d4a574 0%, #b8935e 100%);
  position: relative;
  overflow: hidden;
}

.gradient-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.gradient-gold:hover::before {
  left: 100%;
}

.gradient-light {
  background: linear-gradient(135deg, #fdfbf7 0%, #f5ede1 100%);
}

.gradient-beige {
  background: linear-gradient(135deg, #f5ede1 0%, #e8dcc8 100%);
}

.text-gold {
  color: #b8935e;
}

.text-dark {
  color: #2d2d2d;
}

.text-ral7031 {
  color: #4D5645;
}

.border-gold {
  border-color: #d4a574;
}

.bg-cream {
  background-color: #fdfbf7;
}

.bg-beige {
  background-color: #f5ede1;
}

.bg-light-gold {
  background-color: #f9f3ea;
}

.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(180, 147, 94, 0.2);
}

.accent-line {
  position: relative;
  padding-bottom: 1rem;
}

.accent-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4a574, transparent);
  border-radius: 2px;
}

.glass-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 116, 0.15);
}

section {
  scroll-margin-top: 80px;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.6);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.nav-blur {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quote-mark {
  font-size: 4rem;
  line-height: 0;
  color: #d4a574;
  opacity: 0.3;
}

.text-shadow-light {
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.geometric-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.geometric-bg::before,
.geometric-bg::after {
  content: '';
  position: absolute;
  border: 2px solid #d4a574;
  border-radius: 50%;
}

.geometric-bg::before {
  top: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  animation: float 8s ease-in-out infinite;
}

.geometric-bg::after {
  bottom: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  animation: float 10s ease-in-out infinite reverse;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a574, #b8935e);
  z-index: 9999;
  transition: width 0.1s ease;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.logo-underline {
  position: relative;
  display: inline-block;
}

.logo-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.6em;
  right: 0.6em;
  height: 2px;
  background-color: #4D5645;
  border-radius: 1px;
}

/* --- ROBUST LAYOUT FIXES --- */

/* Stats Grid */
.hohse-grid-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

/* Mission Grid (2 columns on desktop) */
.hohse-grid-mission {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 1024px) {
  .hohse-grid-mission {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* President Grid (Side by side on desktop, text on left, profile on right) */
.hohse-grid-president {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
}

@media (min-width: 1024px) {
  .hohse-grid-president {
    grid-template-columns: 3fr 2fr !important;
  }

  .hohse-grid-president>div:first-child {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .hohse-grid-president>div:last-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
}

/* --- ICON RESTORATION FIXES --- */

/* Fix pour les icônes qui disparaissent si Tailwind ne charge pas */
svg {
  display: block;
  /* S'assure que les SVG ne sont pas cachés */
}

/* 1. Icônes Mission (Les plus grandes) */
#mission .glass-card .gradient-gold {
  width: 4rem;
  /* w-16 */
  height: 4rem;
  /* h-16 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

#mission .glass-card .gradient-gold svg {
  width: 2rem;
  /* w-8 */
  height: 2rem;
  /* h-8 */
  color: white;
}

/* 2. Icônes Avantages/Pourquoi nous rejoindre (Moyennes) */
#mission .grid .gradient-gold,
/* Cible la grille des avantages */
.hover-lift .gradient-gold {
  /* Sélecteur de secours */
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spécifique pour la section Avantages (w-14) */
#mission .grid.gap-6 .gradient-gold {
  width: 3.5rem;
  /* w-14 */
  height: 3.5rem;
  /* h-14 */
  margin: 0 auto 1rem auto;
  /* centré + marge bas */
}

#mission .grid.gap-6 .gradient-gold svg {
  width: 1.75rem;
  /* w-7 */
  height: 1.75rem;
  /* h-7 */
  color: white;
}

/* 3. Icônes Profil (Petites) */
#profil .glass-card .gradient-gold {
  width: 2rem;
  /* w-8 */
  height: 2rem;
  /* h-8 */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

#profil .glass-card .gradient-gold svg {
  width: 1rem;
  /* w-4 */
  height: 1rem;
  /* h-4 */
  color: white;
}