/* GLOBAL ------------------------------------------------ */

body {
    margin: 0;
    background: #1E1E26;
    color: #F2D6A2;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* HEADER ------------------------------------------------ */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1E1E26;
    border-bottom: 1px solid #3A3A47;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo h1 {
    margin: 0;
    font-size: 28px;
    color: #FF8A38;
}

.header-logo a {
    text-decoration: none;
    color: #FF8A38;

}

.header-logo .subtitle {
    font-size: 12px;
    color: #F2D6A2;
}

nav a {
    margin-left: 20px;
    color: #F2D6A2;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #FF8A38;
}

/* HERO ------------------------------------------------ */

.hero {
    position: relative;
    height: 70vh;
    background: url('/assets/img/banner.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 30, 38, 0.2), #1E1E26);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #F2D6A2;
}

/* BUTTONS ---------------------------------------------- */

.btn-primary,
.btn-secondary {
    padding: 12px 20px;
    margin: 0 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #FF8A38;
    color: #1E1E26;
}

.btn-secondary {
    background: none;
    border: 2px solid #FF8A38;
    color: #FF8A38;
}

.btn-secondary:hover,
.btn-primary:hover {
    opacity: 0.85;
}

/* INTRO ------------------------------------------------ */

.intro {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* VIDEOS ----------------------------------------------- */

.videos {
    padding: 40px 20px;
    text-align: center;
}

.video-grid {
    margin-top: 20px;
    display: grid;
    gap: 20px;
}

.video-grid iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* CARDS ------------------------------------------------ */

.cards {
    padding: 40px 20px;
    display: grid;
    gap: 20px;
}

.card {
    background: #3A3A47;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.card h3 {
    color: #FF8A38;
}

/* FOOTER ---------------------------------------------- */

.footer {
    margin-top: 40px;
    padding: 20px;
    background: #1E1E26;
    text-align: center;
    border-top: 1px solid #3A3A47;
}

.footer a {
    color: #FF8A38;
    margin: 0 10px;
    text-decoration: none;
}

/* SMALL HERO (pages secondaires) */
.small-hero {
    height: 40vh;
    background: url('/assets/img/van_banner.jpg') center/cover no-repeat;
}

/* GRID 3 OR 6 CARDS ADAPTATIVE */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


/* BLOG ------------------------------------------------ */

.blog-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-list h2 {
    text-align: center;
    margin-bottom: 30px;
}

.blog-entry {
    background: #3A3A47;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.blog-entry h3 {
    color: #FF8A38;
    margin-top: 0;
}

.blog-entry .date {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

.card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.blog-filter {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px 20px;
    background: #3A3A47;
    border-left: 4px solid #FF8A38;
    border-radius: 4px;
}

.blog-filter p {
    margin: 0;
    font-size: 14px;
    color: #F2D6A2;
}


/* CATEGORY MENU --------------------------------------- */

.blog-categories {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cat-link {
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    background: #3A3A47;
    color: #F2D6A2;
    border: 1px solid #3A3A47;
    transition: 0.2s ease;
}

.cat-link:hover {
    border-color: #FF8A38;
    color: #FF8A38;
}

.cat-link.active {
    background: #FF8A38;
    color: #1E1E26;
    border-color: #FF8A38;
    font-weight: 600;
}


/* TAGS -------------------------------------------------- */

.entry-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    background: #FF8A38;
    /* couleur par défaut */
    color: #1E1E26;
    margin-bottom: 6px;
    font-weight: 600;
}

.icons {
    display: inline-flex;
    /* was: flex */
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: solid red 3px;
    border-radius: 25px;
    padding: 10px 15px;
    margin-left: 25px;
}

/* annule le margin-left appliqué par nav a */
.icons a {
    margin-left: 0;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* taille des icônes */
.icons i {
    font-size: 18px;
}


/* COULEURS SELON CATÉGORIE ------------------------------ */

.blog-entry[data-cat="brico"] .entry-tag {
    background: #FF8A38;
}

/* Orange */
.blog-entry[data-cat="voyage"] .entry-tag {
    background: #6BE2F9;
}

/* Bleu néon */
.blog-entry[data-cat="gaming"] .entry-tag {
    background: #ec4040;
}

/* Violet pop */
.blog-entry[data-cat="dev"] .entry-tag {
    background: #7CF47C;
}

/* Vert tech */

#map-title {
    height: 15vh !important;
}

#map {
    width: 100%;
    height: 70vh;
    border-radius: 8px;
    overflow: hidden;
}

#crew-title {
    height: 20vh;
}

.crew {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.crew-card {
    background: #3A3A47;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.crew-card img {
    width: 100%;
    object-fit: contain;
    /* au lieu de cover */
    border-radius: 6px;
    margin-bottom: 10px;
    background: #1E1E26;
    /* couleur autour si image non pleine */
    padding: 5px;
    /* joli effet cadre si image contient */
}


.crew-card h3 {
    margin: 10px 0 4px;
    color: #FF8A38;
}

.role {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.desc {
    font-size: 14px;
    color: #F2D6A2;
}



@media (max-width: 600px) {
    #map {
        height: 60vh;
        margin: 20px 0;
    }
}


@media (max-width: 600px) {

    /* HERO */
    .hero {
        height: 50vh;
        /* moins haut pour mobile */
    }

    .hero h2 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    /* BUTTONS */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* VIDEO GRID */
    .video-grid iframe {
        height: 160px;
        /* réduit la hauteur */
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .card {
        margin-bottom: 10px;
    }

    /* BLOG LIST */
    .blog-list {
        padding: 0 15px;
    }

    .blog-entry {
        padding: 15px;
    }

    /* CATEGORY MENU */
    .blog-categories {
        gap: 6px;
        padding: 10px;
        flex-wrap: wrap;
    }

    .cat-link {
        font-size: 12px;
        padding: 6px 10px;
    }
}


@media (min-width: 600px) and (max-width: 1024px) {

    .hero {
        height: 60vh;
    }

    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .blog-categories {
        max-width: 600px;
    }
}


@media (min-width: 1400px) {

    .blog-list,
    .blog-categories {
        max-width: 900px;
    }

    .video-grid {
        max-width: 1100px;
        margin: auto;
    }
}

@media (max-width: 600px) {

    .main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        /* petit espace entre logo et liens */
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    nav a {
        margin: 0;
        font-size: 14px;
    }

    .crew-card img {
        max-height: 260px;
    }

    .crew-card {
        min-height: 420px;
    }
}



/* ANIMATIONS ------------------------------------------ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Hero content fade in */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Cards entrance */
.card {
    animation: fadeInUp 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(255, 138, 56, 0.3);
}

/* Icons hover effect */
.icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.icons a:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #FF8A38;
}

/* Nav links underline animation */
nav a {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF8A38;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* ...Animations Crew... */

.crew {
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.crew-card {
    background: #3A3A47;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crew-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 138, 56, 0.4);
}

.crew-card:hover img {
    transform: scale(1.08) rotate(2deg);
}

.crew-card h3 {
    color: #FF8A38;
    margin: 10px 0;
    font-size: 20px;
}

.role {
    color: #6BE2F9;
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0;
}

.desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

/* ...existing code... */

/* BLOG ANIMATIONS ------------------------------------ */

.blog-list h2 {
    animation: fadeInUp 0.6s ease-out;
}

.blog-entry {
    background: #3A3A47;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-left: 4px solid transparent;
}

/* Stagger effect sur les entrées blog */
.blog-entry:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-entry:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-entry:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-entry:nth-child(4) {
    animation-delay: 0.4s;
}

.blog-entry:nth-child(5) {
    animation-delay: 0.5s;
}

.blog-entry:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(255, 138, 56, 0.3);
    border-left-color: #FF8A38;
}

/* Catégories avec hover */
.blog-categories {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.cat-link {
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    background: #3A3A47;
    color: #F2D6A2;
    border: 2px solid #3A3A47;
    transition: 0.3s ease;
}

.cat-link:hover {
    border-color: #FF8A38;
    color: #FF8A38;
    transform: scale(1.05);
}

.cat-link.active {
    background: #FF8A38;
    color: #1E1E26;
    border-color: #FF8A38;
    font-weight: 600;
    animation: pulse 0.6s ease-in-out infinite;
}

/* Tags animation */
.entry-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    background: #FF8A38;
    color: #1E1E26;
    margin-bottom: 6px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.blog-entry:hover .entry-tag {
    transform: scale(1.1);
}

/* ...existing code... */

/* BUTTONS ---------------------------------------------- */

.btn-primary,
.btn-secondary {
    padding: 12px 20px;
    margin: 0 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background: #FF8A38;
    color: #1E1E26;
    animation: pulse 0.6s ease-in-out infinite;
}

.btn-primary:hover {
    opacity: 1;
    animation: none;
    /* arrête le pulse au survol */
    box-shadow: 0 6px 20px rgba(255, 138, 56, 0.5);
}

.btn-secondary {
    background: none;
    border: 2px solid #FF8A38;
    color: #FF8A38;
}

.btn-secondary:hover {
    opacity: 0.85;
}

/* petit pop + trait animé pour le titre de la map */
#map-title .hero-content h2 {
    position: relative;
    display: inline-block;
    animation: titlePop 0.9s cubic-bezier(.2, .9, .2, 1) both;
    will-change: transform, opacity;
}

#map-title .hero-content h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    height: 3px;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 56, 0.95), transparent);
    animation: underlineSlide 0.9s ease-out 0.18s forwards;
    will-change: width, opacity;
}

@keyframes titlePop {
    0% {
        transform: translateY(8px) scale(.98);
        opacity: 0;
    }

    60% {
        transform: translateY(-3px) scale(1.02);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes underlineSlide {
    from {
        width: 0%;
        opacity: 0;
    }

    to {
        width: 76%;
        opacity: 1;
    }
}

/* Remplacements visuels pour utiliser --accent */
.header-logo h1,
.header-logo a,
.card h3,
.blog-entry h3,
.crew-card h3,
.footer a {
    color: var(--accent);
}

nav a:hover,
.blog-filter {
    border-left-color: var(--accent);
}

nav a::after,
.cat-link:hover,
.cat-link.active,
.entry-tag,
.btn-primary,
.btn-secondary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-contrast);
}

/* réglages précis (ombres / hover) */
.card:hover {
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.18);
}

.crew-card:hover {
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.28);
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-contrast);
}

