/* ─── FroggyRide Showcase Stylesheet ───────────────────────── */
:root {
    --bg-dark: #07130E;
    --bg-surface: #0E1F17;
    --bg-surface-elevated: #142B20;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(142, 229, 36, 0.35);

    --c-lime: #8EE524;
    --c-lime-glow: rgba(142, 229, 36, 0.35);
    --c-teal: #00A3E0;
    --c-orange: #E69838;
    --c-red: #E63946;
    --c-purple: #9D4EDD;

    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-subtle: rgba(255, 255, 255, 0.45);

    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-card: 20px;
    --radius-btn: 14px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Fond immersif & Orbes lumineux ──────────────────────── */
.background-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
}

.orb-lime {
    width: 600px;
    height: 600px;
    background: var(--c-lime);
    top: -150px;
    left: -150px;
}

.orb-cyan {
    width: 550px;
    height: 550px;
    background: var(--c-teal);
    top: 40%;
    right: -150px;
}

/* ── Join DeepLink Banner ────────────────────────────────── */
.join-banner {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: linear-gradient(90deg, #112B1F, #0E2017);
    border-bottom: 2px solid var(--c-lime);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
}

.join-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.join-icon {
    font-size: 28px;
}

.join-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.join-text strong {
    color: var(--c-lime);
    font-size: 14px;
}

.join-text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Header & Navigation ─────────────────────────────────── */
.site-header {
    position: relative;
    z-index: 100;
    padding: 24px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #FFFFFF;
}

.logo-emoji {
    font-size: 32px;
}

.logo-name {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--c-lime);
    text-shadow: 0 0 16px var(--c-lime-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--c-lime);
}

