:root {
    color-scheme: dark;
    --a7-ink: #081714;
    --a7-deep: #0d211c;
    --a7-panel: #122a24;
    --a7-panel-raised: #18362e;
    --a7-line: rgba(229, 239, 220, 0.12);
    --a7-paper: #f5f4eb;
    --a7-muted: #aab9ad;
    --a7-yellow: #f9d21b;
    --a7-orange: #f28c28;
    --a7-page-glow: rgba(83, 142, 91, 0.16);
    --a7-page-spot: rgba(249, 210, 27, 0.08);
    --a7-nav-bg: rgba(8, 23, 20, 0.82);
    --a7-card-start: rgba(24, 54, 46, 0.96);
    --a7-card-end: rgba(13, 33, 28, 0.98);
    --a7-radius: 1.25rem;
    --a7-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    scroll-behavior: smooth;
}

:root[data-theme="ocean"] {
    --a7-ink: #071521;
    --a7-deep: #0c2031;
    --a7-panel: #112b40;
    --a7-panel-raised: #193b52;
    --a7-line: rgba(207, 237, 244, 0.15);
    --a7-paper: #edf8f8;
    --a7-muted: #a6c3ce;
    --a7-yellow: #64e5d1;
    --a7-orange: #73b9ff;
    --a7-page-glow: rgba(52, 150, 190, 0.2);
    --a7-page-spot: rgba(100, 229, 209, 0.1);
    --a7-nav-bg: rgba(7, 21, 33, 0.88);
    --a7-card-start: rgba(25, 59, 82, 0.96);
    --a7-card-end: rgba(12, 32, 49, 0.98);
}

:root[data-theme="aurore"] {
    --a7-ink: #1a1020;
    --a7-deep: #29172d;
    --a7-panel: #38203b;
    --a7-panel-raised: #4b2a48;
    --a7-line: rgba(250, 225, 237, 0.15);
    --a7-paper: #fff2f5;
    --a7-muted: #d0b1c4;
    --a7-yellow: #ff9caf;
    --a7-orange: #ffc16b;
    --a7-page-glow: rgba(192, 91, 156, 0.2);
    --a7-page-spot: rgba(255, 156, 175, 0.1);
    --a7-nav-bg: rgba(26, 16, 32, 0.88);
    --a7-card-start: rgba(75, 42, 72, 0.96);
    --a7-card-end: rgba(41, 23, 45, 0.98);
}

:root[data-theme="ambre"] {
    --a7-ink: #1c1710;
    --a7-deep: #2a2116;
    --a7-panel: #3a2c1c;
    --a7-panel-raised: #4d3922;
    --a7-line: rgba(250, 235, 210, 0.15);
    --a7-paper: #fff7e8;
    --a7-muted: #d0bea0;
    --a7-yellow: #f6bd60;
    --a7-orange: #ef8755;
    --a7-page-glow: rgba(186, 117, 49, 0.2);
    --a7-page-spot: rgba(246, 189, 96, 0.1);
    --a7-nav-bg: rgba(28, 23, 16, 0.88);
    --a7-card-start: rgba(77, 57, 34, 0.96);
    --a7-card-end: rgba(42, 33, 22, 0.98);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.bg-gray-900 {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 12% 0%, var(--a7-page-glow), transparent 34rem),
        radial-gradient(ellipse at 92% 22%, var(--a7-page-spot), transparent 30rem),
        var(--a7-ink) !important;
    color: var(--a7-paper);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: var(--a7-ink);
    background: var(--a7-yellow);
}

a {
    text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--a7-yellow);
    outline-offset: 3px;
}

