/* crew.css */

.crew-hero {
    background: linear-gradient(155deg, #0F2547 0%, #1B3A6B 50%, #1B5EA7 100%);
    padding: 80px 0 0; text-align: center; overflow: hidden; position: relative;
}
.crew-hero-inner { max-width: 700px; margin: 0 auto; padding: 0 24px 60px; position: relative; z-index: 1; }
.crew-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,166,35,.18); border: 1px solid rgba(245,166,35,.4);
    color: #F5A623; padding: 6px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 800; letter-spacing: .4px; margin-bottom: 20px;
}
.crew-hero-title { font-family: 'Montserrat', Georgia, serif; font-size: clamp(2rem,4vw,2.8rem); color: #ffffff; margin-bottom: 16px; line-height: 1.2; }
.crew-hero-sub { font-size: 1rem; color: rgba(255,255,255,.75); line-height: 1.75; margin: 0; }
.crew-hero-wave { line-height: 0; }
.crew-hero-wave svg { display: block; width: 100%; height: 50px; }


/* Section principale */
/* ══════════════════════════════════════════════════════
   GOUVERNANCE
══════════════════════════════════════════════════════ */
.gov-section { background: #F8FAFC; }

.gov-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.gov-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(27,94,167,.08); border: 1px solid rgba(27,94,167,.2);
    color: #1B5EA7; padding: 6px 16px; border-radius: 20px;
    font-size: 12px; font-weight: 800; letter-spacing: .4px; margin-bottom: 16px;
}

.gov-title {
    font-family: 'Montserrat', Georgia, serif;
    font-size: clamp(1.6rem,3vw,2.2rem);
    color: #1B3A6B; margin-bottom: 16px; line-height: 1.25;
}

.gov-intro {
    font-size: .95rem; color: #444;
    line-height: 1.75; margin: 0;
}

.gov-sub-title {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1.2rem; color: #1B3A6B;
    margin-bottom: 28px; padding-bottom: 10px;
    border-bottom: 2px solid #F5A623;
}
.gov-sub-title i { color: #F5A623; }

/* ── Principes ── */
.gov-principes { margin-bottom: 60px; }

.gov-principes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gov-principe-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
    transition: all 250ms ease;
}
.gov-principe-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1B5EA7, #1A6B5A);
}
.gov-principe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,58,107,.1);
    border-color: #bfdbfe;
}

.gov-principe-num {
    font-size: 2.2rem; font-weight: 900;
    color: rgba(27,94,167,.1);
    line-height: 1; margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, serif;
}
.gov-principe-title {
    font-size: .92rem; font-weight: 700;
    color: #1B3A6B; margin-bottom: 8px;
}
.gov-principe-text {
    font-size: .82rem; color: #111;
    line-height: 1.65; margin: 0;
}

/* ── Structure ── */
.gov-structure { margin-bottom: 60px; }

.gov-structure-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gov-org-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 250ms ease;
    position: relative;
    overflow: hidden;
}
.gov-org-card:hover {
    border-color: #1B5EA7;
    box-shadow: 0 6px 24px rgba(27,58,107,.09);
    transform: translateX(4px);
}

.gov-org-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1B3A6B, #1B5EA7);
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 1.2rem;
}

.gov-org-body { flex: 1; min-width: 0; }
.gov-org-title {
    font-size: 1rem; font-weight: 700;
    color: #1B3A6B; margin-bottom: 5px;
}
.gov-org-text {
    font-size: .83rem; color: #111;
    line-height: 1.65; margin: 0;
}

.gov-org-num {
    flex-shrink: 0;
    font-size: 2.5rem; font-weight: 900;
    color: rgba(27,58,107,.06);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
    align-self: center;
}

/* ── Textes fondateurs ── */
.gov-textes { margin-bottom: 20px; }

.gov-textes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gov-doc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 250ms ease;
}
.gov-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27,58,107,.09);
    border-color: #bfdbfe;
}

.gov-doc-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: #EFF6FF;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #1B5EA7;
}
.gov-doc-body { flex: 1; }
.gov-doc-title {
    font-size: .92rem; font-weight: 700;
    color: #1B3A6B; margin-bottom: 6px;
}
.gov-doc-text {
    font-size: .8rem; color: #111;
    line-height: 1.6; margin: 0;
}
.gov-doc-status {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .72rem; font-weight: 700;
    color: #F5A623;
    background: rgba(245,166,35,.1);
    padding: 3px 10px; border-radius: 20px;
    align-self: flex-start;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .gov-principes-grid { grid-template-columns: repeat(2, 1fr); }
    .gov-textes-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .gov-principes-grid { grid-template-columns: 1fr; }
    .gov-textes-grid    { grid-template-columns: 1fr; }
    .gov-org-num        { display: none; }
}