.btn-secondary {
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* icônes & nav underline */
.icons a:hover i {
    color: var(--accent);
}

nav a::after {
    background: var(--accent);
}

/* blog-entry hover bordure */
.blog-entry:hover {
    border-left-color: var(--accent);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.12);
}

/* underline du titre map (utilise accent plus doux) */
#map-title .hero-content h2::after {
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.95), transparent);
}

/* tags et catégories actives */
.cat-link.active {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
}

.entry-tag {
    background: var(--accent);
    color: var(--accent-contrast);
}

/* ...end overrides... */

:root {
    /* Accent néon (changeable) */
    --accent: #00E5FF;
    /* cyan néon */
    --accent-contrast: #06121A;
    --accent-rgb: 0, 229, 255;

    --hud-panel: rgba(10, 12, 14, 0.6);
    --hud-border: rgba(255, 255, 255, 0.04);
    --glass: rgba(255, 255, 255, 0.03);
}

/* fond + scanlines */
body {
    background-image:
        radial-gradient(ellipse at 10% 10%, rgba(var(--accent-rgb), 0.03) 0%, transparent 20%),
        linear-gradient(180deg, #06070a 0%, #0b0d10 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            rgba(255, 255, 255, 0.01) 0px,
            rgba(255, 255, 255, 0.00) 2px);
    mix-blend-mode: overlay;
    opacity: 0.08;
}

