/* Variables CSS */
:root {
    --primary-color: #1A1A1A;
    --secondary-color: #f1f1f1;
    --accent-color: #3b82f6;
    --text-color: #374151;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Mode sombre */
.dark {
    --primary-color: #ffffff;
    --secondary-color: #1f2937;
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --border-color: #374151;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mouse circle mouvement encore plus doux en bonus */
#mouse-circle {
  will-change: transform;
}
/* Mouse circle mouvement encore plus doux en bonus */

/* Classes d'animation */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in.visible {
    animation-delay: 0.2s;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

/* Navigation */
/* CSS de tailwind */
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563; /* gray-700 */
  transition: all 0.3s;
}

.nav-link:hover {
  color: #0d9488; /* primary (custom or teal-600) */
  background-color: #f3f4f6; /* gray-100 */
}

.dark .nav-link {
  color: #d1d5db; /* gray-300 */
}

.dark .nav-link:hover {
  color: #ffffff;
  background-color: #374151; /* gray-700 */
}

.nav-link.active {
  color: #0d9488;
  background-color: #f3f4f6;
}

.dark .nav-link.active {
  color: #ffffff;
  background-color: #374151;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  color: #0d9488;
  background-color: #f3f4f6;
}

.dark .mobile-nav-link {
  color: #d1d5db;
}

.dark .mobile-nav-link:hover {
  color: #ffffff;
  background-color: #374151;
}

/* slide hero */
#bg-slide {
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: background-image 1s ease-in-out;
}

/* slide hero */

/* .hero-about{
    background-image: url('/assets/images/SpaceXs-Starlink-Satellite-Internet-GPS.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
} */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: #ffffff;
  background-color: #0d9488; /* primary */
  transition: all 0.3s;
  transform: scale(1);
}

.btn-primary:hover {
  background-color: #1f2937; /* gray-800 */
  transform: scale(1.05);
}

.dark .btn-primary {
  background-color: #2563eb; /* blue-600 */
}

.dark .btn-primary:hover {
  background-color: #1d4ed8; /* blue-700 */
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d1d5db; /* gray-300 */
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: #374151; /* gray-700 */
  background-color: #ffffff;
  transition: all 0.3s;
  transform: scale(1);
}

.btn-secondary:hover {
  background-color: #f9fafb; /* gray-50 */
  transform: scale(1.05);
}

.dark .btn-secondary {
  border-color: #4b5563; /* gray-600 */
  color: #d1d5db;
  background-color: #1f2937;
}

.dark .btn-secondary:hover {
  background-color: #374151;
}

/* Cartes */
.feature-card,
.product-card,
.service-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: all 0.3s;
  transform: translateY(0);
}

.feature-card:hover,
.product-card:hover,
.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-0.5rem);
}

.product-card {
  border: 1px solid #e5e7eb; /* gray-200 */
}

.dark .feature-card,
.dark .product-card,
.dark .service-card {
  background-color: #374151;
}

.dark .product-card {
  border-color: #4b5563; /* gray-600 */
}

/* Formulaires */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  background-color: #ffffff;
  color: #111827;
  transition: all 0.3s;
}

.form-input::placeholder {
  color: #9ca3af; /* gray-400 */
}

.form-input:focus {
  outline: none;
  border-color: #0d9488; /* primary */
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.5); /* ring-primary */
}

.dark .form-input {
  background-color: #374151;
  color: #ffffff;
  border-color: #4b5563;
}

.dark .form-input::placeholder {
  color: #6b7280;
}

.dark .form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}

/* Contact */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.contact-info:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.dark .contact-info {
  background-color: #374151;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background-color: #f3f4f6; /* gray-100 */
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .contact-icon {
  background-color: #4b5563; /* gray-600 */
}

/* CSS de tailwind */
/* Navigation */
/* Effets de survol */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Animations de scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive */
/* Utilisation du css pur pour Tailwind CSS */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    font-size: 0.875rem; /* équivaut à text-sm */
    padding-left: 1rem;  /* px-4 */
    padding-right: 1rem;
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem;
  }

  .feature-card,
  .product-card,
  .service-card {
    padding: 1rem; /* p-4 */
  }
}
/* Utilisation du css pur pour Tailwind CSS */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
/* Utilisation du css pur pour Tailwind CSS */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Utilisation du css pur pour Tailwind CSS */

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Utilisation du css pur pour Tailwind CSS */
::-webkit-scrollbar-track {
  background-color: #f3f4f6; /* bg-gray-100 */
}

@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-track {
    background-color: #1f2937; /* dark:bg-gray-800 */
  }
}

::-webkit-scrollbar-thumb {
  background-color: #9ca3af; /* bg-gray-400 */
  border-radius: 9999px;     /* rounded-full */
}

@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-thumb {
    background-color: #4b5563; /* dark:bg-gray-600 */
  }
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6b7280; /* bg-gray-500 */

  /* facultatif si tu veux aussi adapter en dark mode */
}

@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar-thumb:hover {
    background-color: #6b7280; /* dark:bg-gray-500 */
  }
}
/* Utilisation du css pur pour Tailwind CSS */

/* Animations pour les éléments qui apparaissent */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de typing pour le hero */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: currentColor; }
}

/* Effet de flottement */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Effet de rotation */
.rotate-on-hover {
    transition: transform 0.3s ease;
}

.rotate-on-hover:hover {
    transform: rotate(5deg);
}

/* Effet de zoom sur les images */
.zoom-on-hover {
    overflow: hidden;
}

.zoom-on-hover img {
    transition: transform 0.3s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

/* Effet de glow */
.glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
}

/* Animations staggered */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Effet de slide pour les cartes */
.slide-up {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.8s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive utilities */
@media (max-width: 640px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 641px) {
    .mobile-only {
        display: none;
    }
}

