/*
|--------------------------------------------------------------------------
| PAGE ACCUEIL
|--------------------------------------------------------------------------
*/

.accueil-page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 35px 20px 70px;
}


/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.accueil-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 70px 35px;
    margin-bottom: 30px;
    background:
        linear-gradient(
            135deg,
            #667eea 0%,
            #764ba2 100%
        );
    color: #fff;
    box-shadow: 0 18px 50px rgba(80, 60, 140, .20);
}

.accueil-hero::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -120px;
    right: -70px;
}

.accueil-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.accueil-badge {
    display: inline-block;
    padding: 8px 15px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.16);
    font-size: 14px;
    font-weight: 600;
}

.accueil-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
}

.accueil-hero h1 strong {
    display: block;
}

.accueil-intro {
    max-width: 650px;
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255,255,255,.90);
}

.accueil-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.accueil-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

.accueil-button:hover {
    transform: translateY(-2px);
}

.accueil-button-primary {
    background: #fff;
    color: #5d4a9d;
}

.accueil-button-secondary {
    background: rgba(255,255,255,.13);
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
}


/*
|--------------------------------------------------------------------------
| CARTE TCHAT
|--------------------------------------------------------------------------
*/

.accueil-chat-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    border: 1px solid #eee;
}

.accueil-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.accueil-chat-header > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.accueil-chat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f0edff;
    font-size: 25px;
}

.accueil-chat-header h2 {
    margin: 0 0 5px;
    font-size: 24px;
}

.accueil-chat-header p {
    margin: 0;
    color: #777;
}

.accueil-online {
    white-space: nowrap;
    color: #27ae60;
    font-size: 13px;
    font-weight: 700;
}

.accueil-error {
    padding: 13px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #ffd5d5;
}


/*
|--------------------------------------------------------------------------
| FORMULAIRE
|--------------------------------------------------------------------------
*/

.accueil-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 18px;
}

.accueil-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.accueil-field input,
.accueil-field select {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 11px;
    background: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
}

.accueil-field input:focus,
.accueil-field select:focus {
    border-color: #7657c8;
    box-shadow: 0 0 0 3px rgba(118,87,200,.10);
}

.accueil-field small {
    display: block;
    margin-top: 7px;
    color: #888;
    font-size: 12px;
}

.pseudo-input-wrapper {
    position: relative;
}

.pseudo-input-wrapper input {
    padding-right: 48px;
}

.pseudo-refresh {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #f3f0ff;
    cursor: pointer;
    font-size: 17px;
}

.pseudo-refresh:hover {
    background: #e7e1ff;
}

.accueil-enter-button {
    width: 100%;
    height: 54px;
    margin-top: 25px;
    border: 0;
    border-radius: 12px;
    background: #6c4fc1;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.accueil-enter-button:hover {
    background: #5b40ad;
    transform: translateY(-1px);
}

.accueil-legal {
    margin: 13px 0 0;
    text-align: center;
    color: #888;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| BLOCS
|--------------------------------------------------------------------------
*/

.accueil-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.accueil-feature {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    text-align: center;
}

.accueil-feature > span {
    display: block;
    margin-bottom: 12px;
    font-size: 30px;
}

.accueil-feature h3 {
    margin: 0 0 9px;
    font-size: 18px;
}

.accueil-feature p {
    margin: 0;
    color: #777;
    line-height: 1.6;
    font-size: 14px;
}

.logo-mark-acceuil {
    margin-top: 10px;
}

.logo-mark-acceuil img {
    width: 80px;
    height: 80px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 8px;
}

.logo-mark-acceuil span {
    font-weight: bold;
    font-size: 50px;
    color: #000000;
	font-family: 'New Rocker';
}

.logo-mark-acceuil span span {
    color: #4f46c9;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 800px) {

    .accueil-page {
        padding: 20px 12px 50px;
    }

    .accueil-hero {
        padding: 45px 24px;
        border-radius: 20px;
    }

    .accueil-chat-card {
        padding: 22px 18px;
    }

    .accueil-chat-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .accueil-form-grid {
        grid-template-columns: 1fr;
    }

    .accueil-features {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 468px) {

.logo-mark-acceuil img {
    width: 60px;
    height: 60px;
}

.logo-mark-acceuil span {
    font-size: 35px;
}

}