@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('fonts/dm-sans-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
}

:root {
    --color-background: #040f36;
    --color-background-rgb: 4 15 54;
    --color-white: 255 255 255;
    --color-black: 0 0 0;
    --color-gray-100: 243 244 246;
    --color-gray-200: 229 231 235;
    --color-gray-300: 209 213 219;
    --color-gray-400: 180 188 203;
    --color-gray-500: 107 114 128;
    --color-blue-400: 51 145 255;
    --color-blue-500: 27 111 249;
    --color-blue-600: 37 99 235;
    --color-blue-electric: 56 189 248;
    --color-emerald-500: 16 185 129;
    /* Lueurs reprises du trailer Weedev : bleu roi en haut à gauche, bleu-sarcelle en bas à droite. */
    --color-glow-royal: 10 68 178;
    --color-glow-teal: 0 65 116;
    --radius-card: 1.25rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--color-background);
    color: rgb(var(--color-gray-100));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(110px);
}

body::before {
    top: -18rem;
    left: -16rem;
    width: min(52rem, 130vw);
    height: min(52rem, 130vw);
    background-color: rgb(var(--color-glow-royal));
    opacity: .6;
}

body::after {
    right: -16rem;
    bottom: -20rem;
    width: min(44rem, 110vw);
    height: min(44rem, 110vw);
    background-color: rgb(var(--color-glow-teal));
    opacity: .65;
}

.site-halos {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.site-halos::before,
.site-halos::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
}

.site-halos::before {
    background-color: var(--color-background);
    mix-blend-mode: multiply;
    opacity: .5;
}

.site-halos::after,
.contact-section::after {
    background-image:
        linear-gradient(
            to bottom,
            transparent,
            rgb(var(--color-background-rgb) / .45) 72%,
            var(--color-background) 100%
        ),
        radial-gradient(circle at 16% 32%, rgb(var(--color-glow-royal) / .14), transparent 34%),
        radial-gradient(circle at 84% 38%, rgb(var(--color-blue-600) / .1), transparent 30%);
}

.site-halos span {
    position: absolute;
    border-radius: 9999px;
    mix-blend-mode: screen;
    animation: halo-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

.site-halos span:first-child {
    top: 25%;
    left: 25%;
    width: 500px;
    height: 500px;
    background-color: rgb(var(--color-blue-600) / .2);
    filter: blur(120px);
}

.site-halos span:last-child {
    right: 25%;
    bottom: 25%;
    width: 400px;
    height: 400px;
    background-color: rgb(var(--color-blue-500) / .2);
    filter: blur(100px);
}

.site-halos-static {
    background-image:
        radial-gradient(circle 420px at 32% 34%, rgb(var(--color-blue-600) / .13), transparent 70%),
        radial-gradient(circle 340px at 70% 68%, rgb(var(--color-blue-500) / .11), transparent 70%);
}

@keyframes halo-pulse {
    50% {
        opacity: .5;
    }
}

@media (max-width: 767px) {
    body::before,
    body::after,
    .site-halos {
        transform: translateZ(0);
    }

    .site-halos span {
        animation: none;
        opacity: .75;
    }
}

::selection {
    background-color: rgb(var(--color-blue-600) / .3);
    color: rgb(var(--color-white));
}

:focus-visible {
    outline: 2px solid rgb(var(--color-blue-400));
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 60;
    padding: .6rem 1rem;
    border-radius: .6rem;
    background: rgb(var(--color-white));
    color: rgb(var(--color-black));
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1),
        translate .3s ease,
        border-color .25s ease,
        background-color .25s ease,
        box-shadow .3s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-halos span {
        animation: none;
    }

    .btn:not(:disabled):hover,
    .service-card:hover,
    .process-step:hover,
    .hosting-feature:hover {
        translate: none;
    }

    .service-card:hover .service-card-icon,
    .hosting-feature:hover .hosting-icon,
    .price-row:hover .price-row-icon,
    .project-card:hover .project-card-visual img {
        transform: none;
    }
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 1.5rem 0;
    transition: padding .3s ease;
}

.site-nav.is-scrolled {
    padding: 1rem 0;
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .7rem .8rem .7rem 1.4rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: 9999px;
    background-color: rgb(var(--color-background-rgb) / .72);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow:
        0 0 24px rgb(var(--color-blue-600) / .07),
        0 0 35px -10px rgb(0 0 0 / .45);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgb(var(--color-white));
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

.brand img {
    width: 1.9rem;
    height: 1.9rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    color: rgb(var(--color-gray-300));
    font-size: .95rem;
    font-weight: 500;
}

.nav-links a {
    transition: color .2s ease;
}

.nav-links a:hover {
    color: rgb(var(--color-blue-400));
}

.nav-links a[aria-current="page"] {
    color: rgb(var(--color-blue-400));
}

.nav-cta {
    display: none;
    padding: .6rem 1.25rem;
    border: 1px solid rgb(var(--color-white) / .14);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-white));
    font-size: .95rem;
    font-weight: 500;
    transition: background-color .2s ease, border-color .2s ease;
}

.nav-cta:hover {
    border-color: rgb(var(--color-blue-400) / .6);
    background: rgb(var(--color-blue-500) / .14);
}

.nav-toggle {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(var(--color-white));
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: .75rem;
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-background-rgb) / .96);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    padding: .75rem 1rem;
    border-radius: .65rem;
    color: rgb(var(--color-gray-200));
    font-size: 1rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
    background: rgb(var(--color-blue-500) / .2);
    color: rgb(var(--color-blue-400));
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: inherit;
    font: inherit;
    transition: color .2s ease;
}

.nav-dropdown-toggle svg {
    width: 1rem;
    height: 1rem;
    transition: transform .2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:has([aria-current="page"]) .nav-dropdown-toggle {
    color: rgb(var(--color-blue-400));
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1.1rem);
    left: 50%;
    width: 18rem;
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: 1rem;
    background: rgb(var(--color-background-rgb) / .97);
    box-shadow:
        0 0 24px rgb(var(--color-blue-600) / .1),
        0 18px 40px -12px rgb(0 0 0 / .6);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    inset: -1.1rem 0 auto;
    height: 1.1rem;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .nav-dropdown:hover .nav-dropdown-toggle {
        color: rgb(var(--color-blue-400));
    }

    .nav-dropdown:hover .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }
}

