/* style.css - Version finale avec navbar corrigée */
:root {
    --primary-color: #00f3ff;
    --secondary-color: #ff00e5;
    --bg-dark: #0a0a0f;
    --bg-darker: #050507;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow-color: rgba(0, 243, 255, 0.3);
    --success-color: #00ff88;
    --error-color: #ff0055;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --laptop: 1024px;
    --desktop: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== PARTICULES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, var(--bg-darker) 0%, #000000 100%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== BANNIÈRE DE LANCEMENT ===== */
.launch-banner {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    color: var(--bg-dark);
    text-align: center;
    padding: clamp(8px, 2vw, 12px);
    font-weight: bold;
    position: relative;
    z-index: 1001;
    animation: slideDown 0.5s ease, gradientShift 3s ease infinite;
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.blink {
    animation: blink 1s infinite;
    display: inline-block;
    margin: 0 5px;
}

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

/* ===== GLASSMORPHISM ===== */
.glass-effect {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

/* ===== NAVIGATION CORRIGÉE ===== */
.navbar {
    position: fixed;
    top: clamp(50px, 8vw, 60px);
    left: 0;
    right: 0;
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 50px;
    animation: navFloat 3s ease-in-out infinite;
    box-sizing: border-box;
}

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

/* Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-glitch {
    position: relative;
    cursor: pointer;
}

.glitch-text {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 10px var(--primary-color);
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitchTop 0.3s infinite linear alternate-reverse;
    color: var(--secondary-color);
    z-index: -1;
}

.glitch-text::after {
    animation: glitchBottom 0.3s infinite linear alternate-reverse;
    color: var(--primary-color);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 30px var(--primary-color), 0 0 50px var(--secondary-color); }
    25% { text-shadow: -2px 0 var(--secondary-color), 2px 2px var(--primary-color); }
    50% { text-shadow: 2px -2px var(--secondary-color), -2px 2px var(--primary-color); }
    75% { text-shadow: 2px 0 var(--primary-color), -2px -2px var(--secondary-color); }
}

@keyframes glitchTop {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitchBottom {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

.logo-sub {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Navigation links - Desktop */
.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    animation: typing 3s steps(10) infinite;
    opacity: 0;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::before {
    opacity: 1;
}

@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

/* Menu toggle - Mobile/Tablet */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-color);
    display: block;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 15vh, 120px) clamp(1rem, 5vw, 2rem);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, 
        transparent, 
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color),
        transparent);
    opacity: 0.3;
    animation: scan 8s linear infinite;
    z-index: 2;
}

@keyframes scan {
    0% { top: -10px; }
    100% { top: 100%; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: min(1000px, 90vw);
    width: 100%;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(5px, 2vw, 15px);
    padding: clamp(6px, 2vw, 10px) clamp(15px, 4vw, 30px);
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: clamp(0.7rem, 2.5vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.launch-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    20%, 100% { transform: translateX(100%) rotate(45deg); }
}

.pulse {
    animation: pulseIcon 2s infinite;
    display: inline-block;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.2); filter: brightness(1.5); }
}

.hero-title {
    font-size: clamp(2rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: clamp(1rem, 4vh, 2rem);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.6s; }

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.hero-description {
    font-size: clamp(0.85rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: clamp(2rem, 5vh, 3rem);
    max-width: min(600px, 90%);
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
    line-height: 1.6;
}

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

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 8vw, 4rem);
    margin: clamp(2rem, 5vh, 3rem) 0;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    position: relative;
    text-shadow: 0 0 20px var(--primary-color);
    animation: statPulse 2s infinite;
}

@keyframes statPulse {
    0%, 100% { text-shadow: 0 0 20px var(--primary-color); }
    50% { text-shadow: 0 0 40px var(--primary-color), 0 0 60px var(--secondary-color); }
}

.stat-number[data-target="24/7"]::after {
    display: none;
}

.stat-number::before {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -20px;
    color: var(--secondary-color);
}

.stat-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: clamp(0.8rem, 3vw, 2rem);
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2.5rem);
    font-size: clamp(0.8rem, 3vw, 1rem);
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: min(200px, 80%);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--glow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
}

.btn-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-color);
}

/* Floating shapes */
.hero-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-shape {
    position: absolute;
    width: clamp(150px, 30vw, 300px);
    height: clamp(150px, 30vw, 300px);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float3D 15s infinite;
}

