/* ============================================
   SGEN — HOME PAGE STYLES
   Hero slideshow + Blog marquee + Atlas Missions
   ============================================ */

/* Hero slideshow en faible opacité */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.10;
    pointer-events: none;
}
.hero-slideshow div {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    animation: heroFade 18s infinite ease-in-out;
}
.hero-slideshow div:nth-child(1) { animation-delay: 0s;  background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80'); }
.hero-slideshow div:nth-child(2) { animation-delay: 6s;  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80'); }
.hero-slideshow div:nth-child(3) { animation-delay: 12s; background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80'); }

@keyframes heroFade {
    0%   { opacity: 0; }
    15%  { opacity: 1; }
    33%  { opacity: 1; }
    48%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Blog marquee défilement */
@media (min-width: 1024px) {
    .blog-marquee {
        overflow: hidden;
        position: relative;
        mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    }
    .blog-track {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        animation: scrollBlogs 25s linear infinite;
    }
    .blog-marquee:hover .blog-track { animation-play-state: paused; }
}
@media (max-width: 1023px) {
    .blog-marquee {
        overflow: hidden;
        position: relative;
        padding-bottom: 1.5rem;
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }
    .blog-track {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        width: max-content;
        padding: 0 0.5rem;
        animation: scrollBlogsHorizontal 25s linear infinite;
    }
    .blog-marquee:hover .blog-track,
    .blog-marquee:active .blog-track { animation-play-state: paused; }
}

@keyframes scrollBlogs {
    0%   { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 0.75rem)); }
}
@keyframes scrollBlogsHorizontal {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* ==========================================================
   ATLAS DE LA SOUVERAINETÉ NUMÉRIQUE
   Section Missions redessinée en bento mosaïque asymétrique
   ========================================================== */

.atlas {
    position: relative;
    padding: 7rem 0 8rem;
    background: #FAFCFF;
    overflow: hidden;
}

/* Grain noise global très subtil */
.atlas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0.14 0 0 0 0 0.3 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.atlas-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* --- Header atlas en double ligne justifiée --- */
.atlas-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #003D7A;
    position: relative;
    margin-bottom: 0.5rem;
}
.atlas-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -6px;
    height: 1px;
    background: #003D7A;
    opacity: 0.4;
}

.atlas-header-word {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: #003D7A;
}
.atlas-header-word.right {
    text-align: right;
    font-weight: 400;
    font-style: italic;
    color: #00A8E8;
}

.atlas-header-mark {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: #D4A017;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.atlas-meta {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #64748B;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 4rem;
}

/* --- Spread bento --- */
.atlas-spread {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Base pour toutes les cards */
.plate {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.plate.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.plate[data-plate="02"].revealed { transition-delay: 0.15s; }
.plate[data-plate="03"].revealed { transition-delay: 0s; }
.plate[data-plate="04"].revealed { transition-delay: 0.15s; }

/* Serial number typography commune */
.plate .serial {
    position: absolute;
    top: 1.25rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    z-index: 4;
}

/* ===============================================
   PLATE 01 — Infrastructures (network cartographique)
   =============================================== */
.plate-01 {
    grid-column: span 8;
    aspect-ratio: 5 / 4;
    background: radial-gradient(ellipse at 30% 40%, #003D7A 0%, #001529 70%);
    box-shadow: 0 20px 60px -20px rgba(0, 61, 122, 0.45);
}

.plate-01 .serial {
    right: 1.5rem;
    color: rgba(0, 168, 232, 0.55);
}

.plate-01 .active-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: #D4A017;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 4;
}
.plate-01 .active-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00A8E8;
    box-shadow: 0 0 8px #00A8E8;
    animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

.plate-01 .map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.plate-01 .map-svg .network-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plate-01.revealed .map-svg .network-line {
    stroke-dashoffset: 0;
}
.plate-01.revealed .map-svg .network-line:nth-child(2)  { transition-delay: 0.1s; }
.plate-01.revealed .map-svg .network-line:nth-child(3)  { transition-delay: 0.2s; }
.plate-01.revealed .map-svg .network-line:nth-child(4)  { transition-delay: 0.3s; }
.plate-01.revealed .map-svg .network-line:nth-child(5)  { transition-delay: 0.4s; }
.plate-01.revealed .map-svg .network-line:nth-child(6)  { transition-delay: 0.5s; }
.plate-01.revealed .map-svg .network-line:nth-child(7)  { transition-delay: 0.6s; }
.plate-01.revealed .map-svg .network-line:nth-child(8)  { transition-delay: 0.7s; }
.plate-01.revealed .map-svg .network-line:nth-child(9)  { transition-delay: 0.8s; }
.plate-01.revealed .map-svg .network-line:nth-child(10) { transition-delay: 0.9s; }

.plate-01 .map-node {
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.plate-01.revealed .map-node {
    opacity: 1;
}

.plate-01 .big-num {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(7rem, 14vw, 13rem);
    line-height: 0.8;
    color: #D4A017;
    opacity: 0.92;
    letter-spacing: -0.05em;
    z-index: 2;
    text-shadow: 0 4px 30px rgba(212, 160, 23, 0.25);
}

.plate-01 .plate-panel {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
    max-width: 330px;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9rem;
    color: white;
    z-index: 3;
    text-decoration: none;
    transition: background 0.4s, transform 0.4s;
}
.plate-01 .plate-panel:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-3px);
}

.plate-label {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.plate-01 .plate-label { color: #00A8E8; }
.plate-01 .plate-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: #00A8E8;
}

.plate-01 h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    color: white;
}

.plate-01 .plate-panel p {
    font-size: 0.88rem;
    font-weight: 300;
    opacity: 0.82;
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.plate-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid;
    transition: all 0.3s;
    text-decoration: none;
}
.plate-01 .plate-cta {
    color: #00A8E8;
    border-color: rgba(0, 168, 232, 0.45);
}
.plate-01 .plate-panel:hover .plate-cta {
    color: white;
    border-color: white;
}

/* ===============================================
   PLATE 02 — Cybersécurité (dossier classifié)
   =============================================== */
.plate-02 {
    grid-column: span 4;
    aspect-ratio: 4 / 5;
    background: #001529;
    padding: 1.75rem;
    color: white;
    box-shadow: 0 20px 60px -20px rgba(196, 30, 58, 0.4);
}

/* Grille circuit */
.plate-02::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(196, 30, 58, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 30, 58, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}

.plate-02 .corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: #C41E3A;
    border-style: solid;
    border-width: 0;
}
.plate-02 .corner.tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.plate-02 .corner.tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.plate-02 .corner.bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.plate-02 .corner.br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

.plate-02 .serial {
    right: 1.75rem;
    color: rgba(196, 30, 58, 0.8);
}

/* Scan line qui traverse au hover */
.plate-02 .scan {
    position: absolute;
    left: 5%;
    right: 5%;
    top: -10%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #C41E3A, transparent);
    box-shadow: 0 0 18px rgba(196, 30, 58, 0.8);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}
.plate-02:hover .scan {
    animation: scanDown 2.2s cubic-bezier(0.25, 0.8, 0.35, 1);
}
@keyframes scanDown {
    0%   { top: -5%; opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 102%; opacity: 0; }
}

.plate-02 .big-num {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 800;
    font-size: clamp(5rem, 11vw, 9rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    color: #C41E3A;
    margin-top: 2.2rem;
    text-shadow: 0 0 24px rgba(196, 30, 58, 0.35);
    position: relative;
    z-index: 2;
    display: block;
}

.plate-02 .lock-ring {
    position: absolute;
    top: 2.3rem;
    right: 1.75rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C41E3A;
    z-index: 3;
}
.plate-02 .lock-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(196, 30, 58, 0.6);
    border-radius: 50%;
}
.plate-02 .lock-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(196, 30, 58, 0.5);
    border-radius: 50%;
    animation: pulseRing 2.6s ease-out infinite;
}
@keyframes pulseRing {
    0%   { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

.plate-02 .content {
    position: absolute;
    bottom: 1.75rem;
    left: 1.75rem;
    right: 1.75rem;
    z-index: 3;
}

.plate-02 .plate-label {
    color: #C41E3A;
}
.plate-02 .plate-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: #C41E3A;
}

.plate-02 h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.15;
    margin-bottom: 0.7rem;
}