.nav-dropdown-menu a {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .7rem .9rem;
    border-radius: .65rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: rgb(var(--color-blue-500) / .14);
}

.nav-dropdown-menu strong {
    color: rgb(var(--color-white));
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-dropdown-menu a:hover strong,
.nav-dropdown-menu a[aria-current="page"] strong {
    color: rgb(var(--color-blue-400));
}

.nav-dropdown-menu span {
    color: rgb(var(--color-gray-400));
    font-size: .8rem;
    font-weight: 400;
}

.nav-dropdown-menu .nav-dropdown-all {
    margin-top: .35rem;
    padding-top: .8rem;
    border-top: 1px solid rgb(var(--color-white) / .08);
    border-radius: 0 0 .65rem .65rem;
    color: rgb(var(--color-blue-400));
    font-size: .85rem;
}

.mobile-menu-label {
    padding: .75rem 1rem .25rem;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mobile-menu a.mobile-menu-sub {
    padding-left: 1.75rem;
}

.mobile-menu a[aria-current="page"] {
    color: rgb(var(--color-blue-400));
}

@media (max-width: 959px) {
    .nav-bar {
        background-color: rgb(var(--color-background-rgb) / .94);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (min-width: 960px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-toggle,
    .mobile-menu {
        display: none;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, translate .2s ease;
}

.btn:not(:disabled):hover {
    translate: 0 -2px;
}

.btn-primary {
    background: linear-gradient(90deg, rgb(var(--color-blue-600)), rgb(var(--color-blue-400)));
    color: rgb(var(--color-white));
}

.btn-primary:hover {
    box-shadow: 0 0 30px -5px rgb(var(--color-blue-500) / .5);
}

.btn-ghost {
    border: 1px solid rgb(var(--color-white) / .1);
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-white));
}

.btn-ghost:hover {
    background: rgb(var(--color-white) / .08);
}

.btn-light {
    border-radius: .75rem;
    background: rgb(var(--color-white));
    color: rgb(var(--color-black));
    font-weight: 600;
}

.btn-light:hover {
    background: rgb(var(--color-gray-200));
}

.btn:disabled {
    cursor: wait;
    opacity: .6;
}

.section {
    position: relative;
    padding: 6rem 0;
}

#services {
    padding: 5rem 0;
}

.section-divider {
    border-top: 1px solid rgb(var(--color-white) / .06);
}

.section-kicker {
    margin-bottom: .8rem;
    color: rgb(var(--color-blue-400));
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-title,
.page-title {
    margin-bottom: 1rem;
    color: rgb(var(--color-white));
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.page-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.section-lead {
    max-width: 42rem;
    color: rgb(var(--color-gray-400));
    font-size: 1.125rem;
    line-height: 1.65;
}

.section-lead + .section-lead {
    margin-top: 1rem;
}

.accent-word {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.34em;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: .9;
    color: rgb(var(--color-blue-500));
    white-space: nowrap;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

/* Grille en perspective au sol, reprise du trailer Weedev (dessinée par script.js). */
.hero-grid {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 42%;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 8rem 0 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    color: rgb(var(--color-blue-400) / .55);
    font-size: .8rem;
    line-height: 1;
    animation: hero-particle-float 9s ease-in-out infinite;
}

.hero-particles span::before {
    content: "✦";
}

.hero-particles span:nth-child(1) { top: 18%; left: 13%; animation-delay: -1.5s; }
.hero-particles span:nth-child(2) { top: 30%; left: 28%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -6s; }
.hero-particles span:nth-child(3) { top: 16%; right: 19%; animation-delay: -4s; }
.hero-particles span:nth-child(4) { top: 42%; right: 10%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -7.5s; }
.hero-particles span:nth-child(5) { top: 58%; left: 8%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -3s; }
.hero-particles span:nth-child(6) { top: 68%; left: 22%; animation-delay: -8s; }
.hero-particles span:nth-child(7) { top: 72%; right: 25%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -5s; }
.hero-particles span:nth-child(8) { top: 50%; right: 38%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -2.5s; }
.hero-particles span:nth-child(9) { top: 25%; left: 43%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -6.5s; }
.hero-particles span:nth-child(10) { top: 82%; left: 58%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -1s; }

@keyframes hero-particle-float {
    0%, 100% {
        opacity: .25;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: .75;
        transform: translate3d(10px, -18px, 0);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 64rem;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 2rem;
    padding: .4rem .9rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-blue-400));
    font-size: .8rem;
    font-weight: 500;
}

.hero-title {
    display: grid;
    place-items: center;
    max-width: 62rem;
    min-height: 1.1em;
    margin: 0 auto 2rem;
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
}

.hero-title-state {
    grid-area: 1 / 1;
    background: linear-gradient(to bottom, rgb(var(--color-white)), rgb(var(--color-white)) 50%, rgb(var(--color-white) / .6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.16, 1, .3, 1),
        filter .65s ease;
}

.hero-title-state-secondary {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
}

.hero.hero-title-alt .hero-title-state-primary {
    opacity: 0;
    transform: translateY(-24px);
    filter: blur(4px);
}

.hero.hero-title-alt .hero-title-state-secondary {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Mouvement réduit : simple fondu entre les deux phrases. */
@media (prefers-reduced-motion: reduce) {
    .hero .hero-title-state,
    .hero.hero-title-alt .hero-title-state {
        transform: none;
        filter: none;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }
}

.hero-lead {
    max-width: 40rem;
    margin: 0 auto 2.75rem;
    color: rgb(var(--color-gray-400));
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 4rem;
    align-items: center;
}

.about-commitments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 2.25rem;
}

.about-commitments li {
    display: flex;
    gap: .85rem;
}

.about-commitments svg {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: .7rem;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-blue-400));
}

.about-commitments strong {
    display: block;
    color: rgb(var(--color-white));
    font-size: .98rem;
    font-weight: 600;
}

.about-commitments span {
    color: rgb(var(--color-gray-400));
    font-size: .88rem;
}

.about-card {
    padding: .5rem 1.75rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-top-color: rgb(var(--color-blue-500) / .35);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.about-stats > div:last-child {
    border-bottom: 0;
}

.about-stats > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.about-stats dd {
    order: -1;
    color: rgb(var(--color-white));
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}

.about-stats dt {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
    text-align: right;
}

.about-stats .stat-star {
    margin-left: .15rem;
    color: rgb(var(--color-blue-400));
    font-size: .55em;
    vertical-align: .45em;
}

/* Bouton « Voir la présentation » sous la section À propos. */
.video-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: .6rem 1.5rem .6rem .6rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-white));
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.video-button:hover {
    border-color: rgb(var(--color-blue-400) / .5);
    background: rgb(var(--color-white) / .08);
}

.video-button:focus-visible {
    outline: 2px solid rgb(var(--color-blue-400));
    outline-offset: 3px;
}

.video-button-icon {
    position: relative;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(var(--color-blue-400)), rgb(var(--color-blue-600)));
    box-shadow: 0 0 24px rgb(var(--color-blue-500) / .45);
    transition: transform .2s ease;
}

/* Halo qui pulse autour du bouton lecture. */
.video-button-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgb(var(--color-blue-400) / .6);
    border-radius: inherit;
    animation: video-button-pulse 2.4s ease-out infinite;
}

