/* ═══════════════════════════════════════════════════════════════════
   THINKITAL V2 — Custom CSS
   Charte couleurs (theme.css de Figma) + toutes les animations
   ═══════════════════════════════════════════════════════════════════ */

/* Variables CSS du thème (theme.css de Figma v2) */
:root {
  --background: #FBF7EF;     /* crème */
  --foreground: #000000;
  --primary: #7C3AED;        /* violet */
  --primary-foreground: #ffffff;
  --secondary: #4F46E5;      /* indigo */
  --secondary-foreground: #ffffff;
  --accent: #FACC15;         /* jaune */
  --accent-foreground: #000000;
  --cream: #FBF7EF;
  --card: #ffffff;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --input: #e5e7eb;
  --ring: #7C3AED;
  --radius: 0.75rem;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   SUPPORT RTL (Arabe)
   ═══════════════════════════════════════════════════════════════════ */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-family: 'Cairo', 'Poppins', sans-serif;
}
html[dir="rtl"] .rtl-flip {
  transform: scaleX(-1);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS GLOBALES
   ═══════════════════════════════════════════════════════════════════ */

/* Shimmer */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.animate-shimmer {
  animation: shimmer 3s ease-in-out infinite;
}

/* Float particle */
@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) translateX(20px);
    opacity: 1;
  }
}
.animate-float-particle {
  animation: float-particle 6s ease-in-out infinite;
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-20px) translateX(10px) rotate(5deg); }
  50% { transform: translateY(-40px) translateX(-10px) rotate(0deg); }
  75% { transform: translateY(-20px) translateX(10px) rotate(-5deg); }
}
.animate-float {
  animation: float 8s ease-in-out infinite;
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  33% { transform: translateY(-30px) translateX(20px) rotate(5deg); }
  66% { transform: translateY(-15px) translateX(-20px) rotate(-5deg); }
}
.animate-float-delayed {
  animation: float-delayed 10s ease-in-out infinite;
}

/* Ping slow */
@keyframes ping-slow {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.animate-ping-slow {
  animation: ping-slow 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Spin slow */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* Gradient anim */
@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 4s ease infinite;
}

/* Bounce slow */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Sparkle */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}
.animate-sparkle {
  animation: sparkle 1.5s ease-in-out infinite;
}

/* Fade in up */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

/* Slide in (mobile menu) */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slide up (chatbot, cookie consent) */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.4s ease-out forwards;
}

