/* ===================================
   NUTECORE - CSS PAGES
   Styles pour les pages de services et légales
   =================================== */

/* Page Hero Section */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: var(--spacing-lg);
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 82, 204, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 204, 255, 0.15) 0%, transparent 40%),
        linear-gradient(180deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
}

.animated-grid {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 153, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 30s linear infinite;
    opacity: 0.6;
}

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

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-muted);
}

.breadcrumb a {
    color: var(--color-blue-electric);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-blue-cyan);
}

.breadcrumb span {
    color: var(--color-muted);
}

/* Page Title */
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-light-grey);
    max-width: 700px;
    line-height: 1.6;
}

/* Section Intro */
.section-intro {
    padding: var(--spacing-xl) 0;
    background: var(--color-black);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.intro-text {
    color: var(--color-light-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-box {
    text-align: center;
    padding: var(--spacing-sm);
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.05), transparent);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue-primary);
    box-shadow: var(--shadow-md);
}

.stat-box .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    display: block;
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* Intro Visual */
.intro-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    position: absolute;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 16px;
    padding: var(--spacing-md);
    width: 220px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.15);
    transition: var(--transition-normal);
    z-index: 1;
}

.visual-card:hover {
    border-color: var(--color-blue-electric);
    box-shadow: 0 12px 48px rgba(0, 102, 255, 0.3), var(--shadow-glow);
}

.card-float-1 {
    top: 20px;
    left: 20px;
    animation: float1 6s ease-in-out infinite;
}

.card-float-2 {
    top: 150px;
    right: 30px;
    animation: float2 6s ease-in-out infinite 2s;
}

.card-float-3 {
    bottom: 50px;
    left: 60px;
    animation: float3 6s ease-in-out infinite 4s;
}

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

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

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

.visual-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--spacing-xs);
    color: var(--color-blue-electric);
}

.visual-icon svg {
    width: 100%;
    height: 100%;
}

.visual-card h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
}

/* Approach Section */
.approach-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark-grey) 100%);
}

.approach-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-blue-primary), var(--color-blue-cyan));
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.timeline-icon svg {
    width: 30px;
    height: 30px;
}

.timeline-content {
    flex: 1;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
}

.timeline-content:hover {
    border-color: var(--color-blue-primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.timeline-number {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 102, 255, 0.1);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.timeline-content p {
    color: var(--color-light-grey);
    line-height: 1.6;
}

/* Technologies Section */
.technologies-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-black);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.tech-category {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: var(--transition-normal);
}

.tech-category:hover {
    border-color: var(--color-blue-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-category-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-category-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.tech-item {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 8px;
    padding: var(--spacing-xs) var(--spacing-sm);
    text-align: center;
    color: var(--color-white);
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: default;
}

.tech-item:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--color-blue-primary);
    transform: scale(1.05);
}

/* Use Cases Section */
.use-cases-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-charcoal) 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.use-case-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.use-case-card:hover::before {
    opacity: 0.05;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue-primary);
    box-shadow: var(--shadow-lg);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-blue-electric);
    position: relative;
    z-index: 1;
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
}

.use-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.use-case-card p {
    color: var(--color-light-grey);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-black);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--color-light-grey);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Grid (for AI page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.6));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-blue-primary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-blue-electric);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.feature-card p {
    color: var(--color-light-grey);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-grey);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-blue-electric);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.benefit-content p {
    color: var(--color-light-grey);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-visual {
        height: 300px;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .approach-timeline::before {
        left: 20px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 40vh;
        padding-top: 80px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* ===================================
   D\u00c9VELOPPEMENT SUR MESURE - ANIMATIONS
   =================================== */

.dev-code-display {
    width: 90%;
    max-width: 750px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 20, 40, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(0, 153, 255, 0.4);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .dev-code-display {
        font-size: 0.8rem;
        padding: 1rem;
        width: 95%;
    }

    .code-line {
        white-space: normal;
        word-break: break-word;
        margin: 0.4rem 0;
    }

    .code-cursor {
        width: 8px;
        height: 16px;
    }
}

.code-line {
    margin: 0.6rem 0;
    animation: typeIn 0.8s ease-out forwards;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
}

.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.8s; }
.code-line:nth-child(3) { animation-delay: 1.6s; }
.code-line:nth-child(4) { animation-delay: 2.4s; }
.code-line:nth-child(5) { animation-delay: 3.2s; }
.code-line:nth-child(6) { animation-delay: 4s; }
.code-line:nth-child(7) { animation-delay: 4.8s; }

.code-keyword {
    color: #00ccff;
    font-weight: bold;
}

.code-function {
    color: #00ff99;
}

.code-param {
    color: #ffaa00;
}

.code-var {
    color: #cc99ff;
}

.code-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: #00ff99;
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}

@keyframes typeIn {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}

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

/* ===================================
   INTELLIGENCE ARTIFICIELLE - ANIMATIONS
   =================================== */

.ai-hero .chatbot-float {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: aiFloat 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .ai-hero .chatbot-float {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 2rem auto;
        max-width: 200px;
        display: flex;
        justify-content: center;
    }

    .ai-hero .chatbot-float svg {
        width: 150px;
        height: 150px;
    }
}

@keyframes aiFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-15px); }
}

