﻿/* ---------- COLOR / TYPO ---------- */

:root {
    --primary: #00e0d3; /* turquoise */
    --primary-600: #00cfc0;
    --accent-dark: #071422; /* deep charcoal */
    --muted: #6b6f76;
    --white: #ffffff;
    --glass: rgba(255,255,255,0.06);
    --soft: rgba(0,224,211,0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --nav-height: 72px;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Poppins',system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    color: var(--accent-dark);
    background: linear-gradient(180deg,#fbfeff 0%, #f3f9fb 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* ---------- HEADER ---------- */
header {
    position: fixed;
    top: 12px;
    left: 4%;
    right: 4%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1400;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
    backdrop-filter: blur(8px) saturate(1.05);
    border-radius: 14px;
    padding: 8px 18px;
    box-shadow: 0 10px 30px rgba(2,6,12,0.06);
    border: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    gap: .75rem;
    align-items: center;
    font-weight: 700;
    color: var(--accent-dark);
}

    .logo .mark {
        width: 70px;
        height: 70px;
        border-radius: 10px;
/*        background: linear-gradient(135deg, var(--primary), var(--primary-600));*/
        box-shadow: 0 6px 22px rgba(0,224,211,0.18);
        display: grid;
        place-items: center;
/*        color: #042226;
        font-weight: 700;
        font-size: 16px;*/
    }

/* Desktop nav container (align to center group) */
nav.desktop {
    display: flex;
    gap: 10px;
    align-items: center;
    position: relative;
    z-index: 1450;
}

    /* nav ul clean & accessible */
    nav.desktop ul {
        list-style: none;
        display: flex;
        gap: 18px;
        margin: 0;
        padding: 0;
        align-items: center;
    }

        /* each nav item */
        nav.desktop ul li.nav-item {
            position: relative;
        }

        /* parent links (common) */
        nav.desktop ul li a.parent-link,
        nav.desktop ul li a.simple-link {
            display: inline-block;
            padding: 10px 12px;
            border-radius: 8px;
            color: var(--text);
            font-weight: 600;
            transition: all .18s ease;
            font-size: .98rem;
            letter-spacing: .01em;
        }

            /* visible emphasis for home & contact */
            nav.desktop ul li a.simple-link.home {
                background: transparent;
                color: var(--primary);
            }

            nav.desktop ul li a.simple-link.contact {
                border: 1px solid rgba(7,20,34,0.06);
                padding: 8px 12px;
                background: linear-gradient(90deg, rgba(0,224,211,0.06), rgba(0,224,211,0.02));
                color: var(--accent-dark);
                box-shadow: 0 8px 20px rgba(0,224,211,0.06);
                border-radius: 999px;
                font-weight: 700;
            }

            nav.desktop ul li a.simple-link:hover,
            nav.desktop ul li a.parent-link:hover {
                transform: translateY(-2px);
                color: var(--primary-600);
                background: rgba(0,224,211,0.04);
            }

/* dropdown */
/* ---------- DROPDOWN FIX (FULLY STABLE) ---------- */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--accent-dark);
    cursor: pointer;
    font-size: .98rem;
    transition: color 0.2s ease;
}

    .dropdown-toggle::after {
        content: "▾";
        display: inline-block;
        margin-left: 6px;
        transition: transform 0.25s ease;
    }

/* Dropdown container */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* sits directly under the nav item */
    left: 0;
    background: #fff;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(2, 6, 12, 0.12);
    min-width: 220px;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none; /* prevents accidental hover until active */
}

/* The magic part: Keep dropdown open while hovering anywhere in the area */
.nav-item.dropdown:hover > .dropdown-content,
.nav-item.dropdown:focus-within > .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item.dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown link styling */
.dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: var(--accent-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    transition: background 0.2s ease;
}

    .dropdown-content a:hover {
        background: rgba(0, 224, 211, 0.08);
        color: var(--primary-600);
    }


.nav-item button:active, a:active {
    color: #00e0d3; /* couleur quand on clique */
}

/* open state */
.nav-item.dropdown:hover > .dropdown .dropdown-content,
.nav-item.dropdown.open > .dropdown .dropdown-content {
    display: block;
    opacity: 1;
    background-color: white;
    transform: translateY(0) scale(1);
    pointer-events: auto; /* allow clicks */
}
/* ---------- Dropdown Hover Fix ---------- */
.nav-item.dropdown {
    position: relative;
}

    .nav-item.dropdown .dropdown-content {
        display: block;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transition: all 0.22s ease;
    }

    .nav-item.dropdown:hover .dropdown-content {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

/* ---------- Arrow Animation ---------- */
.dropdown-toggle::after {
    content: "▾";
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}


/* actions */
.actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--accent-dark);
    padding: .55rem .85rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0,224,211,0.12);
    border: none;
    cursor: pointer;
    font-size: .95rem;
}

    .btn.ghost {
        background: transparent;
        border: 1px solid rgba(7,20,34,0.06);
        color: var(--accent-dark);
        padding: .48rem .75rem;
        font-weight: 700;
    }