.video-button-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    margin-left: .15rem;
}

.video-button:hover .video-button-icon {
    transform: scale(1.06);
}

.video-button-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.video-button-text strong {
    font-size: 1rem;
    font-weight: 600;
}

.video-button-text span {
    color: rgb(var(--color-gray-400));
    font-size: .82rem;
}

@keyframes video-button-pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(1.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-button-icon::after {
        animation: none;
        opacity: 0;
    }
}

/* Grand lecteur vidéo intégré (section À propos) */
.about-video-player {
    margin-top: 4.75rem;
}

.video-player-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgb(var(--color-white) / .14);
    background: #02081f;
    box-shadow:
        0 1.5rem 4rem -1rem rgb(0 0 0 / .6),
        0 0 35px rgb(var(--color-blue-600) / .16);
}

.video-player-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease, transform .4s ease;
}

.video-player-frame:hover .video-player-poster {
    transform: scale(1.015);
}

.video-player-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: rgb(2 8 31 / .28);
    border: 0;
    cursor: pointer;
    transition: background-color .2s ease;
    z-index: 2;
}

.video-player-play:hover {
    background: rgb(2 8 31 / .15);
}

.video-player-play-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(var(--color-blue-500)), rgb(var(--color-blue-600)));
    color: rgb(var(--color-white));
    box-shadow: 0 0 36px rgb(var(--color-blue-500) / .65);
    transition: transform .25s ease, box-shadow .25s ease;
}

.video-player-play-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgb(var(--color-blue-400) / .6);
    border-radius: inherit;
    animation: video-button-pulse 2.4s ease-out infinite;
}

.video-player-play:hover .video-player-play-icon {
    transform: scale(1.08);
    box-shadow: 0 0 45px rgb(var(--color-blue-400) / .85);
}

.video-player-play-icon svg {
    margin-left: .25rem;
}

.video-player-play-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .5rem 1.4rem;
    border-radius: 9999px;
    background: rgb(var(--color-background-rgb) / .8);
    border: 1px solid rgb(var(--color-white) / .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgb(var(--color-white));
    box-shadow: 0 4px 16px rgb(0 0 0 / .4);
}

.video-player-play-text strong {
    font-size: 1.05rem;
    font-weight: 600;
}

.video-player-play-text span {
    font-size: .84rem;
    color: rgb(var(--color-gray-400));
}

.video-player-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: none;
    z-index: 1;
}

.video-player-frame.is-playing .video-player-poster,
.video-player-frame.is-playing .video-player-play {
    display: none !important;
}

.video-player-frame.is-playing .video-player-media {
    display: block !important;
    z-index: 3;
}

/* Bouton principal et bouton vidéo côte à côte en haut des pages service. */
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.page-hero-actions .video-button {
    margin-top: 0;
}

/* Fenêtre vidéo : grande, centrée, le reste du site assombri. */
.video-modal {
    width: min(92vw, calc((100vh - 9rem) * 16 / 9));
    max-width: none;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 1rem;
    background: #000;
    box-shadow: 0 2rem 6rem rgb(0 0 0 / .6), 0 0 0 1px rgb(var(--color-white) / .1);
}

.video-modal::backdrop {
    background: rgb(1 5 20 / .88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.video-modal[open] {
    animation: video-modal-in .3s cubic-bezier(.16, 1, .3, 1);
}

.video-modal video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: inherit;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -3.25rem;
    right: 0;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgb(var(--color-white) / .2);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .08);
    color: rgb(var(--color-white));
    cursor: pointer;
    transition: background-color .2s ease;
}

.video-modal-close:hover {
    background: rgb(var(--color-white) / .18);
}

.video-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

html:has(.video-modal[open]) {
    overflow: hidden;
}