.chatbot-icon {
    width: 200px;
    height: 200px;
    position: relative;
}

.chatbot-bubble {
    position: absolute;
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.15), rgba(0, 204, 255, 0.15));
    border: 2px solid rgba(0, 153, 255, 0.4);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    animation: bubblePop 0.5s ease-out;
}

.chatbot-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 153, 255, 0.4);
}

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

.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

/* ===================================
   AUTOMATISATION - ANIMATIONS
   =================================== */

.automation-workflow {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(0, 20, 40, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(0, 153, 255, 0.4);
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .automation-workflow {
        padding: 1rem;
        width: 95%;
    }

    .workflow-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .workflow-title {
        font-size: 1rem;
    }

    .task-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .task-name {
        font-size: 0.9rem;
    }

    .task-status {
        align-self: flex-end;
        font-size: 0.75rem;
    }

    .task-checkbox {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 153, 255, 0.3);
}

.workflow-title {
    font-size: 1.2rem;
    color: #00ccff;
    font-weight: 700;
}

.workflow-status {
    color: #00ff99;
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

.workflow-tasks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 40, 80, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 153, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInTask 0.5s ease-out forwards;
}

.task-1 { animation-delay: 0.2s; }
.task-2 { animation-delay: 0.5s; }
.task-3 { animation-delay: 0.8s; }
.task-4 { animation-delay: 1.1s; }
.task-5 { animation-delay: 1.4s; }

.task-item:hover {
    background: rgba(0, 40, 80, 0.5);
    transform: translateX(5px);
}

.task-checkbox {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.task-1 .task-checkbox,
.task-2 .task-checkbox {
    background: rgba(0, 255, 153, 0.2);
    border: 2px solid #00ff99;
    color: #00ff99;
}

.task-3 .task-checkbox {
    background: rgba(0, 204, 255, 0.2);
    border: 2px solid #00ccff;
    color: #00ccff;
    animation: spin 2s linear infinite;
}

.task-4 .task-checkbox,
.task-5 .task-checkbox {
    background: rgba(100, 100, 100, 0.2);
    border: 2px solid #666;
    color: #666;
}

.task-content {
    flex: 1;
}

.task-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.task-progress {
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    overflow: hidden;
}

.task-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ccff, #00ff99);
    border-radius: 3px;
    animation: progressFill 2s ease-out forwards;
}

.task-bar-1 { width: 100%; animation: none; }
.task-bar-2 { width: 100%; animation: none; }
.task-bar-3 { width: 0; animation: progressFill 3s ease-out infinite; }
.task-bar-4 { width: 0; }
.task-bar-5 { width: 0; }

.task-status {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    white-space: nowrap;
}

.task-1 .task-status,
.task-2 .task-status {
    background: rgba(0, 255, 153, 0.2);
    color: #00ff99;
}

.task-3 .task-status {
    background: rgba(0, 204, 255, 0.2);
    color: #00ccff;
}

.task-4 .task-status,
.task-5 .task-status {
    background: rgba(100, 100, 100, 0.2);
    color: #999;
}

@keyframes slideInTask {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressFill {
    0% { width: 0; }
    100% { width: 75%; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ===================================
   MODULES ERP - ANIMATIONS
   =================================== */

.erp-modules-animation {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(0, 20, 40, 0.9);
    border-radius: 12px;
    border: 2px solid rgba(0, 153, 255, 0.4);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.erp-central {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.erp-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.4), rgba(0, 204, 255, 0.5));
    border: 3px solid #00ccff;
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.6);
    animation: erpPulse 3s ease-in-out infinite;
}

.erp-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.erp-subtitle {
    font-size: 0.9rem;
    color: #00ccff;
    font-weight: 600;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.erp-module {
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2), rgba(0, 204, 255, 0.3));
    border: 2px solid #00ccff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    animation: moduleSlideIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.erp-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.5);
}

.mod-1 { animation-delay: 0.2s; }
.mod-2 { animation-delay: 0.4s; }
.mod-3 { animation-delay: 0.6s; }
.mod-4 { animation-delay: 0.8s; }

.mod-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.mod-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .erp-modules-animation {
        padding: 1.5rem;
        width: 95%;
    }

    .erp-box {
        padding: 1.5rem 2rem;
    }

    .erp-title {
        font-size: 2rem;
    }

    .erp-subtitle {
        font-size: 0.75rem;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .erp-module {
        padding: 1.2rem;
    }

    .mod-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .mod-label {
        font-size: 0.9rem;
    }
}

@keyframes erpPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 204, 255, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(0, 204, 255, 0.9);
    }
}

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

