/* =========================================================
   ÉTUDE DE CAS — Landing page Compara Fibre
   ========================================================= */

.case-hero__intro strong, .case-brief strong { color: #fff; font-weight: 600; }
.lp-live { margin-top: 2.2rem; }

.lp-section { padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.lp-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.lp-title em { font-style: normal; color: var(--accent); }
.lp-lead { color: #c3cedb; max-width: 620px; margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ---------- Vitrine : navigateur + téléphone ---------- */
.lp-showcase {
  position: relative;
  padding: 1rem var(--gutter) 4rem;
  padding-right: calc(var(--gutter) + 6%);
}
.lp-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 60px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
.lp-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .65rem 1rem;
  background: #e9edf2;
}
.lp-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #cfd5dd; }
.lp-browser__bar i:nth-child(1) { background: #ff6159; }
.lp-browser__bar i:nth-child(2) { background: #ffbd2e; }
.lp-browser__bar i:nth-child(3) { background: #28c941; }
.lp-browser__bar span {
  flex: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: .25rem .9rem;
  border-radius: 6px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: #6b7686;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-browser img { width: 100%; display: block; }

.lp-phone {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  width: clamp(130px, 19%, 250px);
  padding: 8px;
  border-radius: 30px;
  background: #0b0f17;
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .85), inset 0 0 0 1.5px #2a3242;
}
.lp-phone img { width: 100%; border-radius: 23px; display: block; }

/* ---------- Chiffres ---------- */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.lp-stats div { padding: 1.8rem 1.5rem; border-right: 1px solid var(--line); }
.lp-stats div:last-child { border-right: 0; }
.lp-stats strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--accent); line-height: 1.1; }
.lp-stats span { color: var(--muted); font-size: .9rem; }

/* ---------- Leviers de conversion ---------- */
.levers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lever {
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .3s;
}
.lever:hover { transform: translateY(-5px); border-color: rgba(251, 79, 12, .45); }
.lever__tag {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(251, 79, 12, .14);
  color: #ffb08a;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lever h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; margin: .9rem 0 .5rem; }
.lever p { color: #aebbcb; font-size: .9rem; line-height: 1.6; }

/* ---------- Parcours ---------- */
.journey { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); margin-top: 2.5rem; }
.step { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin: 0; }
.step--rev { grid-template-columns: 1fr 1.6fr; }
.step--rev .step__img { order: 2; }
.step__img {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 60px -35px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
.step__img img { width: 100%; display: block; transition: transform .8s var(--ease); }
.step:hover .step__img img { transform: scale(1.02); }
.step__num { font-family: var(--font-mono); color: var(--accent); font-size: .85rem; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; margin: .5rem 0 .8rem; }
.step p { color: #c3cedb; line-height: 1.7; }

/* ---------- Page complète (défilement au survol) ---------- */
.lp-full { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.lp-scroll {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 60px 80px -40px rgba(0, 0, 0, .8);
}
.lp-scroll__view { height: clamp(360px, 52vw, 620px); overflow: hidden; position: relative; }
.lp-scroll__view img {
  width: 100%;
  display: block;
  transform: translateY(0);
  transition: transform 9s cubic-bezier(.45, 0, .55, 1);
}
.lp-scroll:hover .lp-scroll__view img,
.lp-scroll:focus-within .lp-scroll__view img { transform: translateY(calc(-100% + clamp(360px, 52vw, 620px))); }
@media (hover: none) { .lp-scroll__view { overflow-y: auto; } .lp-scroll__view img { transition: none; } }

/* ---------- Design system ---------- */
.lp-type {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.8rem 2rem;
  background: #fff;
  color: #0f172a;
  border-radius: var(--radius);
  font-family: "Montserrat", sans-serif;
}
.lp-type__aa { font-weight: 800; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; color: #0B1654; }
.lp-type__name { font-weight: 800; font-size: 1.5rem; margin-bottom: .4rem; }
.lp-type__use { color: #4b5563; max-width: 560px; line-height: 1.6; }
.lp-type__use b { color: #F97316; }

/* ---------- SEO ---------- */
.lp-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.keywords--lg li { font-size: .9rem; }
.serp {
  padding: 1.5rem 1.6rem;
  background: #fff;
  border-radius: var(--radius);
  font-family: Arial, sans-serif;
  box-shadow: 0 40px 60px -35px rgba(0, 0, 0, .8);
}
.serp__url { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: #202124; margin-bottom: .4rem; }
.serp__fav { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e6f6f8; color: #1E8999; font-weight: 700; font-size: .8rem; }
.serp__title { color: #1a0dab; font-size: 1.25rem; line-height: 1.3; margin-bottom: .3rem; }
.serp__desc { color: #4d5156; font-size: .9rem; line-height: 1.55; }

/* ---------- Compétences ---------- */
.lp-skills { text-align: left; }
.skill-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.skill-tags li {
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  color: #dbe3ec;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .levers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-stats div:nth-child(2) { border-right: 0; }
  .lp-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .step, .lp-full, .lp-seo { grid-template-columns: 1fr; }
  .step--rev .step__img { order: 0; }
}
@media (max-width: 560px) {
  .levers { grid-template-columns: 1fr; }
  .lp-stats div { padding: 1.3rem 1rem; }
  .lp-stats strong { font-size: 1.45rem; }
  .lp-showcase { padding-right: var(--gutter); padding-bottom: 6rem; }
  .lp-phone { width: 34%; bottom: 1rem; right: calc(var(--gutter) - 6px); }
  .lp-type { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .lp-browser__bar span { display: none; }
}