@keyframes video-modal-in {
    from {
        opacity: 0;
        transform: scale(.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-modal[open] {
        animation: none;
    }
}

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

@media (max-width: 1023px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .about-commitments {
        grid-template-columns: 1fr;
    }
}

.case-study {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.case-study-visual {
    overflow: hidden;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
}

.case-study-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.case-study-steps {
    display: grid;
    gap: 1rem;
    margin: 1.75rem 0;
}

.case-study-steps > div {
    padding-left: 1rem;
    border-left: 2px solid rgb(var(--color-blue-500) / .45);
}

.case-study-steps dt {
    color: rgb(var(--color-white));
    font-size: .95rem;
    font-weight: 600;
}

.case-study-steps dd {
    color: rgb(var(--color-gray-400));
    font-size: .92rem;
    line-height: 1.6;
}

.case-study-more {
    margin-top: 1.5rem;
    text-align: center;
    font-size: .92rem;
}

.case-study-more a {
    color: rgb(var(--color-blue-400));
}

.quote-card {
    max-width: 48rem;
    margin: 3rem auto 0;
    padding: 2rem 2.25rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
    text-align: center;
}

.quote-card blockquote {
    color: rgb(var(--color-gray-200));
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
}

.quote-card figcaption {
    margin-top: 1.25rem;
    color: rgb(var(--color-gray-400));
    font-size: .88rem;
}

.quote-card figcaption strong {
    display: block;
    color: rgb(var(--color-white));
    font-weight: 600;
}

.section.pb-0 {
    padding-bottom: 0;
}

@media (max-width: 900px) {
    .case-study {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 560px) {
    .quote-card {
        padding: 1.5rem 1.25rem;
    }
}

.service-card,
.project-card,
.process-step,
.review-card,
.hosting-feature {
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.service-card,
.project-card,
.process-step,
.review-card,
.hosting-feature {
    transition: border-color .25s ease, background-color .25s ease, translate .3s ease, box-shadow .3s ease;
}

.service-card:hover,
.project-card:hover,
.process-step:hover,
.review-card:hover,
.hosting-feature:hover {
    border-color: rgb(var(--color-blue-400) / .35);
    background: rgb(var(--color-white) / .07);
}

.service-card:hover,
.process-step:hover,
.hosting-feature:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 36px -24px rgb(var(--color-blue-500) / .7);
}

.service-card-icon,
.hosting-icon,
.price-row-icon {
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), border-color .25s ease, background-color .25s ease;
}

.service-card:hover .service-card-icon,
.hosting-feature:hover .hosting-icon,
.price-row:hover .price-row-icon {
    transform: scale(1.08) rotate(-4deg);
}

.service-card:hover .service-card-icon {
    border-color: rgb(var(--color-blue-400) / .35);
    background: rgb(var(--color-blue-600) / .12);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
}

.service-card-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-blue-400));
}

.service-card h3 {
    margin-top: auto;
    margin-bottom: .5rem;
    color: rgb(var(--color-white));
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card h3 a {
    text-decoration: underline;
    text-decoration-color: rgb(var(--color-blue-400) / .5);
    text-underline-offset: .25em;
    transition: color .2s ease;
}

.service-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.service-card:hover h3 a,
.service-card h3 a:hover {
    color: rgb(var(--color-blue-400));
}

.service-card p {
    color: rgb(var(--color-gray-400));
    font-size: .95rem;
    line-height: 1.65;
}

.projects-grid,
.process-grid {
    display: grid;
    gap: 1.25rem;
}

.projects-slider {
    position: relative;
}

.projects-grid {
    display: flex;
    overflow-x: auto;
    /* Sans ça, la bande devient aussi défilable en hauteur et la molette coupe le haut des cartes */
    overflow-y: hidden;
    padding: .15rem .1rem .75rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.projects-grid .project-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-grid .project-card {
        flex-basis: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid .project-card {
        flex-basis: 100%;
    }

}

.projects-slider-button {
    position: absolute;
    z-index: 2;
    top: 42%;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgb(var(--color-white) / .2);
    border-radius: 9999px;
    background: rgb(var(--color-background-rgb) / .78);
    box-shadow: 0 .5rem 1.5rem rgb(0 0 0 / .28), inset 0 1px rgb(var(--color-white) / .12);
    color: rgb(var(--color-white));
    cursor: pointer;
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.projects-slider-button:hover {
    border-color: rgb(var(--color-blue-400) / .8);
    background: rgb(var(--color-blue-400));
    box-shadow: 0 .7rem 1.8rem rgb(58 146 255 / .28), inset 0 1px rgb(var(--color-white) / .3);
    color: rgb(var(--color-white));
    transform: translateY(-50%) scale(1.08);
}

.projects-slider-button:active {
    transform: translateY(-50%) scale(.96);
}

.projects-slider-button:focus-visible {
    outline: 2px solid rgb(var(--color-white));
    outline-offset: 4px;
}

.projects-slider-button svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.projects-slider-button-prev {
    left: -.75rem;
}

.projects-slider-button-next {
    right: -.75rem;
}

@media (min-width: 1350px) {
    .projects-slider-button-prev {
        left: -4.25rem;
    }

    .projects-slider-button-next {
        right: -4.25rem;
    }
}

@media (max-width: 600px) {
    .projects-slider-button-prev {
        left: .65rem;
    }

    .projects-slider-button-next {
        right: .65rem;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card-visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.project-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.project-card:hover .project-card-visual img {
    transform: scale(1.04);
}

.project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.project-card-label {
    margin-bottom: .45rem;
    color: rgb(var(--color-blue-400));
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-card-body h3 {
    margin-bottom: .45rem;
    color: rgb(var(--color-white));
    font-size: 1.2rem;
    font-weight: 700;
}

.project-card-body > p:not(.project-card-label) {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
    line-height: 1.6;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: 1rem;
    color: rgb(var(--color-blue-400));
    font-size: .85rem;
    font-weight: 600;
}

.project-card-link:hover {
    color: rgb(var(--color-white));
}

.process-step {
    padding: 1.35rem;
}

.process-step:hover > span {
    color: rgb(var(--color-white));
}

.process-step > span {
    transition: color .25s ease;
    color: rgb(var(--color-blue-400));
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.process-step h3 {
    margin: 1.2rem 0 .45rem;
    color: rgb(var(--color-white));
    font-size: 1.1rem;
    font-weight: 700;
}

.process-step p {
    color: rgb(var(--color-gray-400));
    font-size: .88rem;
    line-height: 1.6;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.5rem;
    margin-top: 1.5rem;
    color: rgb(var(--color-gray-400));
    font-weight: 500;
}

.clients-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.clients-list li::before {
    content: "";
    width: .375rem;
    height: .375rem;
    border-radius: 50%;
    background: rgb(var(--color-blue-500) / .6);
}

.reviews-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: reviews-slide 52s linear infinite;
}

.reviews-slider:hover .reviews-track,
.reviews-slider:focus-within .reviews-track {
    animation-play-state: paused;
}

@keyframes reviews-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - .75rem));
    }
}

.review-card {
    display: flex;
    flex-direction: column;
    width: min(78vw, 31rem);
    min-height: 18rem;
    padding: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        width: 100%;
        flex-wrap: wrap;
        animation: none;
    }

    .hero-particles span {
        animation: none;
    }

    .review-card {
        width: 100%;
        min-height: 0;
    }
}

.review-rating {
    margin-bottom: 1rem;
    color: #f5b942;
    font-size: 1.6rem;
    letter-spacing: .18em;
    line-height: 1;
}

.review-card blockquote {
    flex: 1;
    margin-bottom: 1.75rem;
    color: rgb(var(--color-gray-300));
    font-size: 1.125rem;
    line-height: 1.65;
}

.review-card figcaption {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.review-avatar {
    display: block;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 50%;
    background: rgb(var(--color-white) / .06);
    overflow: hidden;
    box-shadow: 0 .35rem .9rem rgb(0 0 0 / .2);
}

.review-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-tag {
    margin-bottom: 1rem;
    color: rgb(var(--color-blue-400));
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.6rem;
    text-transform: uppercase;
}

.review-card figcaption strong {
    display: block;
    color: rgb(var(--color-white));
    font-weight: 500;
}

.review-card figcaption small {
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
}

.price-list {
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
    transition: background-color .25s ease;
}

.price-row:hover {
    background: rgb(var(--color-white) / .035);
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgb(var(--color-white));
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.price-row-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .75rem;
    background: rgb(var(--color-blue-600) / .12);
    color: rgb(var(--color-blue-400));
}

.price-row-value strong {
    color: rgb(var(--color-blue-400));
    font-size: 1.25rem;
    font-weight: 500;
}

.price-row-value small {
    margin-left: .4rem;
    color: rgb(var(--color-gray-400));
    font-size: .875rem;
}

.hosting-promo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgb(var(--color-blue-500) / .28);
    border-radius: var(--radius-card);
    background: linear-gradient(110deg, rgb(4 6 44 / .95), rgb(var(--color-blue-600) / .18));
}

.hosting-promo-mark {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
}

.hosting-promo-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: .9rem;
    border: 1px solid rgb(var(--color-blue-400) / .35);
    background: rgb(var(--color-blue-500) / .16);
    color: rgb(var(--color-blue-400));
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-\[1\.2fr_\.8fr\] {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    }
}