nav.fixed.w-full {
    background: var(--a7-nav-bg) !important;
    border-color: var(--a7-line) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

nav.fixed.w-full > div {
    max-width: 80rem;
}

nav.fixed.w-full img {
    border-color: rgba(249, 210, 27, 0.58);
    box-shadow: 0 0 0 5px rgba(249, 210, 27, 0.07);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

nav.fixed.w-full a:hover img {
    transform: rotate(-5deg) scale(1.04);
    box-shadow: 0 0 0 8px rgba(249, 210, 27, 0.12);
}

nav.fixed.w-full .nav-link {
    position: relative;
    border-radius: 0 !important;
    background: transparent !important;
    color: #e7eee5 !important;
    transition: color 180ms ease;
}

nav.fixed.w-full .nav-link:hover,
nav.fixed.w-full .nav-link:focus-visible,
nav.fixed.w-full .nav-link:active,
nav.fixed.w-full .nav-link.active,
nav.fixed.w-full .nav-link[aria-current="page"] {
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--a7-yellow) !important;
}

nav.fixed.w-full .nav-link::after {
    position: absolute;
    right: 0.75rem;
    bottom: 0.15rem;
    left: 0.75rem;
    height: 2px;
    content: "";
    background: var(--a7-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

nav.fixed.w-full .nav-link:hover::after,
nav.fixed.w-full .nav-link.active::after,
nav.fixed.w-full .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.home-hero-grid {
    align-items: center;
    min-height: min(680px, calc(100svh - 7rem));
    padding-top: clamp(2.5rem, 6vw, 5rem) !important;
    padding-bottom: clamp(2.5rem, 6vw, 5rem) !important;
}

.home-hero-copy {
    max-width: 39rem;
    padding-block: 1rem;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--a7-yellow);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-hero-eyebrow::before {
    width: 1.6rem;
    height: 2px;
    content: "";
    background: currentColor;
}

.home-hero-copy h1 {
    min-height: 1.15em;
    max-width: 12ch;
    margin-bottom: 1.35rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home-hero-copy > p {
    max-width: 37rem;
    color: #c1cec3 !important;
    font-size: clamp(1rem, 1.35vw, 1.15rem) !important;
    line-height: 1.8;
}

.home-hero-actions {
    align-items: center;
    gap: 1rem;
}

.home-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid var(--a7-line);
    border-radius: 999px;
    color: var(--a7-paper);
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-hero-secondary:hover {
    border-color: rgba(249, 210, 27, 0.55);
    color: var(--a7-yellow);
    transform: translateY(-2px);
}

.home-hero-media {
    padding: 0.65rem;
    border: 1px solid transparent;
    border-radius: 1.8rem;
    background: linear-gradient(140deg, rgba(249, 210, 27, 0.15), rgba(24, 54, 46, 0.25));
    box-shadow: var(--a7-shadow);
}

.home-hero-media > div:first-child {
    height: clamp(19rem, 40vw, 34rem) !important;
    border-radius: 1.25rem;
}

.home-hero-media img {
    border-radius: 1.25rem;
    filter: saturate(0.82);
}

.home-hero-media > div:last-child button {
    color: var(--a7-yellow);
}

.home-hero-media > div:last-child button:hover {
    color: var(--a7-paper);
}

.home-hero-grid + #presentation,
.home-hero-grid + section {
    margin-top: clamp(1rem, 3vw, 2.5rem);
}

nav.fixed.w-full a[href*="login"],
nav.fixed.w-full .btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: 1px solid rgba(249, 210, 27, 0.55);
    border-radius: 999px;
    background: var(--a7-yellow);
    color: var(--a7-ink) !important;
    box-shadow: 0 8px 28px rgba(249, 210, 27, 0.12);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    white-space: nowrap;
}

nav.fixed.w-full .btn-login svg {
    width: 1rem;
    height: 1rem;
    flex: none;
}

nav.fixed.w-full a[href*="login"]:hover,
nav.fixed.w-full .btn-login:hover {
    background: #ffe775;
    box-shadow: 0 12px 34px rgba(249, 210, 27, 0.23);
}

#navbar-sticky {
    border-color: var(--a7-line);
}

section.bg-gray-900,
div.bg-gray-900,
main.bg-gray-900 {
    background-color: transparent !important;
}

section.bg-gray-800,
div.bg-gray-800:not(.bg),
main.bg-gray-800 {
    background-color: var(--a7-deep) !important;
}

section[id],
div[id="missionsContainer"] {
    scroll-margin-top: 6rem;
}

section h1,
section h2 {
    text-wrap: balance;
}

section h2 {
    letter-spacing: -0.035em;
}

section.relative > img {
    height: clamp(16rem, 35vw, 27rem) !important;
    object-fit: cover;
    filter: saturate(0.82) brightness(0.68);
}

section.relative:has(> img) {
    isolation: isolate;
    overflow: hidden;
}

section.relative:has(> img)::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 23, 20, 0.75), rgba(8, 23, 20, 0.12)),
        linear-gradient(0deg, rgba(8, 23, 20, 0.52), transparent 65%);
}

section.relative > nav {
    z-index: 1;
    border: 1px solid rgba(245, 244, 235, 0.2);
    border-radius: 1.25rem;
    background: rgba(8, 23, 20, 0.48);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

section.relative > nav a {
    color: var(--a7-paper) !important;
}

#missionsContainer {
    gap: 2.5rem;
}

#missionsContainer > div.grid > div,
#actualites .image-container,
section[id="missions"] .image-container,
section[id="blogs"] .image-container,
section[id="temoignages"] .image-container {
    border: 1px solid var(--a7-line);
    border-radius: var(--a7-radius);
    background: linear-gradient(145deg, var(--a7-card-start), var(--a7-card-end)) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

#missionsContainer > .news-grid > div:first-child,
#actualites > div > .grid > div:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
}

#missionsContainer > .news-grid > div:first-child > div:first-child,
#actualites > div > .grid > div:first-child > img {
    min-height: 19rem;
    height: 100%;
}

#missionsContainer > .news-grid > div:first-child > div:first-child img,
#actualites > div > .grid > div:first-child > img {
    height: 100%;
    min-height: 19rem;
    object-fit: cover;
}

#missionsContainer > .news-grid > div:first-child > div:last-child,
#actualites > div > .grid > div:first-child > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

#missionsContainer > .news-grid > div:first-child h3,
#actualites > div > .grid > div:first-child h3 {
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.25;
}

#missionsContainer > div.grid > div:hover,
#actualites .image-container:hover,
section[id="missions"] .image-container:hover,
section[id="blogs"] .image-container:hover,
section[id="temoignages"] .image-container:hover {
    border-color: rgba(249, 210, 27, 0.45);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32), 0 0 30px rgba(249, 210, 27, 0.06);
    transform: translateY(-6px);
}

