:root {
    --abyss: #020b10;
    --abyss-soft: #04171f;
    --lagoon: #0a6170;
    --aqua: #6fe8e5;
    --foam: #e9fbf8;
    --sand: #d6bd8a;
    --coral: #ef8b78;
    --ink: #071417;
    --muted: #a9c9cb;
    --line: rgba(153, 234, 229, 0.19);
    --glass: rgba(3, 23, 30, 0.72);
    --paper: rgba(235, 251, 248, 0.96);
    --radius: 28px;
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--abyss);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--foam);
    background:
        radial-gradient(circle at 10% 20%, rgba(21, 135, 148, 0.14), transparent 28rem),
        radial-gradient(circle at 88% 54%, rgba(85, 39, 78, 0.12), transparent 30rem),
        var(--abyss);
    font-family: var(--sans);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image:
        radial-gradient(circle at 8% 88%, rgba(111, 232, 229, 0.14) 0 1px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(111, 232, 229, 0.1) 0 1px, transparent 2px);
    background-size: 110px 110px, 170px 170px;
    content: "";
    opacity: 0.6;
    pointer-events: none;
}

body.is-legal {
    background: var(--abyss-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img,
iframe {
    display: block;
    max-width: 100%;
}

picture {
    display: block;
}

::selection {
    color: var(--ink);
    background: var(--aqua);
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--aqua);
    font-weight: 800;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.is-legal .site-header {
    border-color: var(--line);
    background: rgba(1, 12, 17, 0.84);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.header-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1380px, 100%);
    min-height: 92px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 62px);
}

.header-social {
    display: flex;
    align-items: center;
}

.header-legal-link {
    grid-column: 1;
    justify-self: start;
}

.header-legal-link {
    color: rgba(233, 251, 248, 0.74);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.header-legal-link:hover,
.header-legal-link:focus-visible {
    color: var(--foam);
    outline: none;
}

.header-brand {
    position: absolute;
    left: 50%;
    width: clamp(190px, 23vw, 330px);
    height: auto;
    transform: translateX(-50%);
    transition: width 220ms ease, filter 220ms ease;
}

.header-brand picture {
    width: 100%;
    height: auto;
}

.header-brand img {
    width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
}

.site-header.is-scrolled .header-brand,
.is-legal .header-brand {
    width: clamp(172px, 19vw, 270px);
}

.header-social {
    z-index: 1;
    grid-column: 3;
    justify-self: end;
    gap: 8px;
}

.header-actions {
    z-index: 1;
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 13px;
}

.header-actions .header-social {
    grid-column: auto;
    justify-self: auto;
}

.header-store-badges {
    display: flex;
    align-items: center;
}

.store-badge {
    position: relative;
    display: inline-flex;
    border-radius: 7px;
}

.store-badge[hidden] {
    display: none;
}

.store-badge img {
    width: auto;
    height: 40px;
}

.store-badge:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 4px;
}

.store-badge.is-disabled {
    cursor: not-allowed;
}

.store-badge.is-disabled img {
    filter: grayscale(1);
    opacity: 0.42;
}

