/* ==========================================================================
   Acephal.fr — pages of the redesign (2026-10-30): expertises, support,
   prices, work, about, contact. Layout taken from the validated mock-ups,
   look from the Acephal design system: colours only through the theme
   variables (--acephal-blue, --acephal-cyan, --accent-on-light). Mobile-first.
   ========================================================================== */

/* ---- Photo frame ------------------------------------------------------- */
.photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-panel);
    background: var(--surface-light);
    box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--acephal-night) 70%, transparent);
}

/* ---- Rows "text + photo" (expertises, support steps) ------------------- */
.feature-list {
    display: grid;
    gap: var(--space-7);
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    display: grid;
    gap: var(--space-5);
    align-items: center;
}

.feature__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.feature__icon,
.feature__num {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: var(--accent-on-light);
    background: color-mix(in srgb, var(--accent-on-light) 12%, transparent);
}

.feature__num {
    color: var(--acephal-white);
    background: var(--acephal-blue);
    font-weight: var(--weight-bold);
}

.feature__icon .icon {
    width: 1.35rem;
    height: 1.35rem;
}

.feature__title {
    color: var(--text-strong);
    font-size: 1.3rem;
    line-height: 1.25;
}

.feature__text {
    color: var(--text-body);
    line-height: 1.65;
}

.feature .card__list {
    margin-top: var(--space-3);
}

.feature__link {
    width: fit-content;
    margin-top: var(--space-4);
}

@media (min-width: 768px) {
    .feature {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--space-7);
    }

    /* Alternate the photo side, like the mock-up. */
    .feature:nth-child(even) .feature__media {
        order: -1;
    }
}

/* ---- Five phases band (home) ------------------------------------------- */
.phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0 0;
    padding: 0;
    list-style: none;
    counter-reset: phase;
}

.phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-5) var(--space-3);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
    text-align: center;
}

.phase__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: var(--acephal-white);
    background: var(--acephal-blue);
}

.phase__title {
    color: var(--text-strong);
    font-size: 1rem;
    font-weight: var(--weight-semibold);
}

.phase__text {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---- Page anchors as tabs (prices) ------------------------------------- */
.page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0 0 var(--space-6);
    padding: 0;
    list-style: none;
}

.page-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 var(--space-5);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-pill);
    color: var(--text-strong);
    background: var(--surface-white);
    font-weight: var(--weight-semibold);
    text-decoration: none;
}

.page-tabs a:hover,
.page-tabs a:focus-visible {
    border-color: var(--accent-on-light);
    color: var(--accent-on-light);
}

/* ---- Price cards ------------------------------------------------------- */
.prices {
    display: grid;
    gap: var(--space-5);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .prices {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-5);
    border: 1px solid var(--line-light);
    border-top: 4px solid var(--accent-on-light);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
    box-shadow: 0 14px 34px -26px color-mix(in srgb, var(--acephal-night) 60%, transparent);
}

.price-card__name {
    color: var(--text-strong);
    font-size: 1.25rem;
    line-height: 1.2;
}

.price-card__from {
    color: var(--text-body);
    font-size: 0.85rem;
}

.price-card__amount {
    color: var(--accent-on-light);
    font-size: 2.2rem;
    font-weight: var(--weight-bold);
    line-height: 1;
}

.price-card__amount small {
    font-size: 0.95rem;
    font-weight: var(--weight-semibold);
}

.price-card__text {
    color: var(--text-body);
    line-height: 1.55;
}

.price-card .card__list {
    padding-top: var(--space-3);
    border-top: 1px solid var(--line-light);
}

.price-card .button {
    margin-top: auto;
    justify-content: center;
}

.price-card__amount .price-card__tax {
    margin-left: 0.3rem;
}

/* Professional price, excluding VAT (the amount above is the consumer price, VAT included). */
.price-card__pro {
    color: var(--text-body);
    font-size: 0.9rem;
}

.price-card__pro strong {
    color: var(--text-strong);
}