/* Legal Pages Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.legal-content h2 {
    font-size: 2rem;
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    color: var(--color-white);
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    color: var(--color-white);
}

.legal-content p {
    color: var(--color-light-grey);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.legal-content ul,
.legal-content ol {
    color: var(--color-light-grey);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-blue-electric);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-blue-cyan);
}

.legal-section {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(0, 102, 255, 0.02);
    border-left: 3px solid var(--color-blue-primary);
    border-radius: 4px;
}

/* ===================================
   ANIMATIONS PAGES LÉGALES
   =================================== */

/* Mentions Légales Animation */
.legal-animation {
    width: 90%;
    max-width: 600px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 153, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.legal-icon {
    font-size: 4rem;
    animation: scaleRotate 3s ease-in-out infinite;
}

@keyframes scaleRotate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.legal-doc-animation {
    position: relative;
    width: 120px;
    height: 150px;
}

.doc-page {
    position: absolute;
    width: 80px;
    height: 100px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.doc-1 {
    top: 0;
    left: 0;
    animation: docFloat1 3s ease-in-out infinite;
}

.doc-2 {
    top: 10px;
    left: 10px;
    animation: docFloat2 3s ease-in-out infinite 0.3s;
}

.doc-3 {
    top: 20px;
    left: 20px;
    animation: docFloat3 3s ease-in-out infinite 0.6s;
}

@keyframes docFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes docFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes docFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-1deg); }
}

.legal-shield {
    text-align: center;
}

.shield-icon {
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.shield-text {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-blue-cyan);
    font-weight: 600;
}

/* Politique de Confidentialité Animation */
.privacy-animation {
    width: 90%;
    max-width: 600px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 153, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.privacy-lock {
    position: relative;
    text-align: center;
}

.lock-body {
    font-size: 4rem;
    animation: lockBounce 2s ease-in-out infinite;
}

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

.lock-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 204, 255, 0.5);
    border-radius: 50%;
    animation: waveExpand 2s ease-out infinite;
}

.wave-2 {
    animation-delay: 0.5s;
}

.wave-3 {
    animation-delay: 1s;
}

@keyframes waveExpand {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.privacy-data {
    text-align: center;
}

.data-flow {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.data-point {
    font-size: 2rem;
    animation: dataFloat 2s ease-in-out infinite;
}

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

.privacy-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-blue-cyan);
    font-weight: 600;
}

/* CGU Animation */
.cgu-animation {
    width: 90%;
    max-width: 700px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 153, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.cgu-contract {
    position: relative;
    text-align: center;
}

.contract-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.contract-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-blue-electric), transparent);
    border-radius: 2px;
    animation: lineGrow 3s ease-in-out infinite;
}

.line-1 {
    width: 80px;
    animation-delay: 0s;
}

.line-2 {
    width: 100px;
    animation-delay: 0.3s;
}

.line-3 {
    width: 90px;
    animation-delay: 0.6s;
}

.line-4 {
    width: 70px;
    animation-delay: 0.9s;
}

@keyframes lineGrow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.cgu-signature {
    position: relative;
    text-align: center;
    padding: 1rem;
}

.signature-pen {
    font-size: 3rem;
    animation: penWrite 2s ease-in-out infinite;
}

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

.signature-line {
    width: 100px;
    height: 2px;
    background: var(--color-blue-electric);
    margin: 0.5rem auto;
    border-radius: 2px;
    animation: lineAppear 2s ease-in-out infinite;
}

@keyframes lineAppear {
    0% { width: 0; }
    50% { width: 100px; }
    100% { width: 100px; }
}

.signature-check {
    font-size: 2rem;
    color: #00cc66;
    animation: checkPop 2s ease-in-out infinite;
    animation-delay: 1s;
}

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

.cgu-valid {
    text-align: center;
}

.valid-icon {
    font-size: 3rem;
    animation: validBounce 2s ease-in-out infinite;
}

@keyframes validBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.valid-text {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: #00cc66;
    font-weight: 600;
}

/* Responsive Legal Animations */
@media (max-width: 768px) {
    .legal-animation,
    .privacy-animation,
    .cgu-animation {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .legal-icon,
    .lock-body,
    .contract-icon {
        font-size: 3rem;
    }

    .legal-doc-animation {
        width: 100px;
        height: 120px;
    }

    .doc-page {
        width: 70px;
        height: 90px;
    }
}