﻿﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

tntm-header, tntm-footer {
    display: block;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0f0f14;
    border-bottom: 1px solid rgba(135, 206, 235, 0.1);
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
}

header h1 {
    font-family: 'Nabla', cursive;
    font-size: 1.4rem;
    color: #f0eeff;
    margin: 0;
    white-space: nowrap;
}

#header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── LOGO TNTMOM DORÉ ─────────────────────────────────────────────────────── */
@keyframes gold-glow {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.55)); }
    50%       { filter: drop-shadow(0 0 9px rgba(212, 175, 55, 0.8)); }
}
@keyframes gold-sparkle {
    0%, 72%, 100% { opacity: 0; transform: scale(0); }
    75%            { opacity: 1; transform: scale(1); }
    80%            { opacity: 0; transform: scale(0.5); }
}

/* ── HEADER BANNER (compact) ──────────────────────────────────────────── */
.header-banner-link {
    text-decoration: none;
}

.header-banner {
    display: inline-flex;
    align-items: center;
    background: #08080e;
    border: 1px solid rgba(135, 206, 235, 0.15);
    border-left: 2px solid #d94fbd;
    border-radius: 2px 4px 4px 2px;
    overflow: hidden;
    box-shadow: -3px 0 12px rgba(217, 79, 189, 0.12);
    padding: 0.35rem 0.8rem 0.35rem 0.75rem;
    gap: 0.65rem;
}

.header-banner .hb-tnt {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.9rem;
    line-height: 1;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 30%, #f5d478 50%, #d4af37 70%, #b8860b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
}

.header-banner .hb-sep {
    width: 1px;
    height: 2rem;
    background: linear-gradient(to bottom, transparent, rgba(135, 206, 235, 0.35), transparent);
    flex-shrink: 0;
    margin: 0;
}

.header-banner .hb-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 0;
}

.header-banner .hb-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.38rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(135, 206, 235, 0.45);
}

.header-banner .hb-mom {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    line-height: 1;
    color: #87CEEB;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.6);
    letter-spacing: 0.05em;
    animation: neon-flicker 7s ease-in-out infinite;
}

.header-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    line-height: 1;
}

.gold-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #F0D060 40%, #fffde0 55%, #D4AF37 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-glow 3.5s ease-in-out infinite;
}

.gold-mom::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, rgba(255,248,180,0.6) 60%, transparent 100%);
    box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.8);
    animation: gold-sparkle 3.5s ease-in-out infinite;
    animation-delay: 0.7s;
    pointer-events: none;
}

/* ── HERO BANNER CSS ──────────────────────────────────────────────────── */
@keyframes neon-flicker {
    0%, 92%, 100% { opacity: 1; }
    93%            { opacity: 0.7; }
    94%            { opacity: 1; }
    96%            { opacity: 0.85; }
}

#hero-logo {
    max-width: 90%;
    margin: 0;
}

.hero-banner {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    max-width: 90vw;
    background: #08080e;
    border: 1px solid rgba(135, 206, 235, 0.18);
    border-left: 3px solid #d94fbd;
    border-radius: 2px 6px 6px 2px;
    overflow: hidden;
    box-shadow:
        -4px 0 20px rgba(217, 79, 189, 0.15),
        0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-top: 2px solid rgba(135, 206, 235, 0.5);
    border-right: 2px solid rgba(135, 206, 235, 0.5);
    z-index: 2;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-bottom: 2px solid rgba(135, 206, 235, 0.2);
    border-right: 2px solid rgba(135, 206, 235, 0.2);
    z-index: 2;
}

.hb-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 2rem;
    background: rgba(217, 79, 189, 0.03);
}

.hb-tnt {
    font-family: 'Bebas Neue', cursive;
    font-size: 6.5rem;
    line-height: 1;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 30%, #f5d478 50%, #d4af37 70%, #b8860b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.hb-sep {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(135, 206, 235, 0.3) 30%, rgba(135, 206, 235, 0.3) 70%, transparent);
    margin: 1.2rem 0;
    flex-shrink: 0;
}

.hb-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.6rem 2rem;
    gap: 0.1rem;
}

.hb-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.52rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(135, 206, 235, 0.45);
}

