/* ============================================================
   CUP – Centre Universitaire Professionnalisé
   Design System: Institutional Authority × African Warmth
   Palette: Deep Navy | CUP Red | Forest Green | Ivory | Gold accent
   ============================================================ */

:root {
  --red:    #C0202A;
  --red-dk: #96181F;
  --navy:   #0D1B3E;
  --navy-lt:#162856;
  --green:  #1B6B2A;
  --ivory:  #F9F6F0;
  --gold:   #C9963C;
  --white:  #FFFFFF;
  --grey:   #6B7280;
  --grey-lt:#F3F4F6;
  --text:   #1C1C2E;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-cond:    'Barlow Condensed', 'Impact', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(13,27,62,0.1);
  --shadow-lg: 0 12px 40px rgba(13,27,62,0.18);
  --nav-h: 72px;
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; color: var(--red); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }
.section-label {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--grey); font-size: 1.05rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }
.section-header.light .section-label { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em;
  transition: all var(--transition);
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,32,42,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-lt); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; height:70px }
.nav-logo img { height: 70px; width: auto; }
.nav-brand {
  font-family: var(--font-cond); font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.1em;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link.nav-cta {
  background: var(--red); color: var(--white); padding: 8px 20px; margin-left: 8px;
}
.nav-link.nav-cta:hover { background: var(--red-dk); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: stretch;
  margin-top: var(--nav-h);
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: all; }
.slide-content {
  position: relative; z-index: 2;
  max-width: 680px; padding: 0 64px;
}
.slide-eyebrow {
  display: inline-block;
  font-family: var(--font-cond); font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.slide-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); color: var(--white);
  line-height: 1.05; margin-bottom: 20px;
}
.slide-content h1 em { color: var(--gold); font-style: italic; }
.slide-content p { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 520px; }
.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.slide-prev, .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white); font-size: 1rem;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.slide-prev { left: 20px; }
.slide-next { right: 20px; }
.slide-prev:hover, .slide-next:hover { background: var(--red); border-color: var(--red); }

.slide-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights { background: var(--navy); padding: 56px 0; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
.hl-card {
  background: var(--navy); padding: 36px 28px; text-align: center;
  transition: background var(--transition);
}
.hl-card:hover { background: var(--navy-lt); }
.hl-card i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.hl-card h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 10px; font-family: var(--font-cond); letter-spacing: 0.05em; }
.hl-card p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ============================================================
   PRESIDENT
   ============================================================ */
.president { padding: 96px 0; background: var(--ivory); }
.president-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.president-img { position: relative;

display: flex; flex-direction: column; align-items: center; }
.boss {
  width: 220px; height: 250px; border-radius: 50%;

  display: flex; align-items: center; justify-content: center;
  border: 6px solid var(--gold);
  box-shadow: 0 0 0 12px rgba(201,150,60,0.15);
}
/* */
/* .president-placeholder i { font-size: 5rem; color: rgba(255,255,255,0.4); } */

.president-badge {
  margin-top: 16px; background: var(--red); color: var(--white);
  font-size: 0.85rem; font-weight: 600; padding: 8px 20px;
  border-radius: 24px; text-align: center;
}
.president-text h2 { font-size: 2.5rem; color: var(--navy); margin-bottom: 24px; }
blockquote {
  border-left: 4px solid var(--gold); padding-left: 24px; margin-bottom: 20px;
  font-size: 1.05rem; color: var(--grey); font-style: italic; line-height: 1.8;
}
.president-name { font-weight: 600; color: var(--navy); margin-bottom: 28px; font-size: 0.9rem; }

/* ============================================================
   FORMATIONS APERCU
   ============================================================ */
.formations-apercu { padding: 96px 0; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.form-card {
  display: block; background: var(--white); border: 2px solid var(--grey-lt);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.form-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.form-card:hover::before { transform: scaleX(1); }
.form-card-icon { font-size: 2rem; color: var(--red); margin-bottom: 20px; }
.form-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 10px; }
.form-card p { font-size: 0.875rem; color: var(--grey); margin-bottom: 16px; }
.form-tag {
  display: inline-block; background: var(--ivory); color: var(--navy);
  font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 12px;
  border: 1px solid rgba(13,27,62,0.15);
}

/* ============================================================
   À PROPOS
   ============================================================ */
.apropos { padding: 96px 0; background: var(--ivory); }
.apropos-tabs { display: flex; gap: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.atab {
  padding: 10px 24px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--grey);
  border: 2px solid transparent; background: var(--white);
  transition: all var(--transition);
}
.atab:hover { color: var(--navy); border-color: var(--navy); }
.atab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.atab-content { display: none; }
.atab-content.active { display: block; }
.atab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.atab-text h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.atab-text p { color: var(--grey); margin-bottom: 16px; line-height: 1.75; }
.atab-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.atab-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.atab-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 42px; top: 28px; bottom: 0; width: 2px; background: rgba(13,27,62,0.12); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-year {
  flex-shrink: 0; width: 68px; height: 28px;
  background: var(--red); color: var(--white);
  font-size: 0.8rem; font-weight: 700; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); letter-spacing: 0.05em;
}
.tl-item p { font-size: 0.9rem; color: var(--grey); padding-top: 4px; }

