/* ===================================
   FAFED – Filles & Femmes En Développement
   Palette : or chaud, ivoire, bordeaux, blanc
   Polices : Cormorant Garamond + DM Sans
=================================== */
:root {
  --pink:        #e0185e;
  --pink-dark:   #b5114a;
  --pink-light:  #f8c6d9;
  --pink-pale:   #fdf0f5;
  --gold:        #c8a84b;
  --gold-dark:   #a5882c;
  --gold-light:  #f0dfa0;
  --gold-pale:   #fdf9ee;
  --dark:        #1a0a10;
  --dark-2:      #2d1020;
  --muted:       #7a5565;
  --white:       #ffffff;
  --cream:       #fdf8fb;

  --shadow-xs:   0 1px 6px rgba(224,24,94,.08);
  --shadow-sm:   0 3px 16px rgba(0,0,0,.07);
  --shadow-md:   0 8px 32px rgba(224,24,94,.13);
  --shadow-gold: 0 6px 24px rgba(200,168,75,.25);

  --radius:    14px;
  --radius-lg: 20px;
  --nav-h:     74px;

  --grad-hero:  linear-gradient(135deg, #1a0a10 0%, #3d0f28 45%, #7a1545 100%);
  --grad-pink:  linear-gradient(135deg, #e0185e, #ff6fa3);
  --grad-gold:  linear-gradient(135deg, #c8a84b, #f0dfa0, #c8a84b);
  --grad-brand: linear-gradient(135deg, #e0185e 0%, #c8a84b 100%);
}
  
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--cream);
    padding-top: var(--nav-h);
  }
  
  /* ========== TYPOGRAPHY ========== */
  h1,h2,h3,h4,h5,h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
  }
  em { font-style: italic; color: var(--gold); }
  
  .py-6 { padding-top: 5rem; padding-bottom: 5rem; }
  
  /* ========== NAVBAR ========== */
  #mainNav {
    height: var(--nav-h);
    background: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200,134,60,.12);
    transition: box-shadow .3s;
  }
  #mainNav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
  
  .navbar-brand { display: flex; flex-direction: column; line-height: 1.1; }
  .brand-f {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .04em;
  }
  .brand-sub { font-size: .65rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
  
  .nav-link {
    font-size: .87rem;
    font-weight: 500;
    color: var(--dark) !important;
    padding: .45rem .7rem !important;
    border-radius: 8px;
    transition: background .2s, color .2s;
  }
  .nav-link:hover, .nav-link.active { color: var(--gold) !important; background: rgba(200,134,60,.08); }
  
  /* ========== BUTTONS ========== */
  .btn-gold {
    background: var(--gold);
    color: #fff;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: .87rem;
    padding: .5rem 1.4rem;
    transition: background .2s, transform .15s, box-shadow .2s;
  }
  .btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,134,60,.35); }
  
  .btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: .87rem;
    padding: .5rem 1.4rem;
    transition: all .2s;
  }
  .btn-outline-gold:hover { background: var(--gold); color: #fff; }
  
  /* ========== HERO ========== */
  .hero-section {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    background: linear-gradient(135deg, #1a1209 0%, #3d2410 50%, #6b3a18 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0 6rem;
  }
  
  .hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 50%, rgba(200,134,60,.18) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(139,34,64,.25) 0%, transparent 40%),
      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8863c' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  
  .hero-eyebrow {
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    font-weight: 500;
  }
  .hero-title {
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 1.4rem;
    font-weight: 700;
  }
  .hero-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,.78);
    max-width: 520px;
    line-height: 1.7;
  }
  
  /* Hero circle decoration */
  .hero-circle-wrap { position: relative; width: 340px; height: 340px; }
  .hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(200,134,60,.3), rgba(200,134,60,.05));
    border: 1px solid rgba(200,134,60,.3);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
  }
  .hero-stats { position: absolute; inset: 0; }
  .stat-bubble {
    position: absolute;
    background: rgba(253,248,243,.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200,134,60,.25);
    border-radius: 16px;
    padding: .8rem 1.2rem;
    text-align: center;
    color: #fff;
    font-size: .78rem;
    letter-spacing: .03em;
  }
  .stat-bubble span { display: block; font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--gold-light); }
  .s1 { top: 5%; left: 5%; }
  .s2 { top: 5%; right: 0; }
  .s3 { bottom: 10%; left: 50%; transform: translateX(-50%); }
  
  .hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
  .hero-wave svg { display: block; width: 100%; }
  
  /* ========== KPI ========== */
  .bg-cream { background: var(--cream) !important; }
  .kpi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200,134,60,.1);
    transition: transform .2s, box-shadow .2s;
  }
  .kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .kpi-icon { font-size: 1.8rem; color: var(--gold); display: block; margin-bottom: .5rem; }
  .kpi-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
  }
  .kpi-label { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
  
  /* ========== SECTION HEADERS ========== */
  .section-eyebrow {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: .5rem;
  }
  .section-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    color: var(--dark);
  }
  
  /* ========== RUBRIQUE CARDS ========== */
  .rubrique-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200,134,60,.1);
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    color: var(--dark);
  }
  .rubrique-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); color: var(--dark); }
  .rubrique-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .rubrique-card h4 { font-size: 1.25rem; margin-bottom: .5rem; }
  .rubrique-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
  .rubrique-link { font-size: .85rem; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; }
  
  /* ========== OFFRES CARDS ========== */
  .offre-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
  }
  .offre-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .offre-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: .25rem .8rem;
    margin-bottom: .9rem;
  }
  .offre-badge.stage { background: #fce4b0; color: #9c6310; }
  .offre-badge.emploi { background: #d4edda; color: #155724; }
  .offre-card h5 { font-size: 1.1rem; margin-bottom: .4rem; }
  .offre-company { font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
  .offre-desc { font-size: .85rem; color: #555; flex-grow: 1; line-height: 1.6; }
  .offre-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
  
  /* ========== PLUME LIBRE ========== */
  .plume-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .plume-card.featured { background: linear-gradient(135deg, #fdf8f3, #fff); }
  .plume-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.65;
    flex-grow: 1;
  }
  .plume-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
  .author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .plume-author strong { display: block; font-size: .9rem; }
  .plume-author span { display: block; font-size: .78rem; color: var(--muted); }
  
  /* ========== CTA SECTION ========== */
  .cta-section {
    background: linear-gradient(135deg, #8b2240, #c8863c);
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
  }
  .cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: .8rem;
  }
  .cta-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
  
  /* ========== FOOTER ========== */
  .site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
  .footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: .6rem; }
  .footer-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65; }
  .footer-heading { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
  .footer-links { list-style: none; padding: 0; margin: 0; }
  .footer-links li + li { margin-top: .5rem; }
  .footer-links a { font-size: .85rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: var(--gold); }
  .footer-social {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    text-decoration: none;
    transition: border-color .2s, color .2s;
  }
  .footer-social:hover { border-color: var(--gold); color: var(--gold); }
  .footer-newsletter { display: flex; gap: .5rem; margin-top: .6rem; }
  .footer-newsletter .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 8px; font-size: .85rem; }
  .footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.35); }
  .footer-hr { border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.5rem; }
  .footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
  
  /* ========== FORMS (partagées) ========== */
  .form-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1209 0%, #3d2410 60%, var(--cream) 100%);
    padding: 4rem 0;
  }
  .form-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }
  .form-title { font-size: 2rem; color: var(--dark); margin-bottom: .4rem; }
  .form-subtitle { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
  .form-label { font-size: .85rem; font-weight: 600; color: var(--dark); }
  .form-control, .form-select {
    border: 1.5px solid #e5ddd5;
    border-radius: 10px;
    font-size: .9rem;
    padding: .65rem 1rem;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,134,60,.12);
  }
  .upload-zone {
    border: 2px dashed var(--gold-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
  }
  .upload-zone:hover { border-color: var(--gold); background: rgba(200,134,60,.04); }
  .upload-zone i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: .5rem; }
  
  /* ========== PAGE HERO (pages secondaires) ========== */
  .page-hero {
    background: linear-gradient(135deg, #1a1209, #3d2410);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
  }
  .page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
  }
  .page-hero-title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
  .page-hero-lead { color: rgba(255,255,255,.7); font-size: 1rem; }
  
  /* ========== FILTER BAR ========== */
  .filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(200,134,60,.1);
  }
  
  /* ========== ACTUALITÉS CARDS ========== */
  .actu-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
  .actu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .actu-img { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--gold-light), #e5d0b8); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); }
  .actu-body { padding: 1.3rem; }
  .actu-cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
  .actu-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
  .actu-meta { font-size: .78rem; color: var(--muted); }
  
  /* ========== TALENT CARD ========== */
  .talent-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: transform .25s, box-shadow .25s; }
  .talent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .talent-avatar { width: 100%; height: 200px; background: linear-gradient(135deg, #f3d9b1, #c8863c); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 4rem; color: rgba(255,255,255,.9); }
  .talent-body { padding: 1.4rem; }
  .talent-tag { display: inline-block; background: var(--gold-light); color: var(--gold-dark); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 50px; padding: .2rem .8rem; margin-bottom: .6rem; }
  .talent-card h5 { font-size: 1.1rem; margin-bottom: .4rem; }
  .talent-card p { font-size: .84rem; color: var(--muted); }
  .talent-socials a { color: var(--muted); font-size: 1.1rem; margin: 0 .3rem; text-decoration: none; transition: color .2s; }
  .talent-socials a:hover { color: var(--gold); }
  
  /* ========== SOLIDARITE CARDS ========== */
  .don-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(0,0,0,.07); box-shadow: var(--shadow-sm); transition: transform .2s; }
  .don-card:hover { transform: translateY(-4px); }
  .don-type { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
  .don-type.materiel { color: #2f6eb5; }
  .don-type.financier { color: #29a844; }
  .don-type.vetements { color: #c94040; }
  .don-type.aide { color: #c87941; }
  
  /* ========== ADMIN ========== */
  .admin-sidebar { background: var(--dark); min-height: 100vh; padding: 1.5rem 0; }
  .admin-nav-link { display: flex; align-items: center; gap: .7rem; padding: .7rem 1.5rem; color: rgba(255,255,255,.6); text-decoration: none; font-size: .88rem; transition: background .2s, color .2s; }
  .admin-nav-link:hover, .admin-nav-link.active { background: rgba(200,134,60,.15); color: var(--gold); }
  .admin-nav-link i { font-size: 1.1rem; }
  .admin-stat { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold); }
  .admin-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; }
  
  /* ========== MEMBER DASHBOARD ========== */
  .dashboard-sidebar { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
  .dash-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-family: 'Cormorant Garamond', serif; font-weight: 700; }
  .dash-nav-link { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 8px; color: var(--dark); text-decoration: none; font-size: .87rem; transition: background .2s, color .2s; }
  .dash-nav-link:hover, .dash-nav-link.active { background: rgba(200,134,60,.1); color: var(--gold); }
  
  /* ========== RESPONSIVE ========== */
  @media (max-width: 768px) {
    .form-card { padding: 2rem 1.5rem; }
    .hero-title { font-size: 2.2rem; }
    .stat-bubble { font-size: .7rem; }
  }