.hb-mom {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    line-height: 1;
    color: #87CEEB;
    text-shadow:
        0 0 15px rgba(135, 206, 235, 0.7),
        0 0 35px rgba(135, 206, 235, 0.3);
    letter-spacing: 0.05em;
    animation: neon-flicker 7s ease-in-out infinite;
}

.hb-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.48rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.3);
    margin-top: 0.3rem;
}

.hb-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.06) 3px,
        rgba(0, 0, 0, 0.06) 4px
    );
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 480px) {
    .hb-left { min-width: 90px; padding: 1.2rem 1.2rem; }
    .hb-tnt  { font-size: 3.2rem; }
    .hb-mom  { font-size: 2.2rem; }
    .hb-right { padding: 1.2rem 1.2rem; }
}

#TNTM-Ban {
    width: 100%;
    margin: 1rem 0 2rem;
}

/* ── NAV (hamburger universel) ───────────────────────────────── */
#menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: wheat;
    font-size: 1.5rem;
    cursor: pointer;
}

header { flex-wrap: wrap; }

nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease;
    order: 3;
    padding: 0 4px;
}

nav.open {
    max-height: 420px;    /* plus proche du vrai contenu */
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 8px;
}

nav a {
    font-family: 'Orbitron', sans-serif;
    display: block;
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(135, 206, 235, 0.25);
    border-radius: 20px;
    color: rgba(245, 222, 179, 0.8);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

nav a:hover,
nav a.active {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(135, 206, 235, 0.5), 0 0 7px rgba(135, 206, 235, 0.28);
    border-color: #87CEEB;
    color: #87CEEB;
}

nav a.nav-portail {
    background: rgba(217, 79, 189, 0.08);
    border-color: rgba(217, 79, 189, 0.45);
    color: rgba(217, 79, 189, 0.9);
}

nav a.nav-portail:hover {
    background: rgba(217, 79, 189, 0.14);
    border-color: #d94fbd;
    color: #d94fbd;
    box-shadow: 0 0 16px rgba(217, 79, 189, 0.45), 0 0 6px rgba(217, 79, 189, 0.25);
}

/* ── NAV GROUPE (Mes projets + sous-menu) ─────────────────────── */
.nav-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nav-group-link { flex: 1; }
.nav-chevron-btn {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(135, 206, 235, 0.25);
    border-radius: 20px;
    color: rgba(245, 222, 179, 0.8);
    font-size: 0.85rem;
    padding: 0 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.nav-chevron-btn:hover { border-color: #87CEEB; color: #87CEEB; }
.nav-sub {
    display: flex; flex-direction: column; gap: 0.3rem;
    flex-basis: 100%; width: 100%;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
}
.nav-sub.open { max-height: 220px; }
.nav-sub-item {
    padding: 0.55rem 1.5rem 0.55rem 2.2rem !important;
    font-size: 0.68rem !important;
    opacity: 0.8;
    border-radius: 15px !important;
}

body {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(217, 79, 189, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(135, 206, 235, 0.15) 0%, transparent 50%),
        #0f0f14;
    color: wheat;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-family: 'Nabla', cursive;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

main {
    max-width: 1100px;
    padding: 0 2rem 3rem;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0;}
    to {opacity: 1;}
}

#hero {
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 57px);
    padding: 3vh 2rem 6rem;
    margin-bottom: 0;
    border-bottom: none;
    animation: fadeIn 0.8s ease-in;
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

#hero-tagline {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.75);
    margin-bottom: 0;
    line-height: 1.5;
}

.hero-line1 {
    background: linear-gradient(90deg, rgba(217,79,189,0.9) 0%, #f07cd8 40%, #fdd9f5 50%, #d94fbd 60%, rgba(217,79,189,0.9) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
}

#hero-tagline strong {
    font-size: 1.3em;
    display: inline-block;
    background: linear-gradient(90deg, #6bbcd8 0%, #b8dff0 40%, #e8f6fb 50%, #87CEEB 60%, #6bbcd8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 5s linear infinite;
}

#hero-cta {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.55);
    text-decoration: none;
    padding: 0.55rem 1.6rem;
    border: 1px solid rgba(217, 79, 189, 0.3);
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

#hero-cta:hover {
    border-color: #d94fbd;
    color: #d94fbd;
    box-shadow: 0 0 16px rgba(217, 79, 189, 0.4);
}

p {
    margin-bottom: 1rem;
}

#projets-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-top: 3rem;
    padding-bottom: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(217,79,189,0.25), rgba(135,206,235,0.25)) 1;
    border-bottom: none;
}

