/* ══════════════════════════════════════════════
   POLYLANGUES — OFFRES.CSS (page-specific styles)
   ══════════════════════════════════════════════ */

/* ── EYELINE ── */
.eyeline {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rouge);
  display: block;
  margin-bottom: 24px;
}
.eyeline.dark { color: rgba(255,255,255,.5); }

/* ── HERO ÉDITORIAL ── */
.hero-editorial {
  padding: clamp(130px, 14vw, 180px) 0 clamp(80px, 10vw, 120px);
  position: relative;
  background: var(--off);
  overflow: hidden;
}

.offres-hero-title {
  font-family: var(--fd);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -.03em;
  position: relative;
  z-index: 2;
}
.offres-hero-title em { color: var(--rouge); font-style: normal; }

.offres-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gris);
  line-height: 1.65;
  max-width: 500px;
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

/* Images composition */
.hero-images {
  position: absolute;
  right: 5%;
  top: 110px;
  width: 45%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.img-comp-1, .img-comp-2 {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(26,26,46,.1);
  overflow: hidden;
}
.img-comp-1 img, .img-comp-2 img { width: 100%; height: 100%; object-fit: cover; }
.img-comp-1 { width: 55%; aspect-ratio: 4/5; top: 0; right: 0; z-index: 2; }
.img-comp-2 { width: 50%; aspect-ratio: 1/1; top: 30%; left: 5%; z-index: 1; border: 8px solid var(--off); }

@media(max-width:991px) {
  .hero-editorial { padding: clamp(110px,13vw,150px) 0 60px; }
  .hero-images { position: relative; right: auto; top: auto; width: 100%; height: 400px; margin-top: 40px; }
  .img-comp-1 { width: 50%; right: 5%; top: 0; }
  .img-comp-2 { width: 50%; left: 5%; top: 25%; }
}

/* ── STICKY SECTIONS ── */
.sticky-section {
  padding: clamp(80px,12vw,140px) 0;
  position: relative;
  border-top: 1px solid rgba(26,26,46,.08);
}
.sticky-section.dark {
  background: var(--ink);
  color: #fff;
  border-top: none;
}

.sticky-wrapper {
  display: grid;
  grid-template-columns: 3.5fr 6.5fr;
  gap: 80px;
  align-items: flex-start;
}

/* Sticky sidebar */
.sticky-sidebar { position: sticky; top: 120px; }

.sticky-num {
  font-family: var(--fd);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.8;
  color: rgba(26,26,46,.06);
  letter-spacing: -.05em;
  margin-bottom: 20px;
}
.sticky-section.dark .sticky-num { color: rgba(255,255,255,.05); }

.sticky-title {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  line-height: 1.05;
  color: var(--ink);
}
.sticky-section.dark .sticky-title { color: #fff; }
.sticky-title.red { color: var(--rouge) !important; }

.sc-desc {
  font-size: 1.05rem;
  color: var(--gris);
  line-height: 1.65;
  font-weight: 400;
  max-width: 300px;
}
.sc-desc.dark { color: rgba(255,255,255,.55); }

/* Scroll content */
.scroll-content { padding-top: 8px; }

/* Editorial grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  margin-bottom: 56px;
  align-items: stretch;
}

.data-box { display: flex; flex-direction: column; gap: 40px; justify-content: center; }

.data-item { padding-left: 24px; border-left: 2px solid var(--rouge); }

.data-val {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.data-val.white { color: #fff; }
.data-val.large { font-size: clamp(1.6rem,2.5vw,2.2rem); margin-top: 8px; }

.data-lbl {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--rouge);
  margin-bottom: 4px;
}

.data-sub { font-size: .88rem; color: var(--gris); line-height: 1.55; }
.data-sub.dark { color: rgba(255,255,255,.5); }

/* Editorial image */
.editorial-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26,26,46,.08);
}
.editorial-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.editorial-img:hover img { transform: scale(1.05); }

/* Typo list */
.typo-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(26,26,46,.09); }
.typo-list.dark { border-top-color: rgba(255,255,255,.08); }

.typo-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(26,26,46,.09);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
  display: flex;
  gap: 18px;
  color: var(--ink);
}
.typo-list.dark li { border-bottom-color: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.typo-list li::before { content: '—'; color: var(--rouge); font-weight: 800; flex-shrink: 0; }

@media(max-width:991px) {
  .sticky-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .sticky-sidebar { position: relative; top: 0; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-img { height: 240px; min-height: auto; }
}

/* ── MATRIX DE COMPARAISON ── */
.matrix-section { background: #fff; }

.matrix-header { margin-bottom: 60px; }

.matrix-h2 {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.matrix-table { width: 100%; border-collapse: collapse; }

.matrix-table th {
  padding: 0 0 24px 0;
  text-align: left;
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.matrix-table th:first-child {
  width: 38%;
  color: var(--gris);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.matrix-table th.m-highlight { color: var(--rouge); }

.matrix-table td {
  padding: 28px 0;
  border-bottom: 1px solid rgba(26,26,46,.08);
  font-size: 1rem;
  color: var(--ink);
  vertical-align: top;
  line-height: 1.55;
}
.matrix-table td:first-child { font-weight: 600; padding-right: 40px; }

.m-sub {
  display: block;
  font-size: .82rem;
  color: var(--gris);
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.5;
}

@media(max-width:767px) {
  .matrix-section { background: var(--off); }
  .matrix-header { margin-bottom: 28px; }
  .matrix-h2 { font-size: 1.6rem; }
  .matrix-table { display: none; }

  /* Affichage alternatif en cards sur mobile */
  .matrix-section::after { display: none; }
  .matrix-mobile { display: flex; flex-direction: column; gap: 12px; }

  .matrix-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(26,26,46,.08);
    overflow: hidden;
  }
  .matrix-card-head {
    padding: 16px 20px;
    background: var(--ink);
    color: #fff;
    font-family: var(--fd);
    font-size: 1rem;
    font-weight: 700;
  }
  .matrix-card-head .m-sub { color: rgba(255,255,255,.4); font-size: .75rem; font-weight: 400; margin-top: 2px; }
  .matrix-card-body { display: grid; grid-template-columns: 1fr 1fr; }
  .matrix-cell {
    padding: 14px 16px;
    font-size: .84rem;
    color: var(--ink);
    line-height: 1.5;
    border-top: 1px solid rgba(26,26,46,.06);
  }
  .matrix-cell:nth-child(2) { border-left: 1px solid rgba(26,26,46,.06); }
  .matrix-cell-label {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gris);
    margin-bottom: 5px;
  }
  .matrix-cell--highlight .matrix-cell-label { color: var(--rouge); }
}
@media(min-width:768px) {
  .matrix-mobile { display: none; }
}

/* ── CTA BLEED ── */
.cta-bleed {
  background: var(--off);
  padding: clamp(72px,10vw,100px) 0;
  text-align: center;
  border-top: 1px solid rgba(26,26,46,.07);
}
.cta-bleed h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.cta-bleed p { color: var(--gris); margin-bottom: 36px; font-size: 1.05rem; }

@media(max-width: 575px) {
  .hero-editorial { padding-top: 100px; }
  .typo-list li { font-size: .9rem; gap: 12px; padding: 16px 0; }
  .sticky-section { padding: 48px 0; }
}
