/* Palette Catena */
:root {
    --primary: #0F2747;
    --accent: #48D7C4;
    --highlight: #8AEAD8;
    --white: #FFFFFF;
    --dark-bg: #06142A;
}

/* Accessibilité - Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible pour navigation clavier */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: none !important;
}

/* Cacher le curseur sur tous les éléments interactifs */
a, button, input, select, textarea, .service-item, .nav-service-link, .nav-doc-link, .cta-button {
    cursor: none !important;
}

body.reduced-motion *,
body.reduced-motion *::before,
body.reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Curseur personnalisé - Patte de chat */
.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
}

/* Fragments de chaînes */
.chain-fragment {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    /* Pas de background ni de taille fixe - laissé au JavaScript */
}

/* Animation réseau en arrière-plan */
.network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    padding: 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 35vh;
    margin-bottom: 0;
    padding-top: 3rem;
    z-index: 10;
}

.header .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.main-nav {
    width: 100%;
    margin-bottom: 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 2rem;
}

.nav-services {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-service-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-service-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-doc-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-doc-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}


.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInDown 1s ease-out;
    width: 100%;
    z-index: 10;
}

.logo-main {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(72, 215, 196, 0.3));
    animation: pulseGlow 3s ease-in-out infinite;
    will-change: filter;
    z-index: 11;
}

.logo-text {
    width: 360px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(138, 234, 216, 0.2));
    z-index: 11;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(72, 215, 196, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(72, 215, 196, 0.6));
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0 5rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-line.accent {
    color: var(--accent);
    position: relative;
}

.title-line .accent {
    color: var(--accent);
}

.title-line.accent-line {
    position: relative;
}

.title-line.accent-line::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    animation: expandLine 1s ease-out 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--accent);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 600;
    animation: fadeIn 1s ease-out 0.8s backwards;
    position: relative;
    text-shadow: 0 0 20px rgba(72, 215, 196, 0.6), 0 0 40px rgba(72, 215, 196, 0.3);
    letter-spacing: 0.05em;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(72, 215, 196, 0.2);
    border-bottom: 1px solid rgba(72, 215, 196, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--accent);
    margin-bottom: 4rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    animation: fadeIn 1s ease-out 1s backwards;
    font-weight: 400;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out backwards;
}

.badge:nth-child(1) { animation-delay: 1s; }
.badge:nth-child(2) { animation-delay: 1.1s; }
.badge:nth-child(3) { animation-delay: 1.2s; }
.badge:nth-child(4) { animation-delay: 1.3s; }

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(72, 215, 196, 0.4);
    background: var(--accent);
    color: var(--primary);
}

.badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.badge:hover .badge-icon {
    filter: brightness(0) invert(0);
}

.badge-text {
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Student Benefits Section */
.student-benefits {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.3) 0%, rgba(72, 215, 196, 0.1) 100%);
    border-radius: 20px;
    margin: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease forwards;
    opacity: 0;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(72, 215, 196, 0.1) 0%, rgba(138, 234, 216, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(72, 215, 196, 0.4);
    border-color: var(--highlight);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(72, 215, 196, 0.5));
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--highlight);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(72, 215, 196, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(72, 215, 196, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(72, 215, 196, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(72, 215, 196, 0.3);
    border-color: var(--highlight);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--highlight);
    font-size: 0.95rem;
}

/* Values Section */
.values {
    padding: 5rem 0;
    margin: 4rem 0;
    border-top: 1px solid rgba(72, 215, 196, 0.15);
    border-bottom: 1px solid rgba(72, 215, 196, 0.15);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 39, 71, 0.2);
    border: 1px solid rgba(72, 215, 196, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    will-change: transform;
}

.value-card:hover {
    border-color: var(--accent);
    background: rgba(72, 215, 196, 0.08);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(72, 215, 196, 0.15);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
    overflow: visible;
}

.value-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
    filter: drop-shadow(0 0 8px rgba(72, 215, 196, 0.4));
    overflow: visible;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    color: var(--highlight);
}

.value-card:hover .value-icon svg {
    stroke: var(--highlight);
    filter: drop-shadow(0 0 12px rgba(138, 234, 216, 0.6));
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--highlight);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(72, 215, 196, 0.2);
    margin-top: 4rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header .section-subtitle {
    margin-top: 1rem;
    margin-bottom: 0;
}

