/* ==========================================================================
   Page « Ostéopathe à Nancy - avis patients » (osteopathe-nancy-avis/)
   Landing page : héros avec note Google, points rassurants, avis en
   carrousel, motifs, praticien, déroulement, FAQ, appel final.
   S'appuie sur style.css (couleurs, boutons, en-tête) et interieur.css (FAQ).
   ========================================================================== */

.lp { --star: #f2a516; --ink: #2a221c; --ink-2: #382e26; }

.lp-stars { display: inline-flex; gap: 2px; color: var(--star); line-height: 0; }
.lp-stars svg { width: 16px; height: 16px; fill: currentColor; }
.lp-stars--sm svg { width: 14px; height: 14px; }
.lp-stars--lg svg { width: 22px; height: 22px; }
.lp-g { flex: none; display: inline-block; vertical-align: middle; }

.lp-eyebrow { display: block; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .8rem; }

.lp-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.lp-ico svg { width: 22px; height: 22px; }

/* ---------- Héros ---------- */
.lp-hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.lp-rating {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .7rem 1.2rem .7rem .9rem; margin-bottom: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 14px 30px -22px rgba(64,45,28,.6);
  color: var(--text); text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease-out);
}
.lp-rating:hover { border-color: var(--accent); transform: translateY(-1px); }
.lp-rating__score { font-family: var(--serif); font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.lp-rating__side { display: flex; flex-direction: column; gap: .3rem; }
.lp-rating__count { font-size: 1rem; color: var(--muted); line-height: 1.2; }
.lp-rating__count strong { color: var(--text); font-weight: 700; }
.lp-stars--xl svg { width: 24px; height: 24px; }
.lp-h1-kicker { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 1.1rem; }
.lp-lead { font-size: 1.12rem; color: var(--muted); max-width: 48ch; margin-bottom: 1.6rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.lp-cta--center { justify-content: center; }
.lp-checks { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; font-size: .92rem; color: var(--muted); }
.lp-checks li { display: inline-flex; align-items: center; gap: .45rem; }
.lp-checks li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23bd5c25' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.lp-place {
  display: flex; align-items: center; gap: .8rem; max-width: 430px;
  padding: .75rem .9rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.lp-place:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.lp-place__pin { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.lp-place__txt { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); line-height: 1.35; min-width: 0; }
.lp-place__txt strong { color: var(--text); font-size: .92rem; }
.lp-place__go { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }

/* Portrait et bureau côte à côte, même hauteur (bloc au ratio fixe, images recadrées en cover) */
.lp-hero__media { display: grid; grid-template-columns: 2fr 3fr; gap: .8rem; aspect-ratio: 1.65 / 1; }
.lp-duo { position: relative; margin: 0; height: 100%; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--accent-soft); box-shadow: 0 26px 50px -32px rgba(64,45,28,.55); }
.lp-duo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-duo--pro img { object-position: 50% 25%; }
.lp-duo--office img { object-position: 66% 50%; } /* bureau au centre du cadre */
.lp-duo figcaption {
  position: absolute; left: .7rem; bottom: .7rem; padding: .35rem .7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px);
  font-size: .8rem; font-weight: 600; color: var(--text);
}