.hosting-promo-content {
    flex: 1;
    min-width: 0;
}

.hosting-promo-title {
    margin-bottom: .25rem;
    color: rgb(var(--color-white));
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
}

.hosting-promo-text {
    color: rgb(var(--color-gray-300));
    font-size: .95rem;
}

.hosting-promo-link,
.domain-estimate-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: .6rem;
    font-size: .9rem;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hosting-promo-link {
    background: rgb(var(--color-blue-600));
    color: rgb(var(--color-white));
}

.hosting-promo-link:hover {
    background: rgb(var(--color-blue-500));
}

.domain-estimate-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: .75rem 1rem .75rem 1.5rem;
    border: 1px solid rgb(var(--color-white) / .08);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .025);
}

.domain-estimate-cta p {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
}

.domain-estimate-link {
    border: 1px solid rgb(var(--color-blue-500) / .35);
    background: rgb(var(--color-blue-600) / .12);
    color: rgb(var(--color-blue-400));
}

.domain-estimate-link:hover {
    border-color: rgb(var(--color-blue-400) / .65);
    background: rgb(var(--color-blue-500) / .2);
    color: rgb(var(--color-white));
}

@media (max-width: 640px) {
    .price-row {
        padding: 1rem;
    }

    .hosting-promo,
    .domain-estimate-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 1.25rem;
    }

    .hosting-promo-mark {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.contact-section {
    overflow: hidden;
}

.contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-section > div {
    position: relative;
    z-index: 1;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(62rem, 82vw);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(var(--color-blue-500) / .32) 30%,
        rgb(var(--color-white) / .12) 50%,
        rgb(var(--color-blue-500) / .32) 70%,
        transparent
    );
    transform: translateX(-50%);
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.contact-detail {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-gray-200));
    font-size: .9rem;
    font-weight: 500;
    transition: border-color .2s ease, color .2s ease;
}

.contact-detail svg {
    color: rgb(var(--color-blue-400));
}

.contact-detail:hover {
    border-color: rgb(var(--color-blue-400) / .45);
    color: rgb(var(--color-white));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid rgb(var(--color-white) / .11);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .055);
}

.field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.field label {
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: .75rem;
    background-color: rgb(var(--color-white) / .055);
    color: rgb(var(--color-white));
    transition: border-color .2s ease;
}

.field textarea {
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgb(var(--color-gray-400) / .8);
}

.field select,
.simulator-select,
.simulator-small-select {
    color-scheme: dark;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgb(var(--color-blue-500) / .7);
    outline: none;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: rgb(var(--color-gray-400));
    font-size: .78rem;
    line-height: 1.5;
}

.contact-consent input {
    flex: 0 0 auto;
    margin-top: .15rem;
    accent-color: rgb(var(--color-blue-500));
}

.contact-consent a {
    color: rgb(var(--color-blue-400));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form-note {
    margin-top: -.25rem;
    color: rgb(var(--color-gray-400));
    font-size: .82rem;
    text-align: center;
}

.contact-simulation {
    padding: .75rem .95rem;
    border: 1px solid rgb(var(--color-blue-400) / .3);
    border-radius: .75rem;
    background: rgb(var(--color-blue-500) / .07);
}

.contact-simulation-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem .75rem;
}

.contact-simulation-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .6rem;
    min-width: 0;
}

