@import url('couleurs.css');

:root {
    --bg: #050a05;
    --panel: rgba(57, 255, 20, 0.06);
    --panel2: rgba(57, 255, 20, 0.10);
    --text: #c8ffc8;
    --muted: rgba(200, 255, 200, 0.72);
    --line: rgba(57, 255, 20, 0.15);
    --accent1: #39ff14;
    --accent2: #1aff7a;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(1200px 800px at 20% 0%, rgba(57, 255, 20, .12), transparent 60%),
        radial-gradient(900px 700px at 95% 15%, rgba(26, 255, 122, .08), transparent 55%),
        radial-gradient(900px 700px at 60% 120%, rgba(57, 255, 20, .06), transparent 55%),
        var(--bg);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    line-height: 1.55;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 18px 70px;
}

/* Top */
.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 10, 5, .75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.top-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 950;
    letter-spacing: .2px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    box-shadow: 0 0 0 5px rgba(57, 255, 20, .18);
}

.btn {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
    background: var(--panel2);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
}

.btn.primary {
    border: 1px solid rgba(57, 255, 20, .55);
    background: linear-gradient(135deg, rgba(57, 255, 20, .9), rgba(26, 255, 122, .85));
    color: #050a05;
    font-weight: 900;
}

/* Hero */
.pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 999px;
    color: var(--muted);
    font-weight: 900;
}

.h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    margin: 16px 0 10px;
    font-weight: 1000;
    letter-spacing: -.6px;
    color: var(--text);
}

.lead {
    max-width: 78ch;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Cards */
.section {
    margin-top: 18px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pad {
    padding: 18px;
}

h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    letter-spacing: -.2px;
    color: var(--accent1);
    text-shadow: 0 0 10px rgba(57, 255, 20, .3);
}

h3 {
    margin: 14px 0 6px;
    font-size: 1.05rem;
    color: var(--accent2);
}

.muted {
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.list li {
    margin: 6px 0;
}

.tagrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(57, 255, 20, .04);
    font-weight: 900;
    color: var(--accent1);
    font-size: .9rem;
    text-shadow: 0 0 6px rgba(57, 255, 20, .3);
}

/* Carousel */
.carousel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(57, 255, 20, .02);
    margin-top: 12px;
}

.track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.track::-webkit-scrollbar {
    height: 10px;
}

.track::-webkit-scrollbar-thumb {
    background: rgba(57, 255, 20, .2);
    border-radius: 999px;
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shot {
    aspect-ratio: 16/10;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(57, 255, 20, .15), rgba(26, 255, 122, .10)),
        radial-gradient(900px 600px at 60% 40%, rgba(255, 255, 255, .06), transparent 60%),
        rgba(57, 255, 20, .02);
    color: rgba(255, 255, 255, .82);
    font-weight: 1000;
    letter-spacing: .2px;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cap {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.navbtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .5);
    color: var(--accent1);
    display: grid;
    place-items: center;
    cursor: pointer;
    user-select: none;
    transition: .15s ease;
    z-index: 10;
    font-size: 1.4rem;
    text-shadow: 0 0 8px var(--accent1);
}

.navbtn:hover {
    background: rgba(0, 0, 0, .7);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 14px rgba(57, 255, 20, .3);
}

.navbtn.prev {
    left: 10px;
}

.navbtn.next {
    right: 10px;
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 12px;
}

.dotbtn {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(57, 255, 20, .3);
    background: rgba(57, 255, 20, .1);
    cursor: pointer;
    transition: .15s ease;
}

.dotbtn.active {
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 0 8px var(--accent1);
}

/* Final CTA */
.final {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    text-align: center;
}

.final .bigbtn {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 1.05rem;
    justify-content: center;
}

/* --- BOUTON RETOUR EXPÉRIENCES --- */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--cyan);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: var(--radius-sm);
    text-decoration: none;
    background: rgba(57, 255, 20, 0.05);
    transition: all 0.2s ease;
    text-shadow: 0 0 6px var(--cyan);
    margin-left: 16px;
}

.nav-back:hover {
    background: rgba(57, 255, 20, 0.12);
    border-color: var(--cyan);
    box-shadow: 0 0 14px rgba(57, 255, 20, 0.2);
    transform: translateX(-2px);
}

/* --- BOUTON SCROLL TO TOP --- */
#scrollTop {

    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(5, 10, 5, 0.85);
    border: 1px solid var(--cyan);
    border-radius: var(--radius-sm);
    color: var(--cyan);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(57, 255, 20, 0.2);
    text-shadow: 0 0 8px var(--cyan);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 9999;
}

#scrollTop:hover {
    background: var(--cyan);
    color: var(--bg);
    text-shadow: none;
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.5);
    transform: translateY(-3px);
}