/* ── section crew ── */
/* ── Accordéon sections crew ── */
.crew-accordion { display: flex; flex-direction: column; gap: 12px; }

.crew-group { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: #ffffff; }

.crew-group-title {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
    padding: 18px 24px;
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1.1rem; font-weight: 700; color: #1B3A6B;
    background: #F8FAFC;
    border: none; border-bottom: 2px solid transparent;
    cursor: pointer; text-align: left;
    transition: background 200ms ease, border-color 200ms ease;
}
.crew-group-title:hover { background: #EBF4FF; }
.crew-group-title.is-open {
    background: #ffffff;
    border-bottom-color: #F5A623;
    color: #1B5EA7;
}
.crew-group-title span:first-child { flex: 1; }

.crew-group-count {
    background: #EBF4FF; color: #1B5EA7;
    font-size: .72rem; font-weight: 800;
    padding: 2px 9px; border-radius: 20px;
    font-family: sans-serif;
}
.crew-group-title.is-open .crew-group-count {
    background: #F5A623; color: #ffffff;
}

.crew-group-chevron {
    font-size: .85rem; color: #444444;
    transition: transform 250ms ease;
}
.crew-group-title.is-open .crew-group-chevron { transform: rotate(180deg); }

.crew-group-body {
    display: none;
    padding: 28px 24px;
}
.crew-group-body.is-open { display: block; }

/* old crew styles */
.crew-main { background: #ffffff; }

.crew-group { margin-bottom: 56px; }

.crew-group-title {
    display: flex; align-items: center; gap: 14px;
    font-family: 'Montserrat', Georgia, serif;
    font-size: 1.4rem; color: #1B3A6B;
    margin-bottom: 32px; padding-bottom: 12px;
    border-bottom: 2px solid #F5A623;
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.crew-card {
    background: #F8FAFC;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27,58,107,.07);
    transition: all 250ms ease;
}

.crew-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(27,58,107,.12);
    background: #ffffff;
}

.crew-card-photo {
    width: 100%; aspect-ratio: 1;
    overflow: hidden; position: relative;
    background: linear-gradient(135deg, #EBF4FF, #D0DCEA);
}

/* ⚠ IMAGE : assets/img/uploads/crew/{photo} */
.crew-card-photo img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    display: block; transition: transform 400ms ease;
}

.crew-card:hover .crew-card-photo img { transform: scale(1.04); }

.crew-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.crew-photo-placeholder i { font-size: 72px; color: #8AB4D9; opacity: .4; }

.crew-card-body { padding: 22px 24px 24px; }

.crew-card-name { font-family: 'Montserrat', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: #1B3A6B; margin-bottom: 5px; }

.crew-card-role { display: inline-block; font-size: 12px; font-weight: 700; color: #1B5EA7; background: #EBF4FF; padding: 3px 10px; border-radius: 12px; margin-bottom: 8px; }

.crew-card-country { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #444; margin-bottom: 10px; }
.crew-card-country i { color: #F5A623; }

.crew-card-bio { font-size: 13px; color: #111; line-height: 1.65; margin-bottom: 14px; }

.crew-card-links { display: flex; gap: 8px; }

.crew-social-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: #F0F4F8; border: 1px solid #D0DCEA;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #1B3A6B; text-decoration: none;
    transition: all 200ms ease;
}
.crew-social-btn:hover { background: #1B3A6B; color: #ffffff; border-color: #1B3A6B; }

/* État vide */
.crew-empty { text-align: center; padding: 80px 24px; color: #444444; }
.crew-empty i { font-size: 56px; color: #D0DCEA; display: block; margin-bottom: 20px; }
.crew-empty h2 { font-size: 1.4rem; color: #1B3A6B; margin-bottom: 10px; }

/* CTA */
.crew-cta { background: #0F2547; padding: 56px 32px; }
.crew-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.crew-cta-title { font-family: 'Montserrat', Georgia, serif; font-size: clamp(1.3rem,2.5vw,1.8rem); color: #ffffff; margin-bottom: 8px; }
.crew-cta-sub { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; margin: 0; }
.crew-cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* Fade-in */
.cfade { opacity: 0; transform: translateY(20px); transition: opacity 500ms ease, transform 500ms ease; }
.cfade.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) { .crew-grid { grid-template-columns: repeat(2,1fr); } .crew-cta-inner { flex-direction: column; text-align: center; } }
@media (max-width: 575px) { .crew-grid { grid-template-columns: 1fr; } .crew-cta-actions { flex-direction: column; align-items: center; width: 100%; } }
