/* ==========================================================
   PROGRAMME EXCELLENCE — SUPPORTS PÉDAGOGIQUES
   EDITORIAL LUXURY V4
========================================================== */

.pe-supports{
  position:relative;
  width:100%;
  padding:86px 0 94px;
  overflow:hidden;
  isolation:isolate;
  color:#071d3d;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(25,82,153,.07),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #f7f9fc 0%,
      #edf3fa 100%
    );
}

.pe-supports::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(210,159,30,.28),
      rgba(240,201,93,.78),
      rgba(210,159,30,.28),
      transparent
    );
}

.pe-supports::after{
  content:"";
  position:absolute;
  z-index:0;
  right:-220px;
  bottom:-250px;
  width:620px;
  height:620px;
  border:1px solid rgba(8,44,86,.045);
  border-radius:50%;
  box-shadow:
    0 0 0 80px rgba(8,44,86,.014),
    0 0 0 160px rgba(8,44,86,.009);
  pointer-events:none;
}

.pe-supports .pe-container{
  position:relative;
  z-index:2;
  width:min(1320px,calc(100% - 56px));
  margin:0 auto;
}

/* ==========================================================
   EN-TÊTE
========================================================== */

.pe-supports-heading{
  width:min(840px,100%);
  margin:0 auto 50px;
  text-align:center;
}

.pe-supports-heading .pe-section-tag{
  display:inline-flex;
  align-items:center;
  gap:11px;
  margin:0 0 17px;
  padding:0;
  border:0;
  border-radius:0;
  color:#b77e00;
  background:none;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.pe-supports-heading .pe-section-tag::before,
.pe-supports-heading .pe-section-tag::after{
  content:"";
  width:25px;
  height:1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #d5a31e
    );
}

.pe-supports-heading .pe-section-tag::after{
  transform:scaleX(-1);
}

.pe-supports-heading h2{
  max-width:780px;
  margin:0 auto;
  color:#061c3a;
  font-size:clamp(38px,4.2vw,58px);
  font-weight:800;
  line-height:1.04;
  letter-spacing:-.048em;
  text-wrap:balance;
}

.pe-supports-heading h2::after{
  content:"";
  display:block;
  width:50px;
  height:2px;
  margin:23px auto 0;
  border-radius:999px;
  background:
    linear-gradient(
      90deg,
      #ca9008,
      #f1cc68
    );
}

.pe-supports-heading p{
  max-width:690px;
  margin:21px auto 0;
  color:#64758b;
  font-size:14px;
  line-height:1.8;
}

/* ==========================================================
   ÉCRIN PRINCIPAL
========================================================== */

.pe-supports-layout{
  position:relative;
  display:grid;
  grid-template-columns:minmax(390px,.88fr) minmax(590px,1.32fr);
  align-items:stretch;
  gap:22px;
  width:min(1220px,100%);
  margin:0 auto;
  padding:22px;
  overflow:hidden;
  border:1px solid rgba(7,43,84,.075);
  border-radius:30px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.97),
      rgba(246,249,253,.93)
    );
  box-shadow:
    0 34px 78px rgba(8,44,86,.10),
    0 8px 24px rgba(8,44,86,.045),
    inset 0 1px 0 rgba(255,255,255,.95);
}

/* ==========================================================
   SHOWCASE ÉDITORIAL
========================================================== */

.pe-supports-showcase{
  position:relative;
  min-height:590px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:22px;
  background:
    radial-gradient(
      circle at 25% 18%,
      rgba(48,111,191,.37),
      transparent 31%
    ),
    radial-gradient(
      circle at 82% 80%,
      rgba(223,171,42,.15),
      transparent 31%
    ),
    linear-gradient(
      150deg,
      #0c3971 0%,
      #061e3e 55%,
      #031326 100%
    );
  box-shadow:
    0 26px 54px rgba(4,25,52,.24),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.pe-supports-showcase::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.16;
  background-image:
    radial-gradient(
      circle,
      rgba(255,255,255,.65) 0 1px,
      transparent 1.5px
    );
  background-size:25px 25px;
  -webkit-mask-image:
    linear-gradient(
      180deg,
      #000 0%,
      transparent 80%
    );
  mask-image:
    linear-gradient(
      180deg,
      #000 0%,
      transparent 80%
    );
}

.pe-supports-showcase::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:57px;
  width:310px;
  height:62px;
  border-radius:50%;
  background:rgba(0,0,0,.33);
  filter:blur(25px);
  transform:translateX(-50%);
}

/* Anciennes orbites rendues très discrètes */

.pe-supports-orbit{
  position:absolute;
  z-index:1;
  top:50%;
  left:50%;
  border:1px solid rgba(235,192,81,.12);
  border-radius:50%;
  transform:translate(-50%,-50%);
}

.pe-supports-orbit--one{
  width:430px;
  height:430px;
}

.pe-supports-orbit--two{
  width:340px;
  height:340px;
  border-style:dashed;
}

/* Livres */

.pe-supports-book{
  position:absolute;
  z-index:4;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  color:#fff;
  border-radius:7px 16px 16px 7px;
  box-shadow:
    0 30px 55px rgba(0,0,0,.38),
    inset 5px 0 0 rgba(255,255,255,.08);
}