.store-badge.is-disabled::after {
    position: absolute;
    top: calc(100% + 11px);
    left: 50%;
    padding: 7px 11px;
    border: 1px solid rgba(153, 234, 229, 0.28);
    border-radius: 9px;
    color: var(--foam);
    background: rgba(1, 12, 17, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
    content: "Bientôt disponible";
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.store-badge.is-disabled:hover::after,
.store-badge.is-disabled:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.mini-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(225, 250, 247, 0.27);
    border-radius: 50%;
    color: var(--foam);
    background: rgba(1, 19, 25, 0.34);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mini-social:hover,
.mini-social:focus-visible {
    border-color: var(--aqua);
    background: rgba(12, 105, 117, 0.72);
    outline: none;
    transform: translateY(-3px);
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-veil,
.hero-rays {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
    animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-media picture {
    width: 100%;
    height: 100%;
}

.hero-veil {
    background:
        linear-gradient(90deg, rgba(0, 9, 14, 0.77) 0%, rgba(0, 9, 14, 0.26) 46%, rgba(0, 9, 14, 0.14) 75%),
        linear-gradient(180deg, rgba(0, 8, 12, 0.26) 0%, transparent 35%, rgba(0, 8, 12, 0.28) 70%, var(--abyss) 100%);
}

.hero-rays {
    z-index: 1;
    background:
        linear-gradient(112deg, transparent 15%, rgba(151, 241, 242, 0.055) 22%, transparent 33%),
        linear-gradient(105deg, transparent 58%, rgba(151, 241, 242, 0.045) 66%, transparent 73%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    align-self: end;
    width: min(1380px, 100%);
    margin: 0 auto;
    padding: 170px clamp(22px, 7vw, 110px) clamp(92px, 13vh, 150px);
}

.kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: var(--aqua);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.kicker::before {
    width: 38px;
    height: 1px;
    background: currentColor;
    content: "";
}

.hero h1,
.section-title,
.feature-card h3,
.legal-hero h1,
.legal-document h2,
.legal-document h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.045em;
}

.hero h1 {
    max-width: 11ch;
    margin: 0 0 24px;
    font-size: clamp(3.25rem, 7.9vw, 8.3rem);
    line-height: 0.87;
    text-wrap: balance;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.72);
}

.hero-intro {
    max-width: 620px;
    margin: 0 0 34px;
    color: #d2e8e7;
    font-size: clamp(1.02rem, 1.7vw, 1.28rem);
}

.hero-download {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
}

.hero-download__label {
    color: rgba(233, 251, 248, 0.76);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-download__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-download .store-badge img {
    height: 44px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 23px;
    border: 1px solid var(--aqua);
    border-radius: 999px;
    color: var(--ink);
    background: var(--aqua);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(48, 206, 202, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: #a4f6f2;
    box-shadow: 0 16px 40px rgba(48, 206, 202, 0.3);
    outline: none;
    transform: translateY(-3px);
}

.button--ghost {
    border-color: rgba(231, 251, 248, 0.38);
    color: var(--foam);
    background: rgba(1, 20, 26, 0.42);
    box-shadow: none;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: var(--foam);
    color: var(--foam);
    background: rgba(6, 51, 60, 0.74);
}

.hero-depth {
    position: absolute;
    z-index: 3;
    right: clamp(22px, 4vw, 60px);
    bottom: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(231, 251, 248, 0.7);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero-depth::after {
    width: 1px;
    height: 58px;
    background: linear-gradient(var(--aqua), transparent);
    content: "";
}

.section {
    position: relative;
    padding: clamp(82px, 11vw, 160px) clamp(20px, 6vw, 92px);
}

.shell {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
    gap: clamp(30px, 8vw, 110px);
    align-items: end;
    margin-bottom: clamp(42px, 7vw, 80px);
}

.section-title {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(2.6rem, 5.7vw, 5.7rem);
    line-height: 0.98;
    text-wrap: balance;
}

.section-lead {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.65vw, 1.2rem);
}

.world-intro {
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 44%, rgba(21, 128, 139, 0.19), transparent 30rem),
        linear-gradient(180deg, var(--abyss), #03141b 64%, var(--abyss));
}

.world-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(38px, 8vw, 105px);
    align-items: center;
}

.portrait-frame {
    position: relative;
    overflow: hidden;
    min-height: min(72vw, 690px);
    border: 1px solid var(--line);
    border-radius: 48% 48% 24px 24px;
    box-shadow: var(--shadow);
}

.portrait-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(1, 11, 15, 0.62));
    content: "";
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 800ms ease;
}

.portrait-frame picture {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.portrait-frame:hover img {
    transform: scale(1.025);
}

.world-copy .section-title {
    margin-bottom: 28px;
}

.world-copy > p:not(.kicker) {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.story-quote {
    margin: 34px 0 0;
    padding: 24px 0 0 26px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    color: var(--foam);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.28;
}

.experience {
    background:
        radial-gradient(circle at 90% 10%, rgba(149, 73, 94, 0.12), transparent 28rem),
        var(--abyss);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 34px);
}

.feature-card {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card > picture,
.feature-card > picture img {
    position: absolute;
    inset: 0;
}

.feature-card > picture,
.feature-card > picture img {
    width: 100%;
    height: 100%;
}

.feature-card > picture img {
    object-fit: cover;
    transition: transform 800ms ease;
}

.feature-card:hover > picture img {
    transform: scale(1.035);
}

.feature-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(2, 10, 14, 0.25) 48%, rgba(1, 10, 14, 0.95) 100%);
    content: "";
}

.feature-card__copy {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(26px, 5vw, 50px);
}

.feature-number {
    color: var(--aqua);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.feature-card h3 {
    margin: 10px 0 14px;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 0.95;
}

.feature-card p {
    max-width: 560px;
    margin: 0;
    color: #bed6d6;
}

.strategy-strip {
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #04171f;
}

.strategy-strip::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 64, 72, 0.45), rgba(4, 23, 31, 0.68));
    content: "";
    pointer-events: none;
}