#missionsContainer > div.grid > div,
#actualites > div > .grid > div,
.actualities-layout .border-gray-700 {
    border-color: transparent !important;
}

#missionsContainer img,
section[id="missions"] .image-container img,
section[id="blogs"] .image-container img {
    transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

#missionsContainer > div.grid > div:hover img,
section[id="missions"] .image-container:hover img,
section[id="blogs"] .image-container:hover img {
    transform: scale(1.035);
}

#missionsContainer h3,
section[id="missions"] .image-container h3,
section[id="actualites"] h3 {
    color: var(--a7-yellow) !important;
}

#missionsContainer p,
section[id="missions"] .image-container p,
section[id="blogs"] .image-container p {
    line-height: 1.7;
}

.glass-card {
    border-color: transparent !important;
    border-radius: var(--a7-radius);
    background: linear-gradient(145deg, var(--a7-card-start), var(--a7-card-end)) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
    border-color: rgba(249, 210, 27, 0.42) !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.blog-section {
    padding: clamp(4rem, 8vw, 7rem) 1.25rem;
    background:
        radial-gradient(ellipse at 8% 18%, var(--a7-page-glow), transparent 30rem),
        linear-gradient(180deg, transparent, color-mix(in srgb, var(--a7-deep) 52%, transparent));
}

.blog-inner {
    width: min(100%, 76rem);
    margin-inline: auto;
}

.blog-heading {
    max-width: 47rem;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.blog-eyebrow,
.blog-category {
    color: var(--a7-yellow);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.blog-heading h2 {
    margin: 0.8rem 0 0.9rem;
    color: var(--a7-paper);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.08;
    text-wrap: balance;
}

.blog-heading h2 span {
    color: var(--a7-yellow);
}

.blog-heading > p {
    max-width: 38rem;
    margin-inline: auto;
    color: var(--a7-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    line-height: 1.8;
}

.blog-feature {
    display: grid;
    min-height: 23rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border: 1px solid var(--a7-line);
    border-radius: 1.6rem;
    background: linear-gradient(145deg, var(--a7-card-start), var(--a7-card-end));
    box-shadow: var(--a7-shadow);
}

.blog-feature-copy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.blog-feature-copy h3 {
    max-width: 13ch;
    margin: 0.9rem 0 0.85rem;
    color: var(--a7-paper);
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    text-wrap: balance;
}

.blog-feature-copy > p {
    max-width: 33rem;
    margin-bottom: 1.5rem;
    color: var(--a7-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.blog-feature-link,
.blog-all-link {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: var(--a7-yellow);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-feature-link {
    padding: 0.65rem 1rem;
    border: 1px solid color-mix(in srgb, var(--a7-yellow) 38%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--a7-yellow) 8%, transparent);
}

.blog-feature-link:hover,
.blog-all-link:hover {
    color: var(--a7-paper);
}

.blog-feature-link svg,
.blog-all-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 180ms ease;
}

.blog-feature-link:hover svg,
.blog-all-link:hover svg {
    transform: translateX(3px);
}

.blog-feature-image {
    position: relative;
    min-height: 23rem;
    overflow: hidden;
    background: var(--a7-panel);
}

.blog-feature-image::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.68));
    pointer-events: none;
}

.blog-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 23rem;
    object-fit: cover;
    object-position: center 38%;
    transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.blog-feature:hover .blog-feature-image img {
    transform: scale(1.035);
}

.blog-image-caption {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    bottom: 1.15rem;
    left: 1.25rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.blog-stories-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem;
}

.blog-stories-heading h3 {
    margin: 0.35rem 0 0;
    color: var(--a7-paper);
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 750;
    letter-spacing: -0.04em;
}

.blog-all-link {
    flex: none;
}

.blog-marquee-hint {
    margin: 0 0 0.75rem;
    color: var(--a7-muted);
    font-size: 0.72rem;
    text-align: right;
}

.blog-marquee-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.blog-marquee-viewport:focus-visible {
    outline: 3px solid var(--a7-yellow);
    outline-offset: 5px;
}

.blog-marquee-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.blog-marquee-track.is-animated {
    display: flex;
    width: max-content;
    animation: blog-marquee-scroll 52s linear infinite;
    will-change: transform;
}

.blog-marquee-viewport:hover .blog-marquee-track,
.blog-marquee-viewport:focus-within .blog-marquee-track {
    animation-play-state: paused;
}

.blog-marquee-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.blog-marquee-track.is-animated .blog-marquee-group {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
    padding-right: 1rem;
}

.blog-marquee-track.is-animated .blog-marquee-group[aria-hidden="true"] {
    pointer-events: none;
}

.blog-story-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--a7-line);
    border-radius: 1.2rem;
    background: linear-gradient(145deg, var(--a7-card-start), var(--a7-card-end));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.blog-marquee-track.is-animated .blog-story-card {
    width: clamp(16rem, 22vw, 19rem);
    flex: 0 0 auto;
}

.blog-story-card:hover {
    border-color: color-mix(in srgb, var(--a7-yellow) 48%, transparent);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.blog-story-image {
    position: relative;
    display: grid;
    height: clamp(11rem, 20vw, 15rem);
    place-items: center;
    overflow: hidden;
    padding: 0.8rem;
    background: color-mix(in srgb, var(--a7-deep) 78%, #fff);
}

.blog-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 400ms ease;
}

.blog-story-card:hover .blog-story-image img {
    transform: scale(1.035);
}

.blog-story-number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(8, 23, 20, 0.78);
    color: var(--a7-yellow);
    font-size: 0.65rem;
    font-weight: 800;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.blog-story-copy {
    padding: 1.2rem 1.25rem 1.35rem;
}

.blog-story-copy > span {
    color: var(--a7-yellow);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-story-copy h4 {
    margin: 0.55rem 0 0.45rem;
    color: var(--a7-paper);
    font-size: 1.06rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.blog-story-copy p {
    margin: 0;
    color: var(--a7-muted);
    font-size: 0.79rem;
    line-height: 1.7;
}

@keyframes blog-marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 760px) {
    .blog-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-feature-image {
        order: -1;
        min-height: 17rem;
    }

    .blog-feature-image img {
        min-height: 17rem;
        max-height: 22rem;
    }

    .blog-feature-copy {
        padding: 1.5rem;
    }

    .blog-marquee-track.is-animated .blog-story-card {
        width: clamp(17rem, 70vw, 20rem);
    }

    .blog-story-image {
        height: 12rem;
        padding: 0.55rem;
    }

    .blog-story-copy {
        padding: 1rem;
    }

    .blog-marquee-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

@media (max-width: 560px) {
    .blog-section {
        padding-inline: 1rem;
    }

    .blog-stories-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-marquee-hint {
        text-align: left;
    }

    .blog-marquee-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-story-card {
        display: grid;
        grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr);
        align-items: stretch;
    }

    .blog-story-image {
        height: 100%;
        min-height: 10rem;
        padding: 0.4rem;
    }

    .blog-story-copy {
        align-self: center;
        padding: 0.9rem;
    }

    .blog-story-copy h4 {
        font-size: 0.95rem;
    }

    .blog-story-copy p {
        font-size: 0.73rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-marquee-viewport {
        overflow: visible;
        mask-image: none;
    }

    .blog-marquee-track,
    .blog-marquee-track.is-animated {
        display: block;
        width: 100%;
        animation: none;
        will-change: auto;
    }

    .blog-marquee-track.is-animated .blog-marquee-group,
    .blog-marquee-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        padding: 0;
    }

    .blog-marquee-group[aria-hidden="true"] {
        display: none !important;
    }

    .blog-marquee-track.is-animated .blog-story-card {
        width: auto;
    }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
    .blog-marquee-track.is-animated .blog-marquee-group,
    .blog-marquee-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
    .blog-marquee-track.is-animated .blog-marquee-group,
    .blog-marquee-group {
        grid-template-columns: minmax(0, 1fr);
    }
}

.conseils-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(249, 210, 27, 0.1), transparent 28rem),
        linear-gradient(145deg, rgba(13, 33, 28, 0.94), rgba(8, 23, 20, 0.98));
}

.conseils-hero-inner {
    display: grid;
    width: min(100%, 76rem);
    min-height: 28rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5.5rem);
    margin-inline: auto;
}

.conseils-hero-copy {
    max-width: 39rem;
}

.conseils-hero-copy h1 {
    margin: 0 0 1.25rem;
    color: var(--a7-paper);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.08;
    text-wrap: balance;
}

.conseils-hero-copy p {
    max-width: 36rem;
    margin-bottom: 1.75rem;
    color: #c1cec3;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.8;
}

.conseils-hero-link {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: var(--a7-yellow);
    color: var(--a7-ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.conseils-hero-link:hover {
    background: #ffe775;
    color: var(--a7-ink);
    transform: translateY(-2px);
}

.conseils-hero-link svg {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 180ms ease;
}

.conseils-hero-link:hover svg {
    transform: translateX(3px);
}

.conseils-hero-art {
    display: grid;
    min-height: 20rem;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(249, 210, 27, 0.1), rgba(24, 54, 46, 0.4));
    box-shadow: var(--a7-shadow);
}

.conseils-hero-art img {
    display: block;
    width: min(100%, 31rem);
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.24));
}