#projets-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: wheat;
    margin: 0;
}

#projets-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, rgba(217,79,189,0.8) 0%, #f07cd8 40%, #fdd9f5 50%, #d94fbd 60%, rgba(217,79,189,0.8) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
    text-transform: uppercase;
}

#galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.projet-card {
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    background-color: #1a1a2e;
    border: 1px solid rgba(217, 79,189, 0.3);
    box-shadow: 0 0 12px rgba(217, 79, 189, 0.3);
}

.projet-card:hover {
    transform: translateY(-6px);
    background-color: #1a1a3e;
    border-color: #ff2d78;
    box-shadow: 0 0 18px rgba(255, 45, 120, 0.5);
}

.projet-card a {
    color: inherit;
    text-decoration: none;
}

#contact-section {
    max-width: 600px;
    margin: 2rem auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #87CEEB;
}

.form-group input,
.form-group textarea {
    background: #1a1a2e;
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 8px;
    color: wheat;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
    box-shadow: 0 0 12px rgba(135, 206, 235, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 222, 179, 0.3);
}

.btn-submit {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid rgba(135, 206, 235, 0.7);
    border-radius: 8px;
    color: wheat;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-submit:hover {
    box-shadow: 0 0 16px rgba(135, 206, 235, 0.6);
    border-color: #87CEEB;
    color: #87CEEB;
}

.btn-submit.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border-radius: 50%;
    border: 2px solid rgba(135, 206, 235, 0.3);
    border-top-color: #87CEEB;
    animation: spinner-spin 0.8s linear infinite;
}

@keyframes spinner-spin { to { transform: rotate(360deg); } }

.projet-card.vert {
    border-color: rgba(62, 207, 142, 0.3);
    box-shadow: 0 0 12px rgba(62, 207, 142, 0.3);
}

.projet-card.vert:hover {
    border-color: #3ecf8e;
    box-shadow: 0 0 18px rgba(62, 207, 142, 0.5);
}

/* Carte sans lien — projet en cours */
.projet-card--wip {
    cursor: default;
}

.wip-badge {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(217, 79, 189, 0.7);
    border: 1px solid rgba(217, 79, 189, 0.3);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
}

.projet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.projet-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(217, 79, 189, 0.35);
    color: rgba(217, 79, 189, 0.8);
    background: rgba(217, 79, 189, 0.06);
}


/* ── Nouvelles cartes projets ──────────────────────────────────────────── */
.projet-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

/* Header visuel — simule une preview avec les initiales */
.projet-card-preview {
    width: 100%;
    height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.projet-card-preview::before {
    content: '◉  ◉  ◉';
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 0.45rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.2);
}

