/* Fiche offre v2 — page scroll unique, plus d'onglets. */

.wg-od-wrap {
  /* Ne réserve QUE la hauteur de sa propre barre d'action fixe (la nav est gérée par .app-content) */
  padding: 16px 16px 7.5rem;
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
}

@media (min-width: 768px) {
  .wg-od-wrap { padding-bottom: 7.5rem; }
}

/* Hero */
.wg-od-hero { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.wg-od-title { font-family: var(--font-heading, Inter, system-ui, sans-serif); font-weight: 800; font-size: clamp(22px, 6.4vw, 26px); line-height: 1.15; margin: 0; }
.wg-od-hero-meta { display: flex; gap: 12px; align-items: center; }
.wg-od-hero-meta-txt { display: flex; flex-direction: column; gap: 4px;   min-width: 0;
  }
.wg-od-company { font-weight: 600; font-size: 15px; }
.wg-od-location { display: inline-flex; align-items: center; gap: 6px; color: #6b6b74; font-size: 14px; }

/* Money hero */
.wg-od-money {
  margin-top: 16px;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, rgba(106,62,235,0.06), rgba(106,62,235,0.02));
  border: 1px solid rgba(106,62,235,0.12);
  border-radius: 16px;
}
.wg-od-money-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wg-od-money-amt {
  font-family: var(--font-money, var(--font-heading, Inter, system-ui, sans-serif));
  font-weight: 800;
  font-size: clamp(30px, 9vw, 44px);
  color: #6A3EEB;
  letter-spacing: -0.02em;
}
.wg-od-money-lbl { color: #6b6b74; font-size: 14px; font-weight: 500; }
.wg-od-money-hint { margin: 8px 0 0; color: #6b6b74; font-size: 13px; }

/* Blocks */
.wg-od-block {
  margin-top: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
}
.wg-od-h2 { font-family: var(--font-heading, inherit); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.wg-od-desc { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: #26262e; 
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Chips */
.wg-od-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.wg-od-chip {
  padding: 6px 12px;
  background: #f4f5f8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #26262e;
}
.wg-od-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wg-od-lang { padding: 6px 12px; background: #eef7f2; color: #1f5f43; border-radius: 999px; font-size: 13px; }

/* When */
.wg-od-when-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.wg-od-when-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #26262e; }
.wg-od-fit {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.wg-od-fit.is-ok { background: rgba(59, 232, 176, 0.12); color: #157b57; }
.wg-od-fit.is-ko { background: rgba(255, 176, 32, 0.14); color: #8a5a10; }
.wg-od-fit-link {
  background: transparent; border: none; color: #6A3EEB; font-weight: 600;
  cursor: pointer; padding: 0; text-decoration: underline;
}

/* Where */
.wg-od-address { margin: 0; font-size: 14px; color: #26262e; }
.wg-od-distance { margin: 4px 0 10px; color: #6b6b74; font-size: 13px; }
.wg-od-maps {
  display: inline-flex; align-items: center; gap: 6px;
  color: #6A3EEB; font-weight: 600; font-size: 14px; text-decoration: none;
}
.wg-od-maps:hover { text-decoration: underline; }

/* Company */
.wg-od-rating { display: inline-flex; align-items: center; gap: 2px; color: #f5a623; margin-bottom: 8px; }
.wg-od-rating-num { margin-left: 6px; color: #26262e; font-weight: 600; font-size: 14px; }
.wg-od-vibe {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(106,62,235,0.08); color: #4a2bbf;
  border-radius: 999px; font-size: 13px; font-weight: 500;
}

/* Stepper */
.wg-od-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wg-od-step { display: flex; gap: 12px; align-items: flex-start; }
.wg-od-step-n {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: #6A3EEB; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.wg-od-step-txt { font-size: 14px; line-height: 1.5; color: #26262e; padding-top: 3px; }

/* Sticky footer */
.wg-od-footer {
  position: fixed;
  left: 50%; right: auto;
  transform: translateX(-50%);
  width: min(720px, 100%);
  /* Mobile : la barre CTA se pose juste au-dessus du menu bas */
  bottom: var(--bottomnav-h);
  padding: 12px 16px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-c);
  z-index: var(--z-actionbar);
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Desktop : le menu est en haut, la barre retourne coller le bas */
@media (min-width: 768px) {
  .wg-od-footer {
    bottom: 0;
    padding-bottom: calc(12px + var(--safe-b));
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
}
.wg-od-cta {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #6A3EEB, #8557f5);
  color: #fff;
  font-weight: 700; font-size: 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(106,62,235,0.35);
  transition: transform 0.15s ease;
}
.wg-od-cta:active { transform: scale(0.98); }
.wg-od-cta:disabled { opacity: 0.6; cursor: not-allowed; }
.wg-od-pass {
  background: transparent; border: none;
  color: var(--text-3); font-size: 13px; padding: 6px 12px;
  cursor: pointer; text-decoration: underline;
}
.wg-od-pass:disabled { opacity: 0.5; cursor: not-allowed; }

/* Focus-mode entrypoint on /offres */
.wg-of-focus-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f0f14, #26262e);
  color: #fff;
  border: none;
  font-weight: 600; font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.wg-of-focus-btn:active { transform: scale(0.97); }