.plate-02 p {
    font-size: 0.82rem;
    font-weight: 300;
    opacity: 0.78;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.plate-02 .plate-cta {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
.plate-02 .plate-cta:hover {
    color: #C41E3A;
    border-color: #C41E3A;
}

/* ===============================================
   PLATE 03 — Formation (manuscrit académique)
   =============================================== */
.plate-03 {
    grid-column: span 5;
    aspect-ratio: 4 / 5;
    background: #F5EFE0;
    padding: 2.5rem 2.25rem 2rem;
    box-shadow: 0 20px 60px -20px rgba(212, 160, 23, 0.22);
}

/* Grain papier */
.plate-03::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n3'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.83 0 0 0 0 0.63 0 0 0 0 0.09 0 0 0 0.3 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n3)'/%3E%3C/svg%3E");
    opacity: 0.38;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.plate-03 .serial {
    left: 1.75rem;
    color: #8A6A0D;
}

.plate-03 .big-num {
    position: absolute;
    top: -2.8rem;
    right: 0.7rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(10rem, 22vw, 20rem);
    line-height: 1;
    color: #D4A017;
    opacity: 0.9;
    letter-spacing: -0.06em;
    z-index: 1;
    text-shadow: 0 6px 30px rgba(212, 160, 23, 0.2);
}

.plate-03 .plate-label {
    color: #8A6A0D;
    margin-top: 5.5rem;
    position: relative;
    z-index: 2;
}
.plate-03 .plate-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: #8A6A0D;
}

.plate-03 .quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    color: #003D7A;
    position: relative;
    z-index: 2;
    margin-bottom: 1.25rem;
    padding-top: 0.5rem;
}
.plate-03 .quote::before {
    content: '«';
    font-style: normal;
    font-size: 3rem;
    line-height: 0;
    color: #D4A017;
    margin-right: 0.45rem;
    vertical-align: -0.4rem;
}
.plate-03 .quote::after {
    content: '»';
    font-style: normal;
    font-size: 3rem;
    line-height: 0;
    color: #D4A017;
    margin-left: 0.35rem;
    vertical-align: -0.4rem;
}