.shape1 {
    top: 10%;
    left: 5%;
    background: var(--primary-color);
    animation-delay: 0s;
}

.shape2 {
    bottom: 10%;
    right: 5%;
    background: var(--secondary-color);
    animation-delay: 5s;
}

.shape3 {
    top: 40%;
    right: 20%;
    background: #00ff88;
    animation-delay: 10s;
}

@keyframes float3D {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(50px, -50px) scale(1.2) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.8) rotate(240deg);
    }
}

/* ===== SECTION EXPERTISE ===== */
.expertise-section {
    padding: clamp(60px, 10vh, 100px) clamp(1rem, 5vw, 2rem);
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vh, 4rem);
}

.section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    top: 50%;
}

.section-title::before {
    left: -70px;
}

.section-title::after {
    right: -70px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    max-width: min(600px, 90%);
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    max-width: min(1200px, 90vw);
    margin: 0 auto;
}

.expertise-card {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.expertise-card:hover::before {
    opacity: 0.3;
}

.expertise-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 243, 255, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.expertise-icon {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    animation: rotateIcon 5s linear infinite;
}

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

.expertise-card h3 {
    color: var(--primary-color);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    text-shadow: 0 0 10px var(--primary-color);
}

.expertise-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.techno-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.techno-tag {
    padding: 0.3rem clamp(0.5rem, 2vw, 1rem);
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.techno-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.techno-tag:hover::before {
    left: 100%;
}

.techno-tag:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}

/* ===== SECTION TECHNOLOGIES ===== */
.technos-section {
    padding: clamp(60px, 10vh, 100px) clamp(1rem, 5vw, 2rem);
    position: relative;
    overflow: hidden;
}

.technos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 243, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.techno-cloud {
    max-width: min(900px, 90vw);
    margin: clamp(2rem, 5vh, 4rem) auto;
    position: relative;
    min-height: clamp(300px, 50vh, 500px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    perspective: 1000px;
}

.cloud-item {
    padding: clamp(0.4rem, 2vw, 0.8rem) clamp(0.8rem, 3vw, 1.8rem);
    border-radius: 50px;
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    animation: cloudFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) translateX(5px) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translateY(5px) translateX(-5px) rotate(-2deg) scale(0.95);
    }
    75% {
        transform: translateY(-5px) translateX(10px) rotate(1deg) scale(1.02);
    }
}

.language-item {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(0, 243, 255, 0.05));
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.tool-item {
    background: linear-gradient(135deg, rgba(255, 0, 229, 0.15), rgba(255, 0, 229, 0.05));
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.cloud-item:hover {
    transform: scale(1.3) translateZ(50px) !important;
    box-shadow: 0 0 40px currentColor;
    z-index: 100;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.techno-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    max-width: min(1000px, 90vw);
    margin: clamp(2rem, 5vh, 3rem) auto 0;
}

.category {
    text-align: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.category:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.category h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.3rem, 1vw, 0.8rem);
    justify-content: center;
}

.mini-tags span {
    padding: 0.2rem clamp(0.5rem, 2vw, 1.2rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.mini-tags span:hover {
    border-color: var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
    transform: scale(1.1);
}

/* ===== SECTION OFFRE ===== */
.offer-section {
    padding: clamp(60px, 10vh, 100px) clamp(1rem, 5vw, 2rem);
    position: relative;
    overflow: hidden;
    background: linear-gradient(0deg, var(--bg-darker), var(--bg-dark));
}

.offer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 243, 255, 0.02) 10px,
        rgba(255, 0, 229, 0.02) 20px
    );
    animation: backgroundMove 20s linear infinite;
}

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

.offer-container {
    max-width: min(1000px, 90vw);
    margin: 0 auto;
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.1), 
        rgba(255, 0, 229, 0.1),
        rgba(0, 243, 255, 0.1));
    background-size: 200% 200%;
    animation: gradientBG 5s ease infinite;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: clamp(1.5rem, 5vw, 3rem);
    position: relative;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
}

@keyframes gradientBG {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 0.5rem clamp(1rem, 3vw, 2rem);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    white-space: nowrap;
    box-shadow: 0 0 30px var(--primary-color);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 30px var(--primary-color); }
    50% { box-shadow: 0 0 50px var(--primary-color), 0 0 70px var(--secondary-color); }
}

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

