/* Page Fonctionnalités - composition claire et cohérente */

.olyfit-features-container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.olyfit-features-hero {
  background: linear-gradient(165deg, #001a66 0%, #0043FF 48%, #1a6bff 100%);
  color: #fff;
  padding: 120px 0 48px;
}

.olyfit-features-hero-inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.olyfit-features-kicker {
  margin: 0 0 10px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.olyfit-features-kicker--blue {
  color: #0043FF;
}

.olyfit-features-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: #fff;
}

.olyfit-features-lead {
  margin: 0 0 28px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38ch;
}

.olyfit-features-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.olyfit-features-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.olyfit-features-btn--primary {
  background: #4CFF00;
  color: #0a1a4a;
  border-color: #4CFF00;
  box-shadow: 0 8px 24px rgba(76, 255, 0, 0.28);
}

.olyfit-features-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(76, 255, 0, 0.38);
}

.olyfit-features-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.olyfit-features-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.olyfit-features-btn--inline {
  margin-top: 20px;
  width: fit-content;
}

.olyfit-features-hero-media {
  display: flex;
  justify-content: center;
}

.olyfit-features-hero-media img {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.olyfit-features-overview {
  background: linear-gradient(180deg, #0043FF 0%, #0035cc 100%);
  color: #fff;
  padding: 56px 0 64px;
}

.olyfit-features-overview-head {
  max-width: 560px;
  margin-bottom: 28px;
}

.olyfit-features-overview-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 900;
  color: #fff;
}

.olyfit-features-overview-head p {
  margin: 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.olyfit-features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.olyfit-features-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.olyfit-features-grid i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0043FF;
  font-size: 1rem;
  flex-shrink: 0;
}

.olyfit-features-overview-visuals {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: end;
}

.olyfit-features-overview-visuals img {
  width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
}

.olyfit-features-split {
  background: #fff;
  padding: 64px 0;
}

.olyfit-features-split--coach {
  background: #f8fafc;
}

.olyfit-features-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.olyfit-features-split-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0043FF;
  max-width: 20ch;
}

.olyfit-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.olyfit-features-list li {
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 48px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1rem;
  line-height: 1.45;
  color: #1e293b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.olyfit-features-split--coach .olyfit-features-list li {
  background: #fff;
}

.olyfit-features-list li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #4CFF00;
  color: #0a1a4a;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.olyfit-features-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.olyfit-features-links a {
  color: #0043FF;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-weight: 700;
  text-decoration: none;
}

.olyfit-features-links a:hover {
  text-decoration: underline;
}

.olyfit-features-split-media {
  display: flex;
  justify-content: center;
}

.olyfit-features-split-media img {
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
}

.olyfit-features-extra {
  background: #fff;
  padding: 24px 0 16px;
}

.olyfit-features-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.olyfit-features-extra-grid article {
  padding: 24px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.olyfit-features-extra-grid h2 {
  margin: 0 0 8px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.2rem;
  font-weight: 900;
  color: #0043FF;
}

.olyfit-features-extra-grid p {
  margin: 0 0 14px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.olyfit-features-extra-grid a {
  color: #0043FF;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-weight: 700;
  text-decoration: none;
}

.olyfit-features-extra-grid a:hover {
  text-decoration: underline;
}

.olyfit-features-faq {
  background: #fff;
  padding: 24px 0 72px;
}

.olyfit-features-faq h2 {
  margin: 0 0 16px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: #0043FF;
}

.olyfit-features-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
}

.olyfit-features-footer-links a {
  color: #0043FF;
  font-weight: 700;
  text-decoration: none;
}

.olyfit-features-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .olyfit-features-hero {
    padding: 108px 0 36px;
  }

  .olyfit-features-hero-inner,
  .olyfit-features-split-inner,
  .olyfit-features-split-inner--reverse,
  .olyfit-features-overview-visuals,
  .olyfit-features-extra-grid {
    grid-template-columns: 1fr;
  }

  .olyfit-features-hero-copy h1,
  .olyfit-features-lead,
  .olyfit-features-split-copy h2 {
    max-width: none;
  }

  .olyfit-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .olyfit-features-split-inner--reverse .olyfit-features-split-media {
    order: -1;
  }

  .olyfit-features-actions,
  .olyfit-features-btn--inline {
    width: 100%;
  }

  .olyfit-features-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .olyfit-features-grid {
    grid-template-columns: 1fr;
  }

  .olyfit-features-container,
  .olyfit-features-hero-inner {
    width: calc(100% - 32px);
  }
}
