/* =========================================================
   NOVASKY CONSULTING — CSS PARTAGÉ (toutes les pages)
   Variables, base, header/menu, footer, boutons flottants.
   Chargé avant styles.css (accueil) et realisations.css (détail).
   ========================================================= */

:root {
    /* ================= BRAND COLORS ================= */
    --novasky-marine: #0B1440;
    --novasky-marine-2: #101B52;
    --novasky-marine-3: #17245F;

    --novasky-sky: #2E9BE6;
    --novasky-sky-light: #6BC0FF;
    --novasky-sky-soft: #EAF6FF;

    --novasky-orange: #F5A623;
    --novasky-orange-light: #FFD27A;
    --novasky-orange-soft: #FFF5E3;

    /* ================= NEUTRALS ================= */
    --novasky-white: #FFFFFF;
    --novasky-off-white: #F7F9FC;
    --novasky-off-white-2: #EEF2F8;

    --novasky-slate: #1E2A4A;
    --novasky-slate-soft: #59637E;
    --novasky-muted: #7B849B;
    --novasky-border: rgba(11, 20, 64, 0.10);

    /* ================= TYPOGRAPHY ================= */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-accent: 'Raleway', sans-serif;

    /* ================= LAYOUT ================= */
    --container: 1180px;
    --section-padding: 100px;

    /* ================= RADIUS ================= */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* ================= SHADOWS ================= */
    --shadow-xs: 0 4px 12px rgba(11, 20, 64, 0.05);
    --shadow-sm: 0 8px 24px rgba(11, 20, 64, 0.07);
    --shadow-md: 0 16px 40px rgba(11, 20, 64, 0.10);
    --shadow-lg: 0 24px 60px rgba(11, 20, 64, 0.14);
    --shadow-xl: 0 35px 90px rgba(11, 20, 64, 0.18);

    /* ================= TRANSITIONS ================= */
    --transition-fast: 0.2s ease;
    --transition: 0.35s cubic-bezier(.2, .8, .2, 1);
    --transition-slow: 0.6s cubic-bezier(.2, .8, .2, 1);

    /* ================= Z-INDEX ================= */
    --z-header: 1000;
    --z-overlay: 1100;
    --z-cursor: 9999;
}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px; /* hauteur réelle du header non-scrollé (18px*2 padding + 68px navbar) */
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--novasky-slate);
    background: var(--novasky-off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

a:hover {
    color: inherit;
}

ul,
ol {
    list-style: none;
    padding-left: 0;
}

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

button {
    cursor: pointer;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

::selection {
    background: var(--novasky-orange);
    color: var(--novasky-marine);
}

:focus-visible {
    outline: 3px solid var(--novasky-orange);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

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


/* =========================================================
   ICONS
   ========================================================= */

.icon {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

.icon.fill {
    fill: currentColor;
    stroke: none;
}


/* =========================================================
   BRAND DOT
   ========================================================= */

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--novasky-orange);
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(245, 166, 35, 0.10);
}


   /* =========================================================
   NOVASKY CONSULTING
   HEADER + NAVIGATION
   PREMIUM / MODERN / DYNAMIC / RESPONSIVE
   ========================================================= */


/* =========================================================
   01 — HEADER GLOBAL
   ========================================================= */

.site-header {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: var(--z-header);

    padding: 18px 0;

    background: transparent;

    transition:
        padding 0.45s cubic-bezier(.2,.8,.2,1),
        background-color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s cubic-bezier(.2,.8,.2,1);

    isolation: isolate;
}


/* =========================================================
   02 — HEADER AU SCROLL
   Le JS ajoutera .scrolled sur #site-header
   ========================================================= */

.site-header.scrolled {

    padding: 10px 0;

    background:
        linear-gradient(
            180deg,
            rgba(11,20,64,0.96),
            rgba(11,20,64,0.88)
        );

    box-shadow:
        0 12px 40px rgba(5,10,35,0.18);

    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}


/* ligne lumineuse sous le header */

.site-header::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(46,155,230,0.35) 30%,
            rgba(245,166,35,0.45) 50%,
            rgba(46,155,230,0.35) 70%,
            transparent 100%
        );

    opacity: 0;

    transition: opacity 0.4s ease;
}

.site-header.scrolled::after {
    opacity: 1;
}


/* =========================================================
   03 — CONTAINER
   ========================================================= */