.pe-supports-book::before{
  content:"";
  position:absolute;
  top:0;
  right:10px;
  bottom:0;
  width:3px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}

.pe-supports-book--back{
  top:136px;
  left:72px;
  width:205px;
  min-height:300px;
  padding:26px;
  opacity:.72;
  background:
    linear-gradient(
      155deg,
      #123f79,
      #04152c
    );
  transform:rotate(-9deg);
}

.pe-supports-book--back span{
  max-width:125px;
  color:#e8c35e;
  font-size:11px;
  font-weight:900;
  line-height:1.45;
  letter-spacing:.10em;
  text-transform:uppercase;
  writing-mode:initial;
  transform:none;
}

.pe-supports-book--front{
  top:94px;
  left:155px;
  width:230px;
  min-height:348px;
  margin:0;
  padding:31px;
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(231,181,49,.38),
      transparent 28%
    ),
    linear-gradient(
      155deg,
      #0d4381,
      #061b37
    );
  transform:rotate(5deg);
}

.pe-supports-book-label{
  position:absolute;
  top:28px;
  left:31px;
  color:#efca66;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.pe-supports-book--front strong{
  margin:0 0 13px;
  color:#fff;
  font-size:29px;
  line-height:.98;
  letter-spacing:-.04em;
}

.pe-supports-book--front small{
  color:rgba(255,255,255,.65);
  font-size:11px;
  font-weight:600;
}

/* Fiche */

.pe-supports-sheet{
  position:absolute;
  z-index:7;
  right:26px;
  bottom:70px;
  width:150px;
  padding:24px 20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:12px;
  background:
    linear-gradient(
      145deg,
      #fff,
      #f5f8fc
    );
  box-shadow:
    0 24px 42px rgba(0,0,0,.25);
  transform:rotate(7deg);
}

.pe-supports-sheet::before{
  content:"FICHE PÉDAGOGIQUE";
  margin-bottom:7px;
  color:#b77e00;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.pe-supports-sheet span{
  display:block;
  height:5px;
  border-radius:999px;
  background:rgba(7,54,111,.10);
}

.pe-supports-sheet span:nth-child(1){
  width:92%;
  background:rgba(219,164,27,.44);
}

.pe-supports-sheet span:nth-child(2){
  width:100%;
}

.pe-supports-sheet span:nth-child(3){
  width:72%;
}

.pe-supports-sheet span:nth-child(4){
  width:86%;
}

/* Ressource vidéo */

.pe-supports-device{
  position:absolute;
  z-index:8;
  left:30px;
  bottom:45px;
  width:105px;
  height:105px;
  padding:8px;
  border:1px solid rgba(255,255,255,.76);
  border-radius:17px;
  background:rgba(255,255,255,.96);
  box-shadow:
    0 24px 40px rgba(0,0,0,.28);
}

.pe-supports-device-screen{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(234,187,62,.23),
      transparent 32%
    ),
    linear-gradient(
      150deg,
      #0d4685,
      #061a35
    );
}

.pe-supports-play{
  width:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  background:rgba(255,255,255,.11);
}

.pe-supports-play svg{
  width:15px;
  height:15px;
  margin-left:2px;
  fill:#fff;
}

/* Badge */

.pe-supports-badge{
  position:absolute;
  z-index:9;
  top:31px;
  right:30px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 15px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:12px;
  color:#fff;
  background:rgba(3,19,40,.48);
  box-shadow:0 14px 28px rgba(0,0,0,.14);
  backdrop-filter:blur(12px);
  text-align:left;
}

.pe-supports-badge strong{
  display:block;
  color:#efc75f;
  font-size:27px;
  font-weight:800;
  line-height:1;
}

.pe-supports-badge span{
  display:block;
  max-width:88px;
  margin:0;
  color:rgba(255,255,255,.64);
  font-size:8px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* ==========================================================
   GRILLE
========================================================== */

.pe-support-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  margin:0;
}

.pe-support-card{
  position:relative;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:15px;
  min-height:154px;
  padding:22px 20px;
  overflow:hidden;
  border:1px solid rgba(8,44,86,.07);
  border-radius:16px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.99),
      rgba(247,250,254,.94)
    );
  box-shadow:
    0 13px 27px rgba(7,43,84,.06),
    inset 0 1px 0 rgba(255,255,255,.96);
  transition:
    transform .32s cubic-bezier(.2,.75,.2,1),
    box-shadow .32s ease,
    border-color .32s ease;
}

.pe-support-card::before{
  content:"";
  position:absolute;
  left:0;
  top:20px;
  bottom:20px;
  width:2px;
  border-radius:999px;
  background:
    linear-gradient(
      180deg,
      #efc65d,
      #bd8100
    );
  opacity:.48;
}

.pe-support-card::after{
  content:"";
  position:absolute;
  right:-35px;
  bottom:-48px;
  width:110px;
  height:110px;
  border-radius:50%;
  background:
    radial-gradient(
      circle,
      rgba(15,69,130,.05),
      transparent 70%
    );
}

