/* 1. Mise en page globale */
body {
    margin: 0;
    font-family: 'Inter', sans-serif; /* Définit la police d'écriture utilisée partout */
    background-color: white;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    background: #ffffff;
}

.navbar .logo {
    margin-right: auto;
}

.navbar a {
    margin-left: 20px;
}

.logo { 
    height: 40px; 
    align-items: left;
}

.page-complete {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* 2. La carte principale */
.carte-connexion {
    display: flex;
    width: 900px;
    height: 900px;
    background-color: rgba(255,247,225,1); /* Beige clair */
    border-radius: 40px;      /* Bords très arrondis */
    overflow: hidden;         /* Pour que l'image suive l'arrondi */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 3. Séparation Gauche / Droite */
.cote-gauche {
    flex: 1;
	padding-top: 20px;
    padding-right: 50px;
	padding-left: 50px;
    display: flex;
    flex-direction: column;
}

.cote-droit {
    flex: 1;
    background-image: url(../Images/stranger.jpg);
    background-size: cover;
    background-position: center;
}

/* 4. Champs de texte et Boutons */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #DDD;
    border-radius: 30px; /* Forme pilule */
    box-sizing: border-box; /* Évite que l'input dépasse */
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin: 15px 0;
    align-items: center;

}

/* Styles des boutons */
button {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.bouton-gris {
    background-color: #E0E0E0;
    color: #888;
}

.bouton-google {
    background-color: #C0392B; /* Rouge */
    color: white;
}

.separateur {
    text-align: center;
    margin: 20px 0;
    color: #AAA;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #DDD;
    border-radius: 20px;
    box-sizing: border-box;
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-weight: normal;
}

.checkbox-item input {
    width: auto;
}

.siret-input {
    margin-top: 10px;
}

.description-formulaire {
    margin-top: 25px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ===== FORMULAIRE MODERNE ===== */

.formulaire-inscription {
    margin-top: 20px;
}

.ligne-double {
    display: flex;
    gap: 20px;
}

.champ {
    width: 100%;
    margin-top: 18px;
}

.champ label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

/* Inputs modernes */

.champ input,
.message-box textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E4E4E4;
    border-radius: 16px;
    background: white;
    font-size: 14px;
    transition: 0.2s ease;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.champ input:focus,
.message-box textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

/* Choix profils */

.choix-profils {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.carte-choix {
    position: relative;
    cursor: pointer;
}

.carte-choix input {
    display: none;
}

.carte-choix span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 16px;
    background: white;
    border: 1px solid #DDD;
    transition: 0.2s ease;
    font-weight: 500;
    min-width: 120px;
}

.carte-choix input:checked + span {
    background: black;
    color: white;
    border-color: black;
    transform: translateY(-2px);
}

/* Bloc message premium */

.message-box {
    position: relative;
}

.message-box textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* Bouton */

.bouton-gris {
    margin-top: 30px;
    background: black;
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.2s ease;
}

.bouton-gris:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Texte bas */

.description-formulaire {
    margin-top: 25px;
    font-size: 12px;
    color: #666;
    line-height: 1.7;
}

.merci {
    font-size: 14px;
    font-weight: 600;
    color: black;
}

/* Carte plus grande */

.carte-connexion {
    height: auto;
    min-height: 950px;
	    width: 90%;

}

/* Responsive */

@media (max-width: 900px) {

    .carte-connexion {
        flex-direction: column;
        width: 95%;
    }

    .cote-droit {
        height: 250px;
    }

    .ligne-double {
        flex-direction: column;
        gap: 0;
    }

}

/* Cases à cocher alignées */

.carte-choix {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #DDD;
    border-radius: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.carte-choix input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.carte-choix:hover {
    border-color: black;
}

/* Bloc SIRET */

#blocSiret {
    display: none;
    margin-top: 12px;
}

/* Bouton actif */

.bouton-gris {
    background: #D9D9D9;
    color: #777;
    transition: 0.2s ease;
}

.bouton-gris.actif {
    background: #C0392B;
    color: white;
}