.contact-simulation-title {
    color: rgb(var(--color-blue-400));
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.contact-simulation-inline-totals {
    color: rgb(var(--color-gray-300));
    font-size: .82rem;
}

.contact-simulation-inline-totals strong {
    color: rgb(var(--color-white));
    font-weight: 700;
}

.contact-simulation-sep {
    margin: 0 .15rem;
    color: rgb(var(--color-gray-400));
}

.contact-simulation-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.contact-simulation-remove {
    padding: .2rem .5rem;
    border: 1px solid rgb(var(--color-white) / .14);
    border-radius: .35rem;
    color: rgb(var(--color-gray-400));
    font-size: .72rem;
    transition: border-color .2s ease, color .2s ease;
}

.contact-simulation-remove:hover {
    border-color: rgb(252 165 165 / .5);
    color: rgb(var(--color-white));
}

.contact-simulation-details {
    margin-top: .35rem;
    color: rgb(var(--color-gray-400));
    font-size: .8rem;
}

.contact-simulation-accordion {
    margin-top: .45rem;
    padding-top: .45rem;
    border-top: 1px solid rgb(var(--color-white) / .08);
}

.contact-simulation-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.contact-simulation-summary-line::-webkit-details-marker {
    display: none;
}

.contact-simulation-services-inline {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(var(--color-gray-300));
    font-size: .82rem;
}

.contact-simulation-accordion[open] .contact-simulation-services-inline {
    white-space: normal;
    overflow: visible;
}

.contact-simulation-summary-btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    flex-shrink: 0;
    color: rgb(var(--color-blue-400));
    font-size: .78rem;
    font-weight: 600;
    transition: color .2s ease;
}

.contact-simulation-summary-line:hover .contact-simulation-summary-btn {
    color: rgb(var(--color-white));
}

.contact-simulation-summary-btn svg {
    width: .85rem;
    height: .85rem;
    transition: transform .2s ease;
}

.contact-simulation-accordion[open] .contact-simulation-summary-btn svg {
    transform: rotate(180deg);
}

.contact-simulation-breakdown {
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px dashed rgb(var(--color-white) / .12);
}

.contact-simulation-subhead {
    margin: .5rem 0 .25rem;
    color: rgb(var(--color-blue-400));
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.contact-simulation-subhead:first-child {
    margin-top: 0;
}

.contact-simulation-link {
    color: rgb(var(--color-blue-400));
    font-size: .75rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-simulation-link:hover {
    color: rgb(var(--color-white));
}

.proof-badge {
    display: flex;
    width: fit-content;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .6rem;
    margin-top: 1.5rem;
    padding: .55rem 1rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: .9rem;
    background: rgb(var(--color-white) / .04);
    color: rgb(var(--color-gray-400));
    font-size: .88rem;
}

.proof-badge strong {
    color: rgb(var(--color-white));
    font-weight: 600;
}

.proof-badge-star,
.proof-badge-icon {
    color: rgb(var(--color-blue-400));
}

.proof-badge-icon {
    width: 1rem;
    height: 1rem;
}

.contact-form-status {
    font-size: .875rem;
}

.contact-form-status[data-state="pending"] {
    color: rgb(var(--color-blue-400));
}

.contact-form-status[data-state="success"] {
    color: rgb(110 231 183);
}

.contact-form-status[data-state="error"] {
    color: rgb(252 165 165);
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.25rem;
    }
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgb(var(--color-white) / .06);
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
}

.site-footer a {
    transition: color .2s ease;
}

.site-footer a:hover {
    color: rgb(var(--color-white));
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.site-footer-brand .brand {
    margin-bottom: 1rem;
}

.site-footer-brand p {
    max-width: 18rem;
    line-height: 1.6;
}

.site-footer-contact {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: 1.25rem;
    color: rgb(var(--color-gray-200));
    font-weight: 500;
}

.site-footer-col h2 {
    margin-bottom: 1rem;
    color: rgb(var(--color-blue-400));
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.site-footer-social {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    margin-left: -.4rem;
    color: rgb(var(--color-gray-300));
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
}

.site-footer-social svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-footer-social a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.site-footer-social a:hover {
    color: rgb(var(--color-blue-400));
}

.site-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(var(--color-white) / .06);
    font-size: .8rem;
    line-height: 1.6;
}

.site-footer-bottom a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

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

    .site-footer-brand p {
        max-width: 28rem;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-top: 3rem;
    }

    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

/* Bandeau de consentement : carte vitrée en bas à gauche, dans le style du site. */
.cookie-banner {
    position: fixed;
    z-index: 100;
    bottom: 1.5rem;
    left: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem 1rem;
    width: min(27rem, calc(100% - 2rem));
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: var(--radius-card);
    background: rgb(var(--color-background-rgb) / .86);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .45), inset 0 1px rgb(var(--color-white) / .06);
    color: rgb(var(--color-gray-100));
    animation: cookie-banner-in .5s cubic-bezier(.16, 1, .3, 1);
}

/* Liseré lumineux en haut de la carte. */
.cookie-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--color-blue-400) / .8), transparent);
}

.cookie-banner-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgb(var(--color-blue-400)), rgb(var(--color-blue-600)));
    box-shadow: 0 0 20px rgb(var(--color-blue-500) / .45);
    color: rgb(var(--color-white));
}

.cookie-banner-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.cookie-banner strong {
    display: block;
    margin-top: .1rem;
    color: rgb(var(--color-white));
    font-size: 1rem;
    font-weight: 600;
}

.cookie-banner p {
    margin: .3rem 0 0;
    color: rgb(var(--color-gray-400));
    font-size: .84rem;
    line-height: 1.55;
}

.cookie-banner p a {
    color: rgb(var(--color-blue-400));
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Accepter et Refuser ont volontairement le même style (exigence CNIL). */
.cookie-banner-actions {
    display: flex;
    grid-column: 1 / -1;
    gap: .6rem;
}

.cookie-banner-actions button {
    flex: 1;
    padding: .7rem 1rem;
    border: 1px solid rgb(var(--color-white) / .18);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .07);
    color: rgb(var(--color-white));
    cursor: pointer;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    transition: border-color .2s ease, background-color .2s ease;
}