.site-header .wrap {

    width: min(
        calc(100% - 56px),
        1320px
    );

    margin-inline: auto;
}


/* =========================================================
   04 — NAVBAR
   ========================================================= */

.navbar-novasky {

    position: relative;

    min-height: 68px;

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

    gap: 35px;

    padding: 0 8px 0 20px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.075),
            rgba(255,255,255,0.025)
        );

    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);

    box-shadow:
        0 10px 35px rgba(5,10,35,0.08);

    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        border-radius 0.4s ease;
}


/* petit reflet supérieur */

.navbar-novasky::before {

    content: "";

    position: absolute;

    top: 0;
    left: 8%;

    width: 84%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.22),
            transparent
        );

    pointer-events: none;
}


/* =========================================================
   05 — LOGO
   ========================================================= */

.logo-mark {

    position: relative;

    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    padding: 7px 4px;

    color: #fff;

    font-family: var(--font-display);

    line-height: 1;

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        opacity 0.3s ease;
}

.logo-mark:hover {

    transform: translateY(-1px);

    opacity: 0.96;
}


/* NOVA */

.logo-nova {

    font-size: 1.55rem;

    font-weight: 700;

    letter-spacing: -0.055em;

    color: #fff;
}


/* SKY */

.logo-sky {

    font-size: 1.55rem;

    font-weight: 800;

    letter-spacing: -0.055em;

    color: var(--novasky-sky-light);
}


/* point orange */

.logo-dot {

    position: relative;

    width: 7px;
    height: 7px;

    margin:
        0 3px 0 2px;

    border-radius: 50%;

    background: var(--novasky-orange);

    box-shadow:
        0 0 0 4px rgba(245,166,35,0.08),
        0 0 14px rgba(245,166,35,0.45);

    animation:
        logoPulse 3s ease-in-out infinite;
}


@keyframes logoPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(245,166,35,0.08),
            0 0 14px rgba(245,166,35,0.35);
    }

    50% {
        box-shadow:
            0 0 0 7px rgba(245,166,35,0.03),
            0 0 20px rgba(245,166,35,0.55);
    }
}


/* CONSULTING */

.logo-consulting {

    position: absolute;

    left: 50%;

    bottom: -3px;

    transform: translateX(-50%);

    font-family: var(--font-accent);

    font-size: 0.42rem;

    font-weight: 800;

    letter-spacing: 0.30em;

    color: rgba(255,255,255,0.62);

    white-space: nowrap;
}


/* =========================================================
   06 — NAV WRAPPER
   ========================================================= */

.nav-wrapper {

    display: flex;
    align-items: center;

    gap: 28px;

    margin-left: auto;
}


/* =========================================================
   07 — NAVIGATION
   ========================================================= */

.nav-links {

    display: flex;
    align-items: center;

    gap: 4px;

    margin: 0;
    padding: 0;
}


/* =========================================================
   08 — NAV ITEM
   ========================================================= */

.nav-links li {

    position: relative;
}


/* =========================================================
   09 — NAV LINK
   ========================================================= */

.nav-links a {

    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 14px;

    border-radius: 12px;

    font-family: var(--font-accent);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.015em;

    color: rgba(255,255,255,0.72);

    white-space: nowrap;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   10 — HOVER
   ========================================================= */

.nav-links a:hover {

    color: #fff;

    background:
        rgba(255,255,255,0.055);

    transform: translateY(-1px);
}


/* =========================================================
   11 — INDICATEUR ACTIF
   ========================================================= */

.nav-links a::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--novasky-sky),
            var(--novasky-orange)
        );

    box-shadow:
        0 0 10px rgba(46,155,230,0.35);

    transform: translateX(-50%);

    transition:
        width 0.35s cubic-bezier(.2,.8,.2,1);
}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 20px;
}


/* =========================================================
   12 — NAV ACTIVE
   ========================================================= */

.nav-links a.active {

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(46,155,230,0.12),
            rgba(46,155,230,0.035)
        );
}


/* petit point actif */

.nav-links a.active span::before {

    content: "";

    display: inline-block;

    width: 4px;
    height: 4px;

    margin-right: 7px;

    vertical-align: middle;

    border-radius: 50%;

    background: var(--novasky-orange);

    box-shadow:
        0 0 8px rgba(245,166,35,0.5);
}


