/* ==========================================================================
   Accueil — version « choc »
   --------------------------------------------------------------------------
   1. Ouverture (aplat bleu, titre géant, arche, sceau tournant, chromatogramme)
   3. Départements (grille « bento » illustrée)
   4. Qui sommes-nous
   5. Services
   6. Partenaires (rails de logos)
   7. Réalisations
   8. Actualités
   ========================================================================== */

/* Le titre de section prend les deux tiers de la largeur */
@media (min-width: 900px) {
    .page-home .section__head {
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    }
}

/* 1. Ouverture ------------------------------------------------------------ */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4.5vw, 6rem));
    padding-bottom: clamp(4.5rem, 3rem + 6vw, 8rem);
    overflow: clip;
    isolation: isolate;
}

.hero__layout {
    display: grid;
    gap: clamp(2.5rem, 2rem + 3vw, 4rem);
    margin-top: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
}

@media (min-width: 1000px) {
    .hero__layout {
        grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
        gap: clamp(2rem, 4vw, 5rem);
        align-items: center;
    }
}

.hero .eyebrow {
    color: var(--white);
}

.hero__title {
    margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    /* dimensionné pour que le mot le plus long (« l’enseignement. ») tienne sur une ligne */
    font-size: clamp(2.5rem, 0.4rem + 10.4vw, 11rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.055em;
    color: var(--white);
}

.hero__line {
    display: block;
}

.hero__line--accent {
    color: var(--yellow);
    /* la ligne garde sa hauteur quel que soit le mot affiché */
    min-height: 1em;
    padding-bottom: 0.14em;
}

/* Mots tournants */
.rotator {
    position: relative;
    display: inline-grid;
    vertical-align: bottom;
    overflow: hidden;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
    white-space: nowrap;
}

.rotator__word {
    grid-area: 1 / 1;
    transform: translateY(110%);
    transition: transform 0.7s var(--ease);
}

.rotator__word.is-current {
    transform: none;
}

.rotator__word.is-leaving {
    transform: translateY(-110%);
}

.hero__lede {
    max-width: 34em;
    font-size: var(--step-1);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.hero__lede strong {
    font-weight: 700;
    color: var(--white);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}

/* Image en arche, sceau de certification tournant */
.hero__figure {
    position: relative;
    width: 100%;
    max-width: 27rem;
    justify-self: end;
}

.hero__arch {
    aspect-ratio: 5 / 6;
    overflow: hidden;
    border-radius: 999px 999px var(--tile-radius) var(--tile-radius);
    background: var(--ink);
    box-shadow: 0 0 0 0.5rem rgba(255, 255, 255, 0.14);
}

.hero__parallax {
    height: 116%;
    margin-top: -8%;
}

.hero__parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 50%;
}

.hero__seal {
    position: absolute;
    left: clamp(-3.5rem, -6vw, -1rem);
    bottom: clamp(1rem, 4vw, 3rem);
    width: clamp(7.5rem, 5rem + 8vw, 11.5rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 24px 40px -22px rgba(6, 24, 42, 0.8);
}

.hero__seal-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: seal-spin 22s linear infinite;
}

.hero__seal-ring text {
    fill: currentColor;
    font-family: var(--font-text);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.115em;
}

.hero__seal-core {
    display: grid;
    justify-items: center;
    font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.hero__seal-core small {
    font-size: 0.5em;
    font-weight: 700;
    letter-spacing: 0.06em;
}

@keyframes seal-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 999px) {
    .hero__figure {
        width: auto;
        max-width: 22rem;
        justify-self: stretch;
        margin-left: clamp(1.5rem, 6vw, 3.5rem);
    }
}

/* Chromatogramme : quatre pics, quatre départements */
.hero__chart {
    margin-top: clamp(3rem, 2rem + 5vw, 6rem);
}

.hero__chart-inner {
    position: relative;
}

.hero__chart .trace {
    height: clamp(5.5rem, 3rem + 9vw, 11.25rem);
}

.hero__chart .trace__line {
    stroke: var(--yellow);
    stroke-width: 2.5;
}

.hero__peaks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__peaks li {
    position: absolute;
    left: var(--x);
    top: 0;
    padding-left: 0.9rem;
    transition-delay: calc(2s + var(--i) * 160ms) !important;
}

.hero__peaks a {
    pointer-events: auto;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--white);
    transition: color var(--fast), background-color var(--fast);
}