.projet-card-preview--magenta {
    background: linear-gradient(135deg, #1a0a1e 0%, #2d0f2d 50%, #1a0a1e 100%);
    border-bottom: 1px solid rgba(217, 79, 189, 0.3);
}
.projet-card-preview--bleu {
    background: linear-gradient(135deg, #0a101e 0%, #0f1e2d 50%, #0a101e 100%);
    border-bottom: 1px solid rgba(135, 206, 235, 0.3);
}
.projet-card-preview--vert {
    background: linear-gradient(135deg, #0a1e12 0%, #0f2d1a 50%, #0a1e12 100%);
    border-bottom: 1px solid rgba(62, 207, 142, 0.3);
}
.projet-card-preview--rouge {
    background: linear-gradient(135deg, #1e0a0a 0%, #2d0f0f 50%, #1e0a0a 100%);
    border-bottom: 1px solid rgba(220, 50, 50, 0.3);
}
.projet-card-preview--orange {
    background: linear-gradient(135deg, #1e1200 0%, #2d1c00 50%, #1e1200 100%);
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
}

.projet-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.projet-card:hover .projet-card-img { opacity: 1; }

.projet-card-initiales {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    opacity: 0.12;
    user-select: none;
}
.projet-card-preview--magenta .projet-card-initiales { color: #d94fbd; }
.projet-card-preview--bleu    .projet-card-initiales { color: #87CEEB; }
.projet-card-preview--vert    .projet-card-initiales { color: #3ecf8e; }
.projet-card-preview--rouge   .projet-card-initiales { color: #dc3232; }
.projet-card-preview--orange  .projet-card-initiales { color: #ff8c00; }

/* Corps */
.projet-card-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
}

.projet-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.projet-card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: #f0eeff;
    margin: 0;
}

/* Badges statut */
.projet-statut-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.statut-live     { color: #3ecf8e; border: 1px solid rgba(62,207,142,0.4); background: rgba(62,207,142,0.08); }
.statut-en-cours { color: #f9c74f; border: 1px solid rgba(249,199,79,0.4); background: rgba(249,199,79,0.08); }
.statut-prototype{ color: rgba(245,222,179,0.5); border: 1px solid rgba(245,222,179,0.2); background: transparent; }

/* Tagline */
.projet-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    color: rgba(245, 222, 179, 0.9);
    font-weight: 600;
    margin: 0;
}

/* Description */
.projet-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    color: rgba(245, 222, 179, 0.55);
    line-height: 1.55;
    margin: 0;
}

/* Lien — stretched link: couvre toute la carte */
.projet-card-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.6rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: #87CEEB;
    text-decoration: none;
    transition: opacity 0.2s;
    position: relative;
    z-index: 1;
}
.projet-card-link::after {
    content: '';
    position: absolute;
    inset: -1000px;
    z-index: 0;
}
.projet-card-link:hover { opacity: 0.7; }

/* Couleurs bordures par variante */
.projet-card--magenta { border-color: rgba(217,79,189,0.35); box-shadow: 0 0 14px rgba(217,79,189,0.15); }
.projet-card--bleu    { border-color: rgba(135,206,235,0.3); box-shadow: 0 0 14px rgba(135,206,235,0.12); }
.projet-card--vert    { border-color: rgba(62,207,142,0.3);  box-shadow: 0 0 14px rgba(62,207,142,0.1); }

.projet-card--magenta:hover { border-color: #d94fbd; box-shadow: 0 0 22px rgba(217,79,189,0.35); }
.projet-card--bleu:hover    { border-color: #87CEEB; box-shadow: 0 0 22px rgba(135,206,235,0.3); }
.projet-card--vert:hover    { border-color: #3ecf8e; box-shadow: 0 0 22px rgba(62,207,142,0.25); }
.projet-card--rouge    { border-color: rgba(220,50,50,0.35);  box-shadow: 0 0 14px rgba(220,50,50,0.15); }
.projet-card--rouge:hover  { border-color: #dc3232; box-shadow: 0 0 22px rgba(220,50,50,0.35); }
.projet-card--orange    { border-color: rgba(255,140,0,0.35);  box-shadow: 0 0 14px rgba(255,140,0,0.15); }
.projet-card--orange:hover { border-color: #ff8c00; box-shadow: 0 0 22px rgba(255,140,0,0.35); }

footer {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(135, 206, 235, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

#footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(245, 222, 179, 0.5);
    text-transform: uppercase;
}

#footer-favicon {
    height: 22px;
    width: auto;
    opacity: 0.6;
}

#footer-copy {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: rgba(245, 222, 179, 0.3);
    text-transform: uppercase;
}

/* Hero version page intérieure (projets.html etc.) */
#hero.page-hero {
    min-height: 55vh;
    padding-top: 5vh;
    padding-bottom: 3vh;
    border-bottom: none;
    border-image: none;
}

#hero.contact-hero {
    min-height: 30vh;
    justify-content: center;
    gap: 0.75rem;
}

#contact-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.45);
    margin: 0;
}

#hero-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.35);
    margin: 0;
}

#about-hero {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    margin: 2.5rem 0 3rem;
    border-radius: 12px;
}

#about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

#about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15,15,20,0.82) 0%, transparent 30%, transparent 55%, rgba(15,15,20,0.92) 100%),
        linear-gradient(to right, rgba(217,79,189,0.08) 0%, transparent 50%, rgba(135,206,235,0.06) 100%);
}

#about-hero-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

#about-hero-bottom {
    position: absolute;
    bottom: 1.75rem;
    left: 0;
    right: 0;
    text-align: center;
}

#about-caption {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.6);
    text-shadow: 0 0 12px rgba(15, 15, 20, 0.8);
    margin: 0;
}

.about-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.08);
}

.about-timeline {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-timeline li {
    font-family: 'Open Sans', sans-serif;
    color: rgba(245, 222, 179, 0.75);
    padding-left: 0.5rem;
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-right: 1rem;
    background: linear-gradient(90deg, #6bbcd8 0%, #b8dff0 40%, #e8f6fb 50%, #87CEEB 60%, #6bbcd8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 5s linear infinite;
}

.about-skills {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-skills li {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(217, 79, 189, 0.4);
    border-radius: 6px;
    color: rgba(245, 222, 179, 0.8);
}

.about-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.97rem;
    color: rgba(245, 222, 179, 0.8);
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 1rem;
}

.about-quote {
    color: rgba(217, 79, 189, 0.85);
    font-style: italic;
}

.bmc-btn {
    display: inline-block;
    background: #FFDD00;
    color: #111;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.bmc-btn:hover { opacity: 0.85; }

@keyframes gold-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.tntm-gold {
    background: linear-gradient(90deg, #F0D060 0%, #FFF8DC 40%, #F0D060 50%, #D4AF37 60%, #F0D060 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: gold-shimmer 4s linear infinite;
}

.disponible-badge {
    display: inline-block;
    background: rgba(62, 207, 142, 0.12);
    color: #3ecf8e;
    border: 1px solid rgba(62, 207, 142, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
}

/* Services */
.about-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-card {
    background: #1a1a2e;
    border: 1px solid rgba(135, 206, 235, 0.15);
    border-radius: 8px;
    padding: 1.2rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    border-color: rgba(135, 206, 235, 0.5);
    box-shadow: 0 0 14px rgba(135, 206, 235, 0.1);
}

.service-icon {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, rgba(217,79,189,0.9) 0%, #f07cd8 40%, #fdd9f5 50%, #d94fbd 60%, rgba(217,79,189,0.9) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
}

.service-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, #6bbcd8 0%, #b8dff0 40%, #e8f6fb 50%, #87CEEB 60%, #6bbcd8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 5s linear infinite;
}

.service-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.82rem;
    color: rgba(245, 222, 179, 0.6);
    line-height: 1.6;
}

/* Compétences groupées */
.about-skills-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.skills-category {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.skills-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.35);
    min-width: 72px;
}

/* CTA section */
.about-cta {
    text-align: center;
    padding: 3rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.about-cta-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.6);
}

.hero-cta {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: wheat;
    text-decoration: none;
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(217, 79, 189, 0.5);
    border-radius: 8px;
    transition: all 0.2s;
}
.hero-cta:hover {
    border-color: #d94fbd;
    color: #d94fbd;
    box-shadow: 0 0 16px rgba(217, 79, 189, 0.4);
}

/* ── Pages projet dédiées ─────────────────────────────────────────────── */
.projet-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0 2.5rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.08);
}

