main:has(> .medias) { padding-block: 0; }
body:has(> main > .medias) > .home-space { display: none; }
main > .medias {
grid-column: full;
justify-self: center;
}
.medias {
position: relative;
width: 100%;
max-width: 1440px;
padding: 0 clamp(16px, 4.45vw, 64px);
font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
line-height: 1.5;
letter-spacing: normal;
color: var(--g-texte);
}
.medias::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: -1;
height: 260px;
pointer-events: none;
background: radial-gradient(700px 240px at 22% 0%, rgba(240, 196, 99, .1), rgba(240, 196, 99, 0) 70%);
}
.medias a:hover,
.medias [aria-current] { text-shadow: none; }
.medias :focus-visible {
outline: 2px solid var(--g-or-clair);
outline-offset: 3px;
box-shadow: none;
}
.medias__tete { padding-top: 56px; }
.medias__fil {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin: 0 0 14px;
font: 500 14px/1.4 "Space Grotesk", sans-serif;
color: var(--g-texte-3);
}
.medias__fil a {
color: var(--g-texte-3);
text-decoration: none;
transition: color .16s ease;
}
.medias__fil a:hover { color: var(--g-texte); }
.medias__fil .chevron {
width: 7px;
height: 7px;
}
.medias__ici {
font-weight: 600;
color: var(--g-or);
}
.medias__titre {
margin: 0;
font: 900 44px/1.05 "Orbitron", sans-serif;
letter-spacing: .12em;
text-transform: uppercase;
overflow-wrap: normal;
}
.medias__chapeau {
max-width: 820px;
margin: 12px 0 0;
font: 400 18px/1.5 "Space Grotesk", sans-serif;
color: var(--g-texte-2);
}
.medias__filtres {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 28px;
}
.medias__filtre {
display: inline-flex;
align-items: center;
height: 40px;
padding: 0 18px;
font: 600 15px/1 "Space Grotesk", sans-serif;
white-space: nowrap;
color: var(--g-texte-2);
text-decoration: none;
transition: color .16s ease;
}
.medias__filtre:hover { color: var(--g-texte); }
.medias__filtre[aria-current] {
--g-cadre-fond: #F0C463;
font-weight: 700;
color: var(--g-encre-sur-or);
}
.medias__famille { margin-top: 38px; }
.medias__tete-famille {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 4px 16px;
margin-bottom: 12px;
}
.medias__etiquette { margin: 0; }
.medias__aide {
margin: 0;
font: 500 14px/1.4 "Space Grotesk", sans-serif;
color: var(--g-texte-3);
}
.medias__galerie {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-auto-rows: 230px;
gap: 20px;
margin: 0;
padding: 0;
list-style: none;
}
.medias__galerie--une:has(> :nth-child(3)) { grid-template-rows: 200px 200px; }
.medias__galerie--une > :first-child:nth-last-child(n+3) {
--g-coupe: 18px;
grid-column: span 2;
grid-row: span 2;
}
.medias__case {
position: relative;
min-width: 0;
scroll-margin-top: 96px;
background: #0B0B0C;
}
.medias__ouvrir {
position: absolute;
inset: 0;
display: block;
color: inherit;
text-decoration: none;
}
.medias .medias__ouvrir:focus-visible { outline-offset: -6px; }
.medias__apercu {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .4s ease;
}
.medias__ouvrir:hover .medias__apercu { transform: scale(1.02); }
.medias__voile {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(5, 5, 6, 0) 55%, rgba(5, 5, 6, .75));
}
.medias__legende {
position: absolute;
left: 18px;
right: 18px;
bottom: 14px;
z-index: 3;
display: flex;
align-items: center;
gap: 10px;
}
.medias__legende-texte {
min-width: 0;
font: 600 15px/1.35 "Space Grotesk", sans-serif;
color: var(--g-texte);
}
.medias__telecharger-fond {
position: absolute;
top: 14px;
right: 14px;
z-index: 7;
}
.medias__place {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
padding: 16px;
text-align: center;
background:
repeating-linear-gradient(135deg, rgba(240, 196, 99, .035) 0 10px, rgba(240, 196, 99, 0) 10px 22px),
radial-gradient(circle at 50% 45%, rgba(240, 196, 99, .07), rgba(240, 196, 99, 0) 65%),
#08080A;
}
.medias__place::before {
content: "";
position: absolute;
inset: 8px;
border: 1px dashed rgba(240, 196, 99, .42);
pointer-events: none;
}
.medias__picto {
width: 34px;
height: 34px;
flex: none;
fill: none;
stroke: var(--g-or);
stroke-width: 1.4;
stroke-linejoin: round;
opacity: .9;
}
.medias__a-venir {
margin: 0;
font: 700 11px/1.3 "Orbitron", sans-serif;
letter-spacing: .18em;
text-transform: uppercase;
color: var(--g-or-clair);
}
.medias__sujet {
max-width: 300px;
margin: 0;
font: 500 14px/1.35 "Space Grotesk", sans-serif;
color: var(--g-texte-2);
}
.medias__kit {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 18px;
margin: 0;
padding: 0;
list-style: none;
}
.medias__piece {
min-width: 0;
padding: 0 0 16px;
container-type: inline-size;
}
.medias__vue {
display: flex;
align-items: center;
justify-content: center;
height: 170px;
margin: 2px 2px 0;
overflow: hidden;
background: radial-gradient(circle at 50% 50%, rgba(240, 196, 99, .1), rgba(240, 196, 99, 0) 65%), #08080A;
clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.medias__piece.cadre--cyborg .medias__vue { background: radial-gradient(circle at 50% 50%, rgba(88, 182, 255, .16), rgba(88, 182, 255, 0) 65%), #08090B; }
.medias__piece.cadre--federation .medias__vue { background: radial-gradient(circle at 50% 50%, rgba(242, 227, 188, .15), rgba(242, 227, 188, 0) 65%), #09090A; }
.medias__piece.cadre--pirate .medias__vue { background: radial-gradient(circle at 50% 50%, rgba(229, 72, 59, .17), rgba(229, 72, 59, 0) 65%), #0A0808; }
.medias__embleme {
display: block;
width: 118px;
max-width: 80%;
height: auto;
aspect-ratio: 1;
object-fit: contain;
}
.medias__recadre {
position: relative;
display: block;
max-width: 82%;
overflow: hidden;
}
.medias__recadre img {
position: absolute;
display: block;
max-width: none;
height: auto;
}
.medias__recadre--logo {
width: 168px;
aspect-ratio: 1020 / 842;
}
.medias__recadre--logo img {
left: -60.4902%;
top: -84.6793%;
width: 222.2549%;
}
.medias__recadre--ailes {
width: 140px;
aspect-ratio: 1015 / 839;
}
.medias__recadre--ailes img {
left: -.4926%;
top: -8.7008%;
width: 100.8867%;
}
.medias__bas-piece {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 6px;
padding: 14px 16px 0;
}
.medias__nom {
margin: 0;
font: 600 15px/1.3 "Space Grotesk", sans-serif;
color: var(--g-texte);
}
.medias__telecharger { margin-left: auto; }
.medias .medias__telecharger,
.medias .medias__telecharger-fond {
height: 30px;
padding: 0 12px;
font-size: 10px;
}
.medias__infos {
display: flex;
flex-wrap: wrap;
margin: 8px 16px 0;
font: 500 12px/1.5 "Space Grotesk", sans-serif;
color: var(--g-texte-3);
}
.medias__infos > span { white-space: nowrap; }
.medias__infos > span + span::before {
content: "·";
margin: 0 6px;
}
@container (max-width: 245.98px) {
.medias__bas-piece {
flex-direction: column;
align-items: flex-start;
}
.medias__telecharger { margin-left: 0; }
.medias__infos { gap: 0 10px; }
.medias__infos > span + span::before { content: none; }
}
.medias__visionneuse { display: none; }
.medias__visionneuse:target {
position: fixed;
inset: 0;
z-index: 40;
display: grid;
place-items: center;
padding: 72px 96px;
background: rgba(3, 3, 4, .95);
}
html:has(.medias__visionneuse:target) { overflow: hidden; }
.medias__visionneuse-fond {
position: absolute;
inset: 0;
}
.medias__visionneuse-image {
position: relative;
max-width: 100%;
margin: 0;
padding: 2px;
}
.medias__visionneuse-image img {
display: block;
max-width: 100%;
max-height: calc(100vh - 220px);
height: auto;
margin: 0 auto;
}
.medias__visionneuse-image figcaption {
padding: 12px 16px 10px;
font: 600 15px/1.4 "Space Grotesk", sans-serif;
color: var(--g-texte);
}
.medias__visionneuse-fermer,
.medias__visionneuse-fleche {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
color: var(--g-or-clair);
}
.medias__visionneuse-fermer {
top: 18px;
right: 18px;
}
.medias__visionneuse-fermer svg {
width: 22px;
height: 22px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
}
.medias__visionneuse-fleche { top: calc(50% - 24px); }
.medias__visionneuse-fleche--precedente { left: 22px; }
.medias__visionneuse-fleche--suivante { right: 22px; }
.medias__visionneuse-fleche .chevron {
width: 12px;
height: 12px;
margin: 0;
border-width: 2px;
}
.medias__visionneuse-fleche--precedente .chevron { transform: translateX(2px) rotate(-135deg); }
.medias__visionneuse-fleche--suivante .chevron { transform: translateX(-2px) rotate(45deg); }
@media (max-width: 1079.98px) {
.medias__kit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899.98px) {
.medias__galerie {
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-auto-rows: 200px;
}
.medias__galerie--une:has(> :nth-child(3)) { grid-template-rows: 300px; }
.medias__galerie--une > :first-child:nth-last-child(n+3) {
grid-column: 1 / -1;
grid-row: auto;
}
.medias__visionneuse:target { padding: 72px 16px; }
.medias__visionneuse-fleche { top: auto; bottom: 18px; }
.medias__visionneuse-fleche--precedente { left: calc(50% - 60px); }
.medias__visionneuse-fleche--suivante { right: calc(50% - 60px); }
}
@media (max-width: 599.98px) {
.medias__tete { padding-top: 32px; }
.medias__titre {
font-size: 32px;
letter-spacing: .1em;
}
.medias__chapeau { font-size: 16px; }
.medias__filtres { gap: 8px; }
.medias__filtre {
height: 36px;
padding: 0 14px;
font-size: 14px;
}
.medias__galerie {
grid-template-columns: minmax(0, 1fr);
grid-auto-rows: 170px;
gap: 16px;
}
.medias__galerie--une:has(> :nth-child(3)) { grid-template-rows: 230px; }
.medias__kit {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.medias__vue { height: 140px; }
}
@media (max-width: 379.98px) {
.medias__kit { grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
.medias__place::before { border-color: CanvasText; }
.medias__picto { stroke: CanvasText; }
.medias__filtre[aria-current] { text-decoration: underline; }
.medias__visionneuse:target { background: Canvas; }
.medias__voile { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.medias__fil a,
.medias__filtre,
.medias__apercu { transition: none; }
.medias__ouvrir:hover .medias__apercu { transform: none; }
}
