:root {
    --blue: #0A2342;
    --red: #9E1B32;
    --orange: #D97706;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--blue);
}

/* HERO */
.display-huge {
    font-size: calc(1.5rem + 4vw);
    line-height: 1;
    letter-spacing: -3px;
}

.text-outline-dark {
    color: transparent;
    -webkit-text-stroke: 1px var(--blue);
}

.accent-bar {
    width: 60px;
    height: 6px;
    background: var(--orange);
}

.lead-text {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
}

/* STATS */
.bg-dark {
    background-color: var(--blue) !important;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.6;
}

.border-end-subtle {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* METHODOLOGY */
.py-10 {
    padding: 100px 0;
}

.method-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.m-num {
    font-weight: 900;
    color: var(--red);
    border-bottom: 2px solid var(--orange);
}

/* VISUEL */
.image-wrapper {
    position: relative;
}

.bg-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--orange);
    z-index: -1;
    opacity: 0.1;
}

.custom-clip {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 15% 100%);
}

/* BOUTONS */
.btn-clood-main {
    background: var(--blue);
    color: #fff;
    padding: 20px 40px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-clood-main:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-5px);
}

.btn-clood-dark {
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 20px 40px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-clood-dark:hover {
    background: var(--blue);
    color: #fff;
}

/* --- AJOUTS POUR LE HERO TECH PATTERN --- */

.z-index-2 {
    position: relative;
    z-index: 2;
}

/* Positionnement du pattern à droite */
.tech-pattern-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    /* Occupe la moitié droite */
    height: 100%;
    /* Gradient subtil pour fondre le pattern dans le fond blanc */
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 20%);
    z-index: 1;
    overflow: hidden;
}

.tech-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    /* Légère rotation pour le dynamisme */
    width: 100%;
    height: 100%;
}

/* Éléments de Base (Nœuds et Lignes) */
.node {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    /* Fond blanc */
    border: 2px solid var(--orange);
    /* Contour orange pour la chaleur */
    opacity: 0.15;
    /* Très subtil */
    animation: node-pulse 6s infinite ease-in-out;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.1), rgba(217, 119, 6, 0.02));
    opacity: 0.1;
    transform-origin: left center;
}

/* Positionnement et Tailles Spécifiques (Complexité Simple) */
.n-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.n-2 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 60%;
    animation-delay: 1s;
    border-color: var(--red);
}

/* Un nœud rouge */
.n-3 {
    width: 220px;
    height: 220px;
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.n-4 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 70%;
    animation-delay: 0.5s;
}

.l-1 {
    width: 300px;
    height: 2px;
    top: 18%;
    left: 28%;
    transform: rotate(25deg);
}

.l-2 {
    width: 400px;
    height: 1px;
    top: 45%;
    left: 15%;
    transform: rotate(-10deg);
}

.l-3 {
    width: 250px;
    height: 3px;
    top: 68%;
    left: 25%;
    transform: rotate(15deg);
    background: rgba(158, 27, 50, 0.05);
}

/* Ligne rouge subtile */

/* Animations */
@keyframes node-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }

    /* Légère croissance */
}

/* --- FIN AJOUTS HERO --- */


/* --- SECTION TECH STYLE V3 (DARK) --- */

.bg-dark {
    background-color: #0A2342 !important;
}

.border-bottom-subtle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.border-end-subtle {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Titre en contour blanc */
.text-outline-light {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.tech-group-v3 {
    padding: 20px 0;
}

.tech-list-v3 li {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.tech-list-v3 li:hover {
    color: var(--orange);
    transform: translateX(10px);
}

/* Sub-info pour les technos */
.badge-version {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.6;
}

/* Responsivité pour les bordures */
@media (max-width: 991px) {
    .border-end-subtle {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
    }

    .tech-group-v3 {
        padding: 40px 0;
    }
}



/* --- BACKGROUND TEXTURE --- */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

/* --- ANIMATIONS DE RÉVÉLATION --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- EXPERT BOX V3 (Plus remplie) --- */
.expert-box-v3 {
    padding: 60px 40px;
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    background: #fff;
    z-index: 1;
}

.box-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(10, 35, 66, 0.03);
    /* Chiffre géant en arrière-plan */
    position: absolute;
    top: 20px;
    right: 20px;
}

.expert-box-v3:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.02);
    z-index: 2;
}

