/* Page Supports de communication */

.sup-page {
  background: var(--color-cream, #FAF9F7);
  color: var(--color-navy, #1E3557);
}

.sup-progress {
  background: var(--color-navy, #1E3557);
}

.sup-eyebrow-navy { margin: 0 0 clamp(18px, 3vh, 28px); font-size: 12px; }
.eyebrow-line.navy { background: var(--color-navy, #1E3557); }
.eyebrow-line.current { background: currentColor; }

/* ——— HERO ——— */
.sup-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-coral, #FF8D7A);
  color: var(--color-navy, #1E3557);
}
.sup-hero-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(76px + clamp(28px, 5vh, 56px)) clamp(20px, 4vw, 56px) clamp(32px, 6vh, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(24px, 4vw, 64px);
}
.sup-hero-copy {
  position: relative;
  z-index: 2;
  flex: 1 1 520px;
  min-width: 0;
}
.sup-hero-title {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.sup-hero-strong { font-weight: 900; display: inline-block; }
.sup-hero-title .line-wrap.pad-italic { padding: 0.06em 0.12em 0.06em 0; }
.sup-hero-title .line-wrap.pad-bottom { padding-bottom: 0.06em; }
.sup-hero-lead {
  margin: clamp(20px, 3.4vh, 32px) 0 0;
  max-width: 25em;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  font-weight: 600;
  text-wrap: pretty;
}
.sup-hero-ctas {
  margin-top: clamp(20px, 3.4vh, 32px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.sup-btn-hero:hover {
  background: var(--color-cream, #FAF9F7) !important;
  color: var(--color-navy, #1E3557) !important;
  border-radius: 24px 2px 24px 2px !important;
}

/* Pile */
.sup-pile {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
  height: clamp(420px, 72vh, 760px);
}
.sup-deal {
  position: absolute;
}
.sup-float { will-change: transform; }
.sup-deal-frame {
  background: #fff;
  padding: clamp(6px, 0.7vw, 10px);
  box-shadow: 0 30px 50px -26px rgba(30, 53, 87, 0.6);
}
.sup-deal-img {
  background-repeat: no-repeat;
  width: 100%;
}
.sup-pile-note {
  position: absolute;
  right: 2%;
  top: -2%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(22px, 2vw, 28px);
  transform: rotate(5deg);
  color: var(--color-navy, #1E3557);
}
.sup-pile-arrow { width: 44px; height: 32px; flex: none; }

/* ——— FORMATS ——— */
.sup-fmt {
  position: relative;
  background: var(--color-cream, #FAF9F7);
  scroll-margin-top: 0;
}
.sup-fmt-stage {
  position: relative;
  overflow: hidden;
  color: var(--color-navy, #1E3557);
  transition: background-color .9s ease, color .6s ease;
}
.sup-fmt-word {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 0;
  display: none;
  white-space: nowrap;
  font-weight: 900;
  font-size: clamp(160px, 26vw, 440px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
  opacity: 0.18;
  transform: translate3d(0, -50%, 0);
  pointer-events: none;
}
.sup-fmt-head {
  position: relative;
  z-index: 6;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(88px, 8vh, 104px) clamp(20px, 4vw, 56px) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  pointer-events: none;
}
.sup-fmt-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.sup-fmt-side {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sup-side {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .4s ease, color .4s ease;
}

.sup-fmt-world {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 56px) clamp(80px, 10vw, 120px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px;
  perspective: 1800px;
}
.sup-fm {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-style: preserve-3d;
}
.sup-fm-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.sup-fm-recto {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow:
    0 0 0 clamp(4px, 0.5vw, 8px) #fff,
    0 50px 90px -40px rgba(0, 0, 0, 0.55);
}
.sup-fm-verso {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: #fff;
  color: var(--color-navy, #1E3557);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 9%;
  overflow: hidden;
}
.sup-fm-corner {
  position: absolute;
  width: 14px;
  height: 14px;
}
.sup-fm-corner.tl {
  left: 6%;
  top: 6%;
  border-left: 2px solid var(--color-coral, #FF8D7A);
  border-top: 2px solid var(--color-coral, #FF8D7A);
}
.sup-fm-corner.br {
  right: 6%;
  bottom: 6%;
  border-right: 2px solid var(--color-coral, #FF8D7A);
  border-bottom: 2px solid var(--color-coral, #FF8D7A);
}
.sup-fm-code {
  font-size: 0.1em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sup-fm-vname {
  font-size: 0.24em;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.sup-fm-vspec {
  margin-top: 0.4em;
  font-size: 0.1em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sup-fm-vuse {
  font-size: 0.12em;
  line-height: 1.2;
}
.sup-fm-cap {
  font-size: 14px;
  font-weight: 700;
}
.sup-fm-cap span:nth-child(2) { font-weight: 600; }
.sup-fm-cap-use {
  display: none;
}

/* Big labels (scenic) */
.sup-fmt-big {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 4vw, 56px);
  top: 50%;
  display: none;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 18px);
  pointer-events: none;
  max-width: 44vw;
}
.sup-fmt-bign {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
.sup-fmt-big-name {
  height: 0.98em;
  overflow: hidden;
  font-weight: 900;
  font-size: clamp(52px, 7.6vw, 140px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.sup-fmt-bigcol {
  display: flex;
  flex-direction: column;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}
.sup-fmt-bigcol > span {
  display: block;
  height: 0.98em;
  white-space: nowrap;
}
.sup-fmt-big-spec {
  height: 1.5em;
  overflow: hidden;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.5em;
}
.sup-fmt-bigspec {
  display: flex;
  flex-direction: column;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1) .05s;
}
.sup-fmt-bigspec > span {
  display: block;
  height: 1.5em;
  white-space: nowrap;
}
.sup-fmt-big-use {
  height: 1.4em;
  overflow: hidden;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.4em;
}
.sup-fmt-biguse {
  display: flex;
  flex-direction: column;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1) .1s;
}
.sup-fmt-biguse > span {
  display: block;
  height: 1.4em;
  white-space: nowrap;
}

/* Cotes */
.sup-cote-h {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  height: 14px;
  display: none;
  pointer-events: none;
}
.sup-cote-line-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1.5px;
  background: currentColor;
  transform-origin: 50% 50%;
}
.sup-cote-v {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 14px;
  display: none;
  pointer-events: none;
}
.sup-cote-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 1.5px;
  background: currentColor;
  transform-origin: 50% 50%;
}
.sup-cote-end {
  position: absolute;
  background: currentColor;
}
.sup-cote-h .sup-cote-end {
  top: 0;
  width: 1.5px;
  height: 14px;
}
.sup-cote-h .sup-cote-end.left { left: 0; }
.sup-cote-h .sup-cote-end.right { right: 0; }
.sup-cote-v .sup-cote-end {
  left: 0;
  height: 1.5px;
  width: 14px;
}
.sup-cote-v .sup-cote-end.top { top: 0; }
.sup-cote-v .sup-cote-end.bottom { bottom: 0; }
.sup-cote-label {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 3px;
}
.sup-cote-label.v {
  left: auto;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.sup-fmt-nav {
  position: absolute;
  z-index: 8;
  top: 54%;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: var(--color-navy, #1E3557);
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(30, 53, 87, 0.6);
  cursor: pointer;
}
.sup-fmt-nav[hidden] { display: none; }
.sup-fmt-nav-prev { left: 46%; border-radius: 6px 28px 6px 28px; }
.sup-fmt-nav-next { right: 4%; border-radius: 28px 6px 28px 6px; }
.sup-fmt-nav svg { width: 40px; height: 20px; display: block; }
.sup-fmt-nav-prev svg { transform: scaleX(-1); }
.sup-fmt-nav:hover { background: var(--color-coral, #FF8D7A); }
.sup-fmt-nav-prev:hover { transform: translateX(-4px); }
.sup-fmt-nav-next:hover { transform: translateX(4px); }
.sup-fmt-nav:focus-visible {
  outline: 2px solid var(--color-coral, #FF8D7A);
  outline-offset: 3px;
}
.sup-fmt-nav:disabled { opacity: 0.28; pointer-events: none; }
body:not(.motion-off) .sup-fmt-nav {
  transition: background .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 899px) {
  .sup-fmt-nav { width: 56px; height: 56px; margin-top: -28px; }
  .sup-fmt-nav-prev { left: 12px; }
  .sup-fmt-nav-next { right: 12px; }
  .sup-fmt-nav svg { width: 32px; height: 16px; }
}

.sup-fmt-info {
  position: absolute;
  z-index: 6;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(24px, 5vh, 48px);
  display: none;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.sup-fmt-count { font-variant-numeric: tabular-nums; }
.sup-fmt-track {
  flex: 0 1 160px;
  height: 2px;
  position: relative;
  overflow: hidden;
}
.sup-fmt-track-bg {
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.25;
}
.sup-fmt-bar {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ——— FICHE ——— */
.sup-sheet {
  position: relative;
  background: var(--color-sky, #EDF4FF);
  scroll-margin-top: 0;
}
.sup-sheet-stage {
  position: relative;
  overflow: hidden;
}
.sup-sheet-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(88px, 8vh, 108px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(40px, 6vw, 100px);
}
.sup-sheet-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.sup-sheet-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.sup-sheet-title .line-wrap.pad-italic { padding: 0.14em 0.1em 0.1em 0; }
.sup-sheet-lead {
  margin: 24px 0 0;
  max-width: 24em;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}
.sup-sheet-paper-wrap {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.sup-paper {
  position: relative;
  width: min(100%, 680px);
  background: #fff;
  border-radius: 3px;
  padding: clamp(22px, 3vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(30, 53, 87, 0.5);
  transform: rotate(-1.2deg);
}
.sup-paper-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-navy, #1E3557);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sup-paper-brand { opacity: 0.6; }
.sup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sup-step {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  align-items: flex-start;
  padding: clamp(12px, 1.8vh, 20px) 0;
  border-bottom: 1px dashed rgba(30, 53, 87, 0.3);
}
.sup-tick-box {
  flex: none;
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-navy, #1E3557);
  border-radius: 3px;
  margin-top: 2px;
}
.sup-tick-svg {
  position: absolute;
  left: -4px;
  top: -8px;
  width: 42px;
  height: 42px;
  overflow: visible;
}
.sup-step-body { min-width: 0; }
.sup-step-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.sup-step-num {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}
.sup-step-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.015em;
}
.sup-step-text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  text-wrap: pretty;
}
.sup-stamp {
  position: absolute;
  right: clamp(8px, 3vw, 40px);
  bottom: clamp(-28px, -2vw, -12px);
  padding: 10px 18px 8px;
  border: 4px solid #E4553F;
  outline: 2px solid #E4553F;
  outline-offset: 3px;
  border-radius: 6px;
  color: #E4553F;
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transform: rotate(-12deg);
  opacity: 0;
  background: rgba(255, 255, 255, 0.6);
  mix-blend-mode: multiply;
}

/* ——— PRIX ——— */
.sup-prix {
  position: relative;
  overflow: hidden;
  background: var(--color-navy, #1E3557);
  color: var(--color-cream, #FAF9F7);
  scroll-margin-top: 0;
}
.sup-prix-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(88px, 8vh, 112px) clamp(20px, 4vw, 56px) clamp(96px, 12vw, 180px);
}
.sup-prix .eyebrow { margin: 0 0 clamp(20px, 3vw, 36px); font-size: 12px; }
.sup-prix-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
}
.sup-prix-title {
  margin: 0;
  font-size: clamp(64px, 11vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.055em;
}
.sup-prix-title .line-wrap.pad-italic { padding: 0.14em 0.12em 0.1em 0; }
.sup-prix-title .italic-light.coral { color: var(--color-coral, #FF8D7A); }
.sup-prix-side {
  flex: 0 1 420px;
  min-width: 0;
}
.sup-prix-lead {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  font-weight: 500;
  text-wrap: pretty;
}
.sup-btn-prix {
  margin-top: 28px;
  font-size: 18px;
  padding: 20px 32px;
  border-radius: 2px 26px 2px 26px;
}
.sup-btn-prix:hover {
  background: var(--color-cream, #FAF9F7) !important;
  color: var(--color-navy, #1E3557) !important;
  border-radius: 26px 2px 26px 2px !important;
}

.sup-related {
  margin-top: clamp(56px, 7vw, 100px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.sup-related-card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1.5px solid rgba(250, 249, 247, 0.35);
  border-radius: 4px 32px 4px 32px;
  text-decoration: none;
  color: var(--color-cream, #FAF9F7);
  transition: background .3s ease, color .3s ease;
}
.sup-related-card.alt {
  border-radius: 32px 4px 32px 4px;
}
.sup-related-card:hover {
  background: var(--color-cream, #FAF9F7);
  color: var(--color-navy, #1E3557);
}
.sup-related-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sup-related-title {
  font-weight: 800;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
}

/* Motion off / edit */
body.motion-off .sup-stamp,
body.is-edit .sup-stamp {
  opacity: 1;
  transform: rotate(-12deg);
}
body.motion-off .sup-float,
body.is-edit .sup-float {
  transform: none !important;
}
body.is-edit .sup-fmt,
body.is-edit .sup-sheet {
  height: auto !important;
}
body.is-edit [data-fmt-stage],
body.is-edit [data-sheet-stage] {
  position: relative !important;
  height: auto !important;
  top: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  .sup-fmt-stage { transition: none; }
  .sup-fmt-bigcol,
  .sup-fmt-bigspec,
  .sup-fmt-biguse { transition: none; }
  .sup-related-card,
  .sup-btn-hero,
  .sup-btn-prix { transition: none; }
}

@media (max-width: 899px) {
  .sup-hero,
  .sup-hero-inner {
    min-height: 0;
  }
  .sup-hero-inner {
    padding-bottom: 48px;
    gap: 0;
  }
  /* Composition au ratio fixe : les positions en % restent celles du bureau, quel que soit l'écran. */
  .sup-pile {
    flex: 1 1 100%;
    width: 100%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 10 / 11;
    margin: 100px auto 0;
  }
  .sup-pile-note {
    position: absolute;
    left: 0;
    right: 0;
    top: -58px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 21px;
    line-height: 1.1;
    transform: rotate(-2deg);
  }
  .sup-pile-arrow {
    width: 34px;
    height: 26px;
    margin-top: 12px;
    order: 2;
  }

  .sup-page {
    overflow-x: clip;
  }

  .sup-hero-title {
    font-size: clamp(36px, 11vw, 64px);
  }

  /* Scenic mobile : labels recalés (pas masqués) */
  .sup-fmt-big {
    gap: 4px;
  }
  .sup-fmt-big-name {
    font-size: clamp(36px, 11vw, 56px);
  }
  .sup-fmt-big-spec {
    font-size: clamp(14px, 3.8vw, 18px);
  }
  .sup-fmt-big-use {
    font-size: clamp(18px, 5vw, 24px);
  }
  .sup-fmt-word {
    display: none !important;
  }
  .sup-cote-h,
  .sup-cote-v {
    display: none !important;
  }

  .sup-fm-cap-use {
    display: block;
    margin-top: 6px;
    font-size: 18px;
  }

  .sup-sheet-title,
  .sup-prix-title {
    font-size: clamp(36px, 11vw, 64px);
  }

  .sup-prix-amount {
    font-size: clamp(48px, 14vw, 96px);
  }

  .sup-tick-box {
    width: 28px;
    height: 28px;
    overflow: hidden;
  }
  .sup-tick-svg {
    left: -2px;
    top: -6px;
    width: 34px;
    height: 34px;
  }
}
