/* ============================================================
   EBS — css/contact.css
   Styles spécifiques à la page Contact
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
#ct-hero {
  padding-top: calc(58px + 64px);
  padding-bottom: 56px;
  position: relative;
}

.ct-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--c-dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}

.ct-hero-sub {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
}

/* ── MAIN GRID ────────────────────────────────────────────── */
#ct-main {
  padding-bottom: 80px;
  border-top: var(--border);
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
  padding-top: 56px;
}

/* ── SECTION LABEL ────────────────────────────────────────── */
.ct-section-label {
  font-size: 9px;
  color: var(--c-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: var(--border);
}

/* ── FORM ─────────────────────────────────────────────────── */
.ct-form-col {}

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

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

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

.ct-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-dark);
  letter-spacing: 0.01em;
}

.ct-optional {
  font-weight: 300;
  color: var(--c-muted);
  font-size: 11px;
}

.ct-input {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--c-dark);
  background: var(--c-white);
  border: 0.5px solid var(--c-border);
  border-radius: var(--r);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.ct-input:focus {
  border-color: var(--c-prim);
  box-shadow: 0 0 0 2px rgba(58, 110, 56, 0.08);
}

.ct-input::placeholder { color: var(--c-accent); }

.ct-input.error { border-color: #B85450; }

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

/* Checkbox */
.ct-field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.ct-checkbox {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-prim);
  cursor: pointer;
}

.ct-check-label {
  font-size: 11.5px;
  color: var(--c-muted);
  line-height: 1.65;
  cursor: pointer;
}

/* Submit */
.ct-submit {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 13px;
}

.ct-submit svg {
  width: 16px;
  height: 16px;
}

/* Confirmation */
.ct-confirm {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--c-surf);
  border: 0.5px solid var(--c-accent);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--c-prim);
}

.ct-confirm:not([hidden]) {
  display: flex;
}

.ct-confirm svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── INFO COL ─────────────────────────────────────────────── */
.ct-info-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 78px;
}

.ct-info-block {
  background: var(--c-white);
  border: var(--border);
  border-radius: var(--r-md);
  padding: 22px;
}

.ct-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: var(--border);
}

.ct-info-item:last-child { border-bottom: none; }

.ct-info-icon {
  width: 32px;
  height: 32px;
  background: var(--c-surf);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-info-icon svg { width: 16px; height: 16px; }

.ct-info-key {
  font-size: 8px;
  color: var(--c-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ct-info-val {
  font-size: 12.5px;
  color: var(--c-dark);
  line-height: 1.6;
}

.ct-info-val a {
  color: var(--c-prim);
  text-decoration: none;
  transition: color 0.2s;
}

.ct-info-val a:hover { color: var(--c-dark); }

/* ── HORAIRES ─────────────────────────────────────────────── */
.ct-hours {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: var(--border);
}

.ct-hours-row:last-child { border-bottom: none; }

.ct-hours-closed .ct-hours-time {
  color: var(--c-muted);
  font-size: 12px;
}

.ct-hours-day {
  font-size: 9px;
  color: var(--c-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 60px;
}

.ct-hours-time {
  font-size: 12.5px;
  color: var(--c-dark);
  text-align: right;
}

.ct-hours-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: var(--border);
}

.ct-hours-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ct-hours-note span {
  font-size: 11.5px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ── MAP ──────────────────────────────────────────────────── */
.ct-map-static {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-map-svg {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: var(--border);
}

.ct-map-caption {
  font-size: 9px;
  color: var(--c-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; gap: 48px; }
  .ct-info-col { position: static; }
}

@media (max-width: 540px) {
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-hours-time { font-size: 11.5px; }
}
