/* Formulaire d'abonnement — chargé seulement quand la collecte est ouverte. */

.follow-note {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 32em;
}

.follow-form-zone {
    grid-column: 1 / -1;
}

.follow-label {
    color: var(--ink-2);
    display: block;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.follow-champ {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.follow-input {
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--ink-2);
    color: var(--ink);
    flex: 1 1 14rem;
    font-family: var(--sans);
    font-size: 17px;
    /* Cible tactile du champ */
    min-height: 44px;
    padding: 6px 2px;
}

.follow-input::placeholder {
    color: var(--ink-2);
    opacity: 1;
}

.follow-input:focus-visible {
    border-bottom-color: var(--ochre);
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.follow-bouton {
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--ochre);
    color: var(--ink);
    cursor: pointer;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    min-height: 44px;
    padding: 6px 2px 4px;
    white-space: nowrap;
}

.follow-bouton::after {
    color: var(--pine);
    content: "→";
    display: inline-block;
    margin-left: 10px;
    transition: transform 0.18s ease-out;
}

.follow-bouton:hover::after,
.follow-bouton:focus-visible::after {
    transform: translateX(3px);
}

.follow-bouton[disabled] {
    cursor: progress;
    opacity: 0.55;
}

.follow-honeypot {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.follow-etat {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    margin-top: 14px;
    max-width: 32em;
}

.follow-etat:empty {
    display: none;
}

.follow-etat-succes {
    border-left: 2px solid var(--ochre);
    color: var(--ink);
    padding-left: 14px;
}

.follow-etat-erreur {
    border-left: 2px solid var(--terracotta-ink);
    color: var(--terracotta-ink);
    padding-left: 14px;
}

.follow-etat-attente {
    color: var(--ink-2);
}

.follow-noscript {
    border-left: 2px solid var(--rule-strong);
    padding-left: 14px;
}

.follow-secondaire {
    color: var(--ink-2);
    font-family: var(--sans);
    font-size: 15px;
    grid-column: 1 / -1;
    line-height: 1.6;
    margin-top: 4px;
}

@media (min-width: 52rem) {
    .follow-form-zone,
    .follow-secondaire {
        grid-column: 7 / -1;
    }
}