.offer-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin: clamp(1rem, 4vh, 2rem) 0;
    line-height: 1.3;
}

.offer-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: clamp(0.8rem, 3vw, 1.5rem);
    margin: clamp(1.5rem, 4vh, 3rem) 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: clamp(0.8rem, 2vw, 1rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.2);
}

.feature-icon {
    color: var(--success-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    animation: checkPulse 1.5s infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.pulse-button {
    animation: pulseButton 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulseButton {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--primary-color); }
    50% { transform: scale(1.05); box-shadow: 0 0 60px var(--primary-color), 0 0 90px var(--secondary-color); }
}

.offer-timer {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timer {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.3rem, 2vw, 0.5rem);
}

.timer span {
    background: rgba(0, 243, 255, 0.1);
    padding: clamp(0.3rem, 2vw, 0.5rem) clamp(0.5rem, 3vw, 1rem);
    border-radius: 10px;
    margin: 0 0.2rem;
    display: inline-block;
    animation: numberPulse 1s infinite;
    font-size: clamp(1.2rem, 4vw, 2rem);
}

@keyframes numberPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== SECTION CONTACT ===== */
.contact-section {
    padding: clamp(60px, 10vh, 100px) clamp(1rem, 5vw, 2rem);
    position: relative;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 243, 255, 0.05) 2px, rgba(0, 243, 255, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 0, 229, 0.05) 2px, rgba(255, 0, 229, 0.05) 4px);
    animation: gridPulse 4s linear infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.contact-container {
    max-width: min(1000px, 90vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 5vw, 4rem);
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: clamp(1.5rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.contact-info h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.contact-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.detail-item:hover {
    transform: translateX(10px);
    background: rgba(0, 243, 255, 0.1);
}

.detail-icon {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.social-proof {
    margin-top: 2rem;
    text-align: center;
}

.social-proof p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

.avatars {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.avatar {
    width: clamp(35px, 8vw, 45px);
    height: clamp(35px, 8vw, 45px);
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    border: 2px solid var(--bg-dark);
    animation: avatarFloat 3s infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

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

.avatars span {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-left: 0.5rem;
}

/* Formulaire */
.contact-form {
    padding: clamp(1.5rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: clamp(1.5rem, 4vh, 2rem);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 0 8px 0; /* Augmenté le padding du haut pour plus d'espace */
    font-size: clamp(0.9rem, 3vw, 1rem);
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px; /* Espace pour la flèche personnalisée */
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group label {
    position: absolute;
    top: 12px; /* Aligné avec le padding du champ */
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: 0.3s ease all;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label,
.form-group select:valid ~ label {
    top: -12px; /* Remonte moins haut pour rester aligné */
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Ajout d'une flèche personnalisée pour le select */
.form-group {
    position: relative;
}

.form-group select + .form-border + label + .select-arrow {
    display: none; /* On utilisera un pseudo-élément à la place */
}

.form-group::after {
    content: '▼';
    font-size: 12px;
    color: var(--primary-color);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.form-group:hover::after {
    opacity: 1;
}

/* Ne pas afficher la flèche pour les inputs et textarea */
.form-group:has(input)::after,
.form-group:has(textarea)::after {
    display: none;
}

.form-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.form-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-border::after,
.form-group textarea:focus ~ .form-border::after,
.form-group select:focus ~ .form-border::after {
    width: 100%;
}


.submit-btn {
    width: 100%;
    padding: clamp(0.8rem, 3vw, 1rem);
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: clamp(0.8rem, 3vw, 1rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 30px var(--primary-color);
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(0deg, var(--bg-darker), transparent);
    padding: clamp(2rem, 8vh, 4rem) clamp(1rem, 5vw, 2rem) clamp(1rem, 4vh, 2rem);
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.footer-content {
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 5vw, 2rem);
    position: relative;
    z-index: 2;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    text-shadow: 0 0 20px var(--primary-color);
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

.footer-links {
    display: flex;
    gap: clamp(1rem, 4vw, 2rem);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    white-space: nowrap;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.social-link {
    width: clamp(35px, 8vw, 45px);
    height: clamp(35px, 8vw, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    font-size: clamp(1rem, 3vw, 1.2rem);
    position: relative;
    overflow: hidden;
}

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

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

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px var(--primary-color);
}

.footer-copyright {
    text-align: center;
    margin-top: clamp(1.5rem, 5vh, 3rem);
    padding-top: clamp(1rem, 3vh, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}

/* ===== UTILITAIRES ===== */
.hide-on-mobile {
    display: inline-block;
}

.hide-on-tablet {
    display: inline-block;
}

.hide-on-desktop {
    display: none;
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: clamp(80px, 15vh, 100px);
    right: clamp(10px, 3vw, 20px);
    max-width: min(350px, 90vw);
    padding: clamp(0.8rem, 2vh, 1rem) clamp(1rem, 3vw, 2rem);
    border-radius: 10px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    word-wrap: break-word;
}

.notification.success {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
}

.notification.error {
    background: linear-gradient(135deg, var(--error-color), #ff0088);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== MEDIA QUERIES ===== */

/* Tablettes */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .navbar {
        top: 70px;
        width: 90%;
        padding: 0.8rem 1.2rem;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 140px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        border-radius: 20px;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        border: 1px solid var(--primary-color);
        box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
        z-index: 999;
        margin: 0 auto;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .floating-shape {
        opacity: 0.1;
    }
    
    .techno-cloud {
        min-height: 400px;
    }
    
    .cloud-item {
        padding: 0.6rem 1.2rem;
    }
    
    .hide-on-tablet {
        display: none;
    }
}

/* Téléphones */
@media screen and (max-width: 580px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        top: 60px;
        padding: 0.6rem 1rem;
    }
    
    .logo-glitch .glitch-text {
        font-size: 1.1rem;
    }
    
    .nav-links {
        top: 120px;
        width: 95%;
        padding: 1.5rem 1rem;
    }
    
    .nav-link {
        padding: 0.7rem;
        font-size: 1rem;
    }
    
    .nav-toggle span {
        width: 25px;
    }
    
    .logo-sub {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .launch-badge {
        padding: 6px 15px;
        font-size: 0.7rem;
        gap: 5px;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 1.2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .expertise-icon {
        margin-bottom: 0.5rem;
    }
    
    .techno-cloud {
        min-height: 350px;
        gap: 0.5rem;
    }
    
    .cloud-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .offer-container {
        padding: 1.5rem 1rem;
    }
    
    .offer-badge {
        position: relative;
        top: -25px;
        margin-bottom: -10px;
        font-size: 0.65rem;
        white-space: normal;
        text-align: center;
        width: 90%;
    }
    
    .offer-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        justify-content: flex-start;
        text-align: left;
    }
    
    .timer {
        font-size: 1.2rem;
    }
    
    .timer span {
        padding: 0.2rem 0.4rem;
        font-size: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links a {
        white-space: normal;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .floating-shape {
        animation: none;
        opacity: 0.05;
    }
    
    .particle {
        display: none;
    }
    
    .hide-on-mobile {
        display: none;
    }
}

/* Petits téléphones */
@media screen and (max-width: 960px) {
    html {
        font-size: 13px;
    }
    
    .navbar {
        padding: 0.5rem 0.8rem;
    }
    
    .logo-glitch .glitch-text {
        font-size: 1rem;
    }
    
    .nav-links {
        top: 110px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cloud-item {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .offer-title {
        font-size: 1.3rem;
    }
}

/* Animation du menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Orientation paysage */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
        padding: 100px 1rem 50px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .nav-links.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Grands écrans */
@media screen and (min-width: 1600px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Écrans Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-effect {
        backdrop-filter: blur(20px);
    }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimisations tactiles */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, 
    .btn-secondary,
    .nav-link,
    .social-link,
    .techno-tag,
    .cloud-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }
    
    .nav-link:active {
        color: var(--primary-color);
    }
    
    .expertise-card:hover {
        transform: none;
    }
    
    .cloud-item:hover {
        transform: none;
    }
}

/* Scrollbar */
@media (min-width: 569px) {
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--bg-darker);
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(var(--primary-color), var(--secondary-color));
        border-radius: 5px;
    }
}

/* À ajouter dans style.css, après les styles de .nav-link */
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link.active::before {
    opacity: 1;
    width: 100%;
}