/* Obj stats */
.obj-stats { display: flex; flex-direction: column; gap: 24px; }
.obj-stat { background: var(--white); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--gold); }
.stat-n { display: block; font-size: 2rem; font-weight: 700; color: var(--navy); font-family: var(--font-cond); }
.stat-l { font-size: 0.85rem; color: var(--grey); }

/* Instituts */
.instituts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.inst-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(13,27,62,0.08);
  transition: box-shadow var(--transition);
}
.inst-card:hover { box-shadow: var(--shadow); }
.inst-icon { font-size: 1.8rem; color: var(--red); margin-bottom: 14px; }
.inst-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-family: var(--font-cond); letter-spacing: 0.05em; font-size: 1.1rem; }
.inst-full { font-size: 0.8rem; color: var(--grey); margin-bottom: 14px; line-height: 1.4; }
.inst-card ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.inst-card ul li { font-size: 0.85rem; color: var(--text); padding-left: 14px; position: relative; }
.inst-card ul li::before { content: '–'; position: absolute; left: 0; color: var(--red); }
.inst-badge { display: inline-block; background: var(--navy); color: var(--white); font-size: 0.7rem; padding: 4px 10px; border-radius: 12px; font-weight: 600; }

/* Peda */
.peda-list { display: flex; flex-direction: column; gap: 16px; }
.peda-item { display: flex; align-items: flex-start; gap: 16px; background: var(--white); padding: 16px 20px; border-radius: var(--radius); }
.peda-item i { color: var(--green); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.peda-item span { font-size: 0.9rem; color: var(--text); }

/* ============================================================
   FORMATIONS
   ============================================================ */
.formations { padding: 96px 0; }
.form-tabs { display: flex; gap: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.ftab {
  padding: 10px 24px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; color: var(--grey);
  border: 2px solid transparent; background: var(--grey-lt);
  transition: all var(--transition);
}
.ftab:hover { color: var(--navy); }
.ftab.active { background: var(--red); color: var(--white); border-color: var(--red); }
.ftab-content { display: none; }
.ftab-content.active { display: block; }
.cycle-intro { color: var(--grey); font-size: 0.95rem; margin-bottom: 32px; }
.filiere-section { margin-bottom: 40px; }
.filiere-head {
  display: inline-block; font-family: var(--font-cond); font-size: 1rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px;
  border-radius: 4px; margin-bottom: 20px;
}
.filiere-head.tertiaire { background: rgba(27,107,42,0.1); color: var(--green); }
.filiere-head.industrielle { background: rgba(192,32,42,0.1); color: var(--red); }
.filiere-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.filiere-card {
  background: var(--ivory); border-radius: var(--radius); padding: 24px;
  border: 1px solid rgba(13,27,62,0.07); position: relative;
  transition: all var(--transition);
}
.filiere-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.filiere-card h5 { font-size: 0.95rem; color: var(--navy); margin-bottom: 10px; }
.filiere-card p { font-size: 0.85rem; color: var(--grey); margin-bottom: 12px; line-height: 1.6; }
.debouches { font-size: 0.8rem; color: var(--text); background: var(--white); padding: 10px 12px; border-radius: 6px; border-left: 3px solid var(--green); }
.tag-etat { background: var(--gold); color: var(--white); font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 4px; }
.filiere-card.featured { border-color: var(--gold); background: rgba(201,150,60,0.05); }
.feat-badge {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 12px;
  margin-bottom: 10px; font-family: var(--font-cond); letter-spacing: 0.05em;
}

/* Homologuées */
.homol-info {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(13,27,62,0.04); border-radius: var(--radius); padding: 20px 24px;
  margin-bottom: 32px; border-left: 4px solid var(--navy);
}
.homol-info i { color: var(--navy); font-size: 1.5rem; margin-top: 2px; flex-shrink: 0; }
.homol-info p { font-size: 0.95rem; color: var(--text); }
.homol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.homol-domain { background: var(--ivory); border-radius: var(--radius); padding: 24px; }
.homol-domain h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.homol-domain h4 i { color: var(--red); }
.homol-domain ul { display: flex; flex-direction: column; gap: 8px; }
.homol-domain ul li { font-size: 0.875rem; color: var(--grey); padding-left: 16px; position: relative; }
.homol-domain ul li::before { content: '›'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ============================================================
   TARIFS
   ============================================================ */
.tarifs { padding: 96px 0; background: var(--navy); }
.tarif-special {
  display: flex; align-items: center; gap: 20px;
  background: rgba(201,150,60,0.15); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 20px 28px; margin-bottom: 40px;
}
.tarif-special i { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; }
.tarif-special strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.tarif-special span { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.tarif-tabs { display: flex; gap: 4px; margin-bottom: 32px; flex-wrap: wrap; }
.ttab {
  padding: 10px 24px; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.15); background: transparent;
  transition: all var(--transition);
}
.ttab:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.ttab.active { background: var(--red); color: var(--white); border-color: var(--red); }
.ttab-content { display: none; }
.ttab-content.active { display: block; }
.tarif-table-wrap { overflow-x: auto; margin-bottom: 24px; }
.tarif-table { width: 100%; border-collapse: collapse; }
.tarif-table thead tr { background: rgba(255,255,255,0.08); }
.tarif-table th { padding: 14px 20px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; }
.tarif-table td { padding: 14px 20px; font-size: 0.9rem; color: rgba(255,255,255,0.85); border-top: 1px solid rgba(255,255,255,0.08); }
.tarif-table tr:hover td { background: rgba(255,255,255,0.04); }
.tarif-table .price { font-weight: 700; color: var(--white); font-size: 1rem; }
.tarif-table .note { color: rgba(255,255,255,0.5); font-style: italic; font-size: 0.85rem; }
.tarif-note { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-style: italic; margin-top: 8px; }
.tarif-rules {
  background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 24px 28px;
  margin-top: 40px; border: 1px solid rgba(255,255,255,0.1);
}
.tarif-rules h4 { color: var(--white); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.tarif-rules h4 i { color: var(--gold); }
.tarif-rules ul { display: flex; flex-direction: column; gap: 8px; }
.tarif-rules ul li { font-size: 0.875rem; color: rgba(255,255,255,0.7); padding-left: 16px; position: relative; }
.tarif-rules ul li::before { content: '•'; position: absolute; left: 0; color: var(--red); font-size: 1rem; line-height: 1.4; }
.dossier-box {
  background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 28px;
  margin-top: 24px; border: 1px solid rgba(255,255,255,0.1);
}
.dossier-box h4 { color: var(--white); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.dossier-box h4 i { color: var(--gold); }
.dossier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dossier-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.dossier-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partenaires { padding: 96px 0; background: var(--ivory); }
.partners-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px; }
.partner-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.logo-box {
  width: 100%; height: 100px;
  background: var(--white); border-radius: var(--radius); border: 2px solid rgba(13,27,62,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.logo-box:hover { border-color: var(--red); box-shadow: var(--shadow); }
.logo-box span { font-family: var(--font-cond); font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: 0.1em; }
.partner-logo p { font-size: 0.8rem; color: var(--grey); max-width: 160px; line-height: 1.4; }
.partner-highlight {
  background: var(--navy); border-radius: var(--radius-lg); padding: 40px 48px;
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center;
}
.phl-text h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.phl-text p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.75; }
.phl-stat { display: flex; flex-direction: column; gap: 24px; }
.phl-stat > div { text-align: center; background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 20px; }
.phl-n { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); font-family: var(--font-cond); }
.phl-l { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.actualites { padding: 96px 0; background: var(--navy); }
.actu-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.actu-card {
  background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition); display: flex; flex-direction: column;
}
.actu-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.actu-date { font-size: 0.75rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; font-family: var(--font-cond); letter-spacing: 0.08em; }
.actu-cat { display: inline-block; background: var(--red); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.actu-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 12px; line-height: 1.4; flex: 1; }
.featured-actu h3 { font-size: 1.3rem; }
.actu-card p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 20px; }
.actu-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.actu-link:hover { gap: 12px; }
.actu-cta { text-align: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.contact-info h3, .contact-form h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 28px; }
.ci-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.ci-item i { color: var(--red); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; width: 20px; }
.ci-item strong { display: block; font-size: 0.85rem; color: var(--navy); margin-bottom: 4px; }
.ci-item p { font-size: 0.875rem; color: var(--grey); line-height: 1.6; }
.ci-item a { color: var(--red); }
.ci-item a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 12px; margin-top: 28px; }
.social-links.mt { margin-top: 20px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link:hover { background: var(--red); transform: translateY(-2px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 2px solid #E5E7EB; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg { margin-top: 12px; font-size: 0.875rem; font-weight: 500; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--text); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.6; }
.footer-nav h5, .footer-contact h5 { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; font-family: var(--font-cond); }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-contact i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(192,32,42,0.4);
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--red-dk); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .president-inner { grid-template-columns: 1fr; text-align: center; }
  .president-img { align-items: center; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .actu-grid { grid-template-columns: 1fr; }
  .actu-grid .featured-actu { grid-column: 1; }
  .partner-highlight { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .atab-grid { grid-template-columns: 1fr; }
  .instituts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 2px solid var(--red); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .slide-content { padding: 0 40px 0 28px; }
  .slide-content h1 { font-size: 2.2rem; }
  .hl-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .filiere-grid { grid-template-columns: 1fr; }
  .homol-grid { grid-template-columns: 1fr; }
  .dossier-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .slide-content { padding: 0 20px; }
  .slide-actions { flex-direction: column; }
  .slide-prev, .slide-next { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