.expert-box-v3:hover h5,
.expert-box-v3:hover p {
    color: #fff !important;
}

.icon-hover {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: var(--orange);
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.3s;
}

.expert-box-v3:hover .icon-hover {
    opacity: 1;
    transform: translateX(0);
}

/* --- IMAGE ZOOM & REVEAL --- */
.img-zoom-wrapper {
    overflow: hidden;
    height: 500px;
}

.reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
    filter: grayscale(100%);
    /* Noir et blanc institutionnel */
}

.img-zoom-wrapper:hover .reveal-img {
    transform: scale(1.1);
    filter: grayscale(0%);
    /* La couleur revient au survol */
}

.bar-orange-small {
    width: 40px;
    height: 4px;
    background: var(--orange);
    margin-top: 15px;
}



/* --- HABILLAGE HERO --- */
.hero-tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    position: relative;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.code-dot.red {
    background: #9E1B32;
}

.code-dot.orange {
    background: #D97706;
}

.code-dot.blue {
    background: #0A2342;
}

/* --- PROTOCOL CARDS --- */
.protocol-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-5px);
}

.border-4 {
    border-width: 4px !important;
}

/* --- ANIMATION REVEAL SCRIPT --- */
.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* --- TERMINAL ANIMATION V2 --- */

.hero-tech-card {
    background: #0D1B2A;
    /* Bleu très sombre type IDE */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.clood-terminal {
    display: block;
    color: #E0E1DD;
    /* Blanc cassé technique */
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
}

.t-comment {
    color: #415A77;
    /* Gris-bleu pour les commentaires */
    display: block;
    margin-bottom: 8px;
    font-style: italic;
}

.t-line {
    display: block;
    opacity: 0;
    transform: translateY(5px);
    /* Petit mouvement de montée */
    transition: all 0.4s ease-out;
    animation: reveal-line 0.5s ease-out forwards;
}

/* Déclenchement rapide pour ne pas faire attendre le visiteur */
.l-1 {
    animation-delay: 0.5s;
}

.l-2 {
    animation-delay: 0.9s;
}

.l-3 {
    animation-delay: 1.2s;
}

.l-4 {
    animation-delay: 1.5s;
}

.l-5 {
    animation-delay: 1.8s;
}

/* Le curseur clignote tout de suite en bas */
.t-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #D97706;
    /* Ton Orange */
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

/* KEYFRAMES */
@keyframes reveal-line {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    from,
    to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Coloration syntaxique discrète pour "remplir" visuellement */
.l-1 {
    color: #D97706;
}

/* Orange pour l'init */
.l-5 {
    color: #9E1B32;
    font-weight: bold;
}

/* Rouge pour le deploy */


/* --- ALIGNEMENT RIGOUREUX SOLUTIONS --- */

.solution-mega-card {
    background: #ffffff;
    border: 1px solid #eaedf0;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Aligne le contenu verticalement */
    justify-content: space-between;
    transition: all 0.4s ease;
}

.card-top {
    flex-grow: 1;
    /* Pousse le footer vers le bas */
}

/* Fixe la hauteur des titres pour qu'ils soient tous sur la même ligne */
.solution-mega-card h4 {
    min-height: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Style des icônes au repos */
.card-head-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.card-list li {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: #666;
    display: flex;
    align-items: center;
}

/* Le petit trait signature Clood */
.card-list li::before {
    content: "";
    width: 10px;
    height: 1px;
    background: #9E1B32;
    margin-right: 10px;
}

/* Footer aligné avec le nom des clients */
.card-footer-ref {
    padding-top: 1.5rem;
    border-top: 1px solid #f8f9fa;
    font-size: 0.65rem;
    font-weight: 800;
    color: #0A2342;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- EFFET SURVOL SUBTIL --- */
.solution-mega-card:hover {
    border-color: #D97706;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.solution-mega-card:hover .card-head-icon {
    background: #0A2342;
    color: #fff !important;
}






/* --- CONFIGURATION ORBITE CLOOD --- */

.solution-orbit-container {
    position: relative;
    width: 100%;
    height: 450px;
    /* Un peu plus haut pour caler les 6 noeuds */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Le Cœur du système */
.orbit-center-logo {
    width: 120px;
    height: 120px;
    background: #0A2342;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(217, 119, 6, 0.3);
    position: relative;
}

/* --- L'ONDE DE PULSATION (Signature visuelle) --- */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--orange);
    border-radius: 50%;
    animation: pulse-orbit 3s ease-out infinite;
    opacity: 0;
}

/* Style commun des Nœuds */
.orbit-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.5s ease;
    animation: float-node 4s ease-in-out infinite;
    white-space: nowrap;
    z-index: 5;
}

.orbit-node i {
    color: var(--orange);
    font-size: 1.1rem;
}

.orbit-node span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

/* --- POSITIONNEMENT DES 6 NŒUDS --- */

.node-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

/* Finance */
.node-2 {
    bottom: 30%;
    right: -7%;
    animation-delay: 1.5s;
}

/* Industrie */
.node-3 {
    top: 10%;
    left: 10%;
    animation-delay: 3s;
}

/* EdTech */
.node-4 {
    bottom: 10%;
    left: 23%;
    animation-delay: 4.5s;
}

/* Export */
.node-5 {
    top: 45%;
    left: -10%;
    animation-delay: 6s;
}

/* AgriFood */
.node-6 {
    top: 50%;
    right: -20%;
    animation-delay: 0.5s;
}

/* Media */

/* --- KEYFRAMES (Animations) --- */

/* L'onde qui s'expanse */
@keyframes pulse-orbit {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* Le flottement des noeuds */
@keyframes float-node {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-15px) translateX(10px);
    }
}

/* Interaction au survol global de la section */
.bg-dark:hover .orbit-node {
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.2);
}

