/* ===== Page : contact ===== */
.ct {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  color: #063b5c;
}
.ct .b {
  border-radius: 20px;
  padding: 32px;
}
.ct .d {
  background: #084d71;
  color: #fff;
}
.ct .i {
  background: #f7f8fa;
  border: 1px solid #dae4ec;
}
.ct h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.ct .d h3 {
  color: #5adbcb;
}
.ct .i h3 {
  color: #084d71;
}
.ct p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .ct {
    grid-template-columns: 1fr;
  }
}

.ct-head {
  text-align: center;
  margin: 0 0 36px;
}
.ct-head h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 44px;
  color: #084d71;
  margin: 0 0 10px;
}
.ct-head p {
  font-size: 18px;
  margin: 0;
  color: #3e5a6c;
}

.cf {
  max-width: 1100px;
  margin: 32px auto 0;
  background: #fff;
  border: 1px solid #dae4ec;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cf h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  margin: 0;
}
.cf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cf-fd {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf label {
  font-size: 14px;
  font-weight: 600;
}
.cf input,
.cf select,
.cf textarea {
  font: inherit;
  font-size: 16px;
  padding: 0 14px;
  border: 1px solid #6e8ba0;
  border-radius: 12px;
  background: #fff;
  color: #063b5c;
  width: 100%;
}
.cf input,
.cf select {
  height: 48px;
}
.cf textarea {
  padding: 12px 14px;
  resize: vertical;
}
.cf-go {
  cursor: pointer;
  align-self: flex-start;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #063b5c 0%, #087ea4 100%);
  border: 0;
  border-radius: 12px;
  padding: 15px 32px;
}
.cf-go:hover {
  filter: brightness(1.1);
}
@media (max-width: 640px) {
  .ct-head h1 {
    font-size: 34px;
  }
  .cf {
    padding: 22px;
  }
}

.hd-nav .hd-cta.on {
  color: #fff;
}

/* Le champ message est dans une colonne : pas de flex-basis (sinon 240px de haut) */
.cf > .cf-fd {
  flex: none;
}

/* =====================================================================
   Finitions (refonte visuelle) : mêmes sections, rendu plus soigné
   ===================================================================== */
.ct .b,
.cf {
  box-shadow: var(--shadow-sm);
}
.ct .d {
  background: linear-gradient(150deg, #063b5c 0%, #087ea4 100%);
  box-shadow: 0 30px 60px -36px rgba(6, 59, 92, 0.6);
}
.ct .i,
.cf {
  border-color: rgba(6, 59, 92, 0.08);
}
.cf input,
.cf select,
.cf textarea {
  border-color: #b9cad6;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cf input:focus,
.cf select:focus,
.cf textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 126, 164, 0.15);
}
.cf-go {
  box-shadow: 0 10px 24px -12px rgba(8, 126, 164, 0.7);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.cf-go:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(8, 126, 164, 0.8);
}
.ct .i a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.ct .i a:hover {
  text-decoration: underline;
}

/* Message d'attente avant l'ouverture des inscriptions en ligne */
.ct-launch {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #daf3f0;
  border: 1px solid rgba(10, 126, 163, 0.18);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.55;
}
.ct-launch[hidden] {
  display: none;
}

/* Résultat de l'envoi du formulaire */
.cf-go:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.cf-etat {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.cf-etat[hidden] {
  display: none;
}
.cf-ok {
  background: #daf3f0;
  color: #0b5b52;
}
.cf-err {
  background: #fdecea;
  color: #9b2c22;
}