/* header -> panneau HUD */
.main-header {
    background: linear-gradient(180deg, rgba(8, 10, 12, 0.85), rgba(6, 7, 9, 0.65));
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px);
}

/* logo néon */
.header-logo h1,
.header-logo a {
    color: var(--accent);
    text-shadow:
        0 0 6px rgba(var(--accent-rgb), 0.6),
        0 0 18px rgba(var(--accent-rgb), 0.12);
    letter-spacing: 2px;
}

/* nav style HUD */
nav a {
    color: #CFEFF5;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 4px;
}

nav a:hover {
    color: var(--accent);
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.12);
}

nav a::after {
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.95), transparent);
}

/* icônes rondes style console */
.icons {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.15));
    border: 1px solid var(--hud-border);
    padding: 8px 14px;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 -3px 8px rgba(0, 0, 0, 0.25);
}

.icons a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(var(--accent-rgb), 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.icons a:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.12);
}

.icons a i {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 6px rgba(var(--accent-rgb), 0.18);
}

/* panneaux (cards, crew-card, blog-entry) style HUD */
.card,
.crew-card,
.blog-entry,
.blog-filter {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.28));
    border: 1px solid var(--hud-border);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* titre panneaux */
.card h3,
.crew-card h3,
.blog-entry h3 {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.12);
}

