/* FAQ en accordéon des pages /calendrier/{type}/ (inc/calendrier-seo.php) */

.ic-cal-faq { padding-top: 0; }

.ic-cal-faq__inner {
    max-width: 820px;
    margin: 0 auto;
}

/* Sous-titre volontairement sans balise Hn */
.ic-cal-faq__subtitle {
    font-family: var(--ic-font-display, sans-serif);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ic-ink, #1a1a1a);
    margin: 0 0 1.5rem;
}

.ic-cal-faq__list { border-top: 1px solid rgba(0, 0, 0, .12); }
.ic-cal-faq__item { border-bottom: 1px solid rgba(0, 0, 0, .12); }

/* Le H2 garde la sémantique, le bouton porte le style */
.ic-cal-faq__heading {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.ic-cal-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ic-ink, #1a1a1a);
    cursor: pointer;
    transition: color .16s;
}
.ic-cal-faq__q:hover,
.ic-cal-faq__q[aria-expanded="true"] { color: var(--ic-red, #B33032); }
.ic-cal-faq__q:focus-visible {
    outline: 2px solid var(--ic-red, #B33032);
    outline-offset: 2px;
}

/* Icône + / − */
.ic-cal-faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}
.ic-cal-faq__icon::before,
.ic-cal-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--ic-red, #B33032);
    border-radius: 2px;
    transform: translate(-50%, -50%);
}
.ic-cal-faq__icon::before { width: 14px; height: 2px; }
.ic-cal-faq__icon::after  { width: 2px; height: 14px; transition: transform .2s, opacity .2s; }
.ic-cal-faq__q[aria-expanded="true"] .ic-cal-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.ic-cal-faq__a { padding: 0 0 1.2rem; }
.ic-cal-faq__a p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ic-muted, #5c5c58);
}
.ic-cal-faq__a a { color: var(--ic-red, #B33032); text-decoration: underline; }
.ic-cal-faq__a a:hover { text-decoration: none; }