.strategy-strip__media,
.strategy-strip__media picture,
.strategy-strip__media img {
    position: absolute;
    inset: 0;
}

.strategy-strip__media {
    z-index: 0;
}

.strategy-strip__media picture,
.strategy-strip__media img {
    width: 100%;
    height: 100%;
}

.strategy-strip__media img {
    object-fit: cover;
}

.strategy-strip__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
    gap: clamp(34px, 8vw, 100px);
    align-items: center;
    min-height: 500px;
}

.strategy-copy {
    padding: clamp(28px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(1, 17, 23, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.strategy-copy .section-title {
    margin-bottom: 22px;
}

.strategy-copy > p:not(.kicker) {
    color: var(--muted);
}

.strategy-points {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.strategy-points li {
    padding: 15px 18px;
    border: 1px solid rgba(153, 234, 229, 0.18);
    border-radius: 16px;
    color: var(--foam);
    background: rgba(1, 20, 27, 0.7);
    font-weight: 760;
}

.strategy-points li::before {
    margin-right: 12px;
    color: var(--aqua);
    content: "✦";
}

.gallery-section {
    background: linear-gradient(180deg, var(--abyss), #04171e, var(--abyss));
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(2, minmax(260px, 410px));
    gap: 16px;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #051a22;
}

.showcase-item:first-child {
    grid-row: 1 / 3;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 400ms ease, transform 750ms ease;
}

.showcase-item picture {
    width: 100%;
    height: 100%;
}

.showcase-item:hover img {
    filter: saturate(1.08) brightness(1.04);
    transform: scale(1.025);
}

.showcase-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 15px;
    border: 1px solid rgba(225, 250, 247, 0.18);
    border-radius: 14px;
    color: var(--foam);
    background: rgba(1, 14, 19, 0.74);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.showcase-caption span:last-child {
    color: var(--aqua);
}

.trailer-section {
    overflow: hidden;
}

.video-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #011015;
    box-shadow: var(--shadow);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms ease, filter 300ms ease;
}

.video-card > picture {
    width: 100%;
    height: 100%;
}

.video-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 10, 14, 0.08), rgba(0, 10, 14, 0.45));
    content: "";
    pointer-events: none;
}

.video-card:hover img {
    filter: saturate(1.08);
    transform: scale(1.02);
}

.video-card iframe {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: clamp(74px, 10vw, 118px);
    height: clamp(74px, 10vw, 118px);
    border: 1px solid rgba(233, 251, 248, 0.6);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(111, 232, 229, 0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 200ms ease, background-color 200ms ease;
}

.video-play::before {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 19px solid currentColor;
    content: "";
}

.video-play:hover,
.video-play:focus-visible {
    background: var(--foam);
    outline: none;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-notice {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 20px;
    left: 22px;
    margin: 0;
    color: rgba(233, 251, 248, 0.76);
    font-size: 0.76rem;
    text-align: center;
}

.social-section {
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% -10%, rgba(39, 154, 164, 0.29), transparent 34rem),
        #03141a;
    text-align: center;
}

.social-section .section-title,
.social-section .section-lead {
    margin-right: auto;
    margin-left: auto;
}

.social-kicker {
    justify-content: center;
}

.social-section .section-lead {
    margin-top: 22px;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 44px;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--foam);
    background: rgba(2, 25, 33, 0.72);
    font-weight: 850;
    text-align: left;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.social-card small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.social-card::after {
    color: var(--aqua);
    font-size: 1.35rem;
    content: "↗";
}

.social-card:hover,
.social-card:focus-visible {
    border-color: rgba(111, 232, 229, 0.6);
    background: rgba(8, 64, 74, 0.74);
    outline: none;
    transform: translateY(-5px);
}

.site-footer {
    padding: 58px clamp(20px, 6vw, 90px) 32px;
    border-top: 1px solid var(--line);
    background: #01090d;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: clamp(32px, 7vw, 90px);
    padding-bottom: 44px;
}

.footer-brand img {
    width: min(330px, 100%);
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
}

.footer-column h2 {
    margin: 4px 0 16px;
    color: var(--foam);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-column ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a,
.cookie-manage {
    color: var(--muted);
    transition: color 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.cookie-manage:hover,
.cookie-manage:focus-visible {
    color: var(--foam);
    outline: none;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(153, 234, 229, 0.13);
    color: #8cafb1;
    font-size: 0.78rem;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
}

.footer-rights {
    display: grid;
    gap: 5px;
}

.griffure-signature {
    flex: 0 0 auto;
    width: 112px;
    transform: rotate(-2deg);
    transition: opacity 180ms ease, transform 180ms ease;
}

.griffure-signature img {
    width: 100%;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.34));
}

.griffure-signature:hover,
.griffure-signature:focus-visible {
    opacity: 0.82;
    outline: none;
    transform: rotate(0deg) translateY(-2px);
}

.cookie-manage {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-banner {
    position: fixed;
    z-index: 90;
    right: clamp(14px, 2.5vw, 34px);
    bottom: clamp(14px, 2.5vw, 34px);
    width: min(470px, calc(100% - 28px));
    padding: 22px;
    border: 1px solid rgba(142, 232, 227, 0.3);
    border-radius: 20px;
    color: var(--foam);
    background: rgba(2, 18, 25, 0.94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner strong {
    display: block;
    margin-bottom: 5px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.consent-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px;
}

.consent-actions a {
    grid-column: 1 / -1;
    color: var(--aqua);
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-choice {
    min-height: 43px;
    border: 1px solid rgba(233, 251, 248, 0.34);
    border-radius: 999px;
    color: var(--foam);
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.consent-choice:hover,
.consent-choice:focus-visible {
    border-color: var(--aqua);
    background: rgba(20, 109, 117, 0.55);
    outline: none;
}

/* Pages juridiques */
.legal-hero {
    position: relative;
    min-height: 520px;
    padding: 190px 20px 90px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(1, 12, 17, 0.94), rgba(1, 12, 17, 0.62)),
        url("../images/background-ego-fabula-1920.jpg") center 38% / cover;
    background-image:
        linear-gradient(90deg, rgba(1, 12, 17, 0.94), rgba(1, 12, 17, 0.62)),
        image-set(
            url("../images/background-ego-fabula-1920.avif") type("image/avif"),
            url("../images/background-ego-fabula-1920.webp") type("image/webp"),
            url("../images/background-ego-fabula-1920.jpg") type("image/jpeg")
        );
}

.legal-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--abyss-soft));
    content: "";
}

.legal-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.legal-hero h1 {
    max-width: 12ch;
    margin: 0 0 18px;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    line-height: 0.92;
}

.legal-hero--long-title h1 {
    max-width: 18ch;
    font-size: clamp(2.65rem, 5.2vw, 5.2rem);
}

.legal-hero__lead {
    max-width: 720px;
    margin: 0;
    color: #c6dddd;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
}

.legal-meta span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(3, 29, 37, 0.62);
    font-size: 0.74rem;
    font-weight: 760;
}

.legal-section {
    padding: clamp(64px, 9vw, 120px) 20px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: clamp(34px, 7vw, 90px);
    width: min(1120px, 100%);
    margin: 0 auto;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - 142px);
    padding: 18px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(2, 20, 27, 0.7);
    scrollbar-color: rgba(111, 232, 229, 0.42) transparent;
    scrollbar-width: thin;
}

.legal-nav strong {
    margin-bottom: 9px;
    color: var(--foam);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-nav a {
    padding: 7px 9px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.35;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
    color: var(--foam);
    background: rgba(30, 113, 121, 0.32);
    outline: none;
}

.legal-document {
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(160, 232, 227, 0.2);
    border-radius: 26px;
    color: #183033;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.legal-document h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2.2rem, 4.8vw, 4.2rem);
    line-height: 1;
}

.legal-intro {
    margin: 0 0 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(7, 42, 47, 0.15);
    color: #34585b;
    font-size: 1.06rem;
}

.legal-block {
    scroll-margin-top: 130px;
    padding: 30px 0;
    border-top: 1px solid rgba(7, 42, 47, 0.13);
}

.legal-block:first-of-type {
    border-top: 0;
}

.legal-document h3 {
    margin: 0 0 16px;
    color: #08272b;
    font-size: clamp(1.55rem, 2.7vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.legal-document h4 {
    margin: 24px 0 8px;
    color: #0a4349;
    font-size: 1rem;
}

.legal-document p {
    margin: 0 0 14px;
}

.legal-document p:last-child {
    margin-bottom: 0;
}

.legal-document a {
    color: #075b65;
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-list {
    display: grid;
    gap: 8px;
    margin: 15px 0;
    padding-left: 22px;
}

.legal-details {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
}

.legal-details div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(7, 42, 47, 0.1);
}

.legal-details dt {
    color: #0b4f56;
    font-weight: 850;
}

.legal-details dd {
    margin: 0;
}

.privacy-highlight {
    margin: 22px 0;
    padding: 20px;
    border-left: 3px solid #0d8994;
    border-radius: 0 14px 14px 0;
    color: #123b40;
    background: rgba(18, 145, 153, 0.09);
}

@keyframes hero-drift {
    from { transform: scale(1.01); }
    to { transform: scale(1.045); }
}

@media (max-width: 960px) {
    .section-heading,
    .world-grid,
    .strategy-strip__inner {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: start;
    }

    .portrait-frame {
        min-height: 620px;
    }

    .feature-card {
        min-height: 560px;
    }

    .strategy-strip {
        background-attachment: scroll;
    }

    .strategy-strip__inner {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
    }

    .legal-nav strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 78px;
        padding: 0 14px;
    }

    .header-brand,
    .site-header.is-scrolled .header-brand,
    .is-legal .header-brand {
        width: 128px;
    }

    .header-social .mini-social:not(:first-child) {
        display: inline-flex;
    }

    .header-social {
        gap: 4px;
    }

    .header-actions .header-social {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .store-badge img {
        height: 35px;
    }

    .mini-social {
        width: 30px;
        height: 30px;
        font-size: 0.54rem;
    }

    .hero {
        display: block;
        min-height: 0;
        background: var(--abyss);
    }

    .hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
        margin-top: 78px;
    }

    .hero-media img {
        object-position: center center;
    }

    .hero-veil {
        background: linear-gradient(180deg, rgba(0, 9, 14, 0.08) 0%, rgba(0, 9, 14, 0.18) 35%, rgba(0, 9, 14, 0.56) 72%, var(--abyss) 100%);
    }

    .hero-content {
        align-self: auto;
        padding: 34px 22px 78px;
        background: var(--abyss);
    }

    .hero h1 {
        font-size: clamp(3.25rem, 17vw, 5.2rem);
    }

    .hero-download__badges {
        gap: 8px;
    }

    .hero-download .store-badge img {
        height: 40px;
    }

    .hero-depth {
        display: none;
    }

    .feature-grid,
    .social-cards {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 550px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, minmax(260px, 62vw));
    }

    .showcase-item:first-child {
        grid-row: auto;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-hero {
        min-height: 470px;
        padding-top: 150px;
    }

    .legal-nav {
        grid-template-columns: 1fr;
    }

    .legal-details div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 360px) {
    .header-inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header-brand,
    .site-header.is-scrolled .header-brand,
    .is-legal .header-brand {
        width: 106px;
    }

    .mini-social {
        width: 28px;
        height: 28px;
        font-size: 0.5rem;
    }

    .header-legal-link {
        width: 34px;
        overflow: hidden;
        font-size: 0;
        white-space: nowrap;
    }

    .header-legal-link::before {
        font-size: 1rem;
        content: "←";
    }
}

@media (max-width: 480px) {
    .button-row {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .portrait-frame {
        min-height: 520px;
        border-radius: 42% 42% 20px 20px;
    }

    .feature-card {
        min-height: 510px;
    }

    .strategy-copy,
    .legal-document {
        border-radius: 20px;
    }

    .consent-banner {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