.projet-hero--magenta { border-bottom-color: rgba(217, 79, 189, 0.15); }
.projet-hero--bleu    { border-bottom-color: rgba(135, 206, 235, 0.15); }

.projet-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projet-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.projet-hero-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.4);
    border: 1px solid rgba(245, 222, 179, 0.15);
    border-radius: 4px;
    padding: 0.15rem 0.6rem;
}

.statut-badge-lg {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

h2.projet-hero-titre {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

.projet-hero--magenta h2.projet-hero-titre {
    background: linear-gradient(90deg, rgba(217,79,189,0.9) 0%, #f07cd8 40%, #fdd9f5 50%, #d94fbd 60%, rgba(217,79,189,0.9) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
}

.projet-hero--bleu h2.projet-hero-titre {
    background: linear-gradient(90deg, #6bbcd8 0%, #b8dff0 40%, #e8f6fb 50%, #87CEEB 60%, #6bbcd8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 5s linear infinite;
}

.projet-hero-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(245, 222, 179, 0.7);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.projet-hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.projet-hero-stack span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(217, 79, 189, 0.35);
    color: rgba(217, 79, 189, 0.85);
    background: rgba(217, 79, 189, 0.06);
}

.projet-hero--bleu .projet-hero-stack span {
    border-color: rgba(135, 206, 235, 0.35);
    color: rgba(135, 206, 235, 0.85);
    background: rgba(135, 206, 235, 0.06);
}

.projet-cta {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: wheat;
    text-decoration: none;
    padding: 0.65rem 1.6rem;
    border: 1px solid rgba(217, 79, 189, 0.6);
    border-radius: 8px;
    transition: all 0.2s;
    align-self: flex-start;
}

.projet-cta:hover {
    border-color: #d94fbd;
    color: #d94fbd;
    box-shadow: 0 0 18px rgba(217, 79, 189, 0.4);
}

.projet-hero--bleu .projet-cta { border-color: rgba(135, 206, 235, 0.6); }
.projet-hero--bleu .projet-cta:hover {
    border-color: #87CEEB;
    color: #87CEEB;
    box-shadow: 0 0 18px rgba(135, 206, 235, 0.4);
}

.projet-hero-img-wrap {
    flex: 0 0 44%;
    max-width: 460px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(217, 79, 189, 0.2);
    box-shadow: 0 0 40px rgba(217, 79, 189, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.projet-hero--bleu .projet-hero-img-wrap {
    border-color: rgba(135, 206, 235, 0.2);
    box-shadow: 0 0 40px rgba(135, 206, 235, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.projet-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Sections intérieures */
.projet-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(135, 206, 235, 0.06);
}

.projet-section--alt {
    background: rgba(26, 26, 46, 0.35);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin: 0 -2rem;
    border-bottom: none;
}

h3.projet-section-titre {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.38);
    margin-bottom: 1.5rem;
}

/* Screenshots */
.projet-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.projet-screenshots--2col {
    grid-template-columns: repeat(2, 1fr);
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(135, 206, 235, 0.12);
    background: #0f0f14;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.screenshot-item:hover {
    border-color: rgba(135, 206, 235, 0.35);
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.1);
}

.screenshot-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.screenshot-item:hover img { opacity: 1; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
    animation: lightbox-fade 0.18s ease-out;
}

@keyframes lightbox-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
    cursor: default;
    animation: lightbox-zoom 0.18s ease-out;
}

@keyframes lightbox-zoom {
    from { transform: scale(0.96); }
    to   { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: rgba(245, 222, 179, 0.5);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Open Sans', sans-serif;
}
.lightbox-close:hover { color: wheat; }

.screenshot-item figcaption {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.72rem;
    color: rgba(245, 222, 179, 0.45);
    padding: 0.6rem 0.9rem;
    line-height: 1.4;
}

/* Features */
.projet-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.feature-card {
    background: #1a1a2e;
    border: 1px solid rgba(217, 79, 189, 0.12);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(217, 79, 189, 0.35);
    box-shadow: 0 0 14px rgba(217, 79, 189, 0.1);
}

.feature-icon {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(90deg, rgba(217,79,189,0.9) 0%, #f07cd8 40%, #fdd9f5 50%, #d94fbd 60%, rgba(217,79,189,0.9) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s linear infinite;
}

.feature-nom {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #f0eeff;
    margin-bottom: 0.35rem;
}

.feature-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    color: rgba(245, 222, 179, 0.55);
    line-height: 1.55;
}

/* Variante bleu pour features */
.projet-hero--bleu ~ * .feature-card,
.feature-card--bleu {
    border-color: rgba(135, 206, 235, 0.1);
}
.feature-card--bleu:hover {
    border-color: rgba(135, 206, 235, 0.35);
    box-shadow: 0 0 14px rgba(135, 206, 235, 0.08);
}
.feature-card--bleu .feature-icon {
    background: linear-gradient(90deg, #6bbcd8 0%, #b8dff0 40%, #e8f6fb 50%, #87CEEB 60%, #6bbcd8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 5s linear infinite;
}

/* ── Démo iframe ─────────────────────────────────────────────────────────── */
.projet-demo-creds {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.demo-cred-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 222, 179, 0.35);
}

.demo-cred {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: rgba(217, 79, 189, 0.95);
    background: rgba(217, 79, 189, 0.08);
    border: 1px solid rgba(217, 79, 189, 0.25);
    border-radius: 4px;
    padding: 0.15rem 0.55rem;
}

.demo-sep {
    color: rgba(245, 222, 179, 0.2);
}

.demo-note {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.72rem;
    color: rgba(245, 222, 179, 0.3);
    font-style: italic;
}

.projet-demo {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(217, 79, 189, 0.2);
    box-shadow: 0 0 40px rgba(217, 79, 189, 0.1), 0 24px 60px rgba(0, 0, 0, 0.55);
}

.projet-demo-bar {
    background: #130a18;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(217, 79, 189, 0.12);
}

.demo-dots {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: block;
}

.demo-url {
    flex: 1;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    color: rgba(245, 222, 179, 0.22);
    letter-spacing: 0.02em;
}

.projet-demo iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
    background: #0f0f14;
}

/* Responsive projet */
@media (max-width: 768px) {
    .projet-hero {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0 1.5rem;
    }
    .projet-hero-img-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .projet-screenshots,
    .projet-screenshots--2col {
        grid-template-columns: 1fr;
    }
    .projet-section--alt {
        margin: 0 -1rem;
        padding: 2rem 1rem;
    }
}

/* ── ANIMATIONS INTERSECTION OBSERVER ────────────────────────────────────── */
.anim-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-fade-up:nth-child(2) { transition-delay: 0.1s; }
.anim-fade-up:nth-child(3) { transition-delay: 0.2s; }
.anim-fade-up:nth-child(4) { transition-delay: 0.3s; }
.anim-fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ── PAGE COMMENT JE TRAVAILLE ───────────────────────────────────────────── */
.process-hero {
    background: linear-gradient(160deg, #0f0f14 60%, rgba(217,79,189,0.08));
}

.process-steps {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 2.5rem;
    position: relative;
    padding-bottom: 3.5rem;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 3.6rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(217,79,189,0.45), rgba(135,206,235,0.08));
}

.process-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(217,79,189,0.55);
    background: radial-gradient(circle at 35% 35%, rgba(217,79,189,0.18), rgba(217,79,189,0.04));
    box-shadow: 0 0 18px rgba(217,79,189,0.14), inset 0 0 10px rgba(217,79,189,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.3rem;
    color: #d94fbd;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 0.1rem;
}

.process-content {
    padding: 0.15rem 0 0;
}

.process-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: #f0eeff;
    margin-bottom: 0.65rem;
    line-height: 1;
}

.process-content p {
    color: rgba(240,238,255,0.62);
    font-size: 0.95rem;
    line-height: 1.78;
    max-width: 580px;
}

.process-content .process-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.7rem;
    padding: 0.28rem 0.85rem;
    border-radius: 99px;
    background: rgba(135,206,235,0.06);
    border: 1px solid rgba(135,206,235,0.2);
    color: rgba(135,206,235,0.8);
    letter-spacing: 0.07em;
}

/* ── TÉMOIGNAGES ──────────────────────────────────────────────────────────── */
.temoignages-section {
    padding: 3.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.temoignages-section h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: #f0eeff;
    margin-bottom: 2rem;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.temoignage-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(135,206,235,0.12);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.temoignage-card::before {
    content: '"';
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: rgba(217,79,189,0.2);
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}

.temoignage-texte {
    color: rgba(240,238,255,0.75);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.temoignage-auteur {
    font-size: 0.78rem;
    color: rgba(240,238,255,0.45);
    letter-spacing: 0.04em;
}

.temoignage-auteur strong {
    color: #87CEEB;
    display: block;
    margin-bottom: 0.1rem;
}

@media (max-width: 600px) {
    .process-steps { padding: 2rem 1rem; }
    .temoignages-section { padding: 2rem 1rem; }
}
}

/* ── PAGE TARIFS ─────────────────────────────────────────────────────────────── */
#hero.tarifs-hero {
    min-height: 20vh;
    padding-top: 2.5vh;
    padding-bottom: 2.5vh;
    background:
        radial-gradient(ellipse at 50% 130%, rgba(217,79,189,0.22) 0%, transparent 65%),
        radial-gradient(ellipse at 80% 0%, rgba(135,206,235,0.1) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(135,206,235,0.03) 39px, rgba(135,206,235,0.03) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(135,206,235,0.03) 39px, rgba(135,206,235,0.03) 40px),
        #0f0f14;
}

.tarifs-intro {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 2rem 0;
    text-align: center;
    color: rgba(240,238,255,0.62);
    font-size: 0.95rem;
    line-height: 1.75;
}

.tarifs-intro strong { color: #f0eeff; }

.tarifs-grid {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tarif-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(240,238,255,0.35);
    font-size: 0.9rem;
    padding: 3rem 0;
}

.tarif-card {
    background: rgba(13,13,21,0.9);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tarif-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d94fbd 0%, #87CEEB 100%);
    opacity: 0.7;
    transition: opacity 0.25s;
}

.tarif-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217,79,189,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 30px rgba(217,79,189,0.1);
}

.tarif-card:hover::before { opacity: 1; }

.tarif-header {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.tarif-titre {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: rgba(240,238,255,0.85);
    line-height: 1.1;
}

.tarif-prix {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.4rem;
    line-height: 1;
    color: #d94fbd;
    letter-spacing: 0.02em;
}

.tarif-unite {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7rem;
    color: rgba(217,79,189,0.65);
    margin-left: 0.35rem;
    font-weight: 400;
    letter-spacing: 0;
}

.tarif-desc {
    font-size: 0.86rem;
    color: rgba(240,238,255,0.5);
    line-height: 1.65;
    padding-bottom: 0.2rem;
}

.tarif-lists {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
    margin-top: auto;
}

.tarif-inclus,
.tarif-non-inclus {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tarif-inclus li,
.tarif-non-inclus li {
    font-size: 0.81rem;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    line-height: 1.5;
}

.tarif-inclus li    { color: rgba(240,238,255,0.75); }
.tarif-non-inclus li { color: rgba(240,238,255,0.3); }

.tarif-check { color: #3ecf8e; flex-shrink: 0; font-size: 0.72rem; }
.tarif-cross { color: rgba(240,238,255,0.2); flex-shrink: 0; font-size: 0.72rem; }

.tarifs-note {
    max-width: 680px;
    margin: 0.5rem auto 4rem;
    padding: 0 2rem;
    text-align: center;
    color: rgba(240,238,255,0.4);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ── SKELETON LOADER ─────────────────────────────────────────────────────────── */
@keyframes skeleton-shimmer {
    0%   { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.skeleton {
    animation: skeleton-shimmer 1.5s linear infinite;
    background: linear-gradient(to right, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.1) 18%, rgba(255,255,255,0.04) 33%);
    background-color: rgba(255,255,255,0.04);
    background-size: 1000px 100%;
    border-radius: 4px;
}

.skeleton-titre { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-prix { height: 32px; width: 40%; margin-bottom: 16px; }
.skeleton-text { height: 14px; width: 100%; margin-bottom: 6px; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-list {
    height: 14px;
    width: 70%;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .tarifs-grid { grid-template-columns: 1fr; padding: 0 1rem; }
}

/* ── NAV DESKTOP ─────────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
    header {
        position: relative;
        flex-wrap: nowrap;
    }

    nav {
        /* panel dropdown ancré sous le hamburger, côté droit */
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        z-index: 200;

        display: flex;
        flex-direction: column;
        width: 27vw;
        min-width: 220px;
        max-width: 300px;
        gap: 0.35rem;
        padding: 0.65rem;

        max-height: none;
        overflow: visible;
        clip-path: none;
        order: 0;

        background: rgba(10,10,18,0.96);
        border: 1px solid rgba(135,206,235,0.18);
        border-radius: 14px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.7);
        backdrop-filter: blur(18px);

        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav a {
        padding: 0.55rem 1rem;
        font-size: 0.65rem;
        white-space: nowrap;
        border-radius: 10px;
    }

    .nav-group {
        position: relative;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .nav-group-link { flex: 1; border-radius: 10px !important; }
    .nav-chevron-btn { padding: 0 0.7rem; border-radius: 10px !important; border-left: 1px solid rgba(135,206,235,0.12) !important; height: auto; }

    /* sous-menu inline dans le panel (plus de floating absolu) */
    .nav-sub {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        flex-basis: 100%;
        min-width: unset;
        flex-direction: column;
        z-index: auto;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 0 0.5rem;
        gap: 0.25rem;
        box-shadow: none;
        backdrop-filter: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, opacity 0.22s ease;
        opacity: 0;
    }

    .nav-sub.open {
        max-height: 200px;
        opacity: 1;
    }

    .nav-sub-item {
        border-radius: 8px !important;
        padding: 0.4rem 0.9rem !important;
        font-size: 0.6rem !important;
        opacity: 1;
        border: 1px solid rgba(135,206,235,0.15) !important;
        background: rgba(26,26,46,0.4) !important;
    }

    .nav-sub-item:hover {
        background: rgba(135,206,235,0.08) !important;
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(135,206,235,0.35) !important;
    }
}

#footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    color: rgba(240,238,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-social:hover {
    color: #FF0090;
}

