/**
 * Page Agir avec nous — même ligne éditoriale que Missions / Projets.
 */
:root {
    --ahs-act-line: rgba(15, 72, 142, 0.14);
    --ahs-act-line-strong: rgba(15, 72, 142, 0.22);
}

.ahs-page-act .ahs-section {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
    scroll-margin-top: 5.5rem;
}

.ahs-page-act .ahs-section--tint {
    background: rgba(250, 173, 33, 0.06);
    border-top: 1px solid var(--ahs-act-line);
    border-bottom: 1px solid var(--ahs-act-line);
}

.ahs-page-act .ahs-section-header {
    max-width: 38rem;
    margin-inline: auto;
    margin-bottom: 1.75rem;
    text-align: center;
}

.ahs-page-act .ahs-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f17c2a;
    margin-bottom: 0.4rem;
}

.ahs-page-act .ahs-section-title {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: #0f488e;
    line-height: 1.18;
}

.ahs-page-act .ahs-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 0.85rem auto 0;
    background: #f17c2a;
}

.ahs-act-lead {
    max-width: 720px;
    color: rgba(15, 72, 142, 0.88);
}

/* Accès rapide don / bénévolat / partenaire */
.ahs-act-quick-card {
    display: block;
    height: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid var(--ahs-act-line);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s, background 0.2s;
}

.ahs-act-quick-card:hover {
    border-color: rgba(241, 124, 42, 0.55);
    background: rgba(250, 173, 33, 0.1);
}

.ahs-act-quick-card:focus-visible {
    outline: 2px solid #faad21;
    outline-offset: 2px;
}

.ahs-act-quick-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f488e;
    background: rgba(15, 72, 142, 0.06);
    border: 1px solid var(--ahs-act-line);
}

.ahs-act-quick-card:hover .ahs-act-quick-card__icon {
    background: #0f488e;
    border-color: #0f488e;
    color: #faad21;
}

.ahs-act-quick-card h3 {
    font-family: "Jost", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f488e;
    margin: 0;
}

/* Panneaux formulaires */
.ahs-form-panel {
    border: 1px solid var(--ahs-act-line);
    padding: 1.5rem 1.35rem 1.75rem;
    background: rgba(250, 173, 33, 0.05);
}

.ahs-form-panel--donation {
    padding: 1.75rem 1.5rem 2rem;
}

.ahs-form-title {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: #0f488e;
}

.ahs-form-title .fa {
    color: #f17c2a;
}

.ahs-form-hint {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(15, 72, 142, 0.72);
}

.ahs-page-act .btn:not(.btn-lg-square) {
    border-radius: 0;
    font-weight: 600;
}

.ahs-page-act .form-control,
.ahs-page-act .form-select {
    border-radius: 0;
}

.ahs-page-act .rounded,
.ahs-page-act .img-fluid.rounded {
    border-radius: 0 !important;
}

/* Espacements formulaires */
.ahs-page-act .ahs-form-panel form.row {
    --bs-gutter-y: 1rem;
}

.ahs-page-act .ahs-form-panel--donation form.row {
    --bs-gutter-y: 1.1rem;
}

/* Bénévolat + partenaire : champs inchangés, boutons alignés sur une même ligne */
.ahs-page-act .ahs-act-dual-forms > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.ahs-page-act .ahs-act-dual-forms .ahs-form-panel {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ahs-page-act .ahs-form--stacked {
    --ahs-form-gap: 1rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ahs-page-act .ahs-form--stacked .ahs-form-fields {
    flex: 1 1 auto;
    align-content: flex-start;
    --bs-gutter-y: var(--ahs-form-gap);
    margin-bottom: 0;
}

.ahs-page-act .ahs-form--stacked .ahs-form-actions {
    flex: 0 0 auto;
    width: 100%;
    margin-top: var(--ahs-form-gap);
    padding-top: 0;
}

.ahs-page-act .ahs-act-dual-forms .ahs-form-textarea {
    height: 10.5rem;
    min-height: 10.5rem;
}