.pe-support-icon{
  position:relative;
  z-index:2;
  display:grid;
  flex:0 0 auto;
  width:48px;
  height:48px;
  margin:0;
  place-items:center;
  border:1px solid rgba(15,75,139,.09);
  border-radius:13px;
  background:
    linear-gradient(
      145deg,
      #f2f7fd,
      #eaf2fb
    );
}

.pe-support-icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:#144e8d;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.pe-support-card-content{
  position:relative;
  z-index:2;
  padding-right:12px;
}

.pe-support-card-content h3{
  margin:2px 0 8px;
  color:#082143;
  font-size:15px;
  font-weight:800;
  line-height:1.27;
  letter-spacing:-.015em;
}

.pe-support-card-content p{
  margin:0;
  color:#718096;
  font-size:11px;
  line-height:1.65;
}

.pe-support-card-number{
  position:absolute;
  z-index:1;
  top:11px;
  right:14px;
  color:rgba(7,54,111,.055);
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-style:italic;
  font-weight:400;
  line-height:1;
}

/* ==========================================================
   CARTE FINALE
========================================================== */

.pe-support-highlight{
  display:flex;
  flex-direction:column;
  min-height:154px;
  padding:22px;
  border-color:rgba(229,184,60,.24);
  color:#fff;
  background:
    radial-gradient(
      circle at 85% 14%,
      rgba(235,187,58,.22),
      transparent 33%
    ),
    linear-gradient(
      145deg,
      #0c3b74,
      #061a35
    );
  box-shadow:
    0 18px 36px rgba(5,31,64,.19),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.pe-support-highlight::before{
  background:
    linear-gradient(
      180deg,
      #f3cf70,
      #bd8200
    );
  opacity:1;
}

.pe-support-highlight::after{
  right:-45px;
  bottom:-60px;
  width:150px;
  height:150px;
  border:1px solid rgba(255,255,255,.055);
  background:none;
}

.pe-support-highlight-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  height:100%;
}

.pe-support-highlight-label{
  display:inline-flex;
  margin:0 0 12px;
  padding:0 0 7px;
  border-bottom:1px solid rgba(239,196,83,.36);
  border-radius:0;
  color:#efc85e;
  background:none;
  font-size:8px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
}

.pe-support-highlight-content h3{
  margin:0 0 9px;
  color:#fff;
  font-size:17px;
  font-weight:800;
  line-height:1.25;
}

.pe-support-highlight-content p{
  margin:0;
  color:rgba(255,255,255,.65);
  font-size:10.5px;
  line-height:1.62;
}

.pe-support-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:15px;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-decoration:none;
  text-transform:uppercase;
  transition:
    gap .28s ease,
    color .28s ease;
}

.pe-support-button svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.pe-support-button:hover{
  gap:15px;
  color:#f1cc67;
}

/* ==========================================================
   INTERACTIONS
========================================================== */

@media(hover:hover) and (pointer:fine){

  .pe-support-card:not(.pe-support-highlight):hover{
    border-color:rgba(207,153,19,.21);
    box-shadow:
      0 19px 38px rgba(7,43,84,.10),
      inset 0 1px 0 rgba(255,255,255,.98);
    transform:translateY(-5px);
  }
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1120px){

  .pe-supports-layout{
    grid-template-columns:1fr;
  }

  .pe-supports-showcase{
    min-height:540px;
  }

  .pe-support-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:820px){

  .pe-supports{
    padding:64px 0 70px;
  }

  .pe-supports .pe-container{
    width:min(100% - 28px,700px);
  }

  .pe-supports-layout{
    padding:15px;
    border-radius:23px;
  }

  .pe-support-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){

  .pe-supports-heading{
    margin-bottom:36px;
  }

  .pe-supports-heading h2{
    font-size:clamp(31px,9vw,43px);
  }

  .pe-supports-showcase{
    min-height:440px;
  }

  .pe-supports-book--back{
    left:14%;
    width:160px;
    min-height:245px;
  }

  .pe-supports-book--front{
    left:31%;
    width:184px;
    min-height:280px;
  }

  .pe-supports-book--front strong{
    font-size:23px;
  }

  .pe-supports-sheet{
    right:18px;
    width:122px;
  }

  .pe-supports-device{
    left:18px;
    width:88px;
    height:88px;
  }

  .pe-supports-grid,
  .pe-support-grid{
    grid-template-columns:1fr;
  }

  .pe-support-card{
    min-height:135px;
  }
}

@media(max-width:430px){

  .pe-supports-layout{
    padding:10px;
  }

  .pe-supports-showcase{
    min-height:390px;
  }

  .pe-supports-book--back{
    left:8%;
    top:115px;
    width:142px;
    min-height:215px;
  }

  .pe-supports-book--front{
    left:27%;
    top:82px;
    width:162px;
    min-height:250px;
    padding:23px;
  }

  .pe-supports-sheet{
    right:10px;
    bottom:45px;
    width:105px;
  }

  .pe-supports-badge{
    top:18px;
    right:16px;
  }
}

@media(prefers-reduced-motion:reduce){

  .pe-support-card,
  .pe-support-button{
    transition:none;
  }
}