/* ============================================================
   association.css — ENSEM Alumni · Notre Association
   Mirrors cotisation.css design system exactly
   ============================================================ */

:root {
    --primary:       #454796;
    --primary-dark:  #232340;
    --accent:        #454796;
    --accent-glow:   rgba(69, 71, 150, 0.15);
    --accent-light:  #a5a7eb;
    --text-main:     #232340;
    --text-light:    #6b6f8a;
    --bg-light:      #f5f6fc;
    --white:         #ffffff;
    --border:        #e2e4f0;
    --radius-lg:     20px;
    --radius-md:     12px;
    --radius-sm:     8px;
    --font-display:  "OpenSans-Black", sans-serif;
    --font-body:     "OpenSans-Regular", sans-serif;
    --font-mono:     monospace;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.55s forwards;
}
.delay-1 { animation-delay: 0.12s; }

/* ── HERO (mirrors cotisation) ── */
.hero {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: 40px 24px 20px;
    text-align: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 12px;
}
.hero h1 .accent {
    color: var(--accent);
}
.hero-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto 24px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* ── SUB-NAV ── */
.assoc-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 2px solid var(--border);
    background: var(--white);
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 auto;
    padding: 0 24px;
    box-shadow: 0 2px 12px rgba(35, 35, 64, 0.06);
}
.assoc-nav::-webkit-scrollbar { display: none; }
.assoc-nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-light);
    padding: 16px 24px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.assoc-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.assoc-nav a:hover {
    color: var(--primary);
}

/* ── WRAPPER ── */
.wrapper {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SECTION LABEL (identical to cotisation) ── */
.section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

/* ── SECTION ── */
.assoc-section {
    padding: 30px 0 60px;
}
.assoc-section h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 42px);
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: -1px;
}

/* ── CARD (like pricing-table) ── */
.assoc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(35, 35, 64, 0.06);
    padding: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
}
.assoc-card p { margin-bottom: 10px; }
.assoc-card p:last-child { margin-bottom: 0; }
.assoc-card strong { font-weight: 700; }

/* ── TABLE (like pricing-table rows) ── */
.assoc-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(35, 35, 64, 0.06);
    margin-bottom: 12px;
}
.assoc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    transition: background 0.2s;
}
.assoc-row:last-child { border-bottom: none; }
.assoc-row:hover { background: #f8f9ff; }

.assoc-row-label {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 600;
}
.assoc-row-detail {
    font-size: 13px;
    color: var(--text-light);
    text-align: right;
    max-width: 50%;
}

/* Tag chip (like promo-tag) */
.assoc-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 3px 9px;
    border-radius: 50px;
    margin-left: 10px;
    text-transform: uppercase;
}

/* ── BANNER (like promo-banner) ── */
.assoc-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 60px;
    font-size: 14px;
    line-height: 1.5;
}
.assoc-banner strong {
    color: var(--accent-light);
    font-weight: 700;
}
.assoc-banner-text { opacity: 0.95; }

/* ── 2-COL GRID (like payment/alt grids) ── */
.assoc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

/* ── ALT CARDS (like alt-card) ── */
.assoc-alt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.assoc-alt-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(69, 71, 150, 0.08);
}
.assoc-alt-chip {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    border-radius: 4px;
    padding: 3px 9px;
    margin-bottom: 14px;
}
.assoc-alt-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.assoc-alt-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.6;
}

/* ── BUREAU BUTTONS (like pay-btn) ── */
.assoc-bureau-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.22s cubic-bezier(0.22, 0.68, 0, 1.2);
    border: 2px solid transparent;
    cursor: default;
}
.assoc-bureau-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}
.assoc-bureau-primary {
    background: var(--primary-dark);
    color: #fff;
}
.assoc-bureau-primary .assoc-bureau-icon {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.assoc-bureau-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(69, 71, 150, 0.25);
}
.assoc-bureau-outline {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--border);
}
.assoc-bureau-outline .assoc-bureau-icon {
    background: var(--bg-light);
    color: var(--primary);
}
.assoc-bureau-outline:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(69, 71, 150, 0.1);
}

/* ── ID CARD (like id-help-card) ── */
.assoc-id-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 28px;
    margin-bottom: 14px;
}
.assoc-id-card h3 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 500;
}
.assoc-id-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 18px;
}
.assoc-ca-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
    padding: 0;
}
.assoc-ca-list li {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.assoc-ca-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* ── DIVIDER LABEL (identical to cotisation) ── */
.assoc-divider-label {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    margin-bottom: 28px;
}
.assoc-divider-label::before,
.assoc-divider-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── PRESIDENT LIST (inside alt-card) ── */
.assoc-presid-list {
    font-size: 13px;
    line-height: 1.6;
}
.assoc-presid {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}
.assoc-presid:last-child { border-bottom: none; }
.assoc-presid span:first-child { font-weight: 500; color: var(--primary-dark); }
.assoc-presid span:last-child { color: var(--text-light); white-space: nowrap; }

/* ── CONTACT BAR (identical to cotisation) ── */
.assoc-contact-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.assoc-contact-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.assoc-contact-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}
.assoc-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--primary);
    color: #fff;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.assoc-btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(69, 71, 150, 0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .assoc-grid-2 {
        grid-template-columns: 1fr;
    }
    .assoc-contact-bar {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .assoc-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .assoc-row-detail {
        text-align: left;
        max-width: 100%;
    }
    .hero {
        padding: 80px 20px 64px;
    }
}
