/* =============================================
   AGENCE — Bandeau image mise en avant
============================================= */

.met-agence-hero__banner {
    width: 100%;
    overflow: hidden;
    max-height: 360px;
}

.met-agence-hero__banner-img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.met-agence-hero {
    padding-bottom: 1.5rem;
}


/* =============================================
   AGENCE — Card contact hero
============================================= */

.met-agence-contact-card {
    border-left: 4px solid var(--red-600);
    box-shadow: none;
    background-color: var(--slate-50);
    padding: 1.5rem
}

.met-agence-contact-card .uk-card-title {
    font-size: 1rem;
    font-weight: 500;
}

.met-agence-coords {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.met-agence-coords__item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--slate-700);
    margin: 0;
    gap: .5rem;
    margin-top: 0 !important
}

.met-agence-coords__item svg {
    flex-shrink: 0;
    color: var(--blue-600);
}

.met-agence-coords__item a {
    color: inherit;
    text-decoration: none;
}

.met-agence-coords__item a:hover {
    color: var(--blue-600);
    text-decoration: underline;
}

.informations .list-item {
    gap: 0.5rem;
}

.departement-item,
.service-item {
    border: solid 1px var(--slate-100);
    margin: 0 !important;
    font-weight: 400;
    color: var(--slate-700);
    padding: 0.5rem;
}

.prestations-details {
    margin-top: 2.5rem;
    padding-left: 1.5rem;
}


/************FORMULAIRE*************/

.contact-agence {
    background-color: var(--slate-50);
}

/* ── Reset & base ───────────────────────────────── */
.wpcf7 *,
.wpcf7 *::before,
.wpcf7 *::after {
    box-sizing: border-box;
}

.wpcf7 p {
    margin-bottom: 0;
    margin-top: 0;
}



/* ── Layout grille ──────────────────────────────── */
.met-form__row {
    margin-bottom: 1.25rem;
}

.met-form__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .met-form__row--two {
        grid-template-columns: 1fr;
    }
}

.met-form__col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ── Labels ─────────────────────────────────────── */
.wpcf7 label,
.met-form__fieldset legend {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
}

.met-form__optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-left: 0.25rem;
}

.met-form__hint {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.2rem;
}

/* ── Inputs & textarea ──────────────────────────── */
.met-input {
    width: 100% !important;
    height: 48px;
    padding: 0 0.875rem;
    font-size: 1rem;
    color: var(--slate-800);
    background: var(--white);
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
}

.met-input:hover {
    border-color: var(--slate-700);
}

.met-input:focus {
    outline: none;
    border-color: var(--blue-600);
}

.met-input.wpcf7-not-valid {
    border-color: var(--red-600);
}

textarea.uk-input {

    min-height: 140px;
    resize: vertical;
}

/* ── Select ─────────────────────────────────────── */
.met-select {
    width: 100% !important;
    font-size: 1rem;
    color: var(--slate-700);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    border: 1.5px solid var(--slate-200);
    cursor: pointer;
}

.met-select:focus {
    outline: none;
    border-color: var(--blue-600);
}

/* ── Radio buttons ──────────────────────────────── */
.met-form__fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.met-form__fieldset legend {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.6rem;
}

.met-radio .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0 1rem 0 0;
}

.met-radio .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
}

.met-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
}

.met-radio input[type="radio"]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

/* ── RGPD / acceptance ──────────────────────────── */
.met-form__rgpd .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
}

.met-form__rgpd .wpcf7-list-item label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}

.met-form__rgpd input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

.met-form__rgpd a {
    color: #2563eb;
    text-decoration: underline;
}

/* ── Erreurs CF7 ─────────────────────────────────── */
.wpcf7-not-valid-tip {
    display: block;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

/* ── Bouton submit ──────────────────────────────── */
.met-submit {
    height: 48px;
    padding: 0 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.met-submit:hover {
    background: #1d4ed8;
}

.met-submit:active {
    transform: scale(0.98);
}

.met-submit:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

.met-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Screen reader only ──────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reassurance .item-reassurance {
    gap: 1rem;
}

.reassurance p {
    margin-top: 0
}

.reassurance .h4-like {
    margin-bottom: .5rem;
    margin-top: .25rem
}