/* ============================================
   SEN CONSULTING SERVICES — Design System
   ============================================ */

:root {
  --forest: #0B2E2B;
  --forest-light: #134440;
  --gold: #C9A227;
  --gold-light: #E0C158;
  --sand: #F5F1E6;
  --sand-dark: #EAE3D0;
  --ink: #1A1A1A;
  --sage: #7A8C7C;
  --white: #FFFFFF;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1240px;
  --section-pad: clamp(64px, 8vw, 120px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { color: #3A3A3A; }

.lede {
  font-size: 1.15rem;
  color: #444;
  max-width: 640px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-dark-outline:hover { background: var(--forest); color: var(--white); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 46, 43, 0.0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(11, 46, 43, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand-text span {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-switch button {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 4px 9px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.lang-switch button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}
.lang-switch button:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(11,46,43,0.88) 0%, rgba(11,46,43,0.65) 55%, rgba(11,46,43,0.4) 100%), 
              var(--forest) url('../images/hero-pont-faidherbe-soumare.jpg') center/cover;
  color: var(--white);
  overflow: hidden;
}
.hero-content {
  max-width: 680px;
  padding-top: 80px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p.lede { color: rgba(255,255,255,0.88); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.bridge-motif {
  position: absolute;
  bottom: 0; right: -5%;
  width: 65%;
  opacity: 0.18;
  pointer-events: none;
}

/* ============ REASSURANCE BAR ============ */
.reassurance {
  background: var(--forest-light);
  padding: 36px 0;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* ============ SECTIONS ============ */
section { padding: var(--section-pad) 0; }
.section-sand { background: var(--sand); }
.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ FOUNDER BLOCK ============ */
.founder-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  outline: 10px solid var(--white);
  outline-offset: -10px;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.5;
  margin: 20px 0 24px;
}
.founder-signature {
  font-weight: 700;
  color: var(--ink);
}
.founder-title {
  font-size: 0.85rem;
  color: var(--sage);
}

/* ============ SERVICE CARDS GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sand-dark);
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
}
.service-card:hover { background: var(--sand); }
.service-card .icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; }
.service-card .arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  font-family: var(--font-display);
}
.service-card .arrow::after { content: ' →'; transition: margin 0.2s ease; }
.service-card:hover .arrow::after { margin-left: 4px; }

/* ============ PARTNERS CAROUSEL ============ */
.partners-strip {
  padding: 48px 0;
  border-top: 1px solid var(--sand-dark);
  border-bottom: 1px solid var(--sand-dark);
}
.partners-track {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.7;
}
.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sage);
  letter-spacing: 0.05em;
}

/* ============ NEWS GRID ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card img { aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; }
.news-date { font-size: 0.78rem; color: var(--sage); letter-spacing: 0.04em; }
.news-card h3 { margin: 8px 0 8px; font-size: 1rem; line-height: 1.4; }
.news-card p { font-size: 0.88rem; }

/* ============ BRIDGE DIVIDER ============ */
.bridge-divider {
  width: 100%;
  height: 60px;
  display: block;
  color: var(--gold);
  opacity: 0.5;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.legal-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

/* ============ PAGE HERO (sous-pages) ============ */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: calc(var(--section-pad) + 60px) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); max-width: 720px; }
.page-hero .lede { color: rgba(255,255,255,0.82); margin-top: 18px; }

/* ============ EXPERTISE DETAIL ============ */
.expertise-pillars {
  display: grid;
  gap: 1px;
  background: var(--sand-dark);
  margin-top: 20px;
}
.pillar-row {
  background: var(--white);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.pillar-row h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pillar-row .pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.related-expertises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mini-card {
  border: 1px solid var(--sand-dark);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mini-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.mini-card .eyebrow { font-size: 0.7rem; }
.mini-card h3 { font-size: 1.05rem; margin: 6px 0 10px; }
.mini-card p { font-size: 0.85rem; }

/* ============ ACADEMY MODULES ============ */
.module-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.module-card h4 { font-family: var(--font-display); color: var(--forest); font-size: 1.05rem; margin-bottom: 6px; }

/* ============ ACADEMY MODULE SHEETS (detailed) ============ */
.module-sheet {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  margin-bottom: 20px;
  overflow: hidden;
}
.module-sheet-header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  background: var(--white);
  transition: background 0.2s ease;
}
.module-sheet-header:hover { background: var(--sand); }
.module-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.module-meta span {
  font-size: 0.78rem;
  color: var(--sage);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.module-meta strong { color: var(--forest); }
.module-code {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(201,162,39,0.1);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.module-toggle-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--forest);
  transition: transform 0.25s ease;
}
.module-sheet.open .module-toggle-icon { transform: rotate(45deg); }
.module-sheet-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--sand);
}
.module-sheet.open .module-sheet-body { max-height: 2400px; }
.module-sheet-body-inner { padding: 4px 32px 32px; }
.module-sheet-body h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 20px 0 10px;
}
.module-sheet-body h5:first-child { margin-top: 4px; }
.day-block {
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--sand-dark);
}
.day-block strong { color: var(--forest); display: block; margin-bottom: 4px; font-size: 0.9rem; }
.day-block ul { margin: 0; padding-left: 18px; }
.day-block li { font-size: 0.88rem; color: #444; margin-bottom: 3px; }
.module-sheet-body p { font-size: 0.9rem; margin-bottom: 8px; }
.module-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.module-tag {
  font-size: 0.75rem;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--forest);
}

/* ============ LOGISTICS CARDS ============ */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.logistics-card {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.logistics-card .icon { width: 40px; height: 40px; margin: 0 auto 18px; color: var(--gold); }

/* ============ REFERENCES PAGE ============ */
.case-studies {
  display: grid;
  gap: 24px;
}
.case-study {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  padding: 28px 32px;
}
.case-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
}
.case-amount span { display: block; font-size: 0.7rem; color: var(--sage); font-weight: 500; letter-spacing: 0.05em; }

.attestations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.attestation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  padding: 16px 22px;
  font-size: 0.9rem;
}
.attestation-item .dl { color: var(--gold); font-size: 0.8rem; font-weight: 600; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--forest);
  color: var(--white);
  padding: 36px;
  position: relative;
}
.testimonial-card p.quote { font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,0.92); margin-bottom: 20px; }
.testimonial-card .author { font-weight: 700; font-size: 0.88rem; }
.testimonial-card .org { font-size: 0.8rem; color: var(--gold-light); }

