.main { display: grid; grid-template-columns: 1fr 380px; gap: 0; align-items: start; }
.form-section { padding: 3rem; border-right: 1px solid var(--border); background: var(--beige); }
.section-title {
  font-family: var(--serif); font-size: var(--t-h2);
  font-weight: 700; color: var(--forest);
  margin-bottom: 0.5rem; line-height: 1.25;
}
.section-desc {
  font-family: var(--sans); font-size: var(--t-small);
  color: var(--muted); font-weight: 300;
  line-height: 1.7; margin-bottom: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-family: var(--sans); font-size: var(--t-micro);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--border);
  font-family: var(--sans); font-size: var(--t-small);
  color: var(--text); padding: 10px 14px;
  outline: none; font-weight: 300; width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); background: #fffcf5;
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--error); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; font-family: var(--sans); }
.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='%23a07828' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}

.form-radio-group { display: flex; gap: 1.5rem; margin-top: 0.3rem; }
.form-radio { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.form-radio input { width: 14px; height: 14px; accent-color: var(--gold); cursor: pointer; }
.form-radio span { font-family: var(--sans); font-size: var(--t-eyebrow-lg); color: var(--text); font-weight: 300; }

.submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem; flex-wrap: wrap;
}
.submit-note {
  font-family: var(--sans); font-size: var(--t-eyebrow);
  color: var(--muted); font-weight: 300;
}
.submit-note span { color: var(--gold); }
.btn-submit {
  background: var(--forest); color: #fff;
  font-family: var(--sans); font-size: var(--t-eyebrow);
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 13px 36px; border: none; cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--forest2); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.alert-box {
  background: var(--beige2); border: 1px solid var(--border);
  padding: 1.5rem; margin-top: 0;
}
.alert-box-title {
  font-family: var(--serif); font-size: var(--t-h3);
  font-weight: 700; color: var(--forest); margin-bottom: 0.5rem;
}
.alert-box-desc {
  font-family: var(--sans); font-size: var(--t-eyebrow-lg);
  color: var(--muted); font-weight: 300;
  line-height: 1.7; margin-bottom: 1.2rem;
}
.btn-alert {
  background: none; border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--sans);
  font-size: var(--t-eyebrow); letter-spacing: 0.16em;
  text-transform: uppercase; padding: 10px 24px;
  cursor: pointer; font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.btn-alert:hover { background: var(--gold); color: #fff; }

.sidebar { background: var(--forest); padding: 2.5rem 2rem; }
.sidebar-block {
  margin-bottom: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid #ffffff10;
}
.sidebar-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-title {
  font-family: var(--serif); font-size: var(--t-h3);
  font-weight: 700; color: #f0e8d5;
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid #ffffff15; position: relative;
}
.sidebar-title::after {
  content: ''; position: absolute;
  left: 0; bottom: -1px;
  width: 30px; height: 2px; background: var(--gold);
}
.info-row { display: flex; gap: 0.8rem; margin-bottom: 1rem; align-items: flex-start; }
.info-icon { width: 18px; flex-shrink: 0; margin-top: 2px; }
.info-icon svg {
  width: 16px; height: 16px; stroke: #80a890;
  fill: none; stroke-width: 1.5; stroke-linecap: round;
}
.info-label {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold2); font-weight: 600; margin-bottom: 2px;
}
.info-val {
  font-family: var(--sans); font-size: var(--t-small);
  color: #c8d8c8; font-weight: 300; line-height: 1.5;
}
.info-val a { color: #c8d8c8; text-decoration: none; }
.info-val a:hover { color: var(--gold3); }

.success-msg {
  display: none; background: var(--forest2);
  border: 1px solid #4a8060; padding: 1.2rem 1.5rem;
  margin-top: 1rem;
}
.success-msg p {
  font-family: var(--sans); font-size: var(--t-small);
  color: #a0d0a8; font-weight: 300; line-height: 1.6;
}

.form-notice {
  background: var(--beige2); border-left: 3px solid var(--gold);
  padding: 0.8rem 1rem; margin-bottom: 1.5rem;
  font-family: var(--sans); font-size: var(--t-eyebrow-lg);
  color: var(--text); font-weight: 300; line-height: 1.6;
}
.form-notice a { color: var(--gold); text-decoration: underline; }
.field-hint {
  font-family: var(--sans); font-size: var(--t-micro);
  color: var(--muted); font-weight: 300; margin-top: 0.15rem;
}
.field-hint.warn { color: var(--error); }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: var(--error); }

@media (max-width: 1024px) {
  .main { grid-template-columns: 1fr; }
  .form-section { padding: 2rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  /* Sidebar coordonnees centree en colonne unique sur tablette et mobile */
  .sidebar { padding: 2rem 1.5rem; text-align: center; }
  .sidebar-title { display: inline-block; }
  .sidebar-title::after { left: 50%; transform: translateX(-50%); }
  /* Chaque ligne (icone + label + valeur) est empilee verticalement et centree */
  .info-row {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }
  .info-icon { margin-top: 0; }
}
@media (max-width: 768px) {
  .form-section { padding: 1.5rem 1rem; }
  .sidebar { padding: 1.5rem 1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .section-title { font-size: var(--t-h3); }
  .submit-row { flex-direction: column; align-items: stretch; }
  .btn-submit { width: 100%; }
}
