/* ══════════════════════════════════════════════
   SDA Capital — Custom stylesheet
   Requires: Bootstrap 5, Bootstrap Icons
   ══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --sda-navy:       #1a2e4a;
  --sda-navy-dark:  #0d1e35;
  --sda-blue:       #5bacd4;
  --sda-blue-mid:   #4a8fb5;
  --sda-blue-light: #a8d4ea;
  --sda-slate:      #6b7e9a;
  --sda-off:        #f4f7fb;
  --sda-card:       #eef4f9;
  --sda-border:     #d0e3f0;
  --sda-muted:      #5a6a80;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--sda-navy);
  overflow-x: hidden;
}

/* ── Bootstrap overrides ── */
.btn-primary        { background-color: var(--sda-blue);     border-color: var(--sda-blue); }
.btn-primary:hover  { background-color: var(--sda-blue-mid); border-color: var(--sda-blue-mid); }
.text-primary       { color: var(--sda-blue) !important; }
.bg-primary         { background-color: var(--sda-blue) !important; }

/* ── Utility ── */
.bg-sda-navy    { background-color: var(--sda-navy); }
.bg-sda-dark    { background-color: var(--sda-navy-dark); }
.bg-sda-off     { background-color: var(--sda-off); }
.text-sda-blue  { color: var(--sda-blue)  !important; }
.text-sda-muted { color: var(--sda-muted) !important; }
.text-sda-navy  { color: var(--sda-navy)  !important; }
.border-sda     { border-color: var(--sda-border) !important; }

/* ────────────────────────────────────────────
   NAVBAR
   ──────────────────────────────────────────── */
.navbar {
  background: rgba(26, 46, 74, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91, 172, 212, 0.2);
  min-height: 68px;
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.05em;
  padding: 0;
}
.navbar-logo {
  height: 50px;
  width: auto;
  display: block;
}
 
.navbar-brand span          { color: var(--sda-blue); }
.navbar-nav .nav-link       { color: rgba(255, 255, 255, 0.75) !important; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
.navbar-nav .nav-link:hover { color: var(--sda-blue) !important; }
.navbar-toggler             { border-color: rgba(91, 172, 212, 0.4); }
.navbar-toggler-icon        { filter: invert(1); }

.lang-btn {
  background: transparent;
  border: 1px solid rgba(91, 172, 212, 0.4);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--sda-blue);
  border-color: var(--sda-blue);
  color: #fff;
}

/* ────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--sda-navy-dark) 0%, var(--sda-navy) 45%, #1e3a5a 100%);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(91, 172, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(91, 172, 212, 0.15);
  border: 1px solid rgba(91, 172, 212, 0.35);
  color: var(--sda-blue-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}
.hero-title em { color: var(--sda-blue); font-style: normal; }
.hero-stats-bar {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  padding: 1.8rem 0;
}
.hero-stats-grid {
  display: flex;
  align-items: center;
}
.stat-card {
  flex: 1;
  padding: 0 2rem;
  border: none;
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sda-blue);
  line-height: 1;
}
.stat-card .lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.3rem;
}
.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
 
/* Stat cards (hero) */
/* .stat-card {
  background: var(--sda-navy);
  border: 1px solid rgba(91, 172, 212, 0.2);
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover      { border-color: var(--sda-blue); transform: translateY(-4px); }
.stat-card .num       { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--sda-blue); line-height: 1; }
.stat-card .lbl       { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); } */

/* ────────────────────────────────────────────
   SECTION COMMON
   ──────────────────────────────────────────── */
.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sda-blue);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--sda-navy);
  line-height: 1.2;
}
.section-divider {
  width: 52px;
  height: 3px;
  background: var(--sda-blue);
  border-radius: 2px;
}

/* ────────────────────────────────────────────
   ABOUT
   ──────────────────────────────────────────── */