/* ── Hamburger Button (hidden on desktop) ────────────────── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid var(--border-dark);
    border-radius: 12px;
    cursor: pointer;
    z-index: 200;
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Boutons Universels ──────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 15px;
}

.btn-xl {
    padding: 20px 36px;
    font-size: 18px;
    border-radius: 18px;
}

.btn-lime {
    background: var(--c-lime);
    color: #07130E;
    box-shadow: 0 6px 20px var(--c-lime-glow);
}

.btn-lime:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(142, 229, 36, 0.55);
    background: #9BF032;
}

.btn-outline-lime {
    background: transparent;
    color: var(--c-lime);
    border: 1.5px solid var(--c-lime);
}

.btn-outline-lime:hover {
    background: rgba(142, 229, 36, 0.15);
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1.5px solid var(--border-dark);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ── Section Hero ────────────────────────────────────────── */
.hero-section {
    position: relative;
    z-index: 10;
    padding: 20px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(142, 229, 36, 0.12);
    border: 1px solid var(--border-highlight);
    border-radius: 999px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--c-lime);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-lime);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.badge-text {
    font-size: 12px;
    font-weight: 800;
    color: var(--c-lime);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--c-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.btn-download .btn-icon {
    font-size: 26px;
}

.btn-download .btn-text {
    display: flex;
    flex-direction: column;
}

.btn-download .btn-main {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.btn-download .btn-sub {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
}

.hero-trust-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── Phone Mockup Interactif / Mascotte ──────────────────── */
.hero-mockup-wrapper {
    display: flex;
    justify-content: center;
}

.mascot-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mascot-img {
    width: 340px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: mascotFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.mascot-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(142, 229, 36, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
    animation: mascotGlow 4s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes mascotGlow {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #020705;
    border-radius: 46px;
    padding: 12px;
    border: 4px solid #1A3326;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(142, 229, 36, 0.15);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0B1812;
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
    position: relative;
}

.screen-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
    padding: 0 4px;
}

.app-ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
    padding: 8px 12px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.app-profile-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-avatar {
    font-size: 20px;
}

.app-rider-name {
    font-size: 12px;
    font-weight: 800;
}

.app-badge-vttae {
    font-size: 9px;
    color: var(--c-lime);
    font-weight: 700;
}

.app-sync-pill {
    font-size: 9px;
    font-weight: 800;
    color: var(--c-lime);
    background: rgba(142, 229, 36, 0.12);
    padding: 3px 8px;
    border-radius: 99px;
}

/* Radar Visuel Simulé */
.radar-preview-card {
    flex: 1;
    background: #07130E;
    border: 1.5px solid rgba(0, 163, 224, 0.35);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.radar-map-mockup {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at center, #0B2418 0%, #06100B 100%);
    overflow: hidden;
}

.radar-grid-line {
    position: absolute;
    background: rgba(0, 163, 224, 0.15);
}

.line-h {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
}

.line-v {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
}

.radar-ring {
    position: absolute;
    border: 1px dashed rgba(0, 163, 224, 0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 { width: 120px; height: 120px; }
.ring-2 { width: 220px; height: 220px; }

.track-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rider-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.marker-dot {
    font-size: 16px;
    filter: drop-shadow(0 0 6px rgba(142, 229, 36, 0.8));
}

.marker-hazard-dot {
    font-size: 16px;
    filter: drop-shadow(0 0 6px rgba(230, 57, 70, 0.8));
}

.marker-tag {
    font-size: 8px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.75);
    padding: 2px 6px;
    border-radius: 4px;
    color: #FFFFFF;
    white-space: nowrap;
    margin-top: 2px;
}

.marker-tag-hazard {
    font-size: 8px;
    font-weight: 800;
    background: var(--c-red);
    padding: 2px 6px;
    border-radius: 4px;
    color: #FFFFFF;
    white-space: nowrap;
    margin-top: 2px;
}

.radar-live-footer {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid var(--border-dark);
}

.stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-lbl {
    font-size: 7px;
    font-weight: 800;
    color: var(--text-subtle);
}

.stat-val {
    font-size: 11px;
    font-weight: 900;
}

.color-lime {
    color: var(--c-lime);
}

.app-ui-action {
    margin-top: 14px;
}

.btn-app-action {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8EE524, #66B512);
    border: none;
    border-radius: 14px;
    color: #07130E;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 4px 14px rgba(142, 229, 36, 0.4);
}

/* ── Banner Showcase Panoramique en Haut de Page ─────────── */
.banner-showcase-section {
    position: relative;
    z-index: 10;
    padding: 10px 0 30px;
}

.banner-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid var(--border-highlight);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(142, 229, 36, 0.18);
    background: #0B1C14;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(142, 229, 36, 0.3);
    border-color: var(--c-lime);
}

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

.banner-glow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 14, 0) 65%, rgba(7, 19, 14, 0.85) 100%);
    pointer-events: none;
}

/* ── Section Features ────────────────────────────────────── */
.features-section {
    position: relative;
    z-index: 10;
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 31, 23, 0.5) 100%);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--c-lime);
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    margin: 10px 0 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(142, 229, 36, 0.12);
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.icon-lime { background: rgba(142, 229, 36, 0.15); border: 1px solid rgba(142, 229, 36, 0.3); }
.icon-teal { background: rgba(0, 163, 224, 0.15); border: 1px solid rgba(0, 163, 224, 0.3); }
.icon-red { background: rgba(230, 57, 70, 0.15); border: 1px solid rgba(230, 57, 70, 0.3); }
.icon-orange { background: rgba(230, 152, 56, 0.15); border: 1px solid rgba(230, 152, 56, 0.3); }
.icon-crimson { background: rgba(255, 0, 51, 0.15); border: 1px solid rgba(255, 0, 51, 0.3); }
.icon-purple { background: rgba(157, 78, 221, 0.15); border: 1px solid rgba(157, 78, 221, 0.3); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Section Infrastructure ──────────────────────────────── */
.infra-section {
    position: relative;
    z-index: 10;
    padding: 60px 0;
}

.infra-box {
    background: linear-gradient(135deg, #0F2A1E 0%, #081610 100%);
    border: 1.5px solid var(--border-highlight);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.infra-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--c-teal);
    letter-spacing: 0.1em;
}

.infra-info h2 {
    font-size: 32px;
    font-weight: 900;
    margin: 10px 0 16px;
}

.infra-info p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 32px;
}

.infra-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.infra-stat {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-dark);
    padding: 20px;
    border-radius: 16px;
}

.infra-stat .val {
    font-size: 28px;
    font-weight: 900;
    color: var(--c-lime);
}

.infra-stat .lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* ── Section Download ────────────────────────────────────── */
.download-section {
    position: relative;
    z-index: 10;
    padding: 80px 0 100px;
}

.text-center {
    text-align: center;
}

.download-card {
    background: radial-gradient(circle at center, #132E21 0%, #0A1812 100%);
    border: 2px solid var(--c-lime);
    border-radius: 32px;
    padding: 60px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(142, 229, 36, 0.2);
}

.download-emoji {
    font-size: 54px;
    display: inline-block;
    margin-bottom: 16px;
}

.download-card h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
}

.download-card p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 36px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.download-meta {
    font-size: 12px;
    color: var(--text-subtle);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 10;
    background: #040A07;
    border-top: 1px solid var(--border-dark);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    font-size: 16px;
}

