#loader-overlay {
  display: none; /* caché au début */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

/* Style global */
html, body {
    height: 100%; /* important */
}
textarea {
    resize: none; /* Empêche le redimensionnement */
}
textarea[name="Objet"]{
  resize: none;    /* empêche le redimensionnement */
  width: 300px;    /* largeur fixe */
  height: 20px !important;   /* hauteur fixe */
}


body {
    margin: 0;
    font-family: mont;
    background-color: #fdf5f9; /* fond pastel rose clair */
    color: #222;
    text-align:center;
    align-items: center;  
    justify-content: center;
    display: flex;
    font-family: 'Montserrat', sans-serif;
}
form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}
form {
    background: white;
    font-family: 'Montserrat', sans-serif;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 300px;
}
form button, form input[type="submit"] {
    background: #ff7eb9;
    border: none;
    padding: 10px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;}
/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: transparent;
}

/* Logo centré */
header .logo {
    font-size: 1.4em;
    font-weight: bold;
    color: #222;
    text-decoration: none;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #888;
}

/* Bouton connexion */
.btn-connexion {
    padding: 8px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-connexion:hover {
    background: #f3f3f3;
    transform: scale(1.05);
}

/* Section hero (image ou vidéo en haut) */
.hero {
    width: 100%;
    height: 350px;
    background: url('ton-image.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section texte + image */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 10%;
    gap: 40px;
}

.section img {
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.section p {
    font-size: 1.2em;
    line-height: 1.6em;
    max-width: 600px;
}
