/* ==========================================================================
   SPITCH DATING — formulaire d'inscription auteur
   Direction artistique Haeros : or, crème, bordures douces.
   ========================================================================== */

.hr-spitch-wrapper {
    --hr-or: #DCA54A;
    --hr-noir: #222222;
    --hr-creme-clair: #FAF5E5;
    --hr-bordure: #D3C4A7;
    --hr-blanc: #FFFFFF;
    --hr-vert: #639922;
    --hr-orange: #D85A30;
    --hr-gris-doux: #5F5E5A;

    max-width: 680px;
    margin: 0 auto;
    padding: 16px 0;
}

.hr-spitch-titre {
    font-family: Georgia, "Playfair Display", serif;
    font-size: 26px;
    color: var(--hr-noir);
    text-align: center;
    margin: 0 0 18px;
}

/* --- Bandeau date / places ------------------------------------------------ */
.hr-spitch-bandeau {
    background: var(--hr-creme-clair);
    border: 1px solid var(--hr-bordure);
    border-left: 4px solid var(--hr-or);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.hr-spitch-bandeau p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--hr-noir); }
.hr-spitch-bandeau p:last-child { margin-bottom: 0; }
.hr-spitch-bandeau-date { font-size: 15px !important; }
.hr-spitch-bandeau-date strong { color: var(--hr-noir); }
.hr-spitch-bandeau-places { color: var(--hr-gris-doux) !important; font-size: 13px !important; }
.hr-spitch-bandeau-lien a { color: var(--hr-or); text-decoration: underline; font-size: 13px; }

.hr-spitch-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hr-gris-doux);
    margin-bottom: 18px;
}

.hr-spitch-ferme {
    background: var(--hr-creme-clair);
    border: 1px solid var(--hr-bordure);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    color: var(--hr-gris-doux);
    font-size: 14px;
    line-height: 1.6;
}

/* --- Formulaire ----------------------------------------------------------- */
.hr-spitch-form {
    background: var(--hr-blanc);
    border: 1px solid var(--hr-bordure);
    border-radius: 12px;
    padding: 24px;
}

.hr-spitch-honeypot {
    position: absolute;
    left: -9999px; top: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.hr-spitch-section { border: none; padding: 0; margin: 0 0 26px; }
.hr-spitch-section:last-of-type { margin-bottom: 12px; }
.hr-spitch-section legend {
    font-family: Georgia, "Playfair Display", serif;
    font-size: 16px;
    color: var(--hr-noir);
    font-weight: 500;
    margin-bottom: 12px;
    padding: 0;
}

.hr-spitch-field { margin-bottom: 16px; }
.hr-spitch-field > label {
    display: block;
    font-size: 13px;
    color: var(--hr-noir);
    margin-bottom: 4px;
    font-weight: 500;
}
.hr-req { color: var(--hr-orange); }

.hr-spitch-field input[type="text"],
.hr-spitch-field input[type="email"],
.hr-spitch-field input[type="url"],
.hr-spitch-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--hr-bordure);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--hr-noir);
    background: var(--hr-creme-clair);
    box-sizing: border-box;
}
.hr-spitch-field input:focus,
.hr-spitch-field textarea:focus {
    outline: none;
    border-color: var(--hr-or);
    background: var(--hr-blanc);
}
.hr-spitch-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

.hr-spitch-hint {
    font-size: 11px;
    color: var(--hr-gris-doux);
    margin: 4px 0 0;
    line-height: 1.5;
}

.hr-spitch-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.hr-spitch-2col > div { min-width: 0; }

/* --- Cases de consentement ------------------------------------------------ */
.hr-spitch-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--hr-bordure);
    border-radius: 8px;
    background: var(--hr-creme-clair);
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color .2s ease, background .2s ease;
}
.hr-spitch-check:hover { border-color: var(--hr-or); background: var(--hr-blanc); }
.hr-spitch-check input[type="checkbox"] {
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--hr-or);
    width: 16px; height: 16px;
}
.hr-spitch-check span { flex: 1; }

/* --- Bouton et mentions --------------------------------------------------- */
.hr-spitch-submit {
    width: 100%;
    padding: 14px;
    background: var(--hr-or);
    color: var(--hr-noir);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.hr-spitch-submit:hover { opacity: .9; transform: translateY(-1px); }

.hr-spitch-rgpd {
    margin-top: 14px;
    font-size: 11px;
    color: var(--hr-gris-doux);
    line-height: 1.5;
}

/* --- Messages ------------------------------------------------------------- */
.hr-spitch-ok,
.hr-spitch-ko {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.hr-spitch-ok {
    background: rgba(99, 153, 34, .1);
    color: var(--hr-vert);
    border: 1px solid var(--hr-vert);
}
.hr-spitch-ko {
    background: rgba(216, 90, 48, .1);
    color: var(--hr-orange);
    border: 1px solid var(--hr-orange);
}

@media (max-width: 600px) {
    .hr-spitch-2col { grid-template-columns: 1fr; }
    .hr-spitch-form { padding: 18px; }
}