.cookie-banner-actions button:hover {
    border-color: rgb(var(--color-blue-400) / .7);
    background: rgb(var(--color-white) / .13);
}

.cookie-banner-actions button:focus-visible {
    outline: 2px solid rgb(var(--color-blue-400));
    outline-offset: 2px;
}

@keyframes cookie-banner-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner {
        animation: none;
    }
}

@media (max-width: 560px) {
    .cookie-banner {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        width: auto;
        padding: 1.15rem;
    }
}

.cookie-settings-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgb(var(--color-blue-400));
    cursor: pointer;
    font: inherit;
}

/* Sur la dernière ligne du pied de page, « Gérer les cookies » ressemble au lien UniGency. */
.site-footer-bottom .cookie-settings-link {
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s ease;
}

.site-footer-bottom .cookie-settings-link:hover {
    color: rgb(var(--color-white));
}


.hosting-price-card {
    padding: 2rem;
    border: 1px solid rgb(var(--color-blue-400) / .3);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgb(var(--color-blue-600) / .18), rgb(var(--color-white) / .05));
    transition: border-color .3s ease, box-shadow .3s ease;
}

.hosting-price-card:hover {
    border-color: rgb(var(--color-blue-400) / .55);
    box-shadow: 0 0 50px -20px rgb(var(--color-blue-500) / .6);
}

.hosting-price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .25rem .5rem;
    margin-bottom: 1.5rem;
}

.hosting-price strong {
    white-space: nowrap;
    color: rgb(var(--color-white));
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
}

.hosting-price span {
    margin-bottom: .4rem;
    color: rgb(var(--color-gray-400));
}

.hosting-price-card li {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: rgb(var(--color-gray-300));
    font-size: .9rem;
}

.hosting-check {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    color: rgb(var(--color-blue-electric));
}

.hosting-price-note {
    margin-top: 1rem;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    line-height: 1.5;
}

.hosting-feature {
    padding: 1.5rem;
}

.hosting-feature h3 {
    margin: 1rem 0 .5rem;
    color: rgb(var(--color-white));
    font-size: 1.1rem;
    font-weight: 600;
}

.hosting-feature p {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
    line-height: 1.6;
}

.hosting-icon {
    width: 1.6rem;
    height: 1.6rem;
    color: rgb(var(--color-blue-400));
}

.domain-prices > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.25rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .045);
}

.domain-prices span {
    color: rgb(var(--color-white));
    font-size: 1.3rem;
    font-weight: 700;
}

.domain-prices strong {
    color: rgb(var(--color-blue-400));
    font-size: 1.1rem;
}

.domain-prices small {
    margin-left: .15rem;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 400;
}

.hosting-faq {
    overflow: hidden;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.hosting-faq details {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.hosting-faq details:last-child {
    border-bottom: 0;
}

.hosting-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgb(var(--color-white));
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.hosting-faq summary::-webkit-details-marker {
    display: none;
}

.hosting-faq summary::after {
    content: "+";
    color: rgb(var(--color-blue-400));
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
}

.hosting-faq details[open] summary::after {
    content: "−";
}

.hosting-faq p {
    margin: .8rem 2rem 0 0;
    color: rgb(var(--color-gray-400));
    line-height: 1.7;
}

.simulator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
    gap: 1.5rem;
}

.simulator-card {
    padding: 2rem;
    border: 1px solid rgb(var(--color-white) / .09);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .035);
}

.simulator-card h2 {
    margin: 0 0 1.5rem;
    color: rgb(var(--color-white));
    font-size: 1.35rem;
}

.simulator-label,
.simulator-card legend {
    display: block;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simulator-select,
.simulator-small-select {
    border: 1px solid rgb(var(--color-white) / .14);
    border-radius: .5rem;
    background: var(--color-background);
    color: rgb(var(--color-white));
    padding: .7rem .8rem;
}

.simulator-select {
    width: 100%;
    margin: .6rem 0 1.5rem;
}

.simulator-small-select {
    padding: .35rem .5rem;
    font-size: .8rem;
}

.simulator-card fieldset {
    margin: 0;
    padding: 1.1rem 0 .65rem;
    border: 0;
}

.simulator-card legend {
    width: 100%;
    padding-bottom: .55rem;
    border-bottom: 1px solid rgb(var(--color-white) / .1);
}

.simulator-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .06);
    color: rgb(var(--color-gray-300));
    transition: color .2s ease;
}

.simulator-option:hover {
    color: rgb(var(--color-white));
}

.simulator-card fieldset .simulator-option:last-child {
    border-bottom: 0;
}

.simulator-option > span:first-child,
.simulator-option > label:first-child {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.simulator-option input {
    width: 1rem;
    height: 1rem;
    accent-color: rgb(var(--color-blue-500));
}

.simulator-option strong {
    color: rgb(var(--color-blue-400));
    font-size: .9rem;
    white-space: nowrap;
}

.simulator-option-end {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.simulator-engagement {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .45rem;
    border: 1px solid rgb(var(--color-blue-500) / .25);
    border-radius: .35rem;
    background: rgb(var(--color-blue-500) / .08);
    color: rgb(var(--color-blue-400));
    font-size: .7rem;
}

.simulator-engagement input {
    width: .8rem;
    height: .8rem;
}

.simulator-suboption {
    padding-left: 1.7rem;
}

.simulator-option.is-disabled {
    opacity: .4;
}

.simulator-summary {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.simulator-pdf {
    float: right;
    padding: .35rem .55rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: .4rem;
    color: rgb(var(--color-gray-400));
    font-size: .7rem;
}

.simulator-pdf:hover {
    border-color: rgb(var(--color-blue-400) / .5);
    color: rgb(var(--color-white));
}

.simulator-total-label {
    margin: 1.5rem 0 .7rem;
    color: rgb(var(--color-blue-400));
    font-size: .85rem;
    font-weight: 600;
}

.simulator-total-label.recurring,
.simulator-total.recurring strong {
    color: rgb(var(--color-emerald-500));
}

.simulator-bill-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: .45rem 0;
    color: rgb(var(--color-gray-300));
    font-size: .85rem;
}

.simulator-total {
    display: flex;
    justify-content: space-between;
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px dashed rgb(var(--color-white) / .15);
    font-size: 1rem;
    font-weight: 600;
}

.simulator-total strong {
    color: rgb(var(--color-blue-400));
}

.simulator-empty,
.simulator-note {
    color: rgb(var(--color-gray-400));
    font-size: .8rem;
}

.simulator-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--color-white) / .08);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .simulator-grid {
        grid-template-columns: 1fr;
    }

    .simulator-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .simulator-card {
        padding: 1.25rem;
    }

    .simulator-option {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
        padding: .8rem 0;
    }

    .simulator-option-end {
        padding-left: 1.7rem;
    }
}

