/* --------------------------------- OVERLAY ------------------------------------ */

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Quicksand', sans-serif;
}

.overlay-message {
    background: #1e1e1e;
    color: #fff;
    text-align: center;
    padding: 30px 50px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.06);
    max-width: 700px;
    width: 90%;
}

.overlay-message h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.overlay-message .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cfcfcf;
}

.access-link {
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00bfff;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.access-link:hover {
    transform: translateX(5px);
    color: #66d9ff;
}

.access-link .arrow {
    margin-left: 8px;
    font-size: 1.3rem;
    position: relative;
    top: 1px;
}

.overlay a {
    text-decoration: none;
    color : white;
}

.social-link {
  color: inherit; /* garde la couleur du texte (blanc, noir, etc.) */
  text-decoration: none; /* retire le soulignement */
  font-weight: 500; /* un peu plus visible */
  transition: all 0.2s ease;
}

.social-link:hover {
  color: #ff4081; /* couleur de survol douce, à adapter */
  transform: translateY(-2px); /* petit effet de “clic” */
}

.social-link img {
  transition: transform 0.2s ease;
}

.social-link:hover img {
  transform: scale(1.1);
}