/* ======== Style principal ======== */
/*
body {
  background: #207125;
  color: #000;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}
*/
/*url('images/fond.jpg') no-repeat center center fixed*/
body {
  background: #CFE1E7;
  background-size: cover;
  color: #000;      /* ou #222 si l’image est claire */
  font-family: 'Roboto', sans-serif;
  margin: 0;
}

.imgbandeau {width: 100%;}
/* Desktop : cacher image mobile */
.mobile { display: none; }

/* Mobile : cacher image desktop */
@media (max-width: 768px) {
  .desktop { display: none; }
  .mobile { display: block; }
}

/* ======== Header ======== */
header {
	text-align: center;
  background: #006d8e;
  
  /*
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  */
}
header h1 { margin: 0; font-size: 2em; }
header p { margin-top: 10px; font-size: 1.1em; }

/* ======== Containers ======== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
}

.intro {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
}
.intro h2 {
  font-size: 1.8em;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: #000; /* texte bleu foncé */
  margin: 20px 0 10px 0;
  padding: 5px 10px;
  display: inline-block;

  /* Bande verte sur la moitié basse */
  background: linear-gradient(to bottom, transparent 60%, #006d8e 60%);
}


.intro p{text-align: left;}
.intro li{text-align: left;margin: 0px 0px 0px 30px;}

.intro img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.intro .infosint {
    display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap; /* empêche le passage à la ligne */
}

/* ✅ RESPONSIVE PHONE */
@media (max-width: 768px) {
.intro .infosint {
    flex-direction: column;
  }

 .intro h2 {
    font-size: 1.6rem;
  }

  .infos-block {
    padding: 15px;
  }
}

/* ✅ RESPONSIVE SMALLER PHONES */
@media (max-width: 480px) {
  .intro {
    padding: 15px;
  }

  .intro h2 {
    font-size: 1.4rem;
  }
}




.infos-block {
  flex: 1;
  background-color: #f8f8f8;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 300px;
}

.infos-block h3 {
 margin-top: 0;
  color: #004080;
}




.infos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.info-card {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
}
.info-card.dark {
  background: #0d3b66;
  color: white;
}

/* ======== Formulaire ======== */
.formulaire {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 30px;
  margin-top: 40px;
}
.formulaire h2 {
  color: #0d3b66;
  text-align: center;
  margin-bottom: 20px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input, select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-top: 10px;
}

.select-ville { margin-top: 20px; }

.separator {
  border-top: 2px dashed #0d3b66;
  margin: 30px 0;
}

.joueurs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.joueur-card {
  flex: 1;
  min-width: 300px;
  background: #f0f7ff;
  border: 1px solid #d0e3f5;
  border-radius: 12px;
  padding: 15px;
}
.joueur-card .st{background: linear-gradient(to bottom, transparent 70%, #006d8e 70%);padding:0px 5px;}
.joueur-card h4 {
  color: #0d3b66;
  padding: 5px 0px;
  margin: 0 0;
}

.cocktail {
  text-align: center;
  margin-top: 20px;
}
.rgpd {
  font-size: 0.9em;
  margin-top: 30px;
}
.rgpd a { color: #0d3b66; }

.submit {
  text-align: center;
  margin-top: 30px;
}

/* ======== Bouton principal (avec ballon) ======== */
.cta-ballon {
  position: relative;
  background: #0d3b66;
  color: white;
  padding: 12px 40px 12px 30px;
  font-size: 1.1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-ballon::after {
  /*content: "⚽";*/
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  font-size: 1.2em;
  transition: transform 0.3s ease, right 0.3s ease;
}

.cta-ballon:hover {
  background: #11518d;
  padding-right: 50px;
}

.cta-ballon:hover::after {
  transform: translateY(-50%) scale(1.2) rotate(20deg);
  right: 10px;
}
.rgpd label {
  display: flex;
  flex-direction: row;     /* garde la case à gauche et le texte à droite */
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.rgpd input[type="checkbox"] {
  flex: 0 0 auto;   /* case compacte */
  width: 16px;
  height: 16px;
  margin-top: 3px;
  margin-right: 8px;
}

/* forcer le texte (y compris liens) à rester dans un bloc vertical */
.rgpd .text-wrapper {
  display: block;
}


footer {
  background: #006d8e;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
  .grid2 { grid-template-columns: 1fr; }
  .joueur-card { min-width: 100%; }
}


    article.box.post {
      background: white;
      border-radius: 12px;
      padding: 2rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      max-width: 800px;
      margin: 2rem auto;
    }

    h4 {
      position: relative;
      display: inline-block;
      font-size: 1.4em;
      margin: 1rem 0;
      color: #0d3b66;
      font-weight: 700;
      padding: 5px 10px;
    }

    h4::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 0.5em;
      background-color: #2e8b57; /* vert foot */
      z-index: -1;
    }
/*
    .btn {
      text-align: center;
      margin-top: 2rem;
    }

    .but, .butprec {
      background-color: #2e8b57;
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 1em;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .butprec {
      background-color: #0d3b66;
    }

    .but:hover { background-color: #256b45; }
    .butprec:hover { background-color: #093052; }
*/

.btn {
  display: flex;
  justify-content: center;
  gap: 15px; /* espace entre les boutons */
  margin-top: 2rem;
}

/* Style des boutons */
.but, .butprec {
  background-color: #2e8b57;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.butprec {
  background-color: #0d3b66;
}

.but:hover { background-color: #256b45; }
.butprec:hover { background-color: #093052; }

/* ✅ Responsive : les boutons passent en colonne sur mobile */
@media (max-width: 600px) {
  .btn {
    flex-direction: column;
    align-items: center;
  }

  .but, .butprec {
    width: 80%; /* optionnel : donne un plus beau rendu */
  }
}




/* --- Bloc récapitulatif --- */
.recap {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.recap h4 {
  font-size: 1.6em;
  font-weight: 700;
  color: #0d3b66;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.recap h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.4em;
  background-color: #2e8b57;
  z-index: -1;
  border-radius: 3px;
}

/* sous-blocs (cabinet, joueurs, événements) */
.recap-section {
  margin-bottom: 1.5rem;
}

.recap-section h5 {
  color: #2e8b57;
  font-size: 1.1em;
  margin-bottom: 0.5rem;
  border-left: 4px solid #2e8b57;
  padding-left: 8px;
}

.recap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recap ul li {
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
}

.recap ul li:last-child {
  border-bottom: none;
}

/* Totaux */
.totaux {
  background: #f5fff7;
  border: 1px solid #cde7d3;
  border-radius: 8px;
  padding: 1rem;
  text-align: right;
}

.totaux div {
  font-size: 1.1em;
  margin-bottom: 0.5rem;
}

.totaux .ttc {
  font-weight: bold;
  font-size: 1.3em;
  color: #0d3b66;
}