.footer-sub {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text-subtle);
}

/* ── Responsive Mobile ───────────────────────────────────── */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    /* Hamburger visible on mobile */
    .hamburger-btn {
        display: flex;
    }

    /* Banner chips sous l'image sur mobile */
    .banner-frame {
        border-radius: 20px;
        overflow: visible;
    }

    .banner-img {
        border-radius: 20px;
    }

    .banner-glow-overlay {
        border-radius: 20px;
    }

    .banner-badge-bar {
        position: static;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 14px;
    }

    .banner-chip {
        justify-content: center;
        font-size: 12px;
        padding: 10px 14px;
    }

    /* Navigation drawer mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(14, 31, 23, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 2px solid var(--border-highlight);
        padding: 20px 24px;
        gap: 4px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
        z-index: 150;
    }

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

    .nav-links a {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        transition: background 0.2s, color 0.2s;
    }

    .nav-links a:hover {
        background: rgba(142, 229, 36, 0.08);
    }

    .nav-links .btn.btn-outline-lime {
        margin-top: 8px;
        justify-content: center;
    }

    .site-header {
        position: sticky;
        top: 0;
        background: rgba(7, 19, 14, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 200;
        padding: 14px 0;
    }

    .mascot-img {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .banner-chip {
        font-size: 11px;
        padding: 6px 12px;
    }

    .download-card h2 {
        font-size: 26px;
    }

    .section-title {
        font-size: 28px;
    }

    .infra-box {
        padding: 28px 20px;
    }

    .mascot-img {
        width: 200px;
    }
}

/* ─── SAS D'ACCÈS & ESPACE PRIVÉ MEMBRE ───────────────────────── */
.auth-gate-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.auth-gate-card {
    background: rgba(14, 31, 23, 0.92);
    border: 1.5px solid rgba(142, 229, 36, 0.35);
    border-radius: 28px;
    padding: 36px 32px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(142, 229, 36, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gateFadeIn 0.5s ease-out;
}

@keyframes gateFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-gate-card::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 160px;
    background: radial-gradient(circle, rgba(142, 229, 36, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.gate-mascot {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(142, 229, 36, 0.12);
    border: 1px solid rgba(142, 229, 36, 0.3);
    border-radius: 50%;
    font-size: 46px;
    box-shadow: 0 8px 24px rgba(142, 229, 36, 0.2);
}

.gate-title {
    font-size: 26px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.gate-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.gate-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 24px;
    border: 1px solid var(--border-dark);
}

.gate-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-subtle);
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gate-tab-btn.active {
    background: var(--c-lime);
    color: #07130E;
    box-shadow: 0 4px 14px rgba(142, 229, 36, 0.35);
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.gate-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gate-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.gate-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1.5px solid var(--border-dark);
    border-radius: 12px;
    padding: 12px 16px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gate-input:focus {
    outline: none;
    border-color: var(--c-lime);
    box-shadow: 0 0 12px rgba(142, 229, 36, 0.25);
}

.gate-btn-submit {
    margin-top: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 900;
    border-radius: 14px;
}

.gate-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    margin-top: 14px;
    display: none;
    text-align: center;
}

.gate-alert-error {
    background: rgba(230, 57, 70, 0.18);
    border: 1px solid var(--c-red);
    color: #FFAAA6;
}

.gate-alert-success {
    background: rgba(142, 229, 36, 0.18);
    border: 1px solid var(--c-lime);
    color: var(--c-lime);
}

/* User pill in header */
.header-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 31, 23, 0.9);
    border: 1px solid rgba(142, 229, 36, 0.4);
    border-radius: 999px;
    padding: 4px 12px 4px 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}

.header-user-avatar {
    font-size: 15px;
}

.header-user-tier {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-logout-header {
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.4);
    color: #FFAAA6;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout-header:hover {
    background: var(--c-red);
    color: #fff;
}

/* ── Textes accompagnant les icônes dans la barre de navigation en haut ── */
.site-header .nav-icon-link,
.site-header .nav-links a.nav-icon-link,
.site-header .btn-nav-icon,
.site-header .header-user-pill {
    font-weight: 400 !important;
    font-size: 12px !important;
    letter-spacing: 0.1px;
}

.site-header .btn-nav-icon {
    padding: 6px 12px !important;
}

/* ── Formules d'abonnement / Modal Débloquer FroggyRide ── */
.plan-choice-card {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
}

.plan-choice-card:hover, .plan-choice-card.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.08);
}