.pillar-card {
  background: #fff;
  border: 1px solid var(--sda-border);
  border-radius: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.pillar-card:hover {
  box-shadow: 0 4px 20px rgba(91, 172, 212, 0.15);
  border-color: var(--sda-blue);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sda-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sda-blue);
}
.quote-block {
  background: var(--sda-navy);
  border-radius: 10px;
  position: relative;
  padding-bottom: 3rem !important; /* espace pour le guillemet fermant */
}

.quote-block::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--sda-blue);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.35;
}

.quote-block::after {
  content: '\201D';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--sda-blue);
  position: absolute;
  bottom: 0.5rem;
  right: 1.5rem;
  line-height: 1;
  opacity: 0.35;
}

/* ────────────────────────────────────────────
   VISION & MISSION
   ──────────────────────────────────────────── */
.vm-card              { border-radius: 10px; overflow: hidden; border: none; }
.vm-card .vm-header   { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-align: center; padding: 1rem; }
.vm-card.vision  .vm-header  { background: var(--sda-blue); }
.vm-card.mission .vm-header  { background: var(--sda-slate); }
.vm-card .vm-body {
  background: var(--sda-card);
  border: 1px solid var(--sda-border);
  border-top: none;
  padding: 2.5rem 2rem;
  text-align: center;
}
.vm-icon { font-size: 2.2rem; color: var(--sda-blue); }

/* ────────────────────────────────────────────
   MAP / NETWORK
   ──────────────────────────────────────────── */
#map {
  height: 460px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 46, 74, 0.15);
}
.office-card  { border-left: 4px solid var(--sda-blue) !important; border-radius: 8px; }
.network-badge { background: var(--sda-navy); border-radius: 10px; }