/* Slide in bottom */
@keyframes slideInBottom {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.animate-slide-in-bottom {
  animation: slideInBottom 0.5s ease-out forwards;
}

/* Pulse dot (chatbot) */
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

/* Grid move (hero pattern) */
@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Fade in scale */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scale 102 utility */
.scale-102 {
  transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTON VARIANTS (équivalents du Button.tsx)
   ═══════════════════════════════════════════════════════════════════ */

.btn-primary {
  background: linear-gradient(to right, #7C3AED, #4F46E5);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.5);
  transform: scale(1.05);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.7s;
  pointer-events: none;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-secondary {
  background: linear-gradient(to right, #4F46E5, #7C3AED);
  color: white;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-secondary:hover {
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.5);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid rgba(124, 58, 237, 0.5);
  color: #7C3AED;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: linear-gradient(to right, #7C3AED, #4F46E5);
  color: white;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.btn-ghost {
  color: #374151;
  background: transparent;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-accent {
  background: linear-gradient(to right, #FACC15, #F59E0B);
  color: #111827;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-accent:hover {
  box-shadow: 0 25px 50px -12px rgba(250, 204, 21, 0.5);
  transform: scale(1.05);
}

.btn-glass {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.btn-dark {
  background: #000;
  color: white;
  border-radius: 1rem;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-dark:hover {
  background: #1a1a1a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

/* Tailles */
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-md { padding: 0.75rem 1.75rem; font-size: 1rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.125rem; }

/* ═══════════════════════════════════════════════════════════════════
   CARD STYLES
   ═══════════════════════════════════════════════════════════════════ */

.card-base {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

.card-glow {
  position: relative;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(124, 58, 237, 0.5), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card-glow:hover::before {
  opacity: 1;
}
.card-glow:hover {
  transform: translateY(-1rem) scale(1.02);
  box-shadow: 0 35px 60px -15px rgba(124, 58, 237, 0.4), 0 0 80px -10px rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(79, 70, 229, 0.03), rgba(255, 255, 255, 1));
}

/* ═══════════════════════════════════════════════════════════════════
   GROUP HOVER (reproduire le comportement React)
   ═══════════════════════════════════════════════════════════════════ */
.group:hover .group-hover\:opacity-100 { opacity: 1 !important; }
.group:hover .group-hover\:opacity-60  { opacity: 0.6 !important; }
.group:hover .group-hover\:opacity-50  { opacity: 0.5 !important; }
.group:hover .group-hover\:opacity-30  { opacity: 0.3 !important; }
.group:hover .group-hover\:opacity-40  { opacity: 0.4 !important; }
.group:hover .group-hover\:opacity-70  { opacity: 0.7 !important; }
.group:hover .group-hover\:opacity-20  { opacity: 0.2 !important; }
.group:hover .group-hover\:opacity-10  { opacity: 0.1 !important; }
.group:hover .group-hover\:scale-110   { transform: scale(1.1) !important; }
.group:hover .group-hover\:scale-125   { transform: scale(1.25) !important; }
.group:hover .group-hover\:scale-105   { transform: scale(1.05) !important; }
.group:hover .group-hover\:rotate-6    { transform: rotate(6deg) !important; }
.group:hover .group-hover\:rotate-3    { transform: rotate(3deg) !important; }
.group:hover .group-hover\:rotate-12   { transform: rotate(12deg) !important; }
.group:hover .group-hover\:translate-x-0    { transform: translateX(0) !important; }
.group:hover .group-hover\:translate-x-1    { transform: translateX(0.25rem) !important; }
.group:hover .group-hover\:translate-x-2    { transform: translateX(0.5rem) !important; }
.group:hover .group-hover\:translate-x-full { transform: translateX(100%) !important; }

/* ═══════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════ */

.shadow-3xl {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

.backdrop-blur-3xl {
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
}

::selection {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--muted);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 12px;
  border: 2px solid var(--muted);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media print {
  .no-print { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   COURSE CARD — EFFET HOVER VIOLET (style Image 1)
   ═══════════════════════════════════════════════════════════════════ */
.course-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(196, 181, 253, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.course-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #7C3AED, #4F46E5, #7C3AED);
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.5s ease;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover::after {
  opacity: 0.4;
}

.course-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 25px 60px -15px rgba(124, 58, 237, 0.4),
    0 0 80px -10px rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.4);
}

.course-card > * {
  position: relative;
  z-index: 1;
}

/* Particules décoratives sur card hover */
.course-card .card-dot {
  position: absolute;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  box-shadow: 0 0 12px currentColor;
}
.course-card:hover .card-dot {
  opacity: 1;
  animation: bubble-float 3s ease-in-out infinite;
}

/* Animation de flottement des bulles */
@keyframes bubble-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  25% {
    transform: translate(-4px, -8px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(4px, -12px) scale(0.9);
    opacity: 0.85;
  }
  75% {
    transform: translate(2px, -6px) scale(1.1);
    opacity: 1;
  }
}

/* Décalage différent pour chaque bulle (pour effet plus naturel) */
.course-card:hover .card-dot:nth-child(1) { animation-delay: 0s; }
.course-card:hover .card-dot:nth-child(2) { animation-delay: 0.5s; }
.course-card:hover .card-dot:nth-child(3) { animation-delay: 1s; }
.course-card:hover .card-dot:nth-child(4) { animation-delay: 1.5s; }
.course-card:hover .card-dot:nth-child(5) { animation-delay: 2s; }

/* ═══════════════════════════════════════════════════════════════════
   PAGINATION — Style boutons numérotés (Image 1)
   ═══════════════════════════════════════════════════════════════════ */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  color: rgba(0, 0, 0, 0.7);
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.page-btn:hover:not(:disabled) {
  border-color: #7C3AED;
  color: #7C3AED;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(124, 58, 237, 0.2);
}

.page-btn.active {
  background: black;
  color: white;
  border-color: black;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.page-btn.active:hover {
  background: #1f1f1f;
  color: white;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN — Mobile First
   ═══════════════════════════════════════════════════════════════════ */

/* Conteneurs */
@media (max-width: 768px) {
  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Hero sections plus compactes sur mobile */
  section.py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  section.py-24 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  section.py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  section.py-12 { padding-top: 2rem !important; padding-bottom: 2rem !important; }

  /* Titres responsive */
  h1.text-7xl, h1.text-6xl { font-size: 2.25rem !important; line-height: 1.1 !important; }
  h1.text-5xl { font-size: 2rem !important; line-height: 1.15 !important; }
  h2.text-6xl, h2.text-5xl { font-size: 1.875rem !important; line-height: 1.2 !important; }
  h2.text-4xl { font-size: 1.625rem !important; }
  h3.text-3xl { font-size: 1.375rem !important; }

  /* Texte hero */
  .text-2xl.text-white { font-size: 1.125rem !important; }
  .text-xl.text-white { font-size: 1rem !important; }

  /* Boutons mobile */
  .btn-lg { padding: 0.75rem 1.5rem !important; font-size: 0.95rem !important; }
  .btn-md { padding: 0.625rem 1.25rem !important; font-size: 0.875rem !important; }

  /* Cards mobile */
  .card-base {
    padding: 1.25rem !important;
    border-radius: 1.25rem !important;
  }

  /* Footer CTA jaune sur mobile */
  .grid.grid-cols-1 { gap: 1.5rem !important; }

  /* Tables responsive avec scroll */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Stats numbers */
  .text-5xl.font-black { font-size: 2.5rem !important; }
  .text-7xl.font-black { font-size: 3rem !important; }

  /* Service detail prix */
  .text-6xl.font-black { font-size: 2.5rem !important; }
}

@media (max-width: 640px) {
  /* Padding plus serré sur très petits écrans */
  .px-6 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .px-8 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .p-8 { padding: 1.25rem !important; }
  .p-10 { padding: 1.5rem !important; }
  .p-12 { padding: 2rem !important; }

  /* Gaps plus petits */
  .gap-12 { gap: 1.5rem !important; }
  .gap-8 { gap: 1.25rem !important; }
  .gap-6 { gap: 1rem !important; }

  /* Rounded plus petit sur mobile */
  .rounded-3xl { border-radius: 1rem !important; }
  .rounded-2xl { border-radius: 0.75rem !important; }

  /* Hero buttons stack */
  .flex.flex-wrap.gap-4 > * { width: 100% !important; }

  /* Pagination plus compacte */
  .page-btn {
    min-width: 38px;
    height: 38px;
    font-size: 0.875rem;
    padding: 0 0.5rem;
  }
  .pagination-container { gap: 0.375rem; }
}

/* Hover désactivé sur appareils tactiles */
@media (hover: none) and (pointer: coarse) {
  .course-card:hover { transform: none !important; }
  .course-card:hover::before { opacity: 0; }
  .course-card:hover::after { opacity: 0; }
  .card-hover:hover { transform: none !important; }
  .card-glow:hover { transform: none !important; }
}

/* Sidebar filters sur mobile : repliable */
@media (max-width: 1024px) {
  .filters-sidebar {
    position: relative !important;
  }
  .filters-sidebar .sticky {
    position: relative !important;
    top: 0 !important;
  }
}

/* Iframe Calendly responsive */
iframe[src*="calendly"] {
  min-height: 500px !important;
}
@media (max-width: 768px) {
  iframe[src*="calendly"] {
    min-height: 700px !important;
  }
}

/* Navbar mobile : améliorations */
@media (max-width: 1024px) {
  .nav-mobile-hidden { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN AMÉLIORÉ
   ═══════════════════════════════════════════════════════════════════ */

/* Top bar : icônes plus visibles sur tous écrans */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Sur tablette : afficher seulement adresse + 3 icônes sociales */
  /* Le téléphone et email sont déjà cachés via lg:flex */
}

/* Navbar mobile (< lg) : éviter le débordement */
@media (max-width: 1023px) {
  #thinkital-navbar .h-20 {
    height: 4.5rem !important;
  }
  #thinkital-navbar img {
    height: 2.75rem !important;
  }
}

/* Mobile (< 640px) */
@media (max-width: 640px) {
  /* Nav plus compacte */
  #thinkital-navbar .h-20 {
    height: 4rem !important;
  }
  #thinkital-navbar img {
    height: 2.25rem !important;
  }

  /* Burger un peu plus petit */
  #burger-btn {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
}

/* Menu mobile : améliorations */
#mobile-menu {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

#mobile-menu.open {
  max-height: 90vh !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PAGES — Espacement responsive cohérent
   ═══════════════════════════════════════════════════════════════════ */

/* Container universel responsive */
@media (max-width: 1024px) {
  .max-w-7xl {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* Hero sections responsive */
@media (max-width: 768px) {
  /* Padding hero */
  section.relative.min-h-screen {
    min-height: auto !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Forces les colonnes en stack */
  .grid.lg\:grid-cols-2,
  .grid.lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  /* Stats cards 2x2 sur mobile */
  .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Cards : bord plus épais sur mobile pour visibilité */
@media (max-width: 640px) {
  .card-base {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08) !important;
  }
}

/* Forms : largeur 100% sur mobile */
@media (max-width: 768px) {
  input, textarea, select {
    font-size: 16px !important; /* Évite le zoom iOS */
  }
}

/* Buttons mobile : full width */
@media (max-width: 640px) {
  .btn-primary, .btn-accent, .btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Sauf dans la navbar */
  nav .btn-primary, nav .btn-accent {
    width: auto !important;
  }
}

/* Sidebar filtres training mobile */
@media (max-width: 1024px) {
  #thinkital-navbar + section .lg\:col-span-1 {
    margin-bottom: 1.5rem;
  }
  #thinkital-navbar + section .sticky.top-32 {
    position: relative !important;
    top: 0 !important;
  }
}

/* Calendly iframe : hauteur adaptée */
@media (max-width: 768px) {
  iframe[src*="calendly"] {
    min-height: 750px !important;
  }
}

/* Footer responsive */
@media (max-width: 768px) {
  footer .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* CTA Footer jaune : plus compact sur mobile */
@media (max-width: 640px) {
  footer .relative.mb-16.group .relative.bg-gradient-to-br {
    padding: 1.5rem !important;
  }
  footer .relative.mb-16 .text-2xl {
    font-size: 1.25rem !important;
  }
  footer .relative.mb-16 .text-3xl {
    font-size: 1.5rem !important;
  }
  footer .relative.mb-16 .w-20.h-20 {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
}