.hero__peaks a span {
    margin-right: 0.3rem;
    color: var(--yellow);
}

.hero__peaks a:hover {
    background: var(--yellow);
    color: var(--ink);
}

.hero__peaks a:hover span {
    color: var(--ink);
}

.hero__peaks li:nth-child(1) { top: 22%; }
.hero__peaks li:nth-child(2) { top: -0.75rem; }
.hero__peaks li:nth-child(3) { top: 34%; }
.hero__peaks li:nth-child(4) { top: 8%; }

@media (max-width: 759px) {
    .hero__peaks {
        display: none;
    }
}

/* Données clés : chiffres géants */
.hero__data {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
    margin: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0 0;
}

@media (min-width: 900px) {
    .hero__data {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0 clamp(1.5rem, 3vw, 3rem);
    }
}

.hero__datum {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--yellow);
}

.hero__datum dd {
    font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.055em;
    font-variant-numeric: tabular-nums;
    color: var(--white);
}

.hero__datum dt {
    max-width: 16em;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.logo-rail__track:hover .logo-rail__list {
    animation-play-state: paused;
}

@keyframes marquee {
    to { transform: translateX(-100%); }
}

/* 3. Départements : grille bento ------------------------------------------ */
.depts {
    padding-top: calc(var(--section) + 1rem);
}

.bento {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}

@media (min-width: 800px) {
    .bento {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .bento__cell--1 { grid-column: span 7; }
    .bento__cell--2 { grid-column: span 5; }
    .bento__cell--3 { grid-column: span 5; }
    .bento__cell--4 { grid-column: span 7; }
}

.bento__tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(21rem, 14rem + 22vw, 33rem);
    padding: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    /* réserve la place du grand numéro : le texte ne le recouvre jamais */
    padding-top: clamp(7rem, 4.25rem + 8.5vw, 12rem);
    overflow: hidden;
    border-radius: var(--tile-radius);
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    isolation: isolate;
}

.bento__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    transition: transform 1.2s var(--ease);
}

/* Voile bleu nuit pour la lisibilité ; il vire au bleu SINAL au survol */
.bento__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(6, 24, 42, 0.94) 0%, rgba(6, 24, 42, 0.62) 42%, rgba(6, 24, 42, 0.08) 78%);
    transition: opacity 0.6s var(--ease);
}

.bento__tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--brand);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
}

.bento__index {
    position: absolute;
    top: clamp(0.5rem, 1.5vw, 1.25rem);
    left: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    font-size: clamp(4.5rem, 2.5rem + 7vw, 9.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
    transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease);
}

.bento__go {
    position: absolute;
    top: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    right: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    display: grid;
    place-items: center;
    width: clamp(3rem, 2.5rem + 1.6vw, 4.25rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease);
}

.bento__go .icon {
    stroke-width: 2;
}

.bento__body {
    display: grid;
    gap: 0.75rem;
    max-width: 34rem;
}