.legal-page {
    width: min(54rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 9rem 0 5rem;
}

.legal-content {
    opacity: 1 !important;
    transform: none !important;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1.5rem;
    background: rgb(var(--color-white) / .045);
    color: rgb(var(--color-gray-300));
    line-height: 1.75;
}

.legal-content h1 {
    margin-bottom: .6rem;
    color: rgb(var(--color-white));
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-align: center;
}

.legal-date {
    margin-bottom: 2.5rem;
    color: rgb(var(--color-blue-400));
    font-weight: 600;
    text-align: center;
}

.legal-content h2 {
    margin: 2.25rem 0 1rem;
    padding-left: .85rem;
    border-left: 2px solid rgb(var(--color-blue-500) / .7);
    color: rgb(var(--color-white));
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: .4rem;
}

.legal-content a {
    color: rgb(var(--color-blue-400));
    text-decoration: underline;
    text-underline-offset: .2em;
}

.legal-content strong {
    color: rgb(var(--color-white));
}

/* Page légale étendue avec sommaire interactif (CGV) */
.legal-page-wide {
    width: min(76rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 8.5rem 0 5rem;
}

.legal-header-block {
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
    margin-bottom: 2.75rem;
}

.legal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .95rem;
    border-radius: 9999px;
    background: rgb(var(--color-blue-500) / .15);
    border: 1px solid rgb(var(--color-blue-400) / .35);
    color: rgb(var(--color-blue-400));
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.legal-header-block h1 {
    margin-bottom: .85rem;
    color: rgb(var(--color-white));
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.legal-header-subtitle {
    max-width: 48rem;
    margin: 0 auto;
    color: rgb(var(--color-gray-300));
    font-size: clamp(.95rem, 2vw, 1.05rem);
    line-height: 1.6;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.legal-sidebar {
    opacity: 1 !important;
    transform: none !important;
    position: sticky;
    top: 6rem;
    padding: 1.4rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1.25rem;
    background: rgb(var(--color-white) / .035);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--color-white) / .2) transparent;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.legal-sidebar-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
    color: rgb(var(--color-blue-400));
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.legal-sidebar-summary {
    display: none;
    font-weight: 700;
    cursor: pointer;
    color: rgb(var(--color-white));
    user-select: none;
}

.legal-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-sidebar li {
    margin: 0;
    padding: 0;
}

.legal-sidebar a {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .45rem .65rem;
    border-radius: .5rem;
    color: rgb(var(--color-gray-300));
    font-size: .84rem;
    text-decoration: none;
    line-height: 1.35;
    transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
    color: rgb(var(--color-white));
    background: rgb(var(--color-blue-500) / .16);
    transform: translateX(3px);
}

.legal-sidebar a .sidebar-num {
    color: rgb(var(--color-blue-400));
    font-weight: 700;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.legal-intro-card {
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgb(var(--color-blue-500) / .28);
    border-left: 4px solid rgb(var(--color-blue-400));
    border-radius: .85rem;
    background: rgb(var(--color-blue-500) / .08);
    color: rgb(var(--color-gray-200));
    font-size: .93rem;
    line-height: 1.7;
}

.legal-intro-card strong {
    color: rgb(var(--color-white));
}

.legal-intro-card p {
    margin-bottom: .35rem;
}

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

.legal-section {
    margin-bottom: 2.75rem;
    scroll-margin-top: 6.5rem;
}

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

.legal-section h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0 0 1.1rem;
    padding-left: 0;
    border-left: none;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
    padding-bottom: .75rem;
    color: rgb(var(--color-white));
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
}

.legal-section h2 span.num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: .2rem .55rem;
    border-radius: .5rem;
    background: rgb(var(--color-blue-500) / .18);
    border: 1px solid rgb(var(--color-blue-400) / .35);
    color: rgb(var(--color-blue-400));
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.legal-section h3 {
    margin: 1.5rem 0 .65rem;
    color: rgb(var(--color-white));
    font-size: 1.05rem;
    font-weight: 600;
}

.legal-highlight-box {
    margin: 1.35rem 0;
    padding: 1.1rem 1.35rem;
    border: 1px solid rgb(245 158 11 / .32);
    border-left: 4px solid rgb(245 158 11);
    border-radius: .75rem;
    background: rgb(245 158 11 / .1);
    color: #fef08a;
    font-size: .925rem;
    line-height: 1.65;
}

.legal-highlight-box strong {
    color: #fffbeb;
}

.legal-footer-note {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(var(--color-white) / .1);
    text-align: center;
    font-size: .85rem;
    color: rgb(var(--color-gray-400));
}

@media (max-width: 960px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .legal-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding: 1.15rem;
    }

    .legal-sidebar-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: .25rem 0;
        font-size: .95rem;
        color: rgb(var(--color-blue-400));
    }

    .legal-sidebar-summary::-webkit-details-marker {
        display: none;
    }

    .legal-sidebar-summary::after {
        content: "▼";
        font-size: .75rem;
        transition: transform .2s ease;
    }

    details[open] .legal-sidebar-summary::after {
        transform: rotate(180deg);
    }

    .legal-sidebar-title {
        display: none;
    }
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 9rem 1.5rem 4rem;
    text-align: center;
}
