/* ============================================================
   AKE GROUP — Cohabitation Solidaire — Main Stylesheet
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --primary:       #1A5276;   /* bleu institutionnel profond */
  --primary-dark:  #154360;
  --primary-light: #2E86C1;
  --accent:        #E67E22;   /* orange chaleureux */
  --accent-dark:   #CA6F1E;
  --secondary:     #27AE60;   /* vert espoir */
  --dark:          #1C2833;
  --text:          #2C3E50;
  --text-muted:    #7F8C8D;
  --bg-alt:        #F4F6F8;
  --bg-dark:       #1A2742;
  --white:         #ffffff;
  --border:        #D5D8DC;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
  --font:          'Inter', sans-serif;
  --font-display:  'Playfair Display', serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,126,34,0.35);
}
.btn--secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn--secondary:hover {
  background: #229954;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39,174,96,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.28);
  border-color: var(--white);
}
.btn--lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 10px; }
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 8px 16px; font-size: 0.87rem; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.brand-icon--sm {
  width: 36px; height: 36px;
  font-size: 0.95rem;
  border-radius: 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { color: var(--white); font-weight: 800; font-size: 1rem; letter-spacing: 0.5px; }
.brand-tagline { color: rgba(255,255,255,0.65); font-size: 0.72rem; font-weight: 400; }
.navbar__logo { height: 60px; width: auto; object-fit: contain; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.navbar__links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
.navbar__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}
.navbar__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  padding: 8px 18px;
  font-size: 0.88rem;
}
.navbar__actions .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.navbar__actions .btn--primary { padding: 8px 18px; font-size: 0.88rem; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; }
.navbar__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding-top: 70px;
  overflow: hidden;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(230,126,34,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(39,174,96,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 120px;
  max-width: 780px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero__badge i { color: var(--accent); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.text-accent { color: var(--accent); }

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--white); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__ref {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

.hero__wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; }

/* ---- STATS ---- */
.stats {
  padding: 60px 0;
  background: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.stat-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.stat-card__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- SECTIONS ---- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header--light { color: var(--white); }

.section-label {
  display: inline-block;
  background: rgba(26,82,118,0.1);
  color: var(--primary);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label--light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.section--dark .section-desc { color: rgba(255,255,255,0.72); }

/* ---- ABOUT GRID ---- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
}
.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.about__card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.icon--orange { background: rgba(230,126,34,0.12); color: var(--accent); }
.icon--green  { background: rgba(39,174,96,0.12);  color: var(--secondary); }
.icon--blue   { background: rgba(26,82,118,0.12);  color: var(--primary); }
.icon--purple { background: rgba(142,68,173,0.12); color: #8E44AD; }
.icon--teal   { background: rgba(22,160,133,0.12); color: #16A085; }
.icon--red    { background: rgba(231,76,60,0.12);  color: #E74C3C; }

.about__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.about__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- STEPS ---- */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps__grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.step-card__num {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 1px;
}
.step-card__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(26,82,118,0.1), rgba(46,134,193,0.1));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 18px;
}
.step-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- PRICING TABLE ---- */
.pricing__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}
.pricing__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.pricing__table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.pricing__table th {
  padding: 18px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pricing__table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing__table td i { margin-right: 8px; color: var(--primary-light); }
.pricing__table tbody tr:last-child td { border-bottom: none; }
.pricing__table tbody tr:hover { background: var(--bg-alt); }

.price-high { color: #E74C3C; font-weight: 700; }
.price-med  { color: var(--accent); font-weight: 700; }
.price-good { color: #27AE60; font-weight: 700; }
.price-best { color: var(--primary); font-weight: 800; font-size: 1.05rem; }

.saving {
  display: inline-block;
  background: rgba(39,174,96,0.12);
  color: var(--secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
}
.saving--best {
  background: rgba(26,82,118,0.12);
  color: var(--primary);
  font-size: 1rem;
}
.row-best {
  background: linear-gradient(90deg, rgba(26,82,118,0.04), rgba(46,134,193,0.06)) !important;
}

/* ---- PROFILE CTA ---- */
.profile-cta {
  text-align: center;
  padding: 50px 0 0;
}
.profile-cta h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.profile-cta > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.profile-cta__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-cta__sep {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  width: 300px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.profile-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.profile-card__icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
}
.profile-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.profile-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.65;
}

/* ---- INNOVATION ---- */
.innovation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.innovation__block {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.innovation__icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
}
.innovation__block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.innovation__block ul { display: flex; flex-direction: column; gap: 12px; }
.innovation__block li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.93rem;
  line-height: 1.6;
}
.innovation__block li::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- TEAM ---- */
.team__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  width: 200px;
  flex: 0 0 200px;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.team-card__avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 16px;
}
.team-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-card__role {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CONTACT ---- */
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.contact__info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.contact__info-ref {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-style: italic;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.5;
}
.contact__list li i {
  color: var(--primary);
  width: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact__list a { color: var(--primary-light); }
.contact__list a:hover { text-decoration: underline; }
.contact__partners {
  background: rgba(26,82,118,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--text);
}
.contact__partners p:first-child { margin-bottom: 4px; }

/* FORM */
.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(39,174,96,0.1);
  color: var(--secondary);
  border: 1px solid rgba(39,174,96,0.3);
}
.form-msg.error {
  display: block;
  background: rgba(231,76,60,0.1);
  color: #E74C3C;
  border: 1px solid rgba(231,76,60,0.3);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer__brand .brand-icon { flex-shrink: 0; }
.footer__brand .brand-name { color: var(--white); font-size: 1.05rem; }
.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  line-height: 1.6;
}
.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent); }
.footer__contact p {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer__contact i { color: var(--accent); width: 16px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

/* ---- AUTH PAGE ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--bg-alt);
}
.auth-page__left {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.auth-page__left::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.auth-left__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.auth-left__logo img { height: 80px; width: auto; object-fit: contain; }
.auth-left__logo .brand-icon { width: 48px; height: 48px; font-size: 1.2rem; }
.auth-page__left h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
}
.auth-page__left p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
}
.auth-left__features { display: flex; flex-direction: column; gap: 14px; position: relative; }
.auth-left__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.auth-left__feature i { color: var(--accent); font-size: 1.1rem; width: 20px; }

.auth-page__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}
.auth-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-box__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.auth-box__logo img { height: 40px; width: auto; object-fit: contain; }
.auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.auth-form { display: none; }
.auth-form.active { display: block; }
.auth-form h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.auth-form p.auth-form__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.profil-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.profil-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.profil-btn i { font-size: 1.4rem; }
.profil-btn.selected {
  border-color: var(--primary);
  background: rgba(26,82,118,0.06);
  color: var(--primary);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.auth-footer-link a { color: var(--primary); font-weight: 600; }
.auth-footer-link a:hover { text-decoration: underline; }

/* ---- DASHBOARD ---- */
.dashboard {
  min-height: 100vh;
  background: var(--bg-alt);
}
.dashboard-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0;
}
.dashboard-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dashboard-user__avatar {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white);
}
.dashboard-user__name { font-weight: 600; font-size: 0.93rem; }
.dashboard-user__role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.dashboard-logout {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: all var(--transition);
  font-family: var(--font);
}
.dashboard-logout:hover { background: rgba(255,255,255,0.22); }

.dashboard-body { padding: 48px 0; }
.dashboard-welcome {
  margin-bottom: 40px;
}
.dashboard-welcome h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.dashboard-welcome p { color: var(--text-muted); }

/* Profile Choice */
.profile-choice {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.profile-choice h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.profile-choice > p {
  color: var(--text-muted);
  margin-bottom: 36px;
}
.profile-choice__cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.choice-card {
  flex: 0 0 260px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.choice-card:hover, .choice-card.active {
  border-color: var(--primary);
  background: rgba(26,82,118,0.04);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.choice-card.active { border-color: var(--accent); background: rgba(230,126,34,0.04); }
.choice-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--white);
}
.choice-card__icon--blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.choice-card__icon--green { background: linear-gradient(135deg, #27AE60, #2ECC71); }
.choice-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}
.choice-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.choice-card .badge-info {
  background: rgba(26,82,118,0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Dashboard info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.info-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-card__icon--primary { background: rgba(26,82,118,0.1); color: var(--primary); }
.info-card__icon--accent { background: rgba(230,126,34,0.1); color: var(--accent); }
.info-card__icon--green { background: rgba(39,174,96,0.1); color: var(--secondary); }
.info-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.info-card__value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

/* Steps progress */
.steps-progress {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.steps-progress h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.progress-step.done {
  background: rgba(39,174,96,0.06);
  border-color: rgba(39,174,96,0.3);
}
.progress-step.current {
  background: rgba(26,82,118,0.06);
  border-color: var(--primary-light);
}
.progress-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-muted);
}
.progress-step.done .progress-step__num { background: var(--secondary); color: var(--white); }
.progress-step.current .progress-step__num { background: var(--primary); color: var(--white); }
.progress-step__info { flex: 1; }
.progress-step__title { font-weight: 600; font-size: 0.93rem; color: var(--dark); }
.progress-step__desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.progress-step__status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.status--done { background: rgba(39,174,96,0.1); color: var(--secondary); }
.status--current { background: rgba(26,82,118,0.1); color: var(--primary); }
.status--pending { background: var(--border); color: var(--text-muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .auth-page__left { display: none; }
  .info-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__links, .navbar__actions { display: none; }
  .navbar__burger { display: flex; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--primary-dark);
    padding: 20px;
    gap: 4px;
    z-index: 999;
  }
  .navbar__links.open + .navbar__actions {
    display: flex;
    position: fixed;
    top: auto;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: var(--primary-dark);
    z-index: 999;
    justify-content: stretch;
    gap: 12px;
  }
  .navbar__links.open + .navbar__actions .btn { flex: 1; justify-content: center; }

  .hero__content { padding: 60px 20px 100px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .about__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .innovation__grid { grid-template-columns: 1fr; }
  .contact__wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .profile-cta__cards { flex-direction: column; }
  .profile-card { width: 100%; max-width: 340px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .auth-page { flex-direction: column; }
  .auth-page__right { padding: 40px 20px; }
  .auth-box { padding: 32px 24px; }

  .profile-choice__cards { flex-direction: column; align-items: center; }
  .choice-card { width: 100%; max-width: 340px; }
  .info-cards { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .profil-toggle { grid-template-columns: 1fr; }
}

/* ---- UTILITIES ---- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { background: var(--secondary); }
.toast--error { background: #E74C3C; }
.toast--info { background: var(--primary); }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners { background: var(--white); }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.partner-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.partner-card--main {
  background: var(--white);
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}
.partner-card__logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
/* Placeholder logo — sera remplacé par une vraie image */
.partner-logo-placeholder {
  width: 120px; height: 80px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.partner-logo-placeholder i { font-size: 1.8rem; }
.partner-logo--sidaco {
  background: linear-gradient(135deg, #0A2463, #3E92CC);
  color: #ffffff;
}
.partner-logo--ake {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #ffffff;
}
.partner-logo--baobab {
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #ffffff;
}
/* Vraie image partenaire (quand disponible) */
.partner-logo-img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}
.partner-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.partner-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.partners__note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.partners__note a { color: var(--primary); font-weight: 600; }
.partners__note a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .partners__grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   PHOTO DE PROFIL
   ============================================================ */
.avatar-upload-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 16px;
}
.avatar-upload-wrap .profile-avatar-big {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-upload-wrap .profile-avatar-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  inset: 0;
}
.avatar-upload-btn {
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  cursor: pointer;
  border: 2px solid var(--white);
  transition: background var(--transition);
  z-index: 2;
}
.avatar-upload-btn:hover { background: var(--accent-dark); }
#avatarFileInput { display: none; }
.avatar-upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
  margin-bottom: 12px;
}

/* ============================================================
   DOCUMENTS (onglet dashboard)
   ============================================================ */
.documents-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.doc-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.doc-group__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-group__header i { color: var(--white); font-size: 1.1rem; }
.doc-group__header h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.doc-group__header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  margin-top: 2px;
}
.doc-group__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: all var(--transition);
}
.doc-item.uploaded {
  background: rgba(39,174,96,0.05);
  border-color: rgba(39,174,96,0.3);
}
.doc-item__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: rgba(26,82,118,0.1);
  color: var(--primary);
}
.doc-item.uploaded .doc-item__icon {
  background: rgba(39,174,96,0.12);
  color: var(--secondary);
}
.doc-item__info { flex: 1; }
.doc-item__title {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--dark);
  margin-bottom: 3px;
}
.doc-item__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.doc-item__status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.doc-status--pending {
  background: rgba(243,156,18,0.12);
  color: #E67E22;
}
.doc-status--uploaded {
  background: rgba(39,174,96,0.12);
  color: var(--secondary);
}
.doc-item__actions { display: flex; align-items: center; gap: 8px; }
.doc-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
}
.doc-upload-btn:hover { background: var(--primary-dark); }
.doc-upload-btn--view {
  background: rgba(26,82,118,0.08);
  color: var(--primary);
}
.doc-upload-btn--view:hover { background: rgba(26,82,118,0.18); }
.doc-file-input { display: none; }

.doc-info-banner {
  background: rgba(230,126,34,0.08);
  border: 1px solid rgba(230,126,34,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}
.doc-info-banner i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.doc-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.doc-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.6s ease;
}
.doc-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.doc-summary__text { flex: 1; }
.doc-summary__count {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.doc-summary__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .doc-item { flex-wrap: wrap; }
  .doc-item__status { width: 100%; justify-content: flex-end; }
}
