/*
Theme Name:   Twenty Twenty-Four Child (Premium Coaching)
Template:     twentytwentyfour
Author:       Toi
Description:  Thème enfant pour la Landing Page Premium Coaching
Version:      1.0.0
*/

body {
  background-color: #fcfcfc;
  overflow-x: hidden;
}

/* Grain Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

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

/* Ambient Blobs - Configuration Hybride */
.blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6; /* INTENSITÉ PC : On garde 60% (vibrant) */
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

/* AJOUT SPÉCIAL MOBILE : Si l'écran fait moins de 768px de large */
@media (max-width: 768px) {
  .blob {
    opacity: 0.15 !important; /* INTENSITÉ MOBILE : On force à 15% (doux) */
    filter: blur(100px); /* On floute plus pour la lisibilité */
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -50px) rotate(10deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Custom Styles for specific visuals */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-bottom: 4px solid #37899f;
}

/* Leaflet Map Placeholder Style */
.map-container {
  background-color: #e5e7eb;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2337899f' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Checklist Styles */
.comparison-item {
  transition: transform 0.3s ease;
}

.comparison-item:hover {
  transform: translateX(5px);
}

/* --- CUSTOM SCROLLBAR (Chrome, Safari, Edge) --- */

/* Largeur de la barre */
::-webkit-scrollbar {
  width: 12px;
}

/* Le fond de la barre (le rail) */
::-webkit-scrollbar-track {
  background: #f8fafc; /* Gris très pâle */
  border-left: 1px solid #e2e8f0;
}

/* La barre elle-même (le curseur) */
::-webkit-scrollbar-thumb {
  background-color: #2a6f82; /* Votre couleur Primary */
  border-radius: 10px; /* Arrondi */
  border: 3px solid #f8fafc; /* Bordure blanche pour effet "flottant" */
  transition: background-color 0.3s ease;
}

/* Au survol de la souris */
::-webkit-scrollbar-thumb:hover {
  background-color: #9b4600; /* Votre couleur Accent (Orange) */
}

/* --- CUSTOM SCROLLBAR (Firefox) --- */
html {
  scrollbar-width: thin;
  scrollbar-color: #2a6f82 #f8fafc;
}

/* --- FIX LAPTOP : Dézoom global pour les écrans moyens --- */
/* Cible les écrans entre 1024px (Tablette paysage/Petit PC) et 1536px (Grand PC) */
@media (min-width: 1024px) and (max-width: 1536px) {
    html {
        /* Par défaut 1rem = 16px. On le passe à 14px (environ 87% de la taille normale) */
        font-size: 14px; 
    }
      .blob {
    opacity: 0.40 !important; /* INTENSITÉ MOBILE : On force à 15% (doux) */
    filter: blur(100px); /* On floute plus pour la lisibilité */
  }
}

/* Optionnel : Si c'est encore trop gros sur les très petits laptops (1280px) */
@media (min-width: 1024px) and (max-width: 1280px) {
    html {
        font-size: 13px; 
    }
      .blob {
    opacity: 0.40 !important; /* INTENSITÉ MOBILE : On force à 15% (doux) */
    filter: blur(100px); /* On floute plus pour la lisibilité */
  }
}