    @charset "utf-8";

/* ---------------------------------------------------------
   FONTS
--------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rubik+Glitch&display=swap');

/* ------------------------------ */
/* FORMULAIRE CONTACT */
/* ------------------------------ */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #333333;
}

html {
    scroll-behavior: smooth;
}

/* ------------------------------ */
/* HEADER */
/* ------------------------------ */
.contact-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: radial-gradient(ellipse at center, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 1000;
}

.logo-club {
    height: 100%;
    width: auto;
    margin: 20px;
  
}

.contact-header h1 {
  font-family: "Rubik", cursive;
    font-size: 60px;
    color: #777;
    text-shadow: 0 0 10px red;
    margin: 0;
  line-height: 1;  /* Évite les décalages verticaux */

}

/* ------------------------------ */
/* SECTIONS */
/* ------------------------------ */

.contact-section {
  margin: 32px auto;
  max-width: 1100px;
  padding: 25px;
}

/* ---------------------------------------------------------
   FORMULAIRE CONTACT — VERSION OPTIMISÉE
--------------------------------------------------------- */

/* Conteneur plus compact */
.form-container {
    max-width: 650px;                 /* ← même largeur visuelle que les event-card */
    margin: 32px auto;
    padding: 24px;
    background: #f5f5f5;              /* même fond que les cartes */
    border: 1px solid #ddd;           /* même bordure */
    border-radius: 10px;              /* même arrondi */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* même ombre */
}

/* Grille */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* Labels */
.form-grid label {
    font-weight: bold;
    color: #1f4f7b;
    margin-bottom: 6px;
    display: block;
}

/* Icones */
.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1f4f7b;
    font-size: 18px;
    pointer-events: none;
}

.input-icon input,
.input-icon textarea {
    padding-left: 40px !important; /* espace pour l’icône */
}

/* Champs optimisés */
.form-grid input,
.form-grid textarea {
    width: 90%;                /* ← Réduction des champs */
    box-sizing: border-box;    /* ← Empêche tout dépassement */
    margin: 0 auto;            /* ← Centrage parfait */
    /*max-width: 100%;
    display: block;*/
    padding: 12px;
    border: 2px solid #cce7ff;
    border-radius: 6px;
    font-size: 16px;
        transition: 0.3s ease;     /* ← Animation douce */
}

/* Animation hover */
.form-grid input:hover,
.form-grid textarea:hover {
    border-color: #1f4f7b;
    box-shadow: 0 0 8px rgba(31,79,123,0.3);
    transform: translateY(-2px);
}

/* Animation focus */
.form-grid input:focus,
.form-grid textarea:focus {
    border-color: #1f4f7b;
    box-shadow: 0 0 10px rgba(31,79,123,0.4);
    transform: translateY(-2px);
    outline: none;
}

.input-icon select {
    width: 90%;
    padding: 12px;
    padding-left: 40px;
    border: 2px solid #cce7ff;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
    appearance: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.input-icon select:hover {
    border-color: #1f4f7b;
    box-shadow: 0 0 8px rgba(31,79,123,0.3);
    transform: translateY(-2px);
}

.input-icon select:focus {
    border-color: #1f4f7b;
    box-shadow: 0 0 10px rgba(31,79,123,0.4);
    transform: translateY(-2px);
    outline: none;
}

/* Case RGPD */
.boite {
    background: #eef7ff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #cce7ff;
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Bouton envoyer */
input[type="submit"] {
    display: block;            /* ← permet le centrage */
    margin: 25px auto 0 auto;  /* ← centre horizontalement */
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

input[type="submit"]:hover {
    background: #33ccff;
    color: #ff0000;
    transform: scale(1.05);
}

/* Champ honeypot invisible */
.honeypot {
    display: none;
}