.conseils-library {
    min-height: 50vh;
    padding: clamp(4rem, 7vw, 6rem) 1.25rem;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(83, 142, 91, 0.1), transparent 28rem),
        var(--a7-ink);
}

.conseils-library-inner {
    width: min(100%, 76rem);
    margin-inline: auto;
}

.conseils-heading {
    max-width: 42rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.conseils-heading h2 {
    margin: 0 0 0.85rem;
    color: var(--a7-paper);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.12;
}

.conseils-heading p {
    color: var(--a7-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.conseil-card {
    min-height: 21rem;
    border: 0 !important;
    background: linear-gradient(145deg, rgba(24, 54, 46, 0.96), rgba(13, 33, 28, 0.98)) !important;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.conseil-card:hover {
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 28px rgba(249, 210, 27, 0.07);
    transform: translateY(-5px);
}

.conseil-card .expert-img,
.conseil-modal .expert-img {
    flex: 0 0 auto;
    border: 2px solid var(--a7-yellow);
    padding: 2px;
}

.conseil-card h3 {
    color: var(--a7-paper);
}

.conseil-card .animate-underline::after {
    position: absolute;
    right: 0;
    bottom: -0.4rem;
    left: 0;
    height: 2px;
    content: "";
    background: var(--a7-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.conseil-card:hover .animate-underline::after {
    transform: scaleX(1);
}

.conseils-library .skeleton {
    background: linear-gradient(90deg, #122a24 25%, #24453a 50%, #122a24 75%);
    background-size: 200% 100%;
    animation: conseils-shimmer 1.5s infinite;
}

@keyframes conseils-shimmer {
    to {
        background-position: -200% 0;
    }
}

.conseil-modal-panel {
    border: 0 !important;
    background: linear-gradient(145deg, #18362e, #0d211c) !important;
}

.conseil-modal-panel > div:not(.btn-close-modal) {
    background: transparent !important;
}

.conseils-footer .conseils-footer-inner {
    display: grid;
    width: min(100%, 76rem);
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.9rem 2rem;
    margin-inline: auto;
    padding: 2rem 1.25rem;
}

.conseils-footer-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.75rem;
    color: var(--a7-paper);
    font-weight: 800;
    text-decoration: none;
}

.conseils-footer-brand img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
}

.conseils-footer p {
    margin: 0;
    color: var(--a7-muted);
    font-size: 0.9rem;
}

.conseils-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.conseils-footer-copyright {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid var(--a7-line);
    color: var(--a7-muted);
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .conseils-hero-inner {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .conseils-hero-art {
        min-height: 0;
    }

    .conseils-library {
        padding-inline: 1rem;
    }

    .conseils-footer .conseils-footer-inner {
        grid-template-columns: 1fr;
    }

    .conseils-footer-links {
        justify-content: flex-start;
    }
}

.page-navigation:not([hidden]) {
    position: fixed;
    z-index: 45;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.page-navigation a,
.page-navigation button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
    cursor: pointer;
}

.page-navigation svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.page-navigation a:hover,
.page-navigation button:hover {
    transform: translateY(-2px);
}

.page-navigation-home {
    background: var(--a7-yellow);
    color: var(--a7-ink);
}

.page-navigation-home:hover {
    background: #ffe775;
    color: var(--a7-ink);
}

.page-navigation-back {
    background: var(--a7-panel-raised);
    color: var(--a7-paper);
}

.page-navigation-back:hover {
    background: var(--a7-panel);
    color: var(--a7-yellow);
}

.partners-section {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 1.25rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(249, 210, 27, 0.08), transparent 34rem),
        linear-gradient(180deg, rgba(13, 33, 28, 0.28), rgba(8, 23, 20, 0.72));
}

.partners-inner {
    width: min(100%, 76rem);
    margin-inline: auto;
    text-align: center;
}

.partners-heading {
    max-width: 42rem;
    margin: 0 auto 2.75rem;
}

.partners-heading h2 {
    margin: 0 0 0.85rem;
    color: var(--a7-paper);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.partners-heading p {
    color: var(--a7-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.partners-viewport {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: partners-marquee 36s linear infinite;
    will-change: transform;
}

.partners-viewport:hover .partners-track,
.partners-viewport:focus-within .partners-track {
    animation-play-state: paused;
}

.partners-group {
    display: grid;
    grid-auto-columns: clamp(13rem, 18vw, 16rem);
    grid-auto-flow: column;
    gap: 1rem;
    padding-right: 1rem;
    flex: 0 0 auto;
}

.partner-card {
    display: flex;
    min-width: 0;
    width: 100%;
    min-height: 14rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 0 !important;
    background: rgba(18, 42, 36, 0.64) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
    transition: transform 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.partner-card:hover {
    background: rgba(24, 54, 46, 0.9) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24), 0 0 26px rgba(249, 210, 27, 0.08);
    transform: translateY(-5px);
}

.partner-logo-wrap {
    display: grid;
    width: 100%;
    min-height: 8rem;
    place-items: center;
    padding: 0.75rem;
    border-radius: 0.9rem;
    background: #fff;
}

.partner-logo-wrap img {
    display: block;
    width: 100%;
    max-width: 11rem;
    height: 6.5rem;
    object-fit: contain;
}

.partner-card h3 {
    margin: 0;
    color: var(--a7-paper);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.partners-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    background: var(--a7-yellow);
    color: var(--a7-ink);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.partners-contact:hover {
    background: #ffe775;
    color: var(--a7-ink);
    transform: translateY(-2px);
}

.partners-contact svg {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 180ms ease;
}

.partners-contact:hover svg {
    transform: translateX(3px);
}

@keyframes partners-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .page-navigation:not([hidden]) {
        bottom: 0.75rem;
        left: 0.75rem;
    }

    .page-navigation a,
    .page-navigation button {
        min-height: 2.6rem;
        padding-inline: 0.85rem;
    }
}

@media (max-width: 560px) {
    .partner-card {
        min-height: 12rem;
        padding: 0.75rem;
    }

    .partner-logo-wrap {
        min-height: 6.5rem;
        padding: 0.5rem;
    }

    .partner-logo-wrap img {
        height: 5.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-viewport {
        overflow-x: auto;
        mask-image: none;
    }

    .partners-track {
        width: 100%;
        animation: none;
        will-change: auto;
    }

    .partners-group {
        grid-auto-columns: minmax(13rem, 1fr);
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
        width: 100%;
        padding: 0;
    }

    .partners-group[aria-hidden="true"] {
        display: none;
    }
}

form.bg-gray-800,
form[class*="rounded"] {
    border: 1px solid var(--a7-line);
    border-radius: var(--a7-radius);
    background: linear-gradient(145deg, rgba(18, 42, 36, 0.96), rgba(13, 33, 28, 0.96)) !important;
    box-shadow: var(--a7-shadow);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
    border-color: rgba(229, 239, 220, 0.18) !important;
    border-radius: 0.75rem !important;
    background-color: rgba(8, 23, 20, 0.76) !important;
    color: var(--a7-paper) !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

input::placeholder,
textarea::placeholder {
    color: #91a397;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
select:focus,
textarea:focus {
    border-color: rgba(249, 210, 27, 0.8) !important;
    background-color: #0c211b !important;
    box-shadow: 0 0 0 4px rgba(249, 210, 27, 0.11) !important;
}

button,
a[class*="bg-yellow"],
a[class*="bg-amber"] {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn-animated,
.explore-btn,
.action-btn-yellow,
.btn-publier-yellow,
.btn-save-yellow,
button[class*="bg-yellow"],
a[class*="bg-yellow"],
button[class*="bg-amber"],
a[class*="bg-amber"] {
    border: 1px solid rgba(249, 210, 27, 0.65) !important;
    border-radius: 0.75rem;
    background: var(--a7-yellow) !important;
    color: var(--a7-ink) !important;
    box-shadow: 0 8px 24px rgba(249, 210, 27, 0.16);
}

.btn-animated:hover,
.explore-btn:hover,
.action-btn-yellow:hover,
.btn-publier-yellow:hover,
.btn-save-yellow:hover,
button[class*="bg-yellow"]:hover,
a[class*="bg-yellow"]:hover,
button[class*="bg-amber"]:hover,
a[class*="bg-amber"]:hover {
    border-color: #ffe775 !important;
    background: #ffe775 !important;
    color: var(--a7-ink) !important;
    box-shadow: 0 12px 30px rgba(249, 210, 27, 0.24);
    transform: translateY(-2px);
}

.btn-animated svg,
.explore-btn svg,
.action-btn-yellow svg,
.btn-publier-yellow svg,
.btn-save-yellow svg {
    color: currentColor !important;
}

footer.bg-gray-800 {
    border-top: 1px solid var(--a7-line);
    background: #07120f !important;
}

footer.bg-gray-800 > div {
    padding-top: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

footer.bg-gray-800 h2 {
    margin-bottom: 1rem;
    color: var(--a7-paper);
    letter-spacing: 0.08em;
}

footer.bg-gray-800 li,
footer.bg-gray-800 span {
    color: var(--a7-muted);
}

footer a {
    color: var(--a7-yellow);
    overflow-wrap: anywhere;
}

#cookie-banner {
    border-color: rgba(249, 210, 27, 0.25);
    box-shadow: var(--a7-shadow);
}

#cookie-banner button {
    border-radius: 999px;
}

#logo-sidebar {
    border-color: var(--a7-line) !important;
    background: #0b1d18 !important;
    box-shadow: 16px 0 48px rgba(0, 0, 0, 0.16);
}

#logo-sidebar > div,
#logo-sidebar ul {
    background: transparent !important;
}

#logo-sidebar a {
    border: 1px solid transparent;
    color: #dbe6dc !important;
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

#logo-sidebar a:hover {
    border-color: rgba(249, 210, 27, 0.16);
    background: rgba(249, 210, 27, 0.08) !important;
    color: var(--a7-yellow) !important;
    transform: translateX(3px);
}

#logo-sidebar a svg {
    color: var(--a7-yellow) !important;
}

nav.fixed.w-full:has(+ aside#logo-sidebar) {
    background: rgba(11, 29, 24, 0.94) !important;
}

[class~="sm:ml-64"],
[class~="md:ml-64"],
[class~="ml-64"] {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(83, 142, 91, 0.1), transparent 34rem),
        var(--a7-ink);
}

[class~="sm:ml-64"] h1,
[class~="sm:ml-64"] h2,
[class~="ml-64"] h1,
[class~="ml-64"] h2 {
    letter-spacing: -0.035em;
}

[class~="sm:ml-64"] .bg-white,
[class~="ml-64"] .bg-white {
    border: 1px solid var(--a7-line);
    border-radius: var(--a7-radius);
    background: var(--a7-panel) !important;
    color: var(--a7-paper) !important;
}

[class~="sm:ml-64"] .bg-gray-50,
[class~="ml-64"] .bg-gray-50 {
    background: var(--a7-deep) !important;
}

[class~="sm:ml-64"] table,
[class~="ml-64"] table {
    overflow: hidden;
    border: 1px solid var(--a7-line);
    border-radius: 1rem;
}

[class~="sm:ml-64"] th,
[class~="ml-64"] th {
    background: var(--a7-panel-raised);
    color: var(--a7-yellow);
}

[class~="sm:ml-64"] td,
[class~="ml-64"] td {
    border-color: var(--a7-line) !important;
}

.login-section {
    background:
        radial-gradient(ellipse at 18% 22%, rgba(249, 210, 27, 0.12), transparent 25rem),
        radial-gradient(ellipse at 82% 78%, rgba(59, 130, 106, 0.18), transparent 30rem),
        var(--a7-ink) !important;
}

.login-card {
    border-color: rgba(249, 210, 27, 0.2) !important;
    border-radius: 1.75rem !important;
    background: rgba(18, 42, 36, 0.82) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 60px rgba(249, 210, 27, 0.035) !important;
}

.login-card input {
    background: rgba(8, 23, 20, 0.82) !important;
}

nav:has(#navbar-sticky) {
    z-index: 40;
}

nav:has(#navbar-sticky) > div {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
}

nav:has(#navbar-sticky) > div > a:first-child {
    order: 0;
    flex: 0 0 auto;
}

nav:has(#navbar-sticky) > div > div:has(> a[href*="login"]) {
    order: 2;
    flex: 0 0 auto;
}

.motion-progress {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--a7-yellow), var(--a7-orange));
    box-shadow: 0 0 18px rgba(249, 210, 27, 0.42);
}

.motion-ready [data-motion] {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.25, 1), transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.motion-ready [data-motion].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready #missionsContainer > div.grid > div:nth-child(3n + 2) {
    transition-delay: 90ms;
}

.motion-ready #missionsContainer > div.grid > div:nth-child(3n) {
    transition-delay: 180ms;
}

nav.fixed.w-full .nav-link.bg-yellow-300,
nav.fixed.w-full .nav-link.text-white,
nav.fixed.w-full .nav-link[class*="bg-yellow"] {
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--a7-yellow) !important;
}

@media (min-width: 1024px) {
    nav:has(#navbar-sticky) > div {
        flex-wrap: nowrap !important;
    }

    #navbar-sticky {
        display: flex !important;
        position: static;
        order: 1;
        flex: 1 1 0%;
        justify-content: center;
        width: auto !important;
        min-width: 0;
        border: 0;
        background: transparent;
    }

    #navbar-sticky ul {
        display: flex !important;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: clamp(0.35rem, 0.75vw, 0.7rem);
        margin: 0 !important;
        padding: 0 !important;
    }

    #navbar-sticky li {
        display: block;
        flex: 0 0 auto;
    }

    #navbar-sticky .nav-link {
        padding: 0.55rem 0.15rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    nav:has(#navbar-sticky) > div > div:has(> a[href*="login"]) a {
        white-space: nowrap;
    }

    #menu-toggle {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    nav.fixed.w-full {
        background: var(--a7-nav-bg) !important;
    }

    nav:has(#navbar-sticky) > div {
        flex-wrap: nowrap !important;
    }

    #navbar-sticky {
        display: none !important;
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 1rem;
        left: 1rem;
        order: 3;
        width: auto !important;
        padding: 0.75rem;
        border: 1px solid var(--a7-line);
        border-radius: 1rem;
        background: var(--a7-deep);
        box-shadow: var(--a7-shadow);
    }

    #navbar-sticky:not(.hidden) {
        padding: 0.75rem;
        display: block !important;
    }

    nav:has(#navbar-sticky):not(:has(#menu-toggle)) > div {
        gap: 0.5rem;
    }

    nav:has(#navbar-sticky):not(:has(#menu-toggle)) #navbar-sticky {
        display: flex !important;
        position: static;
        flex: 1 1 auto;
        justify-content: center;
        width: auto !important;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    nav:has(#navbar-sticky):not(:has(#menu-toggle)) #navbar-sticky ul {
        flex-direction: row;
    }

    nav:has(#navbar-sticky):not(:has(#menu-toggle)) #navbar-sticky .nav-link {
        padding: 0.5rem 0.25rem;
        font-size: 0.78rem;
    }

    #navbar-sticky ul {
        display: flex !important;
        flex-direction: column;
        gap: 0.15rem;
        margin: 0 !important;
        padding: 0 !important;
    }

    #navbar-sticky li {
        display: block;
    }

    #menu-toggle {
        display: inline-flex !important;
        border: 1px solid var(--a7-line);
        background: var(--a7-panel);
    }

    nav:has(#navbar-sticky) > div > div:has(> a[href*="login"]) {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    #navbar-sticky .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.65rem;
    }

    #navbar-sticky .nav-link::after {
        display: none;
    }

    #missionsContainer > div.grid {
        gap: 1.25rem;
    }

    .home-hero-grid {
        min-height: auto;
    }

    .home-hero-copy {
        max-width: none;
    }

    .home-hero-media > div:first-child {
        height: clamp(17rem, 58vw, 28rem) !important;
    }

    #missionsContainer > .news-grid > div:first-child,
    #actualites > div > .grid > div:first-child {
        grid-column: span 2;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    [class~="sm:ml-64"],
    [class~="ml-64"] {
        padding-top: 5rem;
    }
}

