/* =========================================
   AMUP — ACCORDÉON NATIF
========================================= */

.am-accordion {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 6vw;
}

.am-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.25);
    padding: 1.2rem 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
}

.am-accordion-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .25s ease;
}

.am-accordion-toggle[aria-expanded="true"] .am-accordion-icon {
    transform: rotate(45deg);
}

/* Panel */
.am-accordion-panel {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .35s ease, padding .35s ease;
}

.am-accordion-panel.open {
    padding: 1.5rem 0 2rem;
}