:root {
    --bg: #050b1a;
    --bg2: #0a1630;
    --card: #eef5ff;
    --ink: #0b1d3a;
    --blue: #0b5ed7;
    --sky: #1ea7ff;
    --text: #dce9ff;
    --muted: #8fa8cf;
    --line: #12306a;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Sora, system-ui, Arial, sans-serif;
    line-height: 1.6;
    top: 0 !important
}

a {
    color: inherit;
    text-decoration: none
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 11, 26, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line)
}

.nav {
    max-width: 1180px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 6px 20px
}

.logo img {
    height: 95px;
    width: auto;
    display: block
}

nav {
    display: flex;
    gap: 4px;
    margin-left: auto
}

nav a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    color: var(--muted)
}

nav a:hover,
nav a:focus-visible,
nav a.active {
    background: var(--blue);
    color: #fff;
    outline: none
}

.menu-btn {
    display: none;
    margin-left: auto;
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 22px;
    padding: 4px 12px;
    cursor: pointer
}

/* Layout */
section {
    padding: 72px 20px
}

section:nth-of-type(even) {
    background: var(--bg2)
}

.wrap {
    max-width: 1180px;
    margin: auto
}

h1 {
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff
}

h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin: 0 0 8px;
    color: var(--sky)
}

.sub {
    color: var(--muted);
    margin: 0 0 32px;
    max-width: 60ch
}

.gap {
    margin-top: 40px
}

.white {
    color: #fff
}

.nomt {
    margin-top: 0
}

.mt {
    margin-top: 10px
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding-bottom: 140px;
    background: radial-gradient(800px 500px at 80% 30%, rgba(30, 167, 255, .35), transparent 65%), radial-gradient(600px 400px at 0% 100%, rgba(11, 94, 215, .35), transparent 70%), linear-gradient(180deg, #02060f, #07142e) !important
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2
}

.pill {
    display: inline-block;
    margin: 0 0 18px;
    padding: 6px 16px;
    border: 1px solid #1d4a9e;
    border-radius: 99px;
    font-size: 13px;
    color: var(--sky);
    background: rgba(11, 94, 215, .15)
}

.hero h1 {
    text-shadow: 0 0 40px rgba(30, 167, 255, .45)
}

.lead {
    max-width: 50ch;
    font-size: 18px;
    margin: 0 0 26px
}

.hero-logo {
    display: flex;
    justify-content: center
}

.hero-logo img {
    width: min(100%, 460px);
    height: auto;
    filter: drop-shadow(0 0 40px rgba(30, 167, 255, .55));
    animation: float 5s ease-in-out infinite
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2
}

.badges span {
    border: 1px solid #1d4a9e;
    border-radius: 99px;
    padding: 8px 18px;
    font-size: 14px;
    background: rgba(5, 11, 26, .6)
}

.wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 110px;
    z-index: 1
}

.spark {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
    filter: drop-shadow(0 0 6px #1ea7ff);
    animation: twinkle 3s ease-in-out infinite;
    z-index: 1
}

.s1 {
    top: 14%;
    left: 8%
}

.s2 {
    top: 22%;
    right: 10%;
    width: 22px;
    height: 22px;
    animation-delay: 1s
}

.s3 {
    bottom: 30%;
    left: 46%;
    animation-delay: 2s
}

.s4 {
    top: 55%;
    right: 4%;
    animation-delay: .5s
}

@keyframes float {
    50% {
        transform: translateY(-12px)
    }
}

@keyframes twinkle {
    50% {
        opacity: .25;
        transform: scale(.7)
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 12px;
    border: 0;
    cursor: pointer
}

.btn.alt {
    background: transparent;
    border: 1.5px solid var(--sky);
    margin-left: 10px
}

.btn:hover {
    filter: brightness(1.1)
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px
}

/* Cards */
.grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr))
}

.card {
    background: var(--card);
    color: var(--ink);
    border-radius: 16px;
    padding: 22px;
    border-top: 4px solid var(--sky);
    transition: transform .2s
}

.card:hover {
    transform: translateY(-4px)
}

.card h3 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 18px
}

.card p {
    margin: 0;
    font-size: 14px
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.tags span {
    background: var(--card);
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600
}

/* Contact */
.two {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
}

form {
    display: grid;
    gap: 12px
}

input,
textarea,
select {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid #1d4a9e;
    background: #fff;
    color: var(--ink);
    font: inherit
}

input.error {
    border: 2px solid #ff5c5c
}

#formMsg {
    margin: 0;
    font-size: 14px;
    min-height: 20px
}

#formMsg.ok {
    color: #6ee7a0
}

#formMsg.bad {
    color: #ff9b9b
}

.info {
    margin-top: 28px
}

.info p {
    margin: 0 0 10px
}

details {
    background: var(--card);
    color: var(--ink);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--blue)
}

details p {
    margin: 8px 0 0
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--line)
}

footer em {
    color: var(--sky);
    font-size: 18px;
    display: block;
    margin-bottom: 6px
}