/* boutons néon */
.btn-primary {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.12), var(--accent));
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.12), inset 0 -2px 6px rgba(0, 0, 0, 0.3);
    color: var(--accent-contrast);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    transition: box-shadow .2s ease, transform .12s ease;
    animation: pulse 1.6s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    animation: none;
}

/* petites pastilles état (utilise dans HTML ou JS) */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.12);
    vertical-align: middle;
}

.status-dot.visited {
    background: #7CF47C;
    box-shadow: 0 0 14px rgba(124, 244, 124, 0.18), 0 0 6px rgba(0, 0, 0, 0.6);
}

.status-dot.planned {
    background: var(--accent);
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.18), 0 0 6px rgba(0, 0, 0, 0.6);
}

/* effet micro flicker (subtil) pour neon */
@keyframes neonFlicker {
    0% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.92;
        filter: brightness(0.95);
    }

    100% {
        opacity: 1;
        filter: brightness(1);
    }
}

.header-logo h1 {
    animation: neonFlicker 3.2s linear infinite;
}

/* map title : ajout d'un caret animé pour vibe console */
#map-title .hero-content h2::before {
    content: "▸";
    margin-right: 8px;
    color: var(--accent);
    opacity: 0.95;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
    animation: blinkCaret 1.2s steps(1) infinite;
}

@keyframes blinkCaret {

    0%,
    40% {
        opacity: 1
    }

    50% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

/* légende HUD simple pour la carte */
.map-legend {
    position: absolute;
    right: 18px;
    top: 110px;
    background: var(--hud-panel);
    border: 1px solid var(--hud-border);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #CFEFF5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.map-legend .row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.map-legend .swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* petite finition pour contraste texte */
p,
.desc,
.hero p,
.blog-filter p {
    color: #CFEFF5;
}

/* ...end HUD additions... */

.hero-overlay {
    background-image: url("../img/Background/jonatan-pie-h8nxGssjQXs-unsplash.jpg");
    background-size: cover;
}

:root {
    /* Couleur des titres (décommenter une autre option pour tester) */
    --title-color: #00E5FF;         /* cyan néon (actif) */
    --title-glow-rgb: 0,229,255;

    /* Alternatives : */
    /* Teal */
    /* --title-color: #19b682; --title-glow-rgb: 22,160,133; */
    /* Violet */
    --title-color: #C273FF; --title-glow-rgb: 194,115,255;
    /* orange */
    /* --title-color: #FF8A38; --title-glow-rgb: 255,138,56; */
}

/* Titres principaux — look "tableau de bord" : néon + léger glow */
h1, h2, h3,
.hero h2,
.card h3,
.crew-card h3,
.blog-entry h3 {
    color: var(--title-color) !important;
    text-shadow:
        0 0 6px rgba(var(--title-glow-rgb), 0.45),
        0 0 18px rgba(var(--title-glow-rgb), 0.10);
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

/* petite variation au survol pour donner de la vie */
h1:hover, h2:hover, h3:hover,
.card h3:hover,
.crew-card h3:hover,
.blog-entry h3:hover {
    text-shadow:
        0 0 10px rgba(var(--title-glow-rgb), 0.65),
        0 0 28px rgba(var(--title-glow-rgb), 0.18);
    transform: translateY(-2px);
}

#index-overlay {
    background-position: center;
}

/* -----------------------------------------------------
   PAGE : PROJETS & UNIVERS
------------------------------------------------------ */

.projects-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.6s ease-out;
}

.project-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.28));
    border: 1px solid rgba(var(--accent-rgb), 0.06);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.25);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.project-card h3 {
    margin: 10px 0;
    font-size: 20px;
    color: var(--accent);
    text-shadow: 0 0 6px rgba(var(--accent-rgb), 0.28);
}

.project-tags {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 5px;
    background: rgba(var(--accent-rgb), 0.2);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-desc {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 10px;
    line-height: 1.5;
    color: #CFEFF5;
}
