/* Corps de la page */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #2c3e50;
    background: linear-gradient(120deg, #a1c4fd, #c2e9fb, #fef9c3, #ffe5d9);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Dégradé animé */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Conteneur principal */
.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1100px;
    width: 90%;
    margin: 80px auto 40px auto;
    gap: 40px;
    flex-wrap: wrap;
}

/* Section image */
.image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    animation: float 3s ease-in-out infinite;
}

/* Section texte */
.text {
    flex: 1;
    min-width: 280px;
}
.text h1 {
    font-size: 2.5em;
    color: #1a73e8;
    margin-bottom: 10px;
}
.text h2 {
    font-size: 1.5em;
    color: #34a853;
    margin-bottom: 20px;
}
.text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}
.text ul {
    margin-bottom: 20px;
}
.text li {
    margin-bottom: 5px;
}

/*  Boutons  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.menu {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
}
.menu .btn {
  padding: 10px 18px;
  background-color: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}
.menu .btn:hover {
  background-color: #1557b0;
  transform: scale(1.05);
}
/* ---------------------------------------------------------------------------------------------------------------------  */
/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    background: rgba(255,255,255,0.85);
    font-size: 0.9em;
    color: #333;
}
footer a {
    color: #1a73e8;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    .image {
        margin-bottom: 25px;
    }
}
/*  Fond SVG style routage  */
/* ---------------------------------------------------------------------------------------------------------------------  */
.background-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.background-svg svg {
    width: 100%;
    height: 100%;
    opacity: 0.25; /* subtil pour pas gêner la lecture */
}
.trace {
    stroke-dasharray: 10 14;
    animation: signalFlow 6s linear infinite;
}
.nodes circle {
    fill: #34a853;
    animation: blinkNode 2.5s infinite alternate;
}
@keyframes signalFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -300; }
}
@keyframes blinkNode {
    from { opacity: 0.3; r: 3; }
    to { opacity: 1; r: 6; }
}
/* ---------------------------------------------------------------------------------------------------------------------  */