/* ---------- Points rassurants (bande terracotta à motif de vagues) ---------- */
.lp-trust {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20c20 0 20-14 40-14s20 14 40 14 20-14 40-14M0 40c20 0 20-14 40-14s20 14 40 14 20-14 40-14' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='6'/%3E%3C/svg%3E");
  padding: clamp(1.8rem, 4vw, 2.6rem) 1.5rem;
}
.lp-trust__grid { list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lp-trust__grid li { background: var(--surface); border-radius: 14px; padding: 1.3rem 1.2rem 1.2rem; text-align: center; box-shadow: 0 14px 30px -22px rgba(64,30,10,.6); }
.lp-trust__grid .lp-ico { margin-bottom: .7rem; }
.lp-trust__grid h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .35rem; }
.lp-trust__grid p { font-size: .88rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ---------- Avis ---------- */
.lp-reviews__layout { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; align-items: start; }
.lp-score {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-soft); text-align: center;
}
.lp-score__name { display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.lp-score__big { font-family: var(--serif); font-size: 3.6rem; line-height: 1; margin: 0 0 .3rem; }
.lp-score__big span { font-size: 1.3rem; color: var(--muted); }
.lp-score__count { color: var(--muted); font-size: .9rem; margin: .35rem 0 1rem; }
.lp-bars { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .3rem; font-size: .78rem; color: var(--muted); }
.lp-bars li { display: grid; grid-template-columns: 12px 1fr 22px; align-items: center; gap: .5rem; }
.lp-bars i { height: 7px; border-radius: 99px; background: var(--bg-2); position: relative; overflow: hidden; }
.lp-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--star); border-radius: inherit; }
.lp-bars b { font-weight: 500; text-align: right; }
.lp-score__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); margin: 0 0 .55rem; }
.lp-chips { list-style: none; padding: 0; margin: 0 0 1.3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.lp-chips li { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.lp-score__btn { width: 100%; font-size: .92rem; padding-inline: 1rem; }
.lp-score__date { font-size: .75rem; color: var(--muted); margin: .8rem 0 0; }

.lp-carousel { min-width: 0; }
.lp-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 1rem) / 2); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .3rem .2rem 1.2rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
}
.lp-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.lp-card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.2rem 1.1rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.lp-card header { display: flex; align-items: center; gap: .65rem; }
.lp-card header p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.lp-card header strong { font-size: .95rem; }
.lp-card header span { font-size: .78rem; color: var(--muted); }
.lp-card header .lp-g { margin-left: auto; }
.lp-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; color: #fff; font-size: .95rem; }
.lp-av--1 { background: #c8693a; }
.lp-av--2 { background: #5f7f6b; }
.lp-av--3 { background: #8a6a9e; }
.lp-av--4 { background: #3f7896; }
.lp-av--5 { background: #a08348; }
.lp-card__txt {
  font-size: .93rem; line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden;
}
.lp-card__txt.is-open { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.lp-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: .84rem; font-weight: 600; color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lp-carousel__nav { display: flex; justify-content: flex-end; gap: .5rem; }
.lp-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--surface);
  color: var(--accent-ink); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.lp-arrow:hover:not(:disabled) { background: var(--accent); color: #fff; }
.lp-arrow:disabled { opacity: .35; cursor: default; }
.lp-reviews__cta { margin: 2rem 0 0; }

/* ---------- Motifs (bande sombre) ---------- */
.lp-dark { background: var(--ink); color: #f4ede2; }
.lp-dark .section-head h2 { color: #fff; }
.lp-dark .section-sub { color: #cfc4b4; }
.lp-motifs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lp-motifs a, .lp-motif {
  position: relative; display: block; height: 100%; padding: 1.4rem 1.3rem 1.3rem;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  color: inherit; text-decoration: none; transition: background-color .3s, transform .3s var(--ease-out), border-color .3s;
}
.lp-motifs a::after {
  content: "→"; position: absolute; top: 1.4rem; right: 1.3rem; color: var(--accent);
  font-size: 1.1rem; transition: transform .3s var(--ease-out);
}
.lp-motifs a:hover { background: #43372d; border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-3px); }
.lp-motifs a:hover::after { transform: translateX(4px); }
.lp-motifs .lp-ico { background: color-mix(in srgb, var(--accent) 22%, transparent); color: #f0a878; margin-bottom: .9rem; }
.lp-motifs h3 { font-size: 1.22rem; color: #fff; margin: 0 0 .35rem; }
.lp-motifs p { font-size: .9rem; color: #cfc4b4; line-height: 1.55; margin: 0; }
.lp-honest {
  display: flex; gap: 1rem; align-items: flex-start; max-width: 860px; margin: 2rem auto 0;
  padding: 1.3rem 1.4rem; border-radius: 16px; background: color-mix(in srgb, var(--accent) 14%, var(--ink-2));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.lp-honest .lp-ico { background: var(--accent); color: #fff; }
.lp-honest p { margin: 0; color: #e6dccd; font-size: .98rem; line-height: 1.6; }
.lp-honest p + p { margin-top: .6rem; color: #cfc4b4; font-size: .92rem; }
.lp-honest strong { color: #fff; }
.lp-honest a { color: #f0a878; font-weight: 600; white-space: nowrap; }
.lp-dark__cta { margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.6rem; }
.lp-link-light { color: #f0a878; font-weight: 600; text-underline-offset: 4px; }
.lp-link-light:hover { color: #fff; }

/* ---------- Praticien ---------- */
.lp-about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-about__media { margin: 0; }
.lp-about__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 50% 60%; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(64,45,28,.55); }
.lp-about__media figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; }
.lp-about__text h2 { margin-bottom: 1rem; }
.lp-about__text p { max-width: 58ch; }
.lp-stats { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.lp-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .9rem .6rem; text-align: center; display: flex; flex-direction: column; line-height: 1.3; }
.lp-stats__k { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.lp-stats strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--accent-ink); margin: .2rem 0 .1rem; }
.lp-stats li > span:last-child { font-size: .8rem; color: var(--muted); }
.lp-about__cta { margin: 0; }

/* ---------- Déroulement ---------- */
.lp-steps__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: none; }
.lp-steps__list li { background: var(--surface); border-radius: 16px; padding: 1.4rem 1.3rem; position: relative; }
.lp-steps__n { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--accent); display: block; margin-bottom: .5rem; }
.lp-steps__list h3 { margin: 0 0 .35rem; }
.lp-steps__list p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-faq__side { position: sticky; top: 96px; }
.lp-faq__side h2 { margin-bottom: .6rem; }
.lp-faq__call { margin-top: 1.2rem; font-size: .95rem; }
.lp-faq__call a { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.lp-faq__list { max-width: none; margin: 0; }
.lp-faq .faq-answer a { color: var(--accent-ink); }

/* ---------- Appel final ---------- */
.lp-final {
  background: var(--ink);
  background-image: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%);
  color: #f4ede2; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
}
.lp-final__inner { max-width: 760px; margin: 0 auto; }
.lp-final h2 { color: #fff; margin: 1rem 0 .6rem; }
.lp-final p { color: #cfc4b4; margin-bottom: 1.6rem; }
.lp-btn-light { background: #fff; color: var(--ink); }
.lp-btn-light:hover { background: var(--accent-soft); transform: translateY(-2px); }
.lp-final__info { list-style: none; padding: 0; margin: 2.2rem 0 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; font-size: .9rem; color: #cfc4b4; }
.lp-final__info strong { display: block; color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .25rem; }

/* ---------- Barre fixe mobile ---------- */
.lp-sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .lp-trust__grid, .lp-steps__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 1.6rem; }
  .lp-hero__media { max-width: 560px; width: 100%; margin: 0 auto; }
  /* Mobile : photos du praticien et du cabinet juste sous le titre */
  .lp-hero { gap: 0; }
  .lp-hero__text { display: contents; }
  .lp-rating { order: 1; justify-self: start; }
  .lp-hero h1 { order: 2; }
  .lp-hero__media { order: 3; margin: .4rem 0 1.6rem; }
  .lp-lead { order: 4; }
  .lp-hero .lp-cta { order: 5; }
  .lp-checks { order: 6; }
  .lp-place { order: 7; }
  .lp-reviews__layout { grid-template-columns: 1fr; }
  .lp-score { max-width: 460px; width: 100%; margin: 0 auto; }
  .lp-motifs { grid-template-columns: 1fr 1fr; }
  .lp-about, .lp-faq { grid-template-columns: 1fr; }
  .lp-faq__side { position: static; }

  .lp-sticky {
    display: flex; gap: .6rem; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(64,45,28,.6);
    transform: translateY(110%); transition: transform .35s var(--ease-out);
  }
  .lp-sticky.is-on { transform: none; }
  .lp-sticky__call {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: 0 1rem;
    border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent-ink); font-weight: 600; text-decoration: none; font-size: .95rem;
  }
  .lp-sticky__rdv { flex: 1; }
  .lp .site-footer { padding-bottom: 6rem; }
}
@media (max-width: 560px) {
  .lp-track { grid-auto-columns: 86%; }
  .lp-trust__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .lp-trust__grid li { padding: 1rem .8rem; }
  .lp-trust__grid p { display: none; }
  .lp-motifs, .lp-steps__list, .lp-final__info { grid-template-columns: 1fr; }
  .lp-cta .btn { flex: 1 1 100%; }
  .lp-hero__media { gap: .5rem; aspect-ratio: 1.45 / 1; }
  .lp-duo { border-radius: 14px; }
  .lp-duo figcaption { left: .45rem; bottom: .45rem; font-size: .72rem; padding: .3rem .55rem; }
  .lp-rating { gap: .6rem; padding: .6rem 1rem .6rem .75rem; }
  .lp-rating__score { font-size: 2.2rem; }
  .lp-stars--xl svg { width: 21px; height: 21px; }
  .lp-honest { flex-direction: column; gap: .7rem; }
  .lp-stats strong { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-track { scroll-behavior: auto; }
  .lp-sticky { transition: none; }
}
