/* Accueil v3 : page storytelling après le hero */

:root {
  --oh-ink: #0b1220;
  --oh-muted: #5b6578;
  --oh-line: rgba(15, 23, 42, 0.1);
  --oh-blue: #0043FF;
  --oh-navy: #071433;
  --oh-green: #4CFF00;
  --oh-soft: #f3f6fb;
  --oh-soft-2: #eaf0ff;
  --oh-radius: 28px;
  --oh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.home {
  background: #fff;
}

body.home #accueil::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(120px, 16vh);
  background: linear-gradient(180deg, rgba(243, 246, 251, 0) 0%, var(--oh-soft) 100%);
  z-index: 6;
  pointer-events: none;
}

.olyfit-home-main {
  position: relative;
  z-index: 2;
  background: var(--oh-soft);
}

.oh-wrap {
  width: min(1120px, calc(100% - clamp(28px, 5vw, 64px)));
  margin: 0 auto;
}

.oh-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.oh-section-head {
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 640px;
}

.oh-section-head--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px 48px;
  align-items: end;
  max-width: none;
}

.oh-kicker {
  margin: 0 0 10px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oh-blue);
}

.oh-kicker--on-dark {
  color: var(--oh-green);
}

.oh-section h2 {
  margin: 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--oh-ink);
}

.oh-lead {
  margin: 14px 0 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--oh-muted);
}

.oh-lead--on-dark {
  color: rgba(255, 255, 255, 0.84);
}

.oh-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
}

.oh-inline-links a {
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--oh-blue);
  text-decoration: none;
}

.oh-inline-links a:hover {
  text-decoration: underline;
}

/* Personas */
.oh-personas {
  background: linear-gradient(180deg, var(--oh-soft) 0%, #fff 100%);
}

.oh-persona-grid {
  display: grid;
  gap: 12px;
}

.oh-persona {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--oh-line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s var(--oh-ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.oh-persona:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 67, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 67, 255, 0.1);
}

.oh-persona-index {
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--oh-blue);
  letter-spacing: 0.06em;
}

.oh-persona h3 {
  margin: 0 0 6px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--oh-ink);
}

.oh-persona p {
  margin: 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--oh-muted);
}

.oh-persona-go {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--oh-blue);
}

/* Pillars */
.oh-pillars {
  background: #fff;
}

.oh-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.oh-pillar {
  padding: 28px 24px;
  border-radius: var(--oh-radius);
  background: var(--oh-soft);
  border: 1px solid transparent;
  min-height: 100%;
}

.oh-pillar i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 67, 255, 0.1);
  color: var(--oh-blue);
  margin-bottom: 18px;
}

.oh-pillar h3 {
  margin: 0 0 10px;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--oh-ink);
}

.oh-pillar p {
  margin: 0;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--oh-muted);
}

/* App band */
.oh-app {
  background: linear-gradient(145deg, #06112b 0%, #0c2466 48%, #0043FF 100%);
  color: #fff;
  overflow: hidden;
}

.oh-app-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.oh-app h2,
.oh-mission h2,
.oh-final h2 {
  color: #fff;
}

.oh-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.oh-app-visual {
  display: flex;
  justify-content: center;
}

.oh-app-visual img {
  width: min(420px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

/* Mission / vision - tout texte clair sur fond sombre */
.oh-mission {
  background: var(--oh-navy);
  color: #fff;
}

.oh-mission-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.oh-mission-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.oh-mission-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
}

.oh-mission-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oh-green);
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(76, 255, 0, 0.12);
}

.oh-mission-figure {
  margin: 0;
}

.oh-mission-figure img {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  margin-left: auto;
  border: 3px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

/* Proof — thème sombre (contraste lisible) */
.oh-proof {
  background: linear-gradient(155deg, #06112b 0%, #0c2466 48%, #0043FF 100%);
  color: #fff;
}

.oh-proof .oh-kicker {
  color: var(--oh-green);
}

.oh-proof h2,
.oh-proof #oh-proof-title {
  color: #fff;
}

.oh-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.oh-metric {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.oh-metric strong {
  display: block;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--oh-green);
  line-height: 1;
  margin-bottom: 8px;
}

.oh-metric span {
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.95rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
}

.oh-reviews {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 14, 52, 0.28);
  color: #fff;
}

.oh-proof .oh-reviews-panel,
.oh-proof .oh-reviews-panel p,
.oh-proof .oh-reviews-panel span,
.oh-proof .oh-reviews-panel h3,
.oh-proof #home-reviews-carousel,
.oh-proof #home-reviews-carousel p,
.oh-proof .text-xxl,
.oh-proof .text-md,
.oh-proof .text-sm,
.oh-proof .text-blue {
  color: rgba(255, 255, 255, 0.92) !important;
}

.oh-reviews-visual img {
  width: min(180px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 28px rgba(0, 14, 52, 0.2));
}

.oh-reviews-panel {
  min-height: 180px;
}

.oh-reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

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

.oh-btn:hover {
  transform: translateY(-2px);
}

.oh-btn--primary {
  background: var(--oh-green);
  color: #0a1a4a;
  box-shadow: 0 10px 24px rgba(76, 255, 0, 0.28);
}

.oh-btn--ghost {
  background: #fff;
  color: var(--oh-blue);
  border-color: #bfdbfe;
}

.oh-proof .oh-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

.oh-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Guides */
.oh-guides {
  background: var(--oh-soft);
}

.oh-guides-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.oh-guides-list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--oh-line);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.oh-guides-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 67, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 67, 255, 0.08);
}

.oh-guides-list span {
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--oh-blue);
}

.oh-guides-list em {
  font-style: normal;
  font-family: var(--font-tertiary, Inter, sans-serif);
  font-size: 0.88rem;
  color: var(--oh-muted);
}

/* FAQ */
.oh-faq {
  background: #fff;
}

.oh-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.oh-faq-list details {
  background: var(--oh-soft);
}

/* Final CTA */
.oh-final {
  background: linear-gradient(180deg, #fff 0%, var(--oh-soft-2) 100%);
  padding-bottom: clamp(72px, 10vw, 110px);
}

.oh-final-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 32px;
  background: linear-gradient(135deg, #06112b 0%, #0043FF 100%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(0, 67, 255, 0.25);
}

.oh-final-panel h2 {
  margin: 0 0 10px;
  max-width: 16ch;
}

.oh-final-panel p {
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-tertiary, Inter, sans-serif);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.oh-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .oh-section-head--split,
  .oh-pillar-grid,
  .oh-app-grid,
  .oh-mission-grid,
  .oh-reviews,
  .oh-guides-list,
  .oh-faq-grid,
  .oh-final-panel,
  .oh-metrics {
    grid-template-columns: 1fr;
  }

  .oh-final-panel {
    display: grid;
  }

  .oh-persona {
    grid-template-columns: auto 1fr;
  }

  .oh-persona-go {
    display: none;
  }

  .oh-mission-figure img {
    margin: 0 auto;
  }

  .oh-app-visual img {
    width: min(320px, 100%);
  }
}

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

  .oh-persona {
    padding: 18px;
  }
}
