
/* =====================================================
   SKYPOKE — DESIGN COMPLET
   Bleu nuit / Bleu / Jaune
   ===================================================== */

:root {
    --background: #0b1428;
    --background-soft: #101d36;
    --surface: #142442;
    --surface-light: #1b3153;

    --blue: #3478dc;
    --blue-bright: #5b9cff;
    --yellow: #ffd43b;
    --yellow-light: #ffe477;

    --white: #f7f9ff;
    --text: #aebbd1;
    --muted: #7586a3;

    --border: rgba(144, 177, 224, .15);
    --border-yellow: rgba(255, 212, 59, .28);

    --container: 1160px;
    --radius: 18px;
    --transition: .25s ease;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

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

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

::selection {
    background: var(--yellow);
    color: var(--background);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 10px;
}

/* HEADER */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 82px;
    background: rgba(11, 20, 40, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.brand-accent {
    color: var(--yellow);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
}

.main-nav a {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--yellow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.language-button {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.language-button:hover {
    color: var(--yellow);
    border-color: var(--border-yellow);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--white);
    border-radius: 2px;
}

/* BUTTONS */

.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-small {
    min-height: 40px;
    padding-inline: 17px;
    font-size: 12px;
}

.button-yellow {
    background: var(--yellow);
    color: #17243b;
    box-shadow: 0 7px 22px rgba(255, 212, 59, .12);
}

.button-yellow:hover {
    background: var(--yellow-light);
}

.button-outline {
    color: var(--white);
    border-color: rgba(180, 202, 235, .3);
    background: rgba(255, 255, 255, .025);
}

.button-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.button-arrow {
    font-size: 18px;
}

/* HERO */

.hero {
    position: relative;
    min-height: 710px;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 78% 42%, rgba(52, 120, 220, .18), transparent 38%),
        linear-gradient(120deg, #0b1428 0%, #101d36 100%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.hero-content {
    max-width: 550px;
}

.eyebrow,
.section-kicker {
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border: 1px solid var(--border-yellow);
    border-radius: 30px;
    background: rgba(255, 212, 59, .06);
    margin-bottom: 26px;
}

.eyebrow-dot,
.image-label-dot {
    width: 7px;
    height: 7px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 212, 59, .6);
}

.hero h1 {
    font-size: clamp(42px, 5.3vw, 69px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.hero h1 > span {
    color: var(--yellow);
}

.hero-description {
    max-width: 490px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 29px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    margin-top: 35px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.meta-icon {
    color: var(--yellow);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 15px;
}

.hero-image-frame {
    position: relative;
    height: 420px;
    overflow: hidden;
    border: 1px solid rgba(125, 166, 226, .25);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .3);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    background: rgba(11, 20, 40, .88);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.visual-decoration {
    position: absolute;
    z-index: -1;
    top: -5px;
    right: -5px;
    width: 125px;
    height: 125px;
    border-top: 3px solid var(--yellow);
    border-right: 3px solid var(--yellow);
    border-radius: 0 20px 0 0;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.hero-decoration-one {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -230px;
    background: rgba(52, 120, 220, .09);
}

.hero-decoration-two {
    width: 220px;
    height: 220px;
    right: -150px;
    bottom: -100px;
    background: rgba(255, 212, 59, .045);
}

/* INFO STRIP */

.info-strip {
    background: #101e38;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.info-strip-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.info-strip span {
    color: #9bacc7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.info-strip i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--yellow);
}

/* GENERAL SECTIONS */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading .section-kicker {
    margin-bottom: 13px;
}

.section-heading h2,
.faq-intro h2 {
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.2px;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-heading h2 span,
.faq-intro h2 span,
.join-content h2 span {
    color: var(--yellow);
}

.section-heading p,
.faq-intro p {
    color: var(--text);
    font-size: 14px;
}

/* UNIVERSE */

.universe-section {
    background: var(--background);
}

.universe-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
}

.universe-card {
    position: relative;
    height: 355px;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.universe-card-large {
    height: 355px;
}

.universe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.universe-card:hover img {
    transform: scale(1.045);
}

.universe-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 28px;
    background: linear-gradient(
        to top,
        rgba(5, 13, 28, .96),
        rgba(5, 13, 28, .05) 78%
    );
}

.card-number {
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.universe-overlay h3 {
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 6px;
}

.universe-overlay p {
    max-width: 390px;
    color: #c0cce0;
    font-size: 12px;
}

/* FEATURES */

.features-section {
    background: var(--background-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.feature-card {
    position: relative;
    min-width: 0;
    min-height: 270px;
    padding: 25px 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-yellow);
}

.feature-card-highlight {
    background: linear-gradient(145deg, #1b3459, #142442);
    border-color: rgba(255, 212, 59, .2);
}

.feature-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    margin-bottom: 27px;
    border-radius: 13px;
    background: rgba(255, 212, 59, .1);
    color: var(--yellow);
    font-size: 22px;
}

.feature-index {
    position: absolute;
    top: 25px;
    right: 22px;
    color: rgba(170, 190, 220, .35);
    font-size: 11px;
    font-weight: 900;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 11px;
}

.feature-card p {
    color: var(--text);
    font-size: 12px;
    line-height: 1.85;
}

/* GALLERY */

.gallery-section {
    background: var(--background);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
    text-align: left;
}

.section-heading-row > div:first-child {
    max-width: 650px;
}

.gallery-counter {
    padding-bottom: 20px;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: repeat(2, 205px);
    gap: 17px;
}

.gallery-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.gallery-item-tall {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    left: 16px;
    bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    background: rgba(11, 20, 40, .85);
    border-radius: 6px;
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
}

.gallery-item figcaption span {
    color: var(--white);
}

/* JOIN */

.join-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(120deg, #142b4e, #101d36 70%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.join-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255, 212, 59, .08);
    filter: blur(70px);
}

.join-content {
    position: relative;
    z-index: 1;
}

.join-content h2 {
    margin: 13px 0;
    font-size: clamp(30px, 4.5vw, 47px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.join-content p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text);
    font-size: 14px;
}

.join-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 29px;
}

/* FAQ */

.faq-section {
    background: var(--background);
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 75px;
}

.faq-intro h2 {
    margin-top: 13px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.faq-item summary {
    position: relative;
    padding: 19px 50px 19px 20px;
    list-style: none;
    cursor: pointer;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    font-size: 22px;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 20px 19px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.8;
}

/* FOOTER */

.site-footer {
    background: #080f1e;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-top: 55px;
    padding-bottom: 48px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links h4 {
    margin-bottom: 6px;
    color: var(--yellow);
    font-size: 12px;
}

.footer-links a,
.footer-links span {
    color: var(--text);
    font-size: 12px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.footer-bottom a {
    color: var(--yellow);
}

/* RESPONSIVE TABLET */

@media (max-width: 1000px) {
    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .hero-layout {
        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.5vw, 57px);
    }

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

    .faq-layout {
        gap: 40px;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
    .container {
        width: min(100% - 34px, var(--container));
    }

    .site-header {
        height: 72px;
    }

    .brand {
        font-size: 18px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions .button {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 17px;
        right: 17px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px;
        background: #101d36;
        border: 1px solid var(--border);
        border-radius: 13px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 3px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 0;
        padding: 125px 0 65px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(41px, 10vw, 58px);
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-meta {
        gap: 13px;
        margin-top: 25px;
    }

    .meta-item {
        font-size: 10px;
    }

    .hero-visual {
        padding: 8px;
    }

    .hero-image-frame {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .visual-decoration {
        width: 75px;
        height: 75px;
    }

    .info-strip-inner {
        min-height: 60px;
        gap: 12px;
    }

    .info-strip span {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .faq-intro h2 {
        font-size: 32px;
    }

    .universe-grid {
        grid-template-columns: 1fr;
    }

    .universe-card,
    .universe-card-large {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .universe-overlay {
        padding: 20px;
    }

    .universe-overlay h3 {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .feature-card {
        min-height: 250px;
        padding: 19px 16px;
    }

    .feature-icon {
        width: 43px;
        height: 43px;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 11px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 230px 150px;
        gap: 11px;
    }

    .gallery-item-tall {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .gallery-item figcaption {
        left: 9px;
        bottom: 9px;
        padding: 7px 9px;
        font-size: 8px;
    }

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

    .gallery-counter {
        display: none;
    }

    .join-section {
        padding: 75px 0;
    }

    .join-content h2 {
        font-size: 33px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
        padding-top: 40px;
    }

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

/* PETITS ÉCRANS */

@media (max-width: 420px) {
    .hero h1 {
        font-size: 39px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 0;
    }

    .gallery-grid {
        grid-template-rows: 200px 125px;
    }

    .join-actions {
        flex-direction: column;
    }

    .join-actions .button {
        width: 100%;
    }

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

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

    .footer-bottom {
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        padding: 18px 0;
    }
}

/* =====================================================
   BOUTON FLOTTANT — RETOUR EN HAUT
   SKYPOKE
   ===================================================== */

.scroll-progress {
    position: fixed;
    right: 28px;
    bottom: 28px;

    width: 54px;
    height: 54px;
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);
    color: var(--yellow);

    cursor: pointer;
    z-index: 1100;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(12px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease,
        background .3s ease,
        border-color .3s ease;
}

/* AFFICHAGE DU BOUTON */

.scroll-progress.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* SURVOL */

.scroll-progress:hover {
    background: var(--blue);
    border-color: var(--yellow);
}

.scroll-progress:active {
    transform: scale(.94);
}

/* FOCUS CLAVIER */

.scroll-progress:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 4px;
}

/* CERCLE SVG */

.scroll-progress svg {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;
    transform: rotate(-90deg);

    pointer-events: none;
}

/* CERCLES */

.scroll-progress circle {
    fill: none;
    stroke-width: 3;
}

/* CERCLE DE FOND */

.scroll-progress .progress-track {
    stroke: rgba(255, 255, 255, .15);
}

/* CERCLE DE PROGRESSION */

.scroll-progress .progress-value {
    stroke: var(--yellow);
    stroke-linecap: round;

    stroke-dasharray: 131.95;
    stroke-dashoffset: 131.95;

    transition: stroke-dashoffset .08s linear;
}

/* FLÈCHE */

.scroll-arrow {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--yellow);

    font-size: 23px;
    line-height: 1;
    font-weight: 800;

    pointer-events: none;
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
    .scroll-progress {
        right: 17px;
        bottom: 18px;

        width: 48px;
        height: 48px;
    }

    .scroll-arrow {
        font-size: 21px;
    }
}

/* ACCESSIBILITÉ : ANIMATIONS RÉDUITES */

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

    .scroll-progress,
    .scroll-progress .progress-value {
        transition: none;
    }
}