/* Styles pour le bouton flottant WhatsApp */
.whatsapp-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #25D366 0%, #1DA851 100%);
    color: #fff;
    font-weight: 600;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.18);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    will-change: transform;
}

    .whatsapp-button:hover,
    .whatsapp-button:focus {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
        outline: none;
        opacity: 0.98;
    }

    .whatsapp-button:active {
        transform: translateY(-1px) scale(.995);
    }

.whatsapp-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}

/* Petite variante circulaire (utiliser la classe .whatsapp-circle) */
.whatsapp-circle {
    padding: 12px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
}

/* Responsive - cache le label sur les très petits écrans */
@media (max-width: 360px) {
    .whatsapp-button span.label {
        display: none;
    }
}

/* hamburger button (mobile) */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(7,20,34,0.05);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

    .hamburger[aria-expanded="true"] {
        background: linear-gradient(90deg, rgba(0,224,211,0.08), rgba(0,224,211,0.03));
        transform: scale(0.98)
    }

    .hamburger .bar {
        width: 20px;
        height: 2px;
        background: var(--accent-dark);
        border-radius: 2px;
        display: block;
        position: relative
    }

        .hamburger .bar:after, .hamburger .bar:before {
            content: "";
            position: absolute;
            left: 0;
            width: 20px;
            height: 2px;
            background: var(--accent-dark);
            border-radius: 2px
        }

        .hamburger .bar:before {
            top: -6px
        }

        .hamburger .bar:after {
            top: 6px
        }

/* ---------------- MOBILE PANEL (sliding) ---------------- */
#mobilePanel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-height);
    background: linear-gradient(180deg, #ffffff, #f8fdff);
    box-shadow: 0 26px 60px rgba(2, 6, 12, 0.12);
    border-radius: 0 0 14px 14px;
    padding: 18px;
    display: none;
    z-index: 1500;
    border-top: 1px solid rgba(7, 20, 34, 0.04);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.25s cubic-bezier(.2, .9, .2, 1), opacity 0.25s ease;
}

    /* When shown */
    #mobilePanel.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

/* mobile links */
    #mobilePanel a.mobile-link:hover {
        color: var(--primary);
    }
.mobile-link {
    display: block;
    padding: 12px;
    font-weight: 700;
    border-radius: 10px;
    color: var(--accent-dark)
}

.mobile-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

/* small screen: hide desktop nav, show hamburger */
@media (max-width:880px) {
    nav.desktop {
        display: none
    }

    .hamburger {
        display: flex
    }

    header {
        left: 8px;
        right: 8px
    }
}

/* small helper to keep dropdown on top of other content */
main {
    padding-top: calc(var(--nav-height) + 48px)
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--accent-dark);
    padding: .55rem .85rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,224,211,0.14);
    border: none;
    cursor: pointer;
}

    .btn.ghost {
        background: transparent;
        border: 1px solid rgba(7,20,34,0.06);
        color: var(--accent-dark);
        padding: .5rem .8rem
    }


/* small helper to keep dropdown on top of other content */
main {
    padding-top: calc(var(--nav-height) + 24px)
}

/* rest of your styles ... (kept unchanged) */
/* ---------- HERO ---------- */

/* Hero Section */
.hero1 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at top, #023d4a, #031b1e 80%);
    position: relative;
    overflow: hidden;
}

    .hero1 h2 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--accent2);
        text-shadow: 0 0 25px var(--accent);
        animation: fadeInDown 1.5s ease;
    }

    .hero1 p {
        max-width: 600px;
        margin: 20px auto;
        color: #cfe8eb;
        line-height: 1.7;
        animation: fadeInUp 1.5s ease;
    }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Africa Map Animation */
.africa-map {
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/86/Africa_%28orthographic_projection%29.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; /* ✅ this is where "contain" belongs */
    opacity: 0.07;
    filter: drop-shadow(0 0 30px var(--accent));
    animation: rotateMap 40s linear infinite;
}


@keyframes rotateMap {
    from {
        transform: rotate(0deg) scale(1.1);
    }

    to {
        transform: rotate(360deg) scale(1.1);
    }
}