.theme-picker {
    position: fixed;
    z-index: 60;
    top: 5.75rem;
    right: max(1rem, env(safe-area-inset-right));
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

.theme-picker-trigger,
.theme-picker-close {
    display: grid;
    place-items: center;
    border: 1px solid var(--a7-line);
    color: var(--a7-paper);
    cursor: pointer;
}

.theme-picker-trigger {
    width: 3.15rem;
    height: 3.15rem;
    background: linear-gradient(145deg, var(--a7-panel-raised), var(--a7-deep));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), 0 0 24px var(--a7-page-spot);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.theme-picker-trigger:hover,
.theme-picker-trigger[aria-expanded="true"] {
    border-color: var(--a7-yellow);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34), 0 0 28px var(--a7-page-spot);
    transform: translateY(-2px);
}

.theme-picker-trigger svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--a7-yellow);
}

.theme-picker-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: min(21rem, calc(100vw - 2rem));
    padding: 1.15rem;
    border: 1px solid var(--a7-line);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, var(--a7-panel), var(--a7-deep));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.theme-picker-panel[hidden] {
    display: none;
}

.theme-picker-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.theme-picker-kicker {
    margin: 0 0 0.25rem;
    color: var(--a7-yellow);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.theme-picker-heading h2 {
    margin: 0;
    color: var(--a7-paper);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.theme-picker-close {
    width: 2rem;
    height: 2rem;
    flex: none;
    border-radius: 0.7rem;
    background: transparent;
}

.theme-picker-close:hover {
    border-color: var(--a7-yellow);
    color: var(--a7-yellow);
}

.theme-picker-close svg {
    width: 1rem;
    height: 1rem;
}

.theme-picker-description {
    margin: 0.4rem 0 1rem;
    color: var(--a7-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.theme-picker-options {
    display: grid;
    gap: 0.45rem;
}

.theme-option {
    display: flex;
    min-height: 3.65rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.025);
    color: var(--a7-paper);
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.theme-option:hover {
    border-color: var(--a7-line);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

.theme-option[aria-pressed="true"] {
    border-color: color-mix(in srgb, var(--a7-yellow) 48%, transparent);
    background: color-mix(in srgb, var(--a7-yellow) 9%, transparent);
}

.theme-option-swatches {
    display: flex;
    width: 2.55rem;
    height: 2.55rem;
    align-items: center;
    justify-content: center;
    gap: 0.17rem;
    flex: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
}

.theme-option-swatches i {
    width: 0.52rem;
    height: 1.25rem;
    border-radius: 999px;
}

.theme-swatches-foret { background: #0d211c; }
.theme-swatches-foret i:nth-child(1) { background: #18362e; }
.theme-swatches-foret i:nth-child(2) { background: #f9d21b; }
.theme-swatches-foret i:nth-child(3) { background: #f28c28; }
.theme-swatches-ocean { background: #0c2031; }
.theme-swatches-ocean i:nth-child(1) { background: #193b52; }
.theme-swatches-ocean i:nth-child(2) { background: #64e5d1; }
.theme-swatches-ocean i:nth-child(3) { background: #73b9ff; }
.theme-swatches-aurore { background: #29172d; }
.theme-swatches-aurore i:nth-child(1) { background: #4b2a48; }
.theme-swatches-aurore i:nth-child(2) { background: #ff9caf; }
.theme-swatches-aurore i:nth-child(3) { background: #ffc16b; }
.theme-swatches-ambre { background: #2a2116; }
.theme-swatches-ambre i:nth-child(1) { background: #4d3922; }
.theme-swatches-ambre i:nth-child(2) { background: #f6bd60; }
.theme-swatches-ambre i:nth-child(3) { background: #ef8755; }

.theme-option-copy {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
    flex: 1;
}

.theme-option-copy strong {
    font-size: 0.8rem;
    font-weight: 700;
}

.theme-option-copy small {
    color: var(--a7-muted);
    font-size: 0.66rem;
}

.theme-option-check {
    width: 1.1rem;
    height: 1.1rem;
    flex: none;
    color: var(--a7-yellow);
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 160ms ease, transform 160ms ease;
}

.theme-option[aria-pressed="true"] .theme-option-check {
    opacity: 1;
    transform: scale(1);
}

.theme-picker-footnote {
    margin: 0.85rem 0 0;
    color: var(--a7-muted);
    font-size: 0.63rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .theme-picker *,
    .theme-picker *::before,
    .theme-picker *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 639px) {
    .home-hero-grid {
        gap: 1.75rem !important;
        padding-top: 1.75rem !important;
        padding-bottom: 2.25rem !important;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.35rem, 11vw, 3.3rem);
    }

    .home-hero-actions {
        align-items: stretch;
    }

    .home-hero-actions > a {
        justify-content: center;
        width: 100%;
    }

    .actualities-layout > div {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .actualities-filter {
        padding: 1.25rem !important;
    }

    .actualities-filter .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #missionsContainer > .news-grid > div:first-child,
    #actualites > div > .grid > div:first-child {
        grid-column: auto;
        display: flex;
        flex-direction: column;
    }

    #missionsContainer > .news-grid > div:first-child > div:first-child,
    #actualites > div > .grid > div:first-child > img,
    #missionsContainer > .news-grid > div:first-child > div:first-child img {
        height: 13rem;
        min-height: 13rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
