



/*  Corps */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;

     /* Dégradé  */
    background: linear-gradient(120deg, #a1c4fd, #c2e9fb, #fef9c3, #ffe5d9);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
}
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}


/*  Boutons  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.menu {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
}
.menu .btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.btn:hover {
    background-color: #1557b0;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(26, 115, 232, 0.5);
}
/* ---------------------------------------------------------------------------------------------------------------------  */

/* Principal  */
.container {
    display: flex;
    max-width: 1000px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* ---------------------------------------------------------------------------------------------------------------------  */

/*  Partie de gauche  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.left {
    background-color: #e0e7ff;
    color: #1e293b;
    width: 280px;
    padding: 25px;
    box-sizing: border-box;
}
.left img {
    display: block;
    margin: 0 auto 15px auto;
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #1e293b;
    animation: float 3s ease-in-out infinite;
}
.left h3 {
    text-align: center;
    margin-top: 5px;
}
.left h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}
.left p, .left a, .left li {
    font-size: 13px;
    line-height: 1.4;
}
.left a {
    color: #1e293b;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.3s;
}
.left a:hover {
    color: #1a73e8;
    text-decoration: underline;
}
/* ---------------------------------------------------------------------------------------------------------------------  */

/*  Partie de droite  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.right {
    flex-grow: 1;
    padding: 25px;
    box-sizing: border-box;
}
.right h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: #1a73e8;
}
.right p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.section-title {
    font-weight: 600;
    background-color: #f0f4ff;
    padding: 8px 10px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 16px;
}
.sub-section {
    margin-left: 10px;
    font-size: 13.5px;
    margin-bottom: 12px;
}
.sub-section p {
    margin-bottom: 8px;
}
.right ul {
    margin: 5px 0 10px 20px;
    padding-left: 0;
}
.right ul li {
    margin-bottom: 6px;
    font-size: 14px;
}
/* ---------------------------------------------------------------------------------------------------------------------  */



/* Animations */
/* ---------------------------------------------------------------------------------------------------------------------  */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left {
        width: 100%;
        text-align: center;
    }

    .right {
        padding-top: 15px;
    }

    .buttons {
        justify-content: center;
        margin-bottom: 15px;
    }
}
/* ---------------------------------------------------------------------------------------------------------------------  */


/*  Fond SVG style routage  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.background-svg {
    position: fixed;      
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;        
    opacity: 0.25;        
    pointer-events: none; 
}
.background-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}
.trace {
    stroke-dasharray: 10 14;
    animation: signalFlow 6s linear infinite;
}
@keyframes signalFlow {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -300; }
}
.nodes circle {
    fill: #34a853;
    animation: blinkNode 2.5s infinite alternate;
}
@keyframes blinkNode {
    from { opacity: 0.3; r: 3; }
    to   { opacity: 1; r: 6; }
}
/* ---------------------------------------------------------------------------------------------------------------------  */



/* ------------------------------------------------------------------------------------------------ */
/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9em;
    color: #333;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer a {
    color: #1a73e8;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