.plate-03 p.desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: #5D5142;
    line-height: 1.65;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.plate-03 .stats-bar {
    display: flex;
    gap: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(138, 106, 13, 0.35);
    position: relative;
    z-index: 2;
}
.plate-03 .stats-bar .stat strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.9rem;
    color: #003D7A;
    line-height: 0.95;
}
.plate-03 .stats-bar .stat span {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8A6A0D;
    display: block;
    margin-top: 0.4rem;
}

.plate-03 .plate-cta {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
    color: #003D7A;
    border-color: rgba(0, 61, 122, 0.35);
    z-index: 3;
}
.plate-03 .plate-cta:hover {
    color: #D4A017;
    border-color: #D4A017;
}

/* ===============================================
   PLATE 04 — Économie (dashboard + dataviz)
   =============================================== */
.plate-04 {
    grid-column: span 7;
    aspect-ratio: 7 / 5;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);
    border: 1px solid rgba(0, 61, 122, 0.08);
    box-shadow: 0 20px 60px -20px rgba(0, 61, 122, 0.2);
}

/* Ligne or diagonale */
.plate-04::before {
    content: '';
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 55%;
    width: 1px;
    background: linear-gradient(180deg, transparent 10%, #D4A017 30%, #D4A017 70%, transparent 90%);
    transform: rotate(12deg);
    transform-origin: center;
    opacity: 0.75;
    z-index: 1;
}

.plate-04 .serial {
    left: 1.75rem;
    color: rgba(0, 61, 122, 0.4);
}

.plate-04 .content-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.plate-04 .big-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(5rem, 11vw, 9.5rem);
    line-height: 0.85;
    color: #003D7A;
    opacity: 0.92;
    letter-spacing: -0.05em;
    margin-top: 1.2rem;
}