.hero {
    padding-top: 96px; /* header space */
    min-height: 84vh;
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 40px;
    align-items: center;
    padding-left: 4%;
    padding-right: 4%;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        right: -10%;
        top: -10%;
        width: 740px;
        height: 740px;
        border-radius: 40%;
        background: radial-gradient(circle at 30% 20%, rgba(0,224,211,0.14), transparent 20%), conic-gradient(from 180deg, rgba(0,224,211,0.12), rgba(7,20,34,0.02));
        transform: rotate(18deg);
        filter: blur(28px);
        z-index: 0;
    }

.hero-left {
    z-index: 1
}

/* Remove default padding on full-width containers */
.container-fluid {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Ensure full height and width for sections */
#myPageContent,
section {
    height: 100% !important;
    width: 100% !important;
}

/* Centered console container */
.console-container {
    font-family: 'Khula', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 2.5vw, 2.5rem); /* Dynamically scales */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: auto;
    min-height: 120px;
    width: 100%;
    max-width: 90%;
    margin: auto;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    box-sizing: border-box;
}

/* Text and underscore stay inline */
#text {
    display: inline-block;
    white-space: nowrap;
}

/* Blinking underscore */
.console-underscore {
    display: inline-block;
    position: relative;
    top: -0.1em;
    margin-left: 6px;
    animation: blink 0.8s infinite;
}

/* Blink effect */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

/* ===== Responsive Breakpoints ===== */

/* Phones */
@media (max-width: 480px) {
    .console-container {
        font-size: clamp(1rem, 5vw, 1.5rem);
        flex-direction: row;
        text-align: center;
    }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 992px) {
    .console-container {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }
}

/* Large Screens */
@media (min-width: 993px) {
    .console-container {
        font-size: clamp(1.5rem, 2vw, 2.5rem);
    }
}


.eyebrow {
    display: inline-block;
    background: linear-gradient(90deg, rgba(0,224,211,0.14), rgba(0,224,211,0.06));
    color: var(--primary);
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: .9rem
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.05;
    margin-top: .6rem;
    color: var(--accent-dark);
    max-width: 680px
}

.hero p {
    color: var(--muted);
    margin: 1rem 0 0.9rem;
    max-width: 620px
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 18px
}

.hero-visual {
    z-index: 1;
    align-self: center;
    justify-self: end
}

.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.85));
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 14px 40px rgba(3,23,30,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    gap: 12px;
    align-items: center;
}

    .glass-card img {
        width: 120px;
        height: 110px;
        object-fit: cover;
        border-radius: 12px
    }

    .glass-card .meta h4 {
        margin: 0;
        font-size: 1.05rem
    }

    .glass-card .meta p {
        margin: 6px 0 0;
        color: var(--muted);
        font-size: .92rem
    }

/* CTA group */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--primary),var(--primary-600));
    color: #042226;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,224,211,0.12);
    z-index: 100;
}

/* ---------- ABOUT ---------- */
section {
    padding: 80px 4%
}

.about {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: center;
}

    .about h2 {
        font-size: 1.9rem;
        margin-bottom: 12px
    }

    .about p {
        color: var(--muted);
        line-height: 1.7
    }


.section-text {
    max-width: 800px;
    margin: 0 auto 18px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #04383d;
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- rest unchanged ... ---------- */
.services {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02));
    border-radius: 22px;
    padding: 44px;
    margin-top: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 20px;
    margin-top: 18px;
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.86));
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(7,20,34,0.04);
    box-shadow: 0 10px 28px rgba(3,23,30,0.03);
    transition: transform .28s ease, box-shadow .28s ease;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 44px rgba(3,23,30,0.06)
    }

    .card h3 {
        color: var(--accent-dark);
        margin-bottom: 8px
    }

    .card p {
        color: var(--muted);
        font-size: .95rem
    }

/* ---------- WHY CHOOSE ---------- */
.why {
    margin-top: 130px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 26px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(0,224,211,0.09), rgba(7,20,34,0.03));
    box-shadow: 0 12px 36px rgba(0,224,211,0.06);
}

    .why .left h3 {
        font-size: 1.4rem;
        margin-bottom: 8px
    }

    .why .left p {
        color: var(--muted)
    }

    .why .right .cta {
        background: var(--primary);
        color: var(--accent-dark);
        padding: .7rem 1.05rem;
        border-radius: 999px;
        font-weight: 700;
        cursor: pointer;
        border: none
    }