.prices-note {
    margin-top: var(--space-5);
    color: var(--text-body);
    font-size: 0.9rem;
}

/* ---- Quote band (prices, work, about) ----------------------------------- */
.quote-band {
    display: grid;
    gap: var(--space-4);
    justify-items: start;
    padding: var(--space-6) var(--space-5);
    border-radius: var(--radius-panel);
    background: color-mix(in srgb, var(--accent-on-light) 8%, var(--surface-white));
}

.quote-band__title {
    color: var(--text-strong);
    font-size: 1.4rem;
    line-height: 1.25;
}

.quote-band__text {
    color: var(--text-body);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .quote-band {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: var(--space-6) var(--space-7);
    }
}

/* ---- Empty state (work) ------------------------------------------------- */
.empty-state {
    display: grid;
    justify-items: center;
    gap: var(--space-3);
    max-width: 40rem;
    margin: 0 auto;
    padding: var(--space-7) var(--space-5);
    border: 1px dashed var(--line-light);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
    text-align: center;
}

.empty-state .feature__icon {
    width: 3.5rem;
    height: 3.5rem;
}

.empty-state__title {
    color: var(--text-strong);
    font-size: 1.25rem;
}

.empty-state__text {
    color: var(--text-body);
    line-height: 1.6;
}

/* ---- Contact page ------------------------------------------------------- */
.contact-layout {
    display: grid;
    gap: var(--space-6);
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    }
}

.contact-side {
    display: grid;
    gap: var(--space-5);
}

.info-list {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Inside .aside-box (night background). */
.info-list li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    color: var(--acephal-gray);
    line-height: 1.5;
}

.info-list strong {
    display: block;
    color: var(--acephal-white);
}

.info-list .icon {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    color: var(--acephal-cyan);
}

.info-list a,
.aside-box .card__link {
    color: var(--acephal-cyan);
    font-weight: var(--weight-semibold);
}

/* The account boxes of the quote form are shown only by js/projet.js. */
.account-box[hidden] {
    display: none;
}

/* ---- Page intro over the landscape (design proposal 2026-10-30) -------- */
.page-intro {
    padding-block: var(--space-5) var(--space-7);
}

.page-intro__title {
    max-width: 22ch;
    color: var(--acephal-white);
    font-size: clamp(1.65rem, 6vw, 2.8rem);
    font-weight: var(--weight-semibold);
    line-height: 1.15;
}

.page-intro__title span {
    color: var(--acephal-cyan);
}

.page-intro__lead {
    max-width: 40rem;
    margin-top: var(--space-4);
    color: var(--acephal-gray);
    line-height: 1.6;
}

/* ---- Night sections (expertises, support, prices, work) ---------------- */
.section--night {
    --surface-white: color-mix(in srgb, var(--acephal-white) 5%, var(--acephal-night-deep));
    --surface-light: var(--acephal-night);
    --line-light: var(--acephal-line);
    --text-strong: var(--acephal-white);
    --text-body: var(--acephal-gray);
    --accent-on-light: var(--acephal-cyan);
    background: var(--acephal-night-deep);
    color: var(--acephal-gray);
}

.section--night-alt {
    background: var(--acephal-night);
}

.section--night .section-title,
.section--night .card__title {
    color: var(--acephal-white);
}

.section--night .section-text,
.section--night .card__text,
.section--night .card__list {
    color: var(--acephal-gray);
}

.section--night .section-title span,
.section--night .card__link,
.section--night .fund-more a {
    color: var(--acephal-cyan);
}

.section--night .card {
    border-color: var(--acephal-line);
    background: var(--surface-white);
}

.section--night .feature {
    padding: var(--space-5);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
}

.section--night .page-tabs a.is-current,
.section--night .page-tabs a:hover,
.section--night .page-tabs a:focus-visible {
    border-color: var(--acephal-cyan);
    color: var(--acephal-cyan);
}