/* --- INFINITE MARQUEE CLOOD --- */

.clood-marquee {
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    /* Masque pour l'effet de fondu sur les côtés */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    animation: scroll-left 40s linear infinite;
    /* Vitesse du défilé */
}

/* Pause au survol pour que le client puisse lire */
.clood-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
}

/* Style de la "Pill" Client */
.client-pill {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px 25px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0A2342;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-pill .dot {
    width: 6px;
    height: 6px;
    background: #9E1B32;
    /* Rouge Clood */
    border-radius: 50%;
}

/* Effet au survol individuel */
.client-pill:hover {
    border-color: #D97706;
    /* Orange Clood */
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.1);
    color: #9E1B32;
}

/* L'animation de défilement */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- FOOTER STYLING --- */

footer {
    font-family: 'Inter', sans-serif;
    /* Ou ta police principale */
}

/* Espacement personnalisé */
.pt-10 {
    padding-top: 6rem;
}

.mt-10 {
    margin-top: 6rem;
}

/* Liens du footer */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* Icônes sociales */
.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
}

/* Statut Système (Le petit plus pro) */
.dot-online {
    height: 8px;
    width: 8px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    box-shadow: 0 0 8px #28a745;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Boutons spéciaux */
.bg-orange {
    background-color: var(--orange);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}


.project-card {
    position: relative;
}

.project-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #0A2342;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(158, 27, 50, 0.9);
    /* Rouge Clood sur le hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-link {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid #fff;
    padding: 12px 25px;
    font-size: 0.75rem;
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.tech-stack span {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 4px 10px;
    margin-right: 5px;
}

.filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 900;
    transition: 0.3s;
}

.btn-primary {
    background: #0A2342;
    color: #fff;
    border-color: #0A2342;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 900;
    transition: 0.3s;
}

.filter-btn.active {
    background: #0A2342;
    color: #fff;
    border-color: #0A2342;
}

.dot-live {
    height: 7px;
    width: 7px;
    background: #28a745;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}


/* --- TERMINAL DE DISPONIBILITÉ --- */

.status-monitor-container {
    max-width: 400px;
    background: rgba(10, 35, 66, 0.4);
    /* Bleu Clood sombre */
    border: 1px solid rgba(217, 119, 6, 0.3);
    /* Bordure Orange Clood */
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    font-family: 'Monaco', 'Consolas', monospace;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: monitor-float 6s ease-in-out infinite;
}

/* Bordure de scan qui passe sur le terminal */
.status-monitor-container::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(217, 119, 6, 0.05), transparent);
    animation: terminal-scan 4s linear infinite;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

