/* Custom overrides for Thomas Équilibre Coaching
   Keep the existing green theme (#8dc63f) from style.css.
*/

:root {
    --brand: #8dc63f;
    --text: #2f3439;
    --muted: #6b7785;
    --card: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
  }
  
  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(141, 198, 63, 0.14);
    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;
  }
  
  .hero-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 48ch;
  }
  
  .hero-cta .btn {
    margin-right: 10px;
    margin-bottom: 10px;
  }
  
  /* Section spacing */
  .fh5co-section {
    padding: 80px 0;
  }
  
  .fh5co-section-muted {
    background: rgba(0, 0, 0, 0.02);
  }
  
  /* Cards */
  .feature-card,
  .offer-card,
  .note-card,
  .testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  }
  
  .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;
  }
  
  .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;
  }
  }
  