/* ── STRUCTURE SPLIT-SCREEN STRICT ─────────
       Ni header ni footer : les deux panneaux
       occupent 100% de la hauteur de viewport. */
.split-shell {
  display: flex;
  min-height: 100vh;
}

.ivory {
    background-color: var(--ivory);
}

/* ── PANNEAU GAUCHE (identité / contexte) ───
    Sticky sur desktop : reste plaqué au viewport
    pendant que le panneau droit peut scroller
    librement si le formulaire est plus long
    (cas de l'inscription avec plusieurs champs). */
.context-panel {
  width: 42%;
  background: var(--slate);
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.6rem 3.5rem 3.2rem;
  overflow: hidden;
}
.context-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,152,106,.10), transparent 55%);
  pointer-events: none;
}

/* Zone logo, ancrée en haut, ne bouge jamais */
.context-logo {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff!important;
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-block;
  width: fit-content;
}
.context-logo small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: .2rem;
}

    /* Bloc central, occupe l'espace restant et
       centre verticalement quelle que soit la
       hauteur du logo au-dessus ou du repère
       en dessous */
.context-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.context-eyebrow {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.context-title {
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  margin: 0 0 1.2rem;
}
.context-text {
  font-size: .95rem;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  max-width: 360px;
  margin: 0;
}
.context-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.7rem 0;
}
.context-meta {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.context-meta svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--gold); }

.context-meta-contact {
  align-items: flex-start !important;
}

/* Petit repère en pied de panneau, discret,
    pour ancrer qu'on reste sur le site sans
    réintroduire un vrai footer */
.context-footprint {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}
.context-footprint a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.context-footprint a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ── PANNEAU DROIT (action) ────────────────
    Peut scroller normalement ; le lien de
    retour reste ancré en haut à droite. */
.action-panel {
  width: 58%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.action-topline {
  display: flex;
  justify-content: space-between;
  padding: 2rem 3rem 0;
}
.link-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.link-home .link-label {
    font-size: 1.1rem; 
    font-weight: 500; 
}

.back-link {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .2s;
}
.back-link:hover { color: var(--gold); }
.back-link svg { width: 14px; height: 14px; }

.action-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 3.5rem;
}
.form-card { width: 100%; max-width: 400px; }
.form-card--wide { max-width: 640px; }

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--slate);
  margin: 0 0 .5rem;
}
.form-subtitle {
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 2.1rem;
  line-height: 1.7;
}

.form-error {
    background: var(--error-light);
    border: 1px solid var(--error);
    color: var(--error);
    padding: .85rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
    border-radius: 4px;
    margin: 0 0 1.4rem;
    line-height: 1.55;
}

.form-flash {
    position: relative;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-flash__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* Croix de fermeture */
.form-flash__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.form-flash__close:hover {
    opacity: 1;
}

/* Succès */
.form-flash--success {
    background: #e6f6ec;
    border: 1px solid #b4e2c3;
    color: #1b6e3a;
}

/* Erreur */
.form-flash--error {
    background: #fbeaea;
    border: 1px solid #f2c4c4;
    color: #8a1f1f;
}

/* Warning */
.form-flash--warning {
    background: #fff7e6;
    border: 1px solid #ffe2a8;
    color: #7a5a00;
}

/* Info */
.form-flash--info {
    background: #e8f3fb;
    border: 1px solid #c7def1;
    color: #1a4f7a;
}



    /* ── CHAMPS AVEC ICÔNE ──────────────────────
       Icône positionnée en absolu dans un wrapper
       relatif ; le padding-left de l'input laisse
       la place, sans dépendre d'un markup lourd. */
.field-group { margin-bottom: 1.2rem; }
.field-group-2 { position: absolute; transform: translateX(-200vw); }
.field-label {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .5rem;
}
.field-icon-wrap { position: relative; }
.field-icon-wrap svg {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(30,38,48,.4);
  pointer-events: none;
  transition: color .2s;
}
.field-input {
  width: 100%;
  border: 1px solid rgba(30,38,48,.16);
  background: #fff;
  padding: .82rem 1rem .82rem 2.6rem;
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field-input::placeholder { color: rgba(74,82,96,.45); }
.field-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,152,106,.15); }
.field-input:focus ~ svg,
.field-icon-wrap:focus-within svg { color: var(--gold); }
.field-input.is-invalid { border-color: var(--error); background: var(--error-light); }
.field-error { font-size: .8rem; color: var(--error); margin: .45rem 0 0; display: none; }
.field-input.is-invalid ~ .field-error { display: block; }

/* Deux champs sur une ligne (prénom / nom) */
.field-row-2 { display: flex; gap: .9rem; }
.field-row-2 .field-group { flex: 1; }

/* ── CASES À COCHER (version simple, native) ─ */
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1rem;
}
.field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  accent-color: var(--gold)!important;
  flex-shrink: 0;
  cursor: pointer;
}
.field-checkbox label {
  font-family: 'Jost', sans-serif;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  cursor: pointer;
}
.field-checkbox label a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.field-checkbox label a:hover { border-color: var(--gold); }

.form-check-input {
    background-color: #fff;
    border: 1px solid rgba(30,38,48,.28);
    accent-color: var(--gold); /* moderne, propre */
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.btn-form-submit {
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: .95rem 1.5rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  margin-top: .4rem;
}
.btn-form-submit:hover { background: var(--slate); }

.form-footer-link {
  margin-top: 1.7rem;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}
.form-footer-link a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.form-footer-link a:hover { border-color: var(--gold); }

/* ── RESPONSIVE ─────────────────────────────
    Sous 992px : le panneau gauche redevient un
    bandeau en tête de page, non sticky (il n'y
    a plus deux colonnes à équilibrer), suivi du
    panneau d'action en flux normal. */
@media (max-width: 991.98px) {
  .split-shell { flex-direction: column; }
  .context-panel {
    width: 100%;
    position: relative;
    height: auto;
    padding: 1.8rem 1.6rem 2.2rem;
  }
.context-body { flex: none; margin-top: 1.6rem; }
.context-text { max-width: none; }
.context-footprint { display: none; }
.action-panel { width: 100%; min-height: auto; }
.action-topline { padding: 1.2rem 1.6rem 0; }
.action-body { padding: 1.6rem 1.6rem 3rem; }
.field-row-2 { flex-direction: column; gap: 0; }
}

.screen-title {
font-family: 'Cormorant Garamond', serif;
font-size: 1.85rem;
font-weight: 300;
color: var(--slate);
margin: 0 0 1rem;
}

.screen-text {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 2rem;
}

.screen-link {
    font-size: .95rem;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.screen-link:hover {
    border-color: var(--gold);
}

.screen-section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--ivory-dark);
}
.screen-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.screen-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.screen-field p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 2;
  margin: 0;
}

.screen-actions {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--ivory-dark);
}