/* Mobile */
@media(max-width:860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .hero-text .lead {
        margin-inline: auto
    }

    .hero-logo {
        order: -1
    }

    .hero-logo img {
        width: 260px
    }

    .badges {
        justify-content: center
    }

    .logo img {
        height: 62px
    }

    .menu-btn {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        padding: 10px 20px 16px;
        border-bottom: 1px solid var(--line)
    }

    nav.open {
        display: flex
    }

    nav a {
        font-size: 15px
    }

    section {
        padding: 56px 18px
    }

    .btn.alt {
        margin: 10px 0 0
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-logo img,
    .spark {
        animation: none
    }

    html {
        scroll-behavior: auto
    }

    .card {
        transition: none
    }
}

.hero .wrap {
    width: 100%
}

/* About */
.about-intro p {
    margin: 0 0 14px;
    font-size: 16px
}

.about-list {
    display: grid;
    gap: 16px;
    align-content: start
}

.about-list .card p {
    font-size: 15px
}

/* Floating contact buttons */
.float-bar {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.fb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--sky));
    box-shadow: 0 6px 20px rgba(30, 167, 255, .45);
    transition: transform .2s
}

.fb:hover,
.fb:focus-visible {
    transform: scale(1.12);
    outline: none
}

.fb svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.fb.wa {
    background: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45)
}

@media(max-width:860px) {
    .fb {
        width: 46px;
        height: 46px
    }

    .float-bar {
        right: 12px;
        gap: 10px
    }
}

/* Banner (image) */
section.banner {
    padding: 0;
    background: var(--bg) !important;
    line-height: 0
}

.banner img {
    width: 100%;
    height: auto;
    display: block
}

.banner-empty {
    display: none;
    line-height: 1.5;
    padding: 90px 20px;
    text-align: center;
    color: var(--muted);
    border-bottom: 1px solid var(--line)
}

.banner.empty img {
    display: none
}

.banner.empty .banner-empty {
    display: block
}

/* Language switcher (EN / FR) */
.lang {
    display: flex;
    border: 1px solid #1d4a9e;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0
}

.lang button {
    background: transparent;
    color: var(--muted);
    border: 0;
    padding: 7px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer
}

.lang button.active {
    background: var(--blue);
    color: #fff
}

.lang button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px
}

@media(max-width:860px) {
    .lang {
        margin-left: auto
    }

    .menu-btn {
        margin-left: 0
    }
}

/* Card images (icon fallback + optional photo from images/ folder) */
.card-img {
    position: relative;
    height: 150px;
    margin: -22px -22px 16px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 70% 20%, #1ea7ff, transparent 60%), linear-gradient(135deg, #0b5ed7, #06204f)
}

.card-img svg {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .95
}

.card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.card-img.wide {
    height: 230px;
    margin: 0;
    border-radius: 16px
}

.card-img.wide svg {
    width: 84px;
    height: 84px
}

/* Logo: black background blends into dark header */
.logo img {
    mix-blend-mode: screen;
    background: white;
    border-radius: 5%;
}

.hero-logo img {
    mix-blend-mode: screen
}

/* Smaller image boxes */
.card-img {
    height: 130px
}

.card-img.wide {
    height: 170px;
    border-radius: 14px
}

.card-img.wide svg {
    width: 60px;
    height: 60px
}

.about-intro {
    align-items: start
}

.about-list {
    gap: 14px
}

.about-list .card {
    padding: 16px 18px
}

.about-list .card h3 {
    font-size: 16px
}

.about-list .card p {
    font-size: 14px
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
}

.about-grid .card {
    padding: 16px
}

.about-grid .card-img {
    height: 100px;
    margin: -16px -16px 12px
}

.about-grid .card-img svg {
    width: 44px;
    height: 44px
}

footer .credit {
    margin-top: 10px;
    font-size: 14px;
    color: #7da8c3;
}

footer .credit a {
    display: inline-block;
    background: #0b5ed7;
    color: #2a1a0f;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin: 0 4px;
}

footer .credit a:hover {
    background: #e0ac3a;
}

footer .credit .sep {
    color: #7da8c3;
}

/* Banner slider */
.bannerSwiper {
    width: 100%;
    --swiper-theme-color: #1ea7ff;
    --swiper-navigation-size: 22px
}

.bannerSwiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block
}

.bannerSwiper .swiper-button-prev,
.bannerSwiper .swiper-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(5, 11, 26, .65);
    border: 1px solid #1d4a9e
}

.bannerSwiper .swiper-button-prev:hover,
.bannerSwiper .swiper-button-next:hover {
    background: var(--blue)
}

.bannerSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: .6
}

.bannerSwiper .swiper-pagination-bullet-active {
    background: var(--sky);
    opacity: 1
}

@media(max-width:860px) {

    .bannerSwiper .swiper-button-prev,
    .bannerSwiper .swiper-button-next {
        display: none
    }
}