/* ===== PAGE CONTACT ===== */

/* HERO */
.ct-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  background: #1a4a5c;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/labyrinthe-fond.png');
  background-repeat: repeat;
  background-size: 600px;
  opacity: 0.05;
}

.ct-hero-label {
  font-family: 'Luckiest Guy', cursive;
  color: #eba946;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.ct-hero h1 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(60px, 10vw, 120px);
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 18px;
}

.ct-hero-sub {
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* BLOC FAQ D'ABORD */
.ct-faq-first {
  background: #fffbf0;
  border-bottom: 3px solid #eba946;
  padding: 40px 20px;
}

.ct-faq-first-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ct-faq-first-icon {
  font-size: 52px;
  flex-shrink: 0;
}

.ct-faq-first-text h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(20px, 2.5vw, 32px);
  color: #2c2418;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.1;
}

.ct-faq-first-text p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.ct-faq-btn {
  background: #eba946;
  color: white !important;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-block;
}

.ct-faq-btn:hover {
  background: #d4963a;
}

/* SECTION FORMULAIRE */
.ct-form-section {
  background: #fffdf8;
  padding: 80px 20px;
}

.ct-form-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ct-form-intro {
  margin-bottom: 40px;
}

.ct-form-intro h2 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(24px, 3vw, 42px);
  color: #2e7d32;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.1;
}

.ct-form-intro p {
  font-size: clamp(16px, 1.3vw, 19px);
  color: #555;
  line-height: 1.65;
}

/* FORMULAIRE */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field label {
  font-size: 15px;
  font-weight: bold;
  color: #2c2418;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #2e7d32;
}

.ct-field textarea {
  resize: vertical;
  min-height: 140px;
}

.ct-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.ct-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ct-mention {
  font-size: 13px;
  color: #999;
  font-style: italic;
  flex: 1;
}

.ct-submit-btn {
  background: #2e7d32;
  color: white !important;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.ct-submit-btn:hover {
  background: #236227;
  transform: translateY(-1px);
}

.ct-submit-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
  transform: none;
}

/* MESSAGE DE CONFIRMATION */
.ct-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 16px;
}

.ct-success-icon {
  font-size: 64px;
}

.ct-success h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(28px, 4vw, 48px);
  color: #2e7d32;
  text-transform: uppercase;
}

.ct-success p {
  font-size: clamp(16px, 1.3vw, 20px);
  color: #555;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

  .ct-hero {
    margin-top: 96px;
    min-height: 300px;
  }

  .ct-faq-first-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .ct-form-section {
    padding: 50px 16px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ct-submit-btn {
    width: 100%;
  }
}
