/* ------------------------------------------------------ */
/* RESET & BASE */
/* ------------------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* Canvas neuronal */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* ------------------------------------------------------ */
/* BADGE LABEL FRANCE */
/* ------------------------------------------------------ */

.badge-fr {
    position: fixed;
    top: 20px;
    right: 20px;
    height: 26px;
    padding: 0 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.75;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid transparent;
    background-clip: padding-box;
    z-index: 99999 !important;
}

.badge-fr::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(90deg,
        #1E3A8A 0%,
        #FFFFFF 50%,
        #B91C1C 100%),
        #F2C6A0;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #DDE1E8;
    position: relative;
    z-index: 2;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F2C6A0;
    box-shadow: 0 0 8px #F2C6A0;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    align-self: center;
}

.badge-fr.hidden {
    display: none;
}

/* ------------------------------------------------------ */
/* TITRE PRINCIPAL — ANIMATION ARGENT → OR → OR ROSE */
/* ------------------------------------------------------ */

.title-main {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 80px;
    animation: titleColorShift 9s ease-in-out infinite;
}

@keyframes titleColorShift {
    0%   { color: #DDE1E8; }     /* Argent */
    33%  { color: #F2D9A0; }     /* Or doux */
    66%  { color: #F2C6A0; }     /* Or rose */
    100% { color: #DDE1E8; }     /* Retour argent */
}

/* ------------------------------------------------------ */
/* BLOC CONSOLE HYBRIDE */
/* ------------------------------------------------------ */

.console-block {
    width: 90%;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 32px 36px;
    text-align: center;
    background: rgba(10, 10, 20, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(242, 198, 160, 0.35);
    border-radius: 14px;
    box-shadow:
        0 0 12px rgba(242, 198, 160, 0.15),
        inset 0 0 8px rgba(242, 198, 160, 0.12);
    outline: 1px solid rgba(255, 255, 255, 0.05);
    outline-offset: -6px;
    animation: consolePulse 8s ease-in-out infinite;
}

@keyframes consolePulse {
    0% { box-shadow: 0 0 12px rgba(242, 198, 160, 0.15); }
    50% { box-shadow: 0 0 22px rgba(242, 198, 160, 0.28); }
    100% { box-shadow: 0 0 12px rgba(242, 198, 160, 0.15); }
}

.console-block .intro-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #DDE1E8;
    animation: softGlow 7s ease-in-out infinite;
}

/* ------------------------------------------------------ */
/* BLOC CONNECTÉ */
/* ------------------------------------------------------ */

.notification {
    margin-top: 80px;
    text-align: center;
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.notif-status {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F2C6A0;
    animation: pulseGlow 7s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #F2C6A0;
    border-radius: 50%;
    box-shadow: 0 0 10px #F2C6A0;
    animation: pulseGlow 7s ease-in-out infinite;
}

.notif-text {
    margin-top: 18px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #DDE1E8;
    animation: pulseGlow 7s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 4px rgba(242, 198, 160, 0.15); }
    50% { text-shadow: 0 0 14px rgba(242, 198, 160, 0.25); }
    100% { text-shadow: 0 0 4px rgba(242, 198, 160, 0.15); }
}

/* ------------------------------------------------------ */
/* SIGNATURE — LOGO UNIQUE + ESPACE + RESPIRATION */
/* ------------------------------------------------------ */

.signature-block {
    width: 100%;
    padding-top: 60px;   /* nouvel espace respirant */
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    z-index: 20;
}

.sig-logo {
    width: 260px;
    filter: drop-shadow(0 0 10px rgba(242, 198, 160, 0.35));
    animation:
        signaturePulse 7s ease-in-out infinite,
        breathe 9s ease-in-out infinite;
}

@keyframes signaturePulse {
    0% { filter: drop-shadow(0 0 4px rgba(242, 198, 160, 0.2)); }
    50% { filter: drop-shadow(0 0 18px rgba(242, 198, 160, 0.45)); }
    100% { filter: drop-shadow(0 0 4px rgba(242, 198, 160, 0.2)); }
}

@keyframes breathe {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.025); }
    100% { transform: scale(1); }
}