.services-category {
    margin: 4rem 0;
    padding: 0;
    background: transparent;
    border: none;
}

.category-title {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.category-icon {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.category-title:hover .category-icon {
    opacity: 1;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--accent);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    justify-items: center;
}


.service-item {
    background: rgba(15, 39, 71, 0.25);
    border: 1px solid rgba(72, 215, 196, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
    justify-content: flex-start;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-item:hover {
    will-change: transform;
}

.service-item:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-color: var(--accent);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    border-color: var(--accent);
    background: rgba(72, 215, 196, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(72, 215, 196, 0.2);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 215, 196, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    transition: background 0.3s ease;
    overflow: hidden;
}

.service-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0);
    border-radius: 12px;
    transition: background 0.3s ease;
    z-index: 0;
}

.service-icon-wrapper .service-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon-wrapper::before {
    background: rgba(0, 255, 0, 0.4);
    animation: rotateGlow 2s linear infinite;
}

.service-item:hover .service-icon-wrapper {
    background: rgba(0, 255, 0, 0.2);
}

.service-item:hover .service-icon-wrapper .service-icon {
    transform: none; /* L'icône reste fixe */
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    }
    100% {
        transform: rotate(360deg);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }
}

.service-icon {
    width: 40px;
    height: 40px;
    display: block;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.icon-fallback {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(72, 215, 196, 0.2);
    border-radius: 8px;
}

.service-item:hover .service-icon {
    opacity: 1;
}

.service-item h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: var(--accent);
}

.service-item p {
    color: var(--highlight);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    opacity: 0.9;
}

.service-tag {
    display: inline-block;
    background: transparent;
    color: var(--highlight);
    padding: 0;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 400;
    border: none;
    margin-top: 0;
    opacity: 0.7;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(72, 215, 196, 0.2);
    margin-top: 4rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--highlight);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.cta-button.primary:hover,
.cta-button.primary:focus {
    background: var(--highlight);
    border-color: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 215, 196, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus {
    background: rgba(72, 215, 196, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 215, 196, 0.2);
}

.cta-button.tertiary {
    background: transparent;
    color: var(--highlight);
    border-color: var(--highlight);
    opacity: 0.8;
}

.cta-button.tertiary:hover,
.cta-button.tertiary:focus {
    background: rgba(138, 234, 216, 0.1);
    border-color: var(--highlight);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 234, 216, 0.2);
}

/* Infrastructure Section */
.infrastructure {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.2) 0%, rgba(72, 215, 196, 0.05) 100%);
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.infrastructure-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.infra-badge {
    background: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 180px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.infra-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(72, 215, 196, 0.3);
    border-color: var(--highlight);
}

.infra-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}

.infra-text {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.infra-desc {
    color: var(--highlight);
    font-size: 0.85rem;
    text-align: center;
}

/* Footer */
.footer {
    padding: 5rem 0 2.5rem;
    border-top: 1px solid rgba(72, 215, 196, 0.2);
    margin-top: 6rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 39, 71, 0.4) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: left;
}

.footer-section h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--highlight);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-subtitle {
    color: var(--accent) !important;
    opacity: 0.8 !important;
    font-size: 0.9rem !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(72, 215, 196, 0.15);
}

.footer-bottom p {
    color: var(--highlight);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    font-size: 1rem;
}

.footer-palette {
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
    margin-top: 1rem;
}

.color-primary { color: var(--primary); }
.color-accent { color: var(--accent); }
.color-highlight { color: var(--highlight); }
.color-white { color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
    }
    
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-services {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-main {
        width: 200px;
    }
    
    .logo-text {
        width: 280px;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .services-category {
        padding: 1.5rem;
        margin: 2.5rem 0;
    }
    
    .category-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        justify-items: center;
    }
    
    .service-item {
        max-width: 400px;
    }
    
    .services-grid .service-item:nth-child(5):nth-last-child(1) {
        grid-column: 1;
    }
    
    .service-item {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        min-height: 30vh;
        padding-top: 2rem;
    }
    
    .logo-main {
        width: 200px;
    }
    
    .logo-text {
        width: 280px;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .values-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content {
        padding: 0 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .footer-content {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Effets de chaînes (inspiré du logo) */
@keyframes chainLink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}