/* =========================================================
   13 — CTA HEADER
   ========================================================= */

.btn-nav-cta {

    position: relative;

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

    gap: 11px;

    min-height: 46px;

    padding: 0 18px 0 21px;

    border:
        1px solid rgba(245,166,35,0.45);

    border-radius: 14px;

    overflow: hidden;

    color: var(--novasky-marine);

    background:
        linear-gradient(
            135deg,
            var(--novasky-orange),
            #FFB83F
        );

    font-family: var(--font-accent);

    font-size: 0.76rem;

    font-weight: 800;

    box-shadow:
        0 8px 22px rgba(245,166,35,0.17);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


/* effet lumière */

.btn-nav-cta::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.45),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.65s cubic-bezier(.2,.8,.2,1);
}


.btn-nav-cta:hover::before {

    left: 130%;
}


.btn-nav-cta:hover {

    color: var(--novasky-marine);

    transform: translateY(-3px);

    border-color:
        rgba(255,255,255,0.35);

    box-shadow:
        0 14px 32px rgba(245,166,35,0.28);
}


/* flèche */

.btn-nav-cta .icon {

    width: 16px;
    height: 16px;

    stroke-width: 2;

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1);
}


.btn-nav-cta:hover .icon {

    transform:
        translateX(4px);
}


/* =========================================================
   14 — BURGER MOBILE
   ========================================================= */

.burger {

    position: relative;

    display: none;

    width: 48px;
    height: 48px;

    padding: 0;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 14px;

    background:
        rgba(255,255,255,0.05);

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.burger span {

    display: block;

    width: 20px;
    height: 2px;

    border-radius: 999px;

    background: #fff;

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        opacity 0.25s ease,
        width 0.3s ease;
}


.burger:hover {

    background:
        rgba(46,155,230,0.10);

    border-color:
        rgba(46,155,230,0.30);

    transform: translateY(-2px);
}


/* =========================================================
   15 — BURGER ACTIF
   ========================================================= */

.burger.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.burger.active span:nth-child(2) {

    opacity: 0;

    transform: scaleX(0);
}


.burger.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   16 — MOBILE MENU
   ========================================================= */

.mobile-menu {

    position: fixed;

    inset: 0;

    z-index: calc(var(--z-header) - 1);

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

    padding:
        120px 24px 40px;

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(46,155,230,0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(245,166,35,0.09),
            transparent 30%
        ),
        rgba(7,14,45,0.98);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-15px);

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.45s cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   17 — MOBILE MENU OUVERT
   ========================================================= */

.mobile-menu.active {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   18 — DECORATIVE GLOWS MOBILE
   ========================================================= */

.mobile-menu-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(50px);
}


.mobile-menu-glow-blue {

    top: 10%;

    left: -100px;

    width: 260px;
    height: 260px;

    background:
        rgba(46,155,230,0.12);
}


.mobile-menu-glow-orange {

    right: -100px;

    bottom: 5%;

    width: 280px;
    height: 280px;

    background:
        rgba(245,166,35,0.09);
}


/* =========================================================
   19 — MOBILE INNER
   ========================================================= */

.mobile-menu-inner {

    position: relative;

    width: min(100%, 560px);

    display: flex;
    flex-direction: column;

    padding: 28px 0;
}


/* =========================================================
   20 — MOBILE LABEL
   ========================================================= */

.mobile-menu-label {

    margin-bottom: 22px;

    font-family: var(--font-accent);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.22em;

    text-transform: uppercase;

    color:
        var(--novasky-sky-light);

    opacity: 0.8;
}


/* =========================================================
   21 — MOBILE LINKS
   ========================================================= */

.mobile-menu-inner > a:not(.mobile-menu-cta) {

    position: relative;

    display: flex;
    align-items: center;

    min-height: 64px;

    padding: 0 18px;

    border-bottom:
        1px solid rgba(255,255,255,0.08);

    color:
        rgba(255,255,255,0.86);

    font-family: var(--font-display);

    font-size: clamp(
        1.25rem,
        4vw,
        1.6rem
    );

    font-weight: 700;

    letter-spacing: -0.025em;

    transition:
        color 0.3s ease,
        padding-left 0.35s cubic-bezier(.2,.8,.2,1),
        background-color 0.3s ease;
}


.mobile-menu-inner > a:not(.mobile-menu-cta)::before {

    content: "";

    width: 0;

    height: 2px;

    margin-right: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--novasky-sky),
            var(--novasky-orange)
        );

    transition:
        width 0.35s ease,
        margin-right 0.35s ease;
}


