/* Custom overrides for Sports Équilibre
   Noir et blanc dominant avec bleu pour les accents
*/

:root {
    --brand: #2563eb;
    --brand-hover: #1d4ed8;
    --text: #000000;
    --text-secondary: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --bg-light: #f9fafb;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  /* Header: compact, modern */
  #fh5co-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4px 0 !important;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  }
  
  #fh5co-header .nav-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  #fh5co-header .nav-brand {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #111;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 10px;
    white-space: nowrap;
  }

  #fh5co-header .nav-brand:hover,
  #fh5co-header .nav-brand:focus {
    background: rgba(37, 99, 235, 0.1);
    color: #111;
  }

  /* Single-line menu (scrollable if too many items) */
  #fh5co-header nav ul.nav-links {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
  }

  #fh5co-header nav ul.nav-links::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* kill any floats from template/bootstrap */
  #fh5co-header nav ul.nav-links,
  #fh5co-header nav ul.nav-links li {
    float: none !important;
  }

  #fh5co-header nav ul.nav-links li {
    display: inline-block;
  }
  
  #fh5co-header nav ul.nav-links li a {
    font-size: 12px;
    line-height: 1.2;
    padding: 5px 8px;
    border-radius: 999px;
    color: #111 !important;
  }
  
  #fh5co-header nav ul.nav-links li a:hover,
  #fh5co-header nav ul.nav-links li a:focus {
    background: rgba(141, 198, 63, 0.14);
    color: #111 !important;
  }
  
  /* Make room for fixed header */
  #fh5co-page {
    padding-top: 52px;
  }
  
  /* Hero tweaks */
  #fh5co-hero h1 {
    font-weight: 600;
    color: white !important;
  }
  
  .hero-subtitle {
    color: white !important;
    max-width: 48ch;
  }
  
  .hero-cta .btn {
    margin-right: 10px;
    margin-bottom: 10px;
  }
  
  /* Section spacing */
  .fh5co-section {
    padding: 80px 0;
  }
  
  .fh5co-section-muted {
    background: #f8f9fa;
    position: relative;
  }
  
  /* Lignes de séparation subtiles en bleu très clair */
  .fh5co-section-muted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.08) 50%, transparent 100%);
  }
  
  .fh5co-section-muted::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.08) 50%, transparent 100%);
  }
  
  /* Cards - Toutes avec ombres prononcées pour effet détaché */
  .feature-card,
  .offer-card,
  .note-card,
  .testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 25px;
  }
  
  .offer-card:hover,
  .feature-card:hover,
  .note-card:hover,
  .testimonial-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .feature-card h3,
  .offer-card h3,
  .note-card h3,
  .testimonial-card h3 {
    margin-bottom: 10px;
  }
  
  .pricing-line {
    font-size: 18px;
    color: #111;
  }
  
  .price {
    margin-bottom: 8px;
    color: #111;
  }
  
  .bullet-clean {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
  }
  
  .bullet-clean li {
    margin: 8px 0;
  }

  .testimonial-list li {
    cursor: pointer;
  }

  .testimonial-link {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .testimonial-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
  }

  .testimonial-link.active {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
  }

  .testimonial-content {
    animation: fadeIn 0.5s ease-in;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .contact-big a {
    font-size: 22px;
    font-weight: 600;
  }
  
.testimonial-photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.testimonial-photo img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}

.testimonial-photo:hover img,
.testimonial-photo:focus img {
  transform: scale(1.02);
}

/* Ariane carousel */
.testimonial-carousel {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.testimonial-carousel .item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
}

.testimonial-carousel .carousel-control {
  border-radius: 0;
}

.testimonial-carousel .carousel-indicators {
  bottom: 10px;
}

.testimonial-carousel .carousel-indicators li {
  border-color: rgba(255, 255, 255, 0.8);
}

.testimonial-carousel .carousel-indicators .active {
  background: var(--brand);
  border-color: var(--brand);
}

  /* Improve anchor offset for fixed header */
  section[id] {
    scroll-margin-top: 90px;
  }
  
  /* Better readability on small screens */
  @media screen and (max-width: 768px) {
    #fh5co-page {
      padding-top: 48px;
    }
  
    #fh5co-header .nav-brand {
      font-size: 13px;
    }

    #fh5co-header nav ul.nav-links li a {
      font-size: 12px;
      padding: 5px 8px;
    }
  
    .fh5co-section {
      padding: 60px 0;
    }

  .testimonial-carousel .item img {
    height: 220px;
  }
  }
  