/* Point pulsant plus intense */
.pulse-indicator {
    width: 12px;
    height: 12px;
    background: #D97706;
    /* Orange Clood */
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px #D97706;
    animation: core-pulse 1.5s infinite;
}

/* Barre de chargement animée */
.load-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.load-bar-progress {
    position: absolute;
    height: 100%;
    width: 40%;
    background: #D97706;
    animation: load-slide 2s ease-in-out infinite;
}

/* Logs qui clignotent */
.system-logs {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.log-line {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid transparent;
}

.monitor-footer {
    margin-top: 1.5rem;
    font-size: 0.6rem;
    font-weight: 800;
    color: #D97706;
    opacity: 0.8;
}

/* --- KEYFRAMES --- */

@keyframes monitor-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes terminal-scan {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes core-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
    }

    70% {
        transform: scale(1.2);
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@keyframes load-slide {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

.log-line {
    opacity: 0;
    animation: fadeInLog 0.5s forwards;
}

.log-line:nth-child(1) {
    animation-delay: 0.3s;
}

.log-line:nth-child(2) {
    animation-delay: 0.6s;
}

.log-line:nth-child(3) {
    animation-delay: 0.9s;
}

.log-line:nth-child(4) {
    animation-delay: 1.2s;
}

@keyframes fadeInLog {
    to {
        opacity: 1;
    }
}

/* --- HEADER GLOW EFFECT --- */
.header-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* --- STACK VISUALIZER --- */
.stack-visualizer {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transform: rotateX(20deg) rotateY(-20deg);
    animation: stack-float 5s ease-in-out infinite;
}

.stack-layer {
    width: 280px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
    transition: 0.5s;
    backdrop-filter: blur(5px);
}

.stack-layer span {
    font-family: 'Monaco', monospace;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.stack-layer::before {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 4px;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
}

/* Animation individuelle des couches */
.layer-1 { transform: translateZ(60px); opacity: 0.4; }
.layer-2 { transform: translateZ(40px); opacity: 0.6; }
.layer-3 { transform: translateZ(20px); opacity: 0.8; }
.layer-4 { transform: translateZ(0); border-color: var(--orange); }

/* Scanner Line */
.scanner-line {
    position: absolute;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--red), transparent);
    box-shadow: 0 0 15px var(--red);
    animation: scan-vertical 3s linear infinite;
}

/* --- KEYFRAMES --- */
@keyframes stack-float {
    0%, 100% { transform: rotateX(25deg) rotateY(-25deg) translateY(0); }
    50% { transform: rotateX(25deg) rotateY(-25deg) translateY(-20px); }
}

@keyframes scan-vertical {
    0% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.creative-glow {
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

#infra-count {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

#infra-count.updated {
    transform: scale(1.2);
    color: #D97706;
}

/* --- VOYANT D'ÉTAT DYNAMIQUE --- */

.status-indicator-engine {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Le point central fixe */
.dot-live {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #28a745; /* Vert pur */
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 8px #28a745;
}

/* L'onde de choc (halo) qui pulse */
.dot-halo {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(40, 167, 69, 0.5);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    80%, 100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* Optionnel : faire briller le chiffre 28 légèrement */
#infra-count {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Monaco', monospace;
}
.logo-ic{
    max-width: 120px;
}