/* ============ EXPERT POOL ============ */
.expert-pitch {
  background: var(--forest);
  color: var(--white);
  padding: 56px;
  text-align: center;
  margin-bottom: 56px;
}
.expert-pitch h2 { color: var(--white); }
.expert-pitch .tagline { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-light); margin-top: 8px; letter-spacing: 0.02em; }

.form-card {
  background: var(--sand);
  padding: 48px;
  border: 1px solid var(--sand-dark);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: 2px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.upload-zone {
  border: 1.5px dashed var(--sage);
  padding: 28px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.upload-zone:hover { border-color: var(--gold); }
.upload-zone p { font-size: 0.85rem; margin-top: 8px; }

/* ============ CONTACT PAGE ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item .icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.9rem; }
.map-frame {
  width: 100%;
  height: 220px;
  border: 1px solid var(--sand-dark);
  margin-top: 8px;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 13px 24px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 8px;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--gold);
  color: var(--forest);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--forest); }
.cta-band .btn-primary { background: var(--forest); color: var(--white); margin-top: 24px; }
.cta-band .btn-primary:hover { background: var(--forest-light); }

/* ============ UTILITIES ============ */
.mt-sm { margin-top: 16px; }
.center-text { text-align: center; }
[data-i18n] { transition: opacity 0.15s ease; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .founder-block { grid-template-columns: 1fr; }
  .founder-photo { max-width: 260px; margin: 0 auto; }
  .services-grid, .news-grid, .related-expertises, .logistics-grid, .testimonial-grid, .attestations-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; text-align: left; }
  .reassurance-grid { grid-template-columns: 1fr; gap: 28px; }
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============ FLOATING DOWNLOAD BUTTON ============ */
.floating-download {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 6px 24px rgba(11,46,43,0.25);
  transition: all 0.25s ease;
}
.floating-download:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11,46,43,0.3);
}
.floating-download svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 640px) {
  .floating-download {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    font-size: 0.8rem;
    padding: 13px 18px;
  }
}