.stripe-card-element {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── MODALES GÉNÉRALES DU SITE ────────────────────────────── */
.modal-backdrop-site {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 8, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: fadeInModal 0.25s ease-out;
}

.modal-backdrop-site.is-open {
    display: flex;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.modal-card-site {
    background: rgba(14, 31, 23, 0.96);
    border: 1.5px solid rgba(142, 229, 36, 0.35);
    border-radius: 24px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(142, 229, 36, 0.15);
    position: relative;
    padding: 28px 26px;
    color: #fff;
}

.modal-header-site {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title-site {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-site-modal {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-site-modal:hover {
    background: rgba(230, 57, 70, 0.8);
    border-color: var(--c-red);
}

/* ─── MODALE HISTORIQUE SORTIES ────────────────────────────── */
.history-stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(142, 229, 36, 0.25);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.history-stat-cell .stat-lbl {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.history-stat-cell .stat-val {
    font-size: 19px;
    font-weight: 900;
    color: var(--c-lime);
}

.sessions-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}

.session-item-card {
    background: rgba(7, 19, 14, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s;
}

.session-item-card:hover {
    border-color: rgba(142, 229, 36, 0.4);
    background: rgba(14, 31, 23, 0.95);
    transform: translateY(-2px);
}

.session-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 8px;
}

.session-card-date {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.session-card-badge {
    background: rgba(142, 229, 36, 0.15);
    border: 1px solid var(--c-lime);
    color: var(--c-lime);
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 800;
}

.session-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.session-metric {
    display: flex;
    flex-direction: column;
}

.session-metric .metric-name {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-subtle);
    text-transform: uppercase;
}

.session-metric .metric-val {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
}

/* ─── MODALE RÉGLAGES PROFIL ───────────────────────────────── */
.profile-avatar-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.current-avatar-preview {
    width: 68px;
    height: 68px;
    background: rgba(142, 229, 36, 0.15);
    border: 2px solid var(--c-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.avatar-picker-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.avatar-emojis-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-emoji-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-emoji-select:hover,
.btn-emoji-select.active {
    border-color: var(--c-lime);
    background: rgba(142, 229, 36, 0.25);
    transform: scale(1.1);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-form-grid .full-span {
    grid-column: 1 / -1;
}

.profile-tier-callout {
    background: rgba(255, 215, 0, 0.1);
    border: 1.5px solid #FFD700;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-tier-callout.is-premium {
    background: rgba(142, 229, 36, 0.12);
    border-color: var(--c-lime);
}

/* ─── BANNIÈRE BIENVENUE HERO MEMBRE CONNECTÉ ──────────────── */
.user-hero-connected-bar {
    background: rgba(14, 31, 23, 0.9);
    border: 1.5px solid rgba(142, 229, 36, 0.4);
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInModal 0.4s ease-out;
}

.user-hero-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-hero-avatar {
    width: 48px;
    height: 48px;
    background: rgba(142, 229, 36, 0.15);
    border: 2px solid var(--c-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.user-hero-text h3 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.user-hero-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.user-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ─── STYLES BADGES APP STORE & GOOGLE PLAY ────────────────── */
.store-badges-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    padding: 10px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-store-badge:hover {
    background: rgba(142, 229, 36, 0.15);
    border-color: var(--c-lime);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-store-badge .store-badge-icon {
    font-size: 26px;
    line-height: 1;
}

.btn-store-badge .store-badge-lines {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-store-badge .store-badge-sub {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.btn-store-badge .store-badge-title {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

/* ─── SÉLECTEUR AVATARS APP DANS PROFIL ────────────────────── */
.avatar-emojis-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-select-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-select-btn img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-select-btn:hover {
    border-color: rgba(142, 229, 36, 0.6);
    background: rgba(142, 229, 36, 0.15);
    transform: scale(1.08);
}

.avatar-select-btn.active {
    border-color: var(--c-lime);
    background: rgba(142, 229, 36, 0.25);
    box-shadow: 0 0 12px rgba(142, 229, 36, 0.5);
}

/* ─── STUDIO NUMBERED STEP MARKERS ──────────────────────────── */
.studio-step-marker {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    font-weight: 900;
    font-size: 15px;
    transition: transform 0.2s;
}

.studio-step-marker.step-start {
    background: #8EE524;
    color: #07130E;
}

.studio-step-marker.step-inter {
    background: #00D4FF;
    color: #07130E;
}

.studio-step-marker.step-target {
    background: #E63946;
    color: #fff;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.7);
}