/* Footer contact details of .fr (text items next to the links of the shared footer). */
.footer-bottom__info {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

/* .card__link stretches over its positioned container (clickable cards): keep it inside these boxes. */
.aside-box,
.empty-state {
    position: relative;
}

/* ==========================================================================
   Layout of the dark mock-up (2026-10-30, 8 screens): profile cards,
   approach tiles, photo call-to-action panel, expertise rows, timeline,
   pricing modes. Night sections only (tokens come from .section--night).
   ========================================================================== */

/* Eyebrow above the page title, over the landscape. */
.page-intro__eyebrow {
    margin-bottom: var(--space-3);
    color: var(--acephal-cyan);
}

/* ---- Horizontal cards: icon on the left (home profiles, work) ---------- */
.card--row {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-4);
}

.card--row .card__icon {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
}

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
}

/* Glowing icon tile of the mock-up (accent border and soft halo). */
.section--night .card__icon,
.tile-icon {
    border: 1px solid color-mix(in srgb, var(--acephal-cyan) 45%, transparent);
    background: color-mix(in srgb, var(--acephal-cyan) 10%, transparent);
    box-shadow: 0 0 18px -6px color-mix(in srgb, var(--acephal-cyan) 60%, transparent);
    color: var(--acephal-cyan);
}

/* ---- Small centred tiles (home approach, support commitments) ---------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-4);
    }
}

.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    height: 100%;
    padding: var(--space-5) var(--space-3);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
    text-align: center;
}

.tile .icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: var(--space-1);
    color: var(--acephal-cyan);
}

.tile__title {
    color: var(--acephal-white);
    font-size: 0.98rem;
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

.tile__text {
    color: var(--acephal-gray);
    font-size: 0.88rem;
    line-height: 1.5;
}

.section-subtitle {
    margin-bottom: var(--space-5);
    color: var(--acephal-white);
    font-size: 1.35rem;
    font-weight: var(--weight-semibold);
}

/* Night sections following each other share one background: no double padding. */
.section--night + .section--night:not(.section--night-alt) {
    padding-top: 0;
}

/* ---- Call-to-action panel with a photo on the right -------------------- */
.cta-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: var(--space-4);
    justify-items: start;
    align-content: center;
    min-height: 13rem;
    padding: var(--space-6) var(--space-5);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--acephal-night);
}

.cta-panel__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

/* Darken the text side so the copy stays readable over the photo. */
.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--acephal-night) 0%, color-mix(in srgb, var(--acephal-night) 70%, transparent) 55%, transparent 100%);
}

.cta-panel > :not(.cta-panel__photo) {
    position: relative;
    z-index: 2;
}

.cta-panel__title {
    max-width: 18ch;
    color: var(--acephal-white);
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    font-weight: var(--weight-semibold);
    line-height: 1.25;
}

.cta-panel__text {
    max-width: 30rem;
    color: var(--acephal-gray);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cta-panel {
        padding: var(--space-7);
    }

    .cta-panel__photo {
        left: auto;
        width: 62%;
        opacity: 1;
    }

    .cta-panel::before {
        background: linear-gradient(90deg, var(--acephal-night) 38%, color-mix(in srgb, var(--acephal-night) 55%, transparent) 62%, transparent 100%);
    }
}

/* Slim variant without photo: title and button on one line (expertises). */
.cta-panel--slim {
    min-height: 0;
}

.cta-panel--slim::before {
    content: none;
}

@media (min-width: 768px) {
    .cta-panel--slim {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: var(--space-6) var(--space-7);
    }

    .cta-panel--slim .cta-panel__title {
        max-width: none;
    }
}