/* ---------- OPERATIONS CAROUSEL (kept your fixed size adjustments) ---------- */
.operations {
    margin-top: 54px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.carousel {
    max-height: 400px;
}


/*    .slide .info {
        padding: 18px;
        font-size: .95rem;
    }*/

@media (max-width:880px) {
    .carousel {
        max-height: none
    }

    .slide {
        grid-template-columns: 1fr;
        padding: 16px
    }

        .slide .media img {
            max-height: 240px
        }
}

.slides {
    display: flex;
    transition: transform .6s cubic-bezier(.22,.99,.22,.99);
    width: 100%;
}

/*.slide {
    grid-template-columns: 1fr 360px;
    align-items: center;
    padding: 20px;
}*/


.slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: stretch;
    gap: 18px;
    padding: 28px
}

    .slide .media {
        border-radius: 12px;
        overflow: hidden
    }

        .slide .media img {
            width: 100%;
            height: 100%;
            max-height: 320px;
            object-fit: cover;
            border-radius: 10px;
        }
    .slide .info {
        background: var(--accent-dark);
        color: var(--white);
        padding: 22px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

        .slide .info h4 {
            margin: 0 0 8px
        }

        .slide .info p {
            margin: 0;
            color: rgba(255,255,255,0.86);
            line-height: 1.6
        }

.carousel-controls {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}

.control {
    background: rgba(7,20,34,0.06);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    border: none
}

.dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(7,20,34,0.12);
    cursor: pointer
}

    .dot.active {
        background: var(--primary);
        box-shadow: 0 8px 18px rgba(0,224,211,0.12)
    }

/* ---------- GALLERY / OUR WORKS ---------- */
.works {
    padding-top: 36px

}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 12px
}

.thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer
}

    .thumb img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        transition: transform .3s ease
    }

    .thumb:hover img {
        transform: scale(1.06)
    }

    .thumb .tag {
        position: absolute;
        left: 10px;
        bottom: 10px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        padding: 6px 8px;
        border-radius: 8px;
        font-weight: 600;
        font-size: .85rem
    }

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2,6,12,0.7);
    display: none;
    place-items: center;
    padding: 20px;
    z-index: 1400
}

    .lightbox.active {
        display: grid
    }

    .lightbox img {
        max-width: 100%;
        max-height: 86vh;
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(2,6,12,0.6)
    }

/* ---------- CONTACT / FOOTER ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start
}

.contact-box {
    background: linear-gradient(180deg,#fff,#fbfeff);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(7,20,34,0.03)
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px
}

    .form-row input, .form-row textarea {
        padding: 10px;
        border-radius: 8px;
        border: 1px solid rgba(7,20,34,0.06);
        width: 100%;
        resize: vertical;
        font-size: .95rem
    }

footer {
    margin-top: 36px;
    padding: 36px 4%;
    background: linear-gradient(180deg,#04181d 0%,#031217 100%);
    color: #cfeee9;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.ft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 22px;
    align-items: start
}

.ft-logo {
    display: flex;
    gap: 12px;
    align-items: center
}

    .ft-logo .mark {
        width: 44px;
        height: 44px;
        border-radius: 10px;
/*        background: linear-gradient(135deg,var(--primary),var(--primary-600));*/
        display: grid;
        place-items: center;
/*        font-weight: 800;*/
/*        color: #042226*/
    }

.ft-links a {
    display: block;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    font-weight: 600
}

.small {
    font-size: .88rem;
    color: rgba(255,255,255,0.6);
    margin-top: 18px
}

/* ---------- NAV ACTIVE LINK ---------- */
nav.desktop a.active,
nav.desktop a.simple-link:hover,
nav.desktop a.parent-link:hover {
    background: linear-gradient(90deg, var(--primary), var(--primary-600));
    color: #042226;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(0,224,211,0.18);
}

/* ---------- BUTTON HOVER / CLICK ANIMATIONS ---------- */
.btn {
    transition: all 0.25s cubic-bezier(.25,.8,.25,1);
}

    .btn:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 12px 28px rgba(0,224,211,0.18);
    }

    .btn:active {
        transform: translateY(0px) scale(0.98);
        box-shadow: 0 6px 18px rgba(0,224,211,0.12);
    }



/* Floating action */
.fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    border: 0;
    padding: 10px 16px;
    margin-top: 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--primary), var(--primary));
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

@media (max-width:1100px) {
    .hero {
        grid-template-columns: 1fr 360px
    }

    .slide {
        grid-template-columns: 1fr 360px
    }

    .about {
        grid-template-columns: 1fr 340px
    }
}

@media (max-width:880px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 6%;
        padding-right: 6%
    }

    .hero-visual {
        order: 3
    }

    .glass-card {
        max-width: 100%
    }

    .about {
        grid-template-columns: 1fr;
        text-align: left
    }

    .slide {
        grid-template-columns: 1fr;
        padding: 18px
    }

        .slide .info {
            order: 2;
            margin-top: 12px
        }

        .slide .media {
            order: 1
        }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .ft-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:520px) {
    .hero h1 {
        font-size: 1.6rem
    }

    .glass-card img {
        display: none
    }
}

/* --- FIX: empêche le débordement horizontal --- */
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}
