/* ==========================
   STYLE COMPLET – MODERNE & JOYEUX
   ========================== */

/* Corps de page */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background: linear-gradient(to bottom, #fff6e5, #fdf6e3); /* fond doux et chaleureux */
    color: #333;
}

/* Header */
header {
    background: linear-gradient(90deg, #ff6f61, #ffb347); /* header dynamique avec dégradé */
    color: white;
    padding: 25px 20px;
    text-align: center;
    border-bottom: 4px solid #ffe066;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 35px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: #ffe066;
    transform: scale(1.1);
}

/* Main content */
main {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

main h2 {
    font-size: 2.2em;
    color: #ff6f61;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

main p {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #ffb347;
    color: white;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

/* Responsive simple */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    main h2 {
        font-size: 1.8em;
    }
    main p {
        font-size: 1em;
    }
}

/* ==========================
   CONTENU LIENS
   ========================== */

/* Conteneur des liens */
.liens-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

/* Carte */
.lien-carte {
    background: linear-gradient(180deg, #fff8e1, #ffe0b2);
    border: 2px solid #ffb347;
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.6s ease;
}

/* Hover carte */
.lien-carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Titre carte */
.lien-carte h3 {
    color: #ff6f61;
}

/* Bouton carte */
.lien-carte a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

/* Hover bouton carte */
.lien-carte a:hover {
    background: #ffb347;
    transform: scale(1.05);
}

/* Animation fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================
   État actif du menu
   ========================== */
nav ul li a.active {
    color: #ffe066;       /* même couleur que le hover */
    text-decoration: underline; /* souligne le bouton actif */
    pointer-events: none; /* désactive le clic sur la page actuelle */
}

/* ==========================
   PAGE CHAT – Blocs sections
   ========================== */

.chat-bloc {
    background: linear-gradient(180deg, #fff8e1, #fdf3e0);
    border-left: 4px solid #ff6f61;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.chat-bloc h3 {
    color: #ff6f61;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.chat-bloc ul {
    margin: 12px 0;
    padding-left: 20px;
    line-height: 1.9;
}

.chat-bloc a {
    color: #ff6f61;
    font-weight: bold;
    text-decoration: none;
}

.chat-bloc a:hover {
    color: #ffb347;
    text-decoration: underline;
}

.note-securite {
    font-size: 0.95em;
    color: #777;
    margin-top: 10px;
}