@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* Couleurs LASD personnalisées */
.lasd-primary {
    background-color: #354f52;
}

.lasd-secondary {
    background-color: #52796f;
}

.lasd-accent {
    background-color: #84a98c;
}

.lasd-light {
    background-color: #cad2c5;
}

.text-lasd-primary {
    color: #354f52;
}

.text-lasd-secondary {
    color: #52796f;
}

.text-lasd-accent {
    color: #84a98c;
}

.text-lasd-light {
    color: #cad2c5;
}

.border-lasd-primary {
    border-color: #354f52;
}

.border-lasd-secondary {
    border-color: #52796f;
}

.border-lasd-accent {
    border-color: #84a98c;
}

.hover-lasd-primary:hover {
    background-color: #2f454a;
}

.hover-lasd-secondary:hover {
    background-color: #476863;
}

.hover-text-lasd-accent:hover {
    color: #84a98c !important;
}

.bg-gradient-lasd {
    background: linear-gradient(135deg, #354f52 0%, #52796f 100%);
}

.text-gradient-lasd {
    background: linear-gradient(135deg, #84a98c 0%, #52796f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #1b4332 0%, #2d5a42 50%, #52796f 100%); /* Vert LASD authentique */
}

.police-gradient {
    background: linear-gradient(135deg, #52796f 0%, #354f52 100%); /* Vert LASD dégradé */
}

.glow-effect {
    box-shadow: 0 0 30px rgba(82, 121, 111, 0.4); /* Lumière vert LASD */
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(82, 121, 111, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(82, 121, 111, 0.8);
    }
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.badge-glow {
    position: relative;
    overflow: hidden;
}

.badge-glow::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;
}

.badge-glow:hover::before {
    left: 100%;
}

.typing-effect {
    border-right: 2px solid #354f52; /* Vert LASD foncé */
    animation: typing 3s steps(30, end), blink 1s infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: #354f52;
    }
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.parallax {
    transform: translateZ(0);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #354f52; /* Vert LASD foncé */
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.3s ease;
}

.custom-cursor.cursor-hover {
    transform: scale(1.5);
    background: rgba(82, 121, 111, 0.2);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #354f52, #52796f); /* Vert LASD dégradé */
    z-index: 9999;
    transition: width 0.3s ease;
}

.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

body:not(.loaded) {
    opacity: 0;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(82, 121, 111, 0.6); /* Lumière vert LASD */
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .timeline-step {
        flex-direction: column;
        text-align: center;
    }

    .timeline-line {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #0f172a;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

.team {
    padding: 80px 0;
    background: linear-gradient(135deg, #1b4332 0%, #2d5a42 50%, #52796f 100%); /* Vert LASD authentique */
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(82, 121, 111, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(53, 79, 82, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #354f52, #52796f);
    border-radius: 2px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