/* ---- Expertise rows: icon tile, list, photo ---------------------------- */
.expertises {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.expertise {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    overflow: hidden;
    padding: var(--space-5);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
}

.expertise .tile-icon {
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
}

.expertise .tile-icon .icon {
    width: 1.6rem;
    height: 1.6rem;
}

.expertise__title {
    margin-bottom: var(--space-3);
    color: var(--acephal-white);
    font-size: 1.15rem;
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

.expertise .card__list {
    color: var(--acephal-gray);
    font-size: 0.95rem;
}

/* Title and button share the first line; the button wraps under the title when space is short. */
.expertise__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.expertise__body .expertise__title {
    flex: 1 1 12rem;
    margin-bottom: 0;
}

.expertise__body .card__list {
    flex-basis: 100%;
    order: 1;
}

/* Ghost pill in the spirit of the member-area button, with a cyan accent. */
.expertise__link {
    width: fit-content;
    margin-left: auto;
    gap: var(--space-2);
    border-color: color-mix(in srgb, var(--acephal-cyan) 55%, transparent);
    background: color-mix(in srgb, var(--acephal-cyan) 6%, transparent);
}

.expertise__link .icon {
    color: var(--acephal-cyan);
}

.expertise__link:hover {
    border-color: var(--acephal-cyan);
    background: color-mix(in srgb, var(--acephal-cyan) 14%, transparent);
}

.expertise__link:hover .icon {
    transform: none;
}

.expertise__media {
    grid-column: 1 / -1;
}

.expertise__media .photo {
    aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
    .expertise {
        grid-template-columns: auto 1fr minmax(0, 0.9fr);
        align-items: center;
        padding: 0 0 0 var(--space-6);
    }

    .expertise > :not(.expertise__media) {
        padding-block: var(--space-6);
    }

    /* The photo fills the row height set by the text, it never sets it. */
    .expertise__media {
        position: relative;
        grid-column: auto;
        align-self: stretch;
        min-height: 12rem;
    }

    .expertise__media .photo {
        position: absolute;
        inset: 0;
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ---- Vertical timeline (support) --------------------------------------- */
.timeline {
    position: relative;
    display: grid;
    gap: var(--space-6);
    max-width: 38rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The line linking the numbers. */
.timeline::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: calc(1.5rem - 1px);
    width: 2px;
    background: color-mix(in srgb, var(--acephal-cyan) 45%, transparent);
}

.timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: var(--space-4);
    align-items: start;
}

.timeline__num {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--acephal-cyan);
    border-radius: 50%;
    background: var(--acephal-night-deep);
    box-shadow: 0 0 18px -4px color-mix(in srgb, var(--acephal-cyan) 70%, transparent);
    color: var(--acephal-white);
    font-size: 1.1rem;
    font-weight: var(--weight-bold);
}

.timeline__title {
    padding-top: 0.15rem;
    color: var(--acephal-white);
    font-size: 1.1rem;
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

.timeline__text {
    margin-top: var(--space-1);
    color: var(--acephal-gray);
    line-height: 1.55;
}

/* ---- Pricing modes (prices) -------------------------------------------- */
.modes {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .modes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-5);
    }
}

.mode {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    height: 100%;
    padding: var(--space-5);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
}

.mode__head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.mode__num {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 2px solid var(--acephal-cyan);
    border-radius: 50%;
    color: var(--acephal-white);
    font-size: 0.85rem;
    font-weight: var(--weight-bold);
}

.mode__tag {
    color: var(--acephal-cyan);
    font-size: 0.85rem;
    font-weight: var(--weight-semibold);
}

.mode__head .icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: auto;
    color: var(--acephal-cyan);
}

.mode__title {
    color: var(--acephal-white);
    font-size: 1.15rem;
    font-weight: var(--weight-semibold);
    line-height: 1.3;
}

.mode__text {
    color: var(--acephal-gray);
    line-height: 1.6;
}

.mode__body {
    display: grid;
    gap: var(--space-4);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--acephal-line);
}

