/* §05 Quatre types de valves — source proposition A, numéros style C.
   Tout est préfixé .s05-quatre-valves pour éviter les conflits. */

.s05-quatre-valves{
  --s05-n:#003366;
  --s05-nd:#092142;
  --s05-g:#1C8048;
  --s05-gh:#166A3B;
  --s05-gl:#5BC889;
  --s05-ink:#0F1F33;
  --s05-g2:#E2E8F0;
  --s05-g4:#5A6B7D;
  --s05-sans:"Chivo",Barlow,"Segoe UI",sans-serif;
  --s05-mono:"Chivo Mono",ui-monospace,Menlo,monospace;
  --s05-ease:cubic-bezier(.2,.7,.2,1);
  box-sizing:border-box;
  background:var(--s05-n);
  color:#fff;
  padding:112px 0 108px;
  border-bottom:0;
  font-family:var(--s05-sans);
  -webkit-font-smoothing:antialiased;
}
.s05-quatre-valves *,
.s05-quatre-valves *::before,
.s05-quatre-valves *::after{box-sizing:border-box}
.s05-quatre-valves ::selection{background:var(--s05-gl);color:var(--s05-nd)}

.s05-quatre-valves .s05-w{
  max-width:1320px;
  margin:0 auto;
  padding:0 40px;
}

.s05-quatre-valves .s05-head{
  display:grid;
  grid-template-columns:minmax(88px,2fr) minmax(0,6fr) minmax(0,4fr);
  gap:40px;
  align-items:end;
  margin:0 0 56px;
}
.s05-quatre-valves .s05-num{
  font-family:var(--s05-mono);
  font-weight:500;
  font-size:clamp(72px,9vw,140px);
  line-height:.85;
  letter-spacing:-.04em;
  color:#E8ECF0;
  display:block;
}
.s05-quatre-valves .s05-head h2{
  margin:0;
  color:#fff;
  font-family:var(--s05-sans);
  font-size:clamp(32px,3.8vw,56px);
  font-weight:800;
  line-height:1.02;
  letter-spacing:-.03em;
  max-width:18ch;
}
.s05-quatre-valves .s05-head p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:1.55;
  max-width:36ch;
}

.s05-quatre-valves .s05-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.25);
}
.s05-quatre-valves .s05-item{
  padding:28px 26px 8px 0;
  margin:0 26px 0 0;
  border-right:1px solid rgba(255,255,255,.18);
  min-width:0;
}
.s05-quatre-valves .s05-item:last-child{
  border-right:0;
  margin-right:0;
  padding-right:0;
}

.s05-quatre-valves .s05-mono{
  display:block;
  font-family:var(--s05-mono);
  font-size:12px;
  font-weight:500;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--s05-gl);
}

.s05-quatre-valves .s05-schema{
  display:block;
  width:100%;
  max-width:220px;
  height:auto;
  margin:22px 0 18px;
  background:#fff;
  padding:10px;
  border:0;
  transition:transform .35s var(--s05-ease), opacity .35s var(--s05-ease);
}
.s05-quatre-valves .s05-item:hover .s05-schema,
.s05-quatre-valves .s05-item:focus-within .s05-schema{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.22);
}

.s05-quatre-valves .s05-item h3{
  margin:0 0 8px;
  color:#fff;
  font-family:var(--s05-sans);
  font-size:21px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.015em;
}
.s05-quatre-valves .s05-item p{
  margin:0;
  color:rgba(255,255,255,.76);
  font-size:15px;
  line-height:1.5;
  max-width:28ch;
}

@media (max-width:980px){
  .s05-quatre-valves{padding:88px 0 80px}
  .s05-quatre-valves .s05-w{padding:0 24px}
  .s05-quatre-valves .s05-head{
    grid-template-columns:1fr;
    gap:14px;
    margin-bottom:40px;
  }
  .s05-quatre-valves .s05-num{font-size:clamp(56px,16vw,88px)}
  .s05-quatre-valves .s05-head h2{max-width:none;font-size:clamp(28px,6vw,40px)}
  .s05-quatre-valves .s05-list{grid-template-columns:1fr 1fr}
  .s05-quatre-valves .s05-item{
    border-right:0;
    margin-right:0;
    padding:24px 16px 20px 0;
    border-bottom:1px solid rgba(255,255,255,.18);
  }
  .s05-quatre-valves .s05-item:nth-child(odd){padding-right:16px}
  .s05-quatre-valves .s05-item:nth-child(even){padding-left:16px;padding-right:0}
  .s05-quatre-valves .s05-item:nth-last-child(-n+2){border-bottom:0}
}

@media (max-width:640px){
  .s05-quatre-valves{padding:72px 0 64px}
  .s05-quatre-valves .s05-w{padding:0 20px}
  .s05-quatre-valves .s05-list{grid-template-columns:1fr}
  .s05-quatre-valves .s05-item,
  .s05-quatre-valves .s05-item:nth-child(odd),
  .s05-quatre-valves .s05-item:nth-child(even){
    padding:24px 0 20px;
    border-bottom:1px solid rgba(255,255,255,.18);
  }
  .s05-quatre-valves .s05-item:last-child{border-bottom:0;padding-bottom:0}
  .s05-quatre-valves .s05-schema{max-width:100%}
  .s05-quatre-valves .s05-item p{max-width:none}
}

@media (prefers-reduced-motion:reduce){
  .s05-quatre-valves .s05-schema{transition:none}
  .s05-quatre-valves .s05-item:hover .s05-schema,
  .s05-quatre-valves .s05-item:focus-within .s05-schema{
    transform:none;box-shadow:none
  }
}