/* Leaflet popup */
.leaflet-popup-content-wrapper {
  background: #1a2e4a !important;
  color: #fff !important;
  border: 1px solid rgba(91, 172, 212, 0.4) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.82rem !important;
}
.leaflet-popup-tip              { background: #1a2e4a !important; }
.leaflet-popup-content strong   { color: #5bacd4; }
.leaflet-container              { background: #0d1e35; }

/* ────────────────────────────────────────────
   SERVICES
   ──────────────────────────────────────────── */
.service-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sda-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(91, 172, 212, 0.2); }
.service-card .svc-header {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 1rem;
  line-height: 1.35;
}
.service-card:nth-child(1) .svc-header,
.service-card:nth-child(3) .svc-header { background: var(--sda-blue); }
.service-card:nth-child(2) .svc-header,
.service-card:nth-child(4) .svc-header { background: var(--sda-slate); }
.service-card .svc-body { background: var(--sda-card); }
.service-card .svc-body li {
  font-size: 0.83rem;
  color: var(--sda-muted);
  list-style: none;
  border-bottom: 1px solid var(--sda-border);
  padding: 0.4rem 0 0.4rem 1rem;
  position: relative;
}
.service-card .svc-body li:last-child { border-bottom: none; }
.service-card .svc-body li::before   { content: '·'; position: absolute; left: 0; color: var(--sda-blue); font-weight: 700; }

.sector-tag {
  color: #fff;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
/* Rangée 1 — bleu foncé navy */
.sector-row-1 { background: var(--sda-blue); }
/* Rangée 2 — bleu moyen */
.sector-row-2 { background: var(--sda-blue-light); }
/* Rangée 3 — slate gris-bleu */
.sector-row-3 { background: var(--sda-slate); }

.sector-tag:hover { opacity: 0.82; }

/* ────────────────────────────────────────────
   APPROACH
   ──────────────────────────────────────────── */
.step-card {
  background: #fff;
  border: 1px solid var(--sda-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover { border-color: var(--sda-blue); box-shadow: 0 4px 20px rgba(91, 172, 212, 0.12); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────
   TEAM
   ──────────────────────────────────────────── */
.team-card {
  background: var(--sda-card);
  border: 1px solid var(--sda-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(26, 46, 74, 0.12); }
.team-photo {
  background: var(--sda-navy);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--sda-blue);
  background: var(--sda-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}
.team-bio-item {
  font-size: 0.8rem;
  color: var(--sda-muted);
  list-style: none;
  border-bottom: 1px dashed var(--sda-border);
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
  margin: 0;
}
.team-bio-item:last-child { border-bottom: none; }
.team-bio-item::before    { content: '·'; position: absolute; left: 0; color: var(--sda-blue); font-weight: 700; }

/* ────────────────────────────────────────────
   CONTACT
   ──────────────────────────────────────────── */
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(91, 172, 212, 0.2);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-card:hover       { border-color: var(--sda-blue); background: rgba(255, 255, 255, 0.1); }
.contact-card a           { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.contact-card a:hover     { color: var(--sda-blue); }

/* ────────────────────────────────────────────
   CONTACT FORM
   ──────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--sda-blue);
  box-shadow: 0 0 0 0.2rem rgba(91, 172, 212, 0.2);
}
.form-check-input:checked {
  background-color: var(--sda-blue);
  border-color: var(--sda-blue);
}
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(91, 172, 212, 0.2);
}
.input-group-text {
  border-color: var(--sda-border);
}

/* ────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────── */
.sda-footer {
  background: var(--sda-navy-dark);
  padding: 4rem 0 0;
  border-top: 3px solid var(--sda-blue);
}

/* Grid */
.sda-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 991px) {
  .sda-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 575px) {
  .sda-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Brand column */
.sda-footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.sda-footer-brand-name-hero {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.sda-footer-brand-name span { color: var(--sda-blue); }
.sda-footer-brand-name-hero span { color: var(--sda-blue); }

.sda-footer-brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sda-blue);
  margin-bottom: 1rem;
}
.sda-footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

/* Socials */
.sda-footer-socials {
  display: flex;
  gap: 0.6rem;
}
.sda-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(91, 172, 212, 0.25);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sda-social-btn:hover {
  background: var(--sda-blue);
  border-color: var(--sda-blue);
  color: #fff;
  transform: translateY(-3px);
}

/* Nav columns */
.sda-footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sda-blue);
  margin-bottom: 1rem;
}
.sda-footer-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.4;
}
.sda-footer-link:hover {
  color: var(--sda-blue);
  padding-left: 4px;
}
.sda-footer-link.ext i { font-size: 0.8rem; }

/* Newsletter */
.sda-footer-newsletter-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sda-newsletter-input {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(91, 172, 212, 0.3) !important;
  color: #fff !important;
  font-size: 0.85rem;
  border-right: none !important;
  border-radius: 6px 0 0 6px !important;
}
.sda-newsletter-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.sda-newsletter-input:focus {
  box-shadow: none !important;
  border-color: var(--sda-blue) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.sda-newsletter-btn {
  background: var(--sda-blue);
  border: 1px solid var(--sda-blue);
  color: #fff;
  padding: 0 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.sda-newsletter-btn:hover { background: var(--sda-blue-mid); }

/* Badges */
.sda-footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sda-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(91, 172, 212, 0.1);
  border: 1px solid rgba(91, 172, 212, 0.25);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Divider */
.sda-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Bottom bar */
.sda-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 0;
}
.sda-footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}
.sda-footer-links-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
}
.sda-footer-links-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.sda-footer-links-bottom a:hover { color: var(--sda-blue); }
.sda-footer-sep { color: rgba(255, 255, 255, 0.2); }



.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 0;
  background: var(--sda-navy);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  width: 100%;
}
 
.about-stat-card {
  padding: 1.2rem 1.5rem;
  text-align: center;
}
 
.about-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sda-blue);
  line-height: 1;
  letter-spacing: -0.02em;
}
 
.about-stat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.4rem;
}
 
/* Vertical separator between columns */
.about-stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  align-self: stretch;
  margin: 0.5rem 0;
}
 
/* Full-width horizontal separator between rows */
.about-stat-sep--break {
  grid-column: 1 / -1;
  width: auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0;
  align-self: auto;
}
 
@media (max-width: 575px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1px 1fr;
    padding: 1.5rem 1rem;
  }
  .about-stat-num { font-size: 2rem; }
}