/* Importation des polices personnalisées */
@font-face {
    font-family: 'Abuget';
    src: url('/fonts/Abuget.ttf') format('truetype');
}

@font-face {
    font-family: 'Erasmd';
    src: url('/fonts/erasmd.ttf') format('truetype');
}

/* Styles généraux du corps */
body {
    font-family: 'Erasmd', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 115%;
    margin: 0 1.5cm;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* --- Menu de Navigation et Overlay --- */
.menu-toggle { display: none; }
.overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999; }
.nav-container { position: relative; }
nav { text-align: center; margin-bottom: 20px; padding: 15px 0; background-color: #4077d6; border-radius: 10px; }
nav a { font-family: 'Erasmd', sans-serif; font-size: 1.2em; color: #fff; text-decoration: none; margin: 0 15px; padding: 10px 15px; display: inline-block; transition: background-color 0.3s ease; }
nav a:hover { background-color: #5a9ee0; border-radius: 5px; color: #fff; }

/* --- Bannière et Titres --- */
.hero-banner {
    max-height: 450px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.banner-title {
    font-size: 1.8em;
    color: #4077d6;
    text-align: center;
    line-height: 1.4;
    margin: 20px 0 10px 0;
    font-family: 'Erasmd', sans-serif;
}
.sub-banner {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin: 0 auto 20px auto;
    max-width: 700px;
}

/* --- Boutons --- */
button,
.btn {
    font-family: 'Erasmd', sans-serif;
    font-size: 1em; /* Ligne ajoutée pour uniformiser la taille */
    display: inline-block;
    background-color: #4077d6;
    color: #fff !important;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 400;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    margin-top: 20px; /* AJOUT DE L'ESPACE AU-DESSUS DU BOUTON */
}
.btn:hover {
    background-color: #5a9ee0;
    transform: translateY(-2px);
}
.btn-right {
    float: right;
    margin-right: 1.5cm;
    margin-bottom: 40px;
}

/* --- Section de Présentation Principale (Accueil) --- */
.presentation {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin: 2rem 0;
    clear: both;
}
.presentation-text { flex: 2; }
.presentation-image {
    flex: 1;
    display: flex;
    align-items: center;
}
.presentation-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Sections d'Alternance (Autres pages et suite de l'accueil) --- */
.presentation-section {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    gap: 20px;
}
.presentation-section.reversed {
    flex-direction: row-reverse;
}
.text-alternance { flex: 1; }
.img-alternance { flex: 0 0 300px; }
.img-alternance img:not(.img-pictogram) {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Éléments Spécifiques --- */
.img-pictogram {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.no-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
    
/* --- Disclaimer (Version finale ajustée) --- */
.disclaimer {
    margin: 1.5rem auto; /* Marges verticales réduites */
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85em;
    color: #666;
    font-style: normal;
    /* La ligne max-width a été supprimée pour permettre la pleine largeur */
}

/* --- Formulaire --- */
form textarea,
form input[type="text"],
form input[type="email"],
form input[type="tel"] {
    width: 250px;
    font-family: 'Erasmd', sans-serif;
    font-size: 1.05em;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    box-sizing: border-box;
}
form textarea {
    min-height: 200px;
    resize: vertical; }

/* Utilitaire pour retirer l'ombre d'une image */
.no-shadow {
    box-shadow: none !important;
    filter: none !important;
}

/* --- Responsive Design --- */
@media screen and (max-width: 768px) {
    body { margin: 0 10px; font-size: 95%; }
    .nav-container { background-color: #4077d6; padding: 4px 8px; display: flex; justify-content: flex-end; align-items: center; border-radius: 10px; margin-bottom: 10px; position: sticky; top: 10px; z-index: 1000; width: fit-content; margin-left: auto; margin-right: 10px; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; background: none; border: none; color: white; font-size: 28px; cursor: pointer; padding: 0; margin: 0; line-height: 1; height: 28px; width: 28px; z-index: 1002; }
    nav { display: flex; flex-direction: column; position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background-color: #3a6ac5; padding-top: 50px; box-shadow: -3px 0 8px rgba(0,0,0,0.25); transition: right 0.35s ease-in-out; z-index: 1001; margin-bottom: 0; border-radius: 0; text-align: left; }
    nav.active { right: 0; }
    .overlay.active { display: block; }
    nav a { display: block; padding: 15px 25px; font-size: 1.05em; color: #ffffff; text-decoration: none; border-bottom: 1px solid #4a7bd5; margin: 0; border-radius: 0; }
    nav a:last-child { border-bottom: none; }
    nav a:hover { background-color: #528ae0; color: #fff; }
    .btn-right { float: none; display: block; margin: 15px auto; }

    .presentation,
    .presentation-section {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    .presentation-text, .presentation-image, .text-alternance, .img-alternance, .hypnose-logo, .hypnose-content {
        flex: 1;
        max-width: 100%;
    }
    .presentation-image img, .img-alternance img {
        max-width: 90%;
        height: auto;
        margin: 0 auto 10px auto;
        display: block;
    }
    .text-alternance p, .text-alternance li {
        font-size: 0.9em;
    }
}