.mobile-menu-inner > a:not(.mobile-menu-cta):hover {

    color: #fff;

    padding-left: 25px;

    background:
        rgba(255,255,255,0.035);
}


.mobile-menu-inner > a:not(.mobile-menu-cta):hover::before {

    width: 20px;

    margin-right: 12px;
}


/* =========================================================
   22 — MOBILE CTA
   ========================================================= */

.mobile-menu-cta {

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

    margin-top: 28px;

    min-height: 58px;

    padding: 0 20px;

    border-radius: 16px;

    color: var(--novasky-marine);

    background:
        linear-gradient(
            135deg,
            var(--novasky-orange),
            #FFB83F
        );

    font-family: var(--font-accent);

    font-size: 0.88rem;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(245,166,35,0.18);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.mobile-menu-cta:hover {

    color: var(--novasky-marine);

    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(245,166,35,0.28);
}


.mobile-menu-cta .icon {

    width: 18px;
    height: 18px;

    transition:
        transform 0.3s ease;
}


.mobile-menu-cta:hover .icon {

    transform:
        translateX(5px);
}


/* =========================================================
   23 — ANIMATION DES LIENS MOBILE
   ========================================================= */

.mobile-menu.active
.mobile-menu-inner > a {

    animation:
        mobileNavIn
        0.55s
        cubic-bezier(.2,.8,.2,1)
        both;
}


.mobile-menu.active
.mobile-menu-inner > a:nth-of-type(2) {
    animation-delay: 0.05s;
}

.mobile-menu.active
.mobile-menu-inner > a:nth-of-type(3) {
    animation-delay: 0.10s;
}

.mobile-menu.active
.mobile-menu-inner > a:nth-of-type(4) {
    animation-delay: 0.15s;
}

.mobile-menu.active
.mobile-menu-inner > a:nth-of-type(5) {
    animation-delay: 0.20s;
}

.mobile-menu.active
.mobile-menu-inner > a:nth-of-type(6) {
    animation-delay: 0.25s;
}


@keyframes mobileNavIn {

    from {

        opacity: 0;

        transform:
            translateY(15px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   24 — TABLETTE
   ========================================================= */

@media (max-width: 1199px) {

    .site-header .wrap {

        width:
            min(
                calc(100% - 36px),
                1180px
            );
    }

    .navbar-novasky {

        gap: 20px;

        padding-left: 16px;
    }

    .nav-wrapper {

        gap: 14px;
    }

    .nav-links {

        gap: 0;
    }

    .nav-links a {

        padding-inline: 10px;

        font-size: 0.73rem;
    }

    .btn-nav-cta {

        padding-inline: 15px;

        font-size: 0.72rem;
    }
}


/* =========================================================
   25 — MOBILE / TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .site-header {

        padding: 12px 0;
    }

    .site-header.scrolled {

        padding: 8px 0;
    }

    .site-header .wrap {

        width:
            min(
                calc(100% - 28px),
                760px
            );
    }

    .navbar-novasky {

        min-height: 62px;

        padding:
            0 8px 0 15px;

        border-radius: 18px;
    }

    .nav-wrapper {

        display: none;
    }

    .burger {

        display: flex;
    }

    .logo-nova,
    .logo-sky {

        font-size: 1.38rem;
    }

    .logo-consulting {

        font-size: 0.38rem;
    }
}


/* =========================================================
   26 — PETIT MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .site-header .wrap {

        width:
            calc(100% - 20px);
    }

    .navbar-novasky {

        min-height: 58px;

        padding-left: 12px;

        border-radius: 16px;
    }

    .logo-nova,
    .logo-sky {

        font-size: 1.25rem;
    }

    .logo-dot {

        width: 6px;
        height: 6px;

        margin-left: 2px;
        margin-right: 2px;
    }

    .logo-consulting {

        bottom: -2px;

        font-size: 0.34rem;

        letter-spacing: 0.24em;
    }

    .burger {

        width: 44px;
        height: 44px;

        border-radius: 12px;
    }

    .mobile-menu {

        padding:
            100px 20px 30px;
    }

    .mobile-menu-inner > a:not(.mobile-menu-cta) {

        min-height: 58px;

        font-size: 1.15rem;
    }
}


/* =========================================================
   27 — ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .navbar-novasky,
    .logo-mark,
    .nav-links a,
    .btn-nav-cta,
    .mobile-menu,
    .mobile-menu-inner > a,
    .mobile-menu-cta {

        transition: none !important;

        animation: none !important;
    }

    .logo-dot {

        animation: none !important;
    }
}


/* =========================================================
   28 — BODY LOCK MOBILE
   Le JS ajoute .menu-open au body
   ========================================================= */

body.menu-open {

    overflow: hidden;
}


/* ================= FOOTER ================= */
footer { background: var(--novasky-marine); padding: 80px 0 30px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; margin-bottom: 16px; display: block; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.65; max-width: 300px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: all .25s ease; font-family: var(--font-accent); font-weight: 700; font-size: 0.8rem;
}
.footer-social a:hover { background: var(--novasky-sky); border-color: var(--novasky-sky); transform: translateY(-3px); }
.footer-col-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--novasky-sky-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-credit { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ================= FLOATING BUTTONS ================= */
.float-btns { position: fixed; bottom: 28px; right: 28px; z-index: 150; display: flex; flex-direction: column; gap: 14px; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; box-shadow: 0 10px 26px rgba(0,0,0,0.25); transition: transform .25s ease; border: none;
}
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab-wa { background: #22C35E; }
.fab-top { background: var(--novasky-marine); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .25s ease; }
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ================= RESPONSIVE FOOTER / BOUTONS ================= */
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .nav-links, .btn-nav-cta { display: none; } .burger { display: flex; } }
@media (max-width: 560px) { .wrap { padding: 0 20px; } }

/* Header plein (pages à fond clair, ex. détail réalisation) :
   même rendu que l'état .scrolled, mais dès le haut de page. */
.site-header--solid {
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(11,20,64,0.96), rgba(11,20,64,0.88));
    box-shadow: 0 12px 40px rgba(5,10,35,0.18);
}


/* =========================================================
   COMPTEUR DE VUES — PASTILLE « VERRE » (cartes, détails, popup)
   ========================================================= */

.views-pill {
    position: absolute;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    color: #fff;
    white-space: nowrap;
    background: rgba(7, 16, 47, .58);
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    pointer-events: none;
}

.views-pill svg {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: var(--novasky-orange-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.views-pill b { font-weight: 800; font-variant-numeric: tabular-nums; }
.views-pill em { font-style: normal; font-weight: 600; opacity: .8; }

.views-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: views-shine 4.5s ease-in-out infinite;
}

@keyframes views-shine {
    0%, 60% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

.views-pill.is-new svg { stroke: #7FE3D8; }

/* emplacements */
.work-thumb .views-pill,
.blog-thumb .views-pill { left: 14px; bottom: 14px; }
.formation-thumb .views-pill { right: 14px; top: 14px; }
.service-visual { position: relative; }
.service-visual .views-pill { left: 14px; top: 14px; bottom: auto; }
.carousel-image-wrapper .views-pill { left: 18px; bottom: 18px; font-size: .8rem; padding: 8px 14px 8px 12px; }

.work-card:hover .views-pill,
.blog-card:hover .views-pill,
.formation-card:hover .views-pill { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.36); }

/* popup de formation */
.service-modal-meta .views-chip {
    gap: 7px;
    color: #fff;
    background: linear-gradient(135deg, rgba(46,155,230,.35), rgba(245,166,35,.30));
    border-color: rgba(255,255,255,.28);
}
.service-modal-meta .views-chip svg {
    width: 15px; height: 15px; fill: none; stroke: var(--novasky-orange-light);
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
    .views-pill::before { animation: none; }
}


/* =========================================================
   MOBILE : AUCUN DEBORDEMENT HORIZONTAL
   (empeche le site de s'elargir et de cacher menu / WhatsApp / fleche)
   ========================================================= */
html{ overflow-x:hidden; max-width:100%; }
@supports (overflow:clip){
    html,body{ overflow-x:clip; }
}
body{ max-width:100%; position:relative; }
main, section, footer, .site-header{ max-width:100%; }
section, footer{ overflow-x:clip; }
.project-details-grid > *, .article-layout > *{ min-width:0; }
