/* ══════════════════════════════════════════
   CONTACT PAGE — Fanny Corpet
   ══════════════════════════════════════════ */

/* Le body doit être vert foncé pour masquer le gap sous la nav fixe */
body.page-contact-tpl {
  background: var(--green-dark);
}

.contact-split {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: linear-gradient(to right, var(--green-dark) 50%, var(--cream) 50%);
}

.contact-left {
  flex: 1;
  background: var(--green-dark);
  padding: 4rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-left__inner {
  max-width: 480px;
  width: 100%;
}

.contact-right {
  flex: 1;
  background: var(--cream);
  padding: 4rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-right__inner {
  max-width: 480px;
  width: 100%;
}


/* ── Typography ── */

.contact-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.contact-title--light {
  color: var(--cream);
}

.contact-title--light em {
  color: var(--salmon);
  font-style: italic;
}

.contact-title--dark {
  color: var(--green-dark);
}

.contact-title--dark em {
  color: var(--salmon);
  font-style: italic;
}

.contact-sub--light {
  font-size: 0.95rem;
  color: rgba(245, 237, 227, 0.6);
  margin-bottom: 2rem;
}

.contact-sub--dark {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}


/* ── Calendly in device frame ── */

.contact-device {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.contact-device__frame {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.contact-device__notch {
  width: 80px;
  height: 5px;
  background: #333;
  border-radius: 10px;
  margin: 0 auto 12px;
}

.contact-device__screen {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 600px;
}

.cal-week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.cal-nav-btn {
  background: none;
  border: 1px solid rgba(245, 237, 227, 0.2);
  color: var(--cream);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 6px;
}

.cal-week-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(245, 237, 227, 0.7);
  letter-spacing: 0.02em;
}

.cal-day-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.cal-day-pills::-webkit-scrollbar {
  display: none;
}

.cal-day-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(245, 237, 227, 0.04);
  border: 1px solid rgba(245, 237, 227, 0.1);
  border-radius: 10px;
  min-width: 78px;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.cal-day-pill:hover:not([disabled]) {
  border-color: rgba(245, 237, 227, 0.3);
}

.cal-day-pill--selected {
  background: rgba(232, 169, 140, 0.12);
  border-color: var(--salmon);
}

.cal-day-pill--unavailable {
  opacity: 0.3;
  cursor: default;
}

.cal-day-pill__label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: capitalize;
  white-space: nowrap;
}

.cal-day-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

.cal-day-pill__dot--active {
  background: #4CAF50;
}

.cal-slots__label {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(245, 237, 227, 0.5);
  margin: 0 0 20px 0;
  text-transform: capitalize;
}

.cal-slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.cal-slot-btn {
  background: rgba(245, 237, 227, 0.06);
  border: 1px solid rgba(245, 237, 227, 0.15);
  color: var(--cream);
  padding: 14px 8px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.15s, color 0.2s;
}

.cal-slot-btn:hover {
  background: var(--salmon);
  color: var(--green-dark);
  border-color: var(--salmon);
  transform: translateY(-2px);
}

.cal-no-slots {
  font-size: 0.9rem;
  color: rgba(245, 237, 227, 0.45);
  font-style: italic;
  text-align: center;
  padding: 40px 0;
  margin: 0;
}

.contact-details {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(245, 237, 227, 0.5);
}

.contact-details__sep {
  color: rgba(245, 237, 227, 0.2);
}


/* ── Form (placeholder until Tally) ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-form__input {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  border: none;
  border-bottom: 1px solid rgba(11, 61, 46, 0.2);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form__input:focus {
  border-color: var(--salmon);
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}


/* ── Responsive ── */

@media (max-width: 900px) {
  .contact-split {
    flex-direction: column;
    min-height: auto;
    background: var(--green-dark);
  }

  .contact-left {
    padding: 1rem 1.5rem 2rem;
  }

  .contact-right {
    padding: 3rem 1.5rem;
    background: var(--cream);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ── Form feedback ── */
.contact-form__feedback {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.contact-form__feedback--success {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.2);
}
.contact-form__feedback--error {
  background: rgba(211, 47, 47, 0.1);
  color: #d32f2f;
  border: 1px solid rgba(211, 47, 47, 0.2);
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
