/**
 * ============================================
 * PORTFOLIO BTS CIEL - STYLESHEET
 * ============================================
 * Styles personnalisés pour le portfolio
 * Auteur: Étudiant BTS CIEL
 * Date: 2025
 */

/* ============================================
   VARIABLES CSS (Custom Properties)
   ============================================ */
:root {
    /* Couleurs principales */
    --bg-primary: #0a192f;
    --bg-secondary: #112240;
    --bg-card: #172a45;
    --bg-card-hover: #1e3a5f;

    /* Couleurs d'accentuation */
    --accent-blue: #64ffda;
    --accent-blue-soft: rgba(100, 255, 218, 0.1);
    --accent-purple: #a8b2d1;

    /* Couleurs de texte */
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --text-muted: #495670;

    /* Bordures et ombres */
    --border-color: rgba(100, 255, 218, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 50px rgba(100, 255, 218, 0.2);

    /* Rayons de bordure */
    --radius-lg: 20px;
    --radius-xl: 26px;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset pour la navbar fixe */
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(100, 255, 218, 0.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.12), transparent 50%),
        var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Canvas pour particules animées (très subtiles) */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ============================================
   ANIMATIONS AU SCROLL
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .reveal {
    opacity: 0;
    transform: translateY(30px);
}

.js .reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.navbar-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar-custom.navbar-scrolled .navbar-background {
    background: rgba(10, 25, 47, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-custom .container {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1rem;
}

.navbar-brand {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--accent-blue) !important;
    transform: translateX(3px);
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--accent-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-icon {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
}

.brand-text {
    position: relative;
}

.brand-text::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.navbar-brand:hover .brand-text::after {
    width: 100%;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0.15rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    overflow: hidden;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link-number {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.3s ease;
    font-family: "Space Grotesk", sans-serif;
}

.nav-link-text {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue) !important;
    background: var(--accent-blue-soft);
    transform: translateY(-2px);
}

.nav-link:hover .nav-link-number,
.nav-link.active .nav-link-number {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link-cta {
    background: var(--accent-blue-soft) !important;
    border: 1px solid var(--border-color) !important;
    margin-left: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-link-cta::before {
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
}

.nav-link-cta:hover {
    background: var(--accent-blue) !important;
    color: var(--bg-primary) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.5);
    transform: translateY(-3px);
}

.nav-link-cta::after {
    display: none;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    background: var(--accent-blue-soft);
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4);
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none !important;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Animation pour le menu mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(10, 25, 47, 0.98);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
    }

    .nav-link {
        padding: 1rem 1.25rem !important;
        margin: 0.25rem 0;
        border-radius: 8px;
    }

    .nav-link-cta {
        margin-top: 0.5rem;
        margin-left: 0;
    }
}

/* ============================================
   SECTION HERO
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    position: relative;
    background:
        radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    overflow: hidden;
}

.hero-background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(100, 255, 218, 0.03) 50%, transparent 100%);
    animation: gradient-shift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.greeting-line {
    width: 60px;
    height: 2px;
    background: var(--accent-blue);
    display: block;
    box-shadow: 0 0 10px var(--accent-blue);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-blue);
    opacity: 0.3;
    transform: scaleX(0);
    animation: underline-expand 1s ease 0.5s forwards;
}

@keyframes underline-expand {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle-wrapper {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--accent-blue);
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
}

.typing-text {
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    color: var(--accent-blue);
    animation: blink-cursor 1s infinite;
    margin-left: 5px;
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle-secondary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    font-family: "Space Grotesk", sans-serif;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card-wrapper {
    position: relative;
    perspective: 1000px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.hero-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.2);
}

.hero-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-card-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-card-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-card-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    padding: 0.5rem 1rem;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.hero-card-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.floating-element.element-1 {
    top: -20px;
    right: -20px;
    animation: float-1 4s ease-in-out infinite;
}

.floating-element.element-2 {
    bottom: 30%;
    right: -30px;
    animation: float-2 5s ease-in-out infinite;
}

.floating-element.element-3 {
    top: 40%;
    left: -30px;
    animation: float-3 6s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-10px, 10px) rotate(5deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-15px, -15px) rotate(-5deg);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10px, -10px) rotate(5deg);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "Space Grotesk", sans-serif;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-primary-custom,
.btn-secondary-custom {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom {
    background: var(--accent-blue);
    color: var(--bg-primary);
    border-color: var(--accent-blue);
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-secondary-custom:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-number {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================
   CARDS
   ============================================ */
.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.card-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   COMPÉTENCES
   ============================================ */
.skill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-badge:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.skill-badge i {
    font-size: 1.2rem;
}

/* ============================================
   PROJETS
   ============================================ */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(59, 130, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-blue);
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tag {
    padding: 0.4rem 0.8rem;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
}

.project-link {
    color: var(--accent-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.project-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
    transition: width 0.3s ease-out;
}

.project-link:hover::after {
    width: 100%;
}

/* ============================================
   FORMATION / TIMELINE
   ============================================ */
.timeline-item {
    padding-bottom: 2rem;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    border-left: none;
    padding-left: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0.2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transform: translateY(0);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    padding-left: 0;
}

.timeline-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   FREELANCE / BASILIS DIGITALE
   ============================================ */
.freelance-content {
    padding: 1rem 0;
}

.freelance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
}

.freelance-badge i {
    font-size: 1rem;
}

.freelance-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.freelance-title strong {
    color: var(--accent-blue);
}

.freelance-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.freelance-skills {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.freelance-skills-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.freelance-visual {
    padding: 2rem;
}

.freelance-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--accent-blue-soft), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent-blue);
    position: relative;
    animation: float-icon 3s ease-in-out infinite;
}

.freelance-icon-wrapper::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), rgba(59, 130, 246, 0.5));
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.freelance-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.freelance-stat-item {
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.5rem;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.freelance-stat-item:hover .stat-icon {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.4);
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.contact-item a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue-soft);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-blue);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS FUTURISTES (Subtiles et organisées)
   ============================================ */

/* Animation de gradient animé (pour le fond du hero) */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation de shimmer (pour les boutons au hover) */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Gradient animé sur le hero (très subtil) */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(100, 255, 218, 0.05) 0%,
        transparent 50%,
        rgba(59, 130, 246, 0.05) 100%
    );
    background-size: 200% 200%;
    animation: gradient-shift 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

/* Shimmer sur les boutons au hover */
.btn-primary-custom:hover {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 255, 218, 0.1),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .card-custom {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}
