/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* === Navbar === */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: absolute;
  top: 0;
  z-index: 10;
}

.navbar-light {
  position: static;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-light .logo {
  color: #000;
}

.navbar-light .nav-buttons a {
  background: #e50914;
  color: white;
}

.navbar-light .nav-buttons a:hover {
  background: #b20810;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.nav-buttons button,
.nav-buttons a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.nav-buttons button:hover,
.nav-buttons a:hover {
  background: #ff2c2c;
}

/* === Hero Section === */
.hero {
  height: 100vh;
  background: url("/static/hero-background.jpg") center center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.content {
  text-align: center;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.content h1 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* === Search Box === */
.search-box {
  background: white;
  border-radius: 14px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.top-inputs {
  display: flex;
  gap: 10px;
}

.top-inputs input,
.bottom-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  color: #333;
}

.top-inputs input::placeholder,
.bottom-input input::placeholder {
  color: #999;
}

.top-inputs input:focus,
.bottom-input input:focus {
  border-color: #e50914;
}

/* === Specialty Select === */
.specialty-select {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  color: #333;
  background: white;
  cursor: pointer;
  transition: 0.3s;
}

.specialty-select:hover {
  border-color: #999;
}

.specialty-select:focus {
  border-color: #e50914;
}

.specialty-select option {
  padding: 10px;
}

.bottom-input {
  display: flex;
  gap: 10px;
}

.btn-search {
  background: #e50914;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.btn-search:hover {
  background: #b20810;
  transform: scale(1.05);
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo {
    font-size: 22px;
  }

  .nav-buttons {
    gap: 10px;
  }

  .nav-buttons button,
  .nav-buttons a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .content h1 {
    font-size: 32px;
  }

  .content p {
    font-size: 16px;
  }

  .top-inputs {
    flex-direction: column;
  }

  .bottom-input {
    flex-direction: column;
  }

  .btn-search {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .logo {
    font-size: 20px;
  }

  .content h1 {
    font-size: 28px;
  }

  .content p {
    font-size: 14px;
  }

  .search-box {
    padding: 20px;
  }

  .top-inputs input,
  .bottom-input input {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* === Discover Coachs Section === */
.discover-coachs {
  background: #f8f8f8;
  padding: 80px 20px;
}

.discover-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.discover-image {
  flex: 1;
  max-width: 550px;
}

.discover-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.discover-text {
  flex: 1;
  color: #333;
}

.discover-text h2 {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.discover-text p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-discover {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-discover:hover {
  background: #00C77B;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 199, 123, 0.3);
}

/* Responsive pour la section Discover Coachs */
@media (max-width: 968px) {
  .discover-container {
    flex-direction: column;
    gap: 40px;
  }

  .discover-image {
    max-width: 100%;
  }

  .discover-text h2 {
    font-size: 32px;
  }

  .discover-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .discover-coachs {
    padding: 60px 20px;
  }

  .discover-text h2 {
    font-size: 28px;
  }

  .discover-text p {
    font-size: 15px;
  }

  .btn-discover {
    padding: 12px 30px;
    font-size: 15px;
  }
}

/* === FitMatch Stats Section === */
.fitmatch-stats {
  text-align: center;
  background-color: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.fitmatch-stats h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000;
}

.fitmatch-stats .subtitle {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.stat h3 {
  color: #000;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Responsive pour la section Stats */
@media (max-width: 768px) {
  .fitmatch-stats h2 {
    font-size: 1.5rem;
  }

  .fitmatch-stats .subtitle {
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .stat p {
    font-size: 0.85rem;
  }
}

/* === FitMatch Partner Section === */
:root{
  --fm-accent:#00C77B;
  --fm-text:#0b0f14;
  --fm-muted:#606971;
  --fm-line:#e8edf2;
  --fm-card:#ffffff;
  --fm-bg: #fafafa;
}
.fm-partner{
  background: var(--fm-bg);
  padding: clamp(48px, 6vw, 80px) 20px;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fm-text);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}
.fm-wrap{max-width: 1080px; margin: 0 auto;}
.fm-head h1{
  font-size: clamp(28px, 4.5vw, 48px);
  line-height:1.1;
  margin: 0 0 8px;
}
.fm-brand{color: var(--fm-accent);}
.fm-sub{
  font-size: clamp(16px, 2vw, 18px);
  color: var(--fm-muted);
  margin: 0 0 14px;
}
.fm-bullets{list-style:none; padding:0; margin: 12px 0 28px; display:grid; gap:10px;}
.fm-bullets li{display:flex; align-items:center; gap:10px; color:#2f3842;}
.fm-check{
  width:20px; height:20px; border-radius:6px;
  background: rgba(0,199,123,.12);
  border:1px solid rgba(0,199,123,.4);
  position:relative; flex:0 0 20px;
}
.fm-check::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 50% 50%, var(--fm-accent) 0 40%, transparent 41%);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M4.8 9.2 1.9 6.3l1-1 1.9 1.9L9.1 3.9l1 1-4.3 4.3z" fill="%23000"/></svg>') center/70% no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M4.8 9.2 1.9 6.3l1-1 1.9 1.9L9.1 3.9l1 1-4.3 4.3z" fill="%23000"/></svg>') center/70% no-repeat;
}

.fm-ctas{display:grid; grid-template-columns:1fr; gap:16px;}
@media (min-width: 860px){
  .fm-ctas{grid-template-columns:1fr; max-width:820px;}
}
.fm-card{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
  padding:18px 20px; border-radius:14px; background: var(--fm-card);
  border: 1px solid #cbd6e1; text-decoration:none; color:inherit;
  transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
}
.fm-card:hover{box-shadow:0 8px 22px rgba(0,0,0,.08); transform:translateY(-2px); border-color:#b9c7d6;}
.fm-card-ico{
  color: var(--fm-accent);
  width:42px; height:42px; border-radius:10px;
  background: rgba(0,199,123,.12);
  display:flex; align-items:center; justify-content:center;
}
.fm-card-title{font-weight:700; font-size:18px; margin-bottom:4px;}
.fm-card-desc{color: var(--fm-muted); font-size:14px;}
.fm-card-arrow{font-size:22px; color:#98a6b7}

/* === FAQ Section - Style Planity === */
.faq-section {
  background-color: #fff;
  color: #222;
  font-family: "Inter", sans-serif;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.faq-container {
  width: 100%;
  max-width: 750px;
}

.faq-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.faq-item {
  border-top: 1px solid #e5e5e5;
}

.faq-item:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 17px;
  color: #111;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "›";
  font-size: 20px;
  color: #888;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
  color: #111;
}

.faq-content {
  padding: 0 0 20px 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}