.plate-04 .content-body .plate-label {
    color: #003D7A;
}
.plate-04 .content-body .plate-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: #003D7A;
}

.plate-04 h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1.1;
    color: #003D7A;
    margin-bottom: 0.7rem;
}

.plate-04 .content-body p {
    font-size: 0.92rem;
    font-weight: 300;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 28ch;
}

.plate-04 .plate-cta {
    color: #003D7A;
    border-color: rgba(0, 61, 122, 0.35);
    align-self: flex-start;
}
.plate-04 .plate-cta:hover {
    color: #00A8E8;
    border-color: #00A8E8;
}

.plate-04 .dataviz {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 2rem 2rem 2.5rem 1rem;
    z-index: 2;
}
.plate-04 .dataviz svg {
    width: 100%;
    height: auto;
    max-height: 100%;
}
.plate-04 .dataviz .bar {
    fill: #003D7A;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.plate-04.revealed .dataviz .bar {
    transform: scaleY(1);
}
.plate-04 .dataviz .bar:nth-of-type(1) { transition-delay: 0.3s; }
.plate-04 .dataviz .bar:nth-of-type(2) { transition-delay: 0.4s; }
.plate-04 .dataviz .bar:nth-of-type(3) { transition-delay: 0.5s; }
.plate-04 .dataviz .bar:nth-of-type(4) { transition-delay: 0.6s; }
.plate-04 .dataviz .bar:nth-of-type(5) { transition-delay: 0.7s; }
.plate-04 .dataviz .bar:nth-of-type(6) { transition-delay: 0.8s; }

.plate-04 .dataviz .trend {
    fill: none;
    stroke: #D4A017;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s;
}
.plate-04.revealed .dataviz .trend {
    stroke-dashoffset: 0;
}
.plate-04 .dataviz .trend-dot {
    fill: #D4A017;
    opacity: 0;
    transition: opacity 0.4s ease 1.8s, r 0.4s ease 1.8s;
}
.plate-04.revealed .dataviz .trend-dot {
    opacity: 1;
}

/* --- Divider atlas avec rose-des-vents --- */
.atlas-divider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
    margin: 2rem 0;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(0, 61, 122, 0.18);
    border-bottom: 1px solid rgba(0, 61, 122, 0.18);
}
.atlas-divider .rose {
    width: 44px;
    height: 44px;
    color: #D4A017;
    animation: roseRotate 80s linear infinite;
}
@keyframes roseRotate {
    to { transform: rotate(360deg); }
}
.atlas-divider .manifesto {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    color: #003D7A;
    line-height: 1.45;
    letter-spacing: -0.005em;
}
.atlas-divider .signature {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #8A6A0D;
    text-align: right;
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .plate-01, .plate-02, .plate-03, .plate-04 {
        grid-column: span 12;
        aspect-ratio: auto;
        min-height: 480px;
    }
    .plate-01 .plate-panel {
        max-width: 50%;
    }
}

@media (max-width: 640px) {
    .atlas {
        padding: 5rem 0 6rem;
    }
    .atlas-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .atlas-header-word {
        font-size: 3.5rem;
        text-align: left !important;
    }
    .atlas-header-mark {
        justify-self: start;
    }

    .plate-01 {
        min-height: 460px;
    }
    .plate-01 .plate-panel {
        position: static;
        margin-top: 60%;
        max-width: none;
    }
    .plate-01 .big-num {
        left: 1.5rem;
        bottom: 45%;
    }

    .plate-02 {
        min-height: 520px;
    }
    .plate-02 .big-num {
        font-size: 5.5rem;
    }

    .plate-03 {
        min-height: 460px;
    }
    .plate-03 .big-num {
        font-size: 10rem;
        top: -2rem;
        right: -1rem;
    }

    .plate-04 {
        min-height: 600px;
    }
    .plate-04::before { display: none; }
    .plate-04 .content-left {
        position: relative;
        width: 100%;
        padding: 2rem;
    }
    .plate-04 .dataviz {
        position: relative;
        width: 100%;
        height: 180px;
        padding: 1rem 2rem;
    }

    .atlas-divider {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .atlas-divider .signature {
        text-align: left;
    }
}
