/**
 * Theme FBR Labs - Bleu
 * Surcharge les variables de couleur pour utiliser un thème bleu
 */

:root {
  /* Couleurs principales - BLEU au lieu d'orange */
  --color-primary: #667eea;
  --color-primary-dark: #5568d3;
  --color-primary-light: #7c8ff0;

  /* Dégradés avec bleu */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);

  /* Couleurs d'accent */
  --color-accent: #764ba2;
  --color-accent-light: #8b5cb8;
}

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

/* Boutons primaires - bleu */
.btn-primary {
  background: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

/* Liens - bleu */
a:hover {
  color: var(--color-primary);
}

/* Badges et tags */
.blog-card-category {
  background: var(--color-primary);
}

/* Stats hero */
.hero-stat-number {
  color: var(--color-primary);
}

/* Service cards icons */
.service-card:hover {
  border-color: var(--color-primary);
}

/* Pricing cards */
.card[style*="border: 2px solid"] {
  border-color: var(--color-primary) !important;
}

/* Footer social links */
.footer-social-link:hover {
  background: var(--color-primary);
}

/* Form focus states */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
}

/* Checkbox active */
.form-checkbox input:checked + .form-checkbox-label:before {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Cookie slider */
.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

/* Back to top button */
.back-to-top {
  background: var(--color-primary);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
}

/* Section subtitles avec accent bleu */
.section-subtitle {
  color: var(--color-primary);
}

/* Cards avec bordure au hover */
.card:hover {
  border-color: rgba(102, 126, 234, 0.2);
}

/* Gradient overlays pour les images portfolio */
.card-image-wrapper {
  position: relative;
}

.card-image-wrapper:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-image-wrapper:after {
  opacity: 1;
}

/* Navigation active */
.nav-link.is-active {
  color: var(--color-primary);
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Scrollbar personnalisée (navigateurs webkit) */
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* Selection de texte */
::selection {
  background: var(--color-primary);
  color: white;
}

::-moz-selection {
  background: var(--color-primary);
  color: white;
}

/* Logo FBR Labs avec couleur bleu */
.header-logo span,
.footer-brand span {
  color: var(--color-primary) !important;
}

/* Animations et transitions */
@keyframes pulse-blue {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
}

.btn-primary:focus {
  animation: pulse-blue 1.5s infinite;
}

/* Gradient pour les cartes spéciales */
.card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Pricing - badge populaire */
[style*="background: var(--color-primary)"] {
  background: var(--color-primary) !important;
}

/* Thank you page (merci.html) - gradient bleu */
.thank-you-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.thank-you-title {
  color: #667eea;
}

.thank-you-info-list li:before {
  color: #667eea;
}

/* Cookie banner */
.cookie-banner {
  border-top-color: var(--color-primary);
}

.cookie-banner-link {
  color: var(--color-primary);
}

.cookie-banner-link:hover {
  color: var(--color-primary-dark);
}

/* Boutons de la bannière cookie */
.cookie-banner-actions .btn-primary {
  background: var(--color-primary);
}

.cookie-banner-actions .btn-primary:hover {
  background: var(--color-primary-dark);
}

.cookie-banner-actions .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.cookie-banner-actions .btn-outline:hover {
  background: var(--color-primary);
}

/* Mobile menu toggle */
@media (max-width: 768px) {
  .nav-toggle-bar {
    background: var(--color-primary);
  }
}

/* Responsive - couleurs conservées */
@media (max-width: 1024px) {
  .hero-title-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}