.bento__name {
    font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bento__summary {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.bento__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.bento__meta span {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.875rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}

.bento__tile:hover .bento__img,
.bento__tile:focus-visible .bento__img {
    transform: scale(1.07);
}

.bento__tile:hover::before,
.bento__tile:focus-visible::before {
    opacity: 0.82;
}

.bento__tile:hover .bento__index,
.bento__tile:focus-visible .bento__index {
    color: var(--yellow);
    -webkit-text-stroke-color: var(--yellow);
}

.bento__tile:hover .bento__go,
.bento__tile:focus-visible .bento__go {
    background: var(--yellow);
    transform: rotate(45deg) scale(1.08);
}

.bento__tile:hover .bento__meta span,
.bento__tile:focus-visible .bento__meta span {
    background: var(--white);
    color: var(--ink);
}

.bento__tile:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}

/* 4. Qui sommes-nous ------------------------------------------------------ */
.about {
    overflow: clip;
}

/* L'année de création, en filigrane géant */
.about__year {
    position: absolute;
    right: -0.03em;
    bottom: -0.24em;
    font-size: clamp(8rem, 2rem + 22vw, 24rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.07em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(15, 117, 188, 0.16);
    pointer-events: none;
    user-select: none;
}

.about .container {
    position: relative;
}

.about__grid {
    display: grid;
    gap: 3.5rem;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

@media (min-width: 1000px) {
    .about__grid {
        grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr);
        gap: clamp(3rem, 6vw, 7rem);
    }
}

.about__statement {
    font-size: clamp(1.9rem, 1.1rem + 3.3vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: pretty;
}

.about__statement em {
    font-style: normal;
    color: var(--blue);
}

.about__cols {
    display: grid;
    gap: 1.5rem 3rem;
    margin: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 2.25rem;
    padding-top: 1.75rem;
    border-top: 2px solid var(--ink);
    color: var(--ink-soft);
}

@media (min-width: 700px) {
    .about__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about__side {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.about__plate {
    position: relative;
    max-width: 20rem;
    overflow: hidden;
    border-radius: var(--tile-radius);
    transform: rotate(2.5deg);
    box-shadow: 0 30px 50px -30px rgba(11, 42, 69, 0.6);
    transition: transform 0.6s var(--ease);
}

.about__plate:hover {
    transform: rotate(0deg) scale(1.02);
}

.about__plate img {
    width: 100%;
    aspect-ratio: 363 / 350;
    object-fit: cover;
}

.about__plate figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
}

.about__iso {
    max-width: 20rem;
    padding: 1.5rem;
    border-radius: var(--tile-radius);
    background: var(--brand);
    color: var(--white);
    font-size: 0.9375rem;
    line-height: 1.5;
    transform: rotate(-1.5deg);
}

.about__iso-mark {
    margin-bottom: 0.6rem;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
}

.about__iso-mark span {
    color: var(--yellow);
}

/* 5. Services ------------------------------------------------------------- */
.services__list {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}

@media (min-width: 700px) {
    .services__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .services__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.services__item {
    position: relative;
    display: grid;
    gap: 0.75rem;
    align-content: end;
    min-height: clamp(15rem, 12rem + 9vw, 21rem);
    padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
    overflow: hidden;
    border-radius: var(--tile-radius);
    background: rgba(6, 24, 42, 0.26);
    isolation: isolate;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Halo qui suit le pointeur à l'intérieur de la tuile */
.services__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(18rem circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(255, 255, 255, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.services__num {
    position: absolute;
    top: clamp(1rem, 2vw, 1.75rem);
    right: clamp(1.25rem, 2vw, 2rem);
    font-size: clamp(4rem, 3rem + 4vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
    transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.services__title {
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--white);
}

.services__text {
    max-width: 26em;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

@media (hover: hover) {
    .services__item:hover {
        background: rgba(6, 24, 42, 0.5);
        transform: translateY(-6px);
    }

    .services__item:hover::before {
        opacity: 1;
    }

    .services__item:hover .services__num {
        color: var(--yellow);
        -webkit-text-stroke-color: var(--yellow);
        transform: scale(1.08);
    }
}

/* 6. Partenaires : rails de logos ----------------------------------------- */
.partners {
    overflow: clip;
}

.logo-rail {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
    /* fondu sur les bords : les logos entrent et sortent en douceur */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-rail__track {
    display: flex;
    width: max-content;
}

.logo-rail__list {
    display: flex;
    flex: none;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
    padding-right: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
    animation: marquee var(--marquee-duration, 60s) linear infinite;
}

.logo-rail__track--reverse .logo-rail__list {
    animation-direction: reverse;
}

.logo-rail__item {
    display: grid;
    place-items: center;
    width: clamp(11rem, 8rem + 9vw, 17rem);
    aspect-ratio: 5 / 3;
    padding: clamp(1.25rem, 2.5vw, 2.25rem);
    border: 1.5px solid var(--line);
    border-radius: var(--tile-radius);
    background: var(--white);
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.logo-rail__item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 4.25rem;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.logo-rail__item:hover {
    border-color: var(--brand);
    transform: translateY(-6px);
    box-shadow: 0 22px 34px -24px rgba(15, 117, 188, 0.7);
}

.logo-rail__item:hover img {
    filter: none;
    opacity: 1;
}

/* 7. Réalisations --------------------------------------------------------- */
.works__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1000px) {
    .works__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: clamp(2rem, 4vw, 4.5rem);
        align-items: start;
    }
}

.works__feature {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--tile-radius);
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    isolation: isolate;
}

.works__media {
    display: block;
    aspect-ratio: 16 / 11;
}

.works__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works__feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 24, 42, 0.92), rgba(6, 24, 42, 0.1) 62%);
    pointer-events: none;
}

.works__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    gap: 0.6rem;
    padding: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
}

.works__meta {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--yellow);
}

.works__feature-title {
    max-width: 16em;
    font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.works__badge {
    position: absolute;
    top: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    right: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    z-index: 1;
    display: grid;
    place-items: center;
    width: clamp(3.25rem, 2.5rem + 2.4vw, 5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    transition: transform 0.6s var(--ease), background-color 0.4s var(--ease);
}

.works__feature:hover .works__badge,
.works__feature:focus-visible .works__badge {
    background: var(--white);
    transform: rotate(45deg) scale(1.1);
}

.works__feature:hover .works__media.is-visible img,
.works__feature:focus-visible .works__media.is-visible img {
    transform: scale(1.05);
}

.works__list {
    border-top: 2px solid var(--ink);
}

.works__row {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: padding 0.45s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-radius 0.45s var(--ease);
}

.works__year {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--blue);
    transition: color 0.45s var(--ease);
}

.works__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.works__go {
    display: grid;
    place-items: center;
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px currentColor;
    transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.5s var(--ease);
}

.works__row:hover,
.works__row:focus-visible {
    padding-inline: 1.25rem;
    border-radius: 999px;
    border-bottom-color: transparent;
    background: var(--brand);
    color: var(--white);
}

.works__row:hover .works__year,
.works__row:focus-visible .works__year {
    color: var(--yellow);
}

.works__row:hover .works__go,
.works__row:focus-visible .works__go {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: none;
    transform: rotate(45deg);
}

/* 8. Actualités ----------------------------------------------------------- */
.journal__grid {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
}

@media (min-width: 900px) {
    .journal__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.journal__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
    overflow: hidden;
    border-radius: var(--tile-radius);
    background: var(--paper-2);
    text-decoration: none;
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}

.journal__num {
    font-size: clamp(3rem, 2.4rem + 2.4vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 2px var(--brand);
    transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease);
}

.journal__date {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-deep);
    transition: color 0.5s var(--ease);
}

.journal__title {
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.journal__text {
    color: var(--ink-soft);
    transition: color 0.5s var(--ease);
}

.journal__more {
    margin-top: auto;
}

@media (hover: hover) {
    .journal__link:hover {
        background: var(--ink);
        color: var(--white);
        transform: translateY(-6px);
    }

    .journal__link:hover .journal__num {
        color: var(--yellow);
        -webkit-text-stroke-color: var(--yellow);
    }

    .journal__link:hover .journal__date {
        color: var(--yellow);
    }

    .journal__link:hover .journal__text {
        color: rgba(255, 255, 255, 0.88);
    }
}

.journal__link:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}

/* Mouvement réduit : rien ne défile ni ne tourne ---------------------------- */
@media (prefers-reduced-motion: reduce) {
    .logo-rail__list,
    .hero__seal-ring {
        animation: none;
    }

    .logo-rail__track {
        width: auto;
        overflow-x: auto;
    }

    .about__plate,
    .about__iso {
        transform: none;
    }
}