@media (min-width: 1100px) {
    .mode__body {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

.mode__list {
    display: grid;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--acephal-gray);
    font-size: 0.95rem;
}

.mode__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.mode__list .icon {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    color: var(--acephal-cyan);
}

.mode__price {
    display: grid;
    gap: var(--space-1);
    padding: var(--space-4);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    color: var(--acephal-gray);
}

.mode__ht {
    color: var(--acephal-cyan);
    font-size: 1.9rem;
    font-weight: var(--weight-bold);
    line-height: 1.1;
}

.mode__ht span {
    font-size: 1rem;
}

.mode__ttc {
    color: var(--acephal-white);
}

.mode__time {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-top: var(--space-2);
    color: var(--acephal-white);
}

.mode__time .icon {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    color: var(--acephal-cyan);
}

.mode__note {
    display: block;
    color: var(--acephal-gray);
    font-size: 0.85rem;
}

/* Diagnostic deduction banner above the pricing modes. */
.deduction {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-3) var(--space-4);
    align-items: center;
    margin-bottom: var(--space-5);
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--acephal-line);
    border-radius: var(--radius-panel);
    background: var(--surface-white);
}

.deduction__icon {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.4rem;
    border: 2px solid var(--acephal-cyan);
    border-radius: 50%;
    color: var(--acephal-cyan);
}

.deduction__title {
    color: var(--acephal-white);
    font-size: 1.05rem;
    font-weight: var(--weight-semibold);
}

.deduction__text,
.deduction__example {
    grid-column: 1 / -1;
    color: var(--acephal-gray);
    line-height: 1.6;
}

.deduction__text strong,
.deduction__example span {
    color: var(--acephal-cyan);
}

@media (min-width: 1100px) {
    .deduction {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
    }

    .deduction__text,
    .deduction__example {
        grid-column: auto;
        padding-left: var(--space-4);
        border-left: 1px solid var(--acephal-line);
    }
}

/* Shared "Nos valeurs" section on a night background (about). */
.section--night .value__icon {
    border-color: color-mix(in srgb, var(--acephal-cyan) 45%, transparent);
    background: color-mix(in srgb, var(--acephal-cyan) 10%, transparent);
    box-shadow: 0 0 18px -6px color-mix(in srgb, var(--acephal-cyan) 60%, transparent);
    color: var(--acephal-cyan);
}

.principles-title {
    margin-top: var(--space-7);
}

/* Light cards over the night background (contact, like the mock-up). */
.section--backdrop {
    background: var(--acephal-night-deep);
}

.feature__text + .feature__text {
    margin-top: var(--space-3);
}

/* ---- FAQ page: four groups side by side on desktop, closing call to action ---- */
.faq-section {
    padding-block: var(--space-6);
}

.faq-grid {
    display: grid;
    gap: var(--space-6) var(--space-4);
}

/* Each group is one panel: a header with an accent bar, then the questions as a divided list. */
.faq-group {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-light);
    border-radius: 14px;
    background: var(--surface-white);
    overflow: hidden;
}

.faq-group .section-subtitle {
    margin: 0;
    padding: var(--space-4) var(--space-4) var(--space-3);
    border-top: 4px solid var(--accent-on-light);
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--text-strong);
    background: var(--info-bg);
}

.faq-group .faq {
    gap: 0;
}

.faq-group .faq__item {
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--line-light);
    background: transparent;
}

.faq-group .faq__item:first-child {
    border-top: 0;
}

.faq-group .faq__item summary {
    min-height: 0;
    align-items: flex-start;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9rem;
}

.faq-group .faq__item summary::after {
    margin-top: -0.1rem;
}

.faq-group .faq__item[open] {
    background: color-mix(in srgb, var(--info-bg) 45%, transparent);
}

.faq-group .faq__item summary:focus-visible {
    border-radius: 0;
    outline-offset: -3px;
}

.faq-group .faq__answer {
    padding: 0 var(--space-4) var(--space-4);
    font-size: 0.88rem;
}

@media (min-width: 700px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .faq-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
    }

    .faq-group .section-subtitle {
        min-height: 4.4rem;
    }
}

.faq-more {
    text-align: center;
}

.faq-more__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
}
