/* ═══════════════════════════════════════════════════
   BRIDGEHEAD PARTNERS — Main Stylesheet
   bridgehead-africa.com
   ═══════════════════════════════════════════════════ */

:root {
  --teal:        #00C9A7;
  --teal-dark:   #008B75;
  --teal-light:  #E8FAF7;
  --blue:        #2251E3;
  --dark:        #1E1B4B;
  --dark-2:      #2D2A6E;
  --gray:        #6B7280;
  --gray-light:  #F3F4F6;
  --white:       #FFFFFF;
  --font:        'Inter', system-ui, sans-serif;
  --max-w:       1160px;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.14);
  --transition:  .22s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: #374151; }
.lead { font-size: 1.15rem; line-height: 1.75; color: #4B5563; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section--alt { background: var(--gray-light); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark p, .section--dark .lead { color: rgba(255,255,255,.75); }
.section--teal { background: var(--teal-light); }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media(max-width:900px) { .grid-3,.grid-4 { grid-template-columns: 1fr 1fr; } }
@media(max-width:640px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ── NAVBAR ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30,27,75,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,201,167,.18);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.1rem; color: var(--white);
  letter-spacing: -.01em;
}
.nav__logo span { color: var(--teal); }
.nav__logo-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; display: inline-block; }
.nav__links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav__links a {
  padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.78); transition: all var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--teal); background: rgba(0,201,167,.08); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.lang-btn {
  padding: 6px 12px; font-size: .82rem; font-weight: 600; cursor: pointer;
  background: none; border: none; color: rgba(255,255,255,.55); transition: all var(--transition);
}
.lang-btn.active { background: var(--teal); color: var(--dark); }
.nav__cta {
  background: var(--teal); color: var(--dark) !important; padding: 9px 20px !important;
  border-radius: 8px; font-weight: 700 !important; font-size: .88rem !important;
}
.nav__cta:hover { background: var(--teal-dark); color: var(--white) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
@media(max-width:820px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(0,201,167,.15); gap: 4px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 10px 16px; width: 100%; }
  .lang-toggle { display: none; }
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  padding: 120px 0 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,201,167,.12) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(26,63,218,.1) 0%, transparent 55%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,201,167,.12); border: 1px solid rgba(0,201,167,.3);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
  font-size: .82rem; font-weight: 600; color: var(--teal); letter-spacing: .04em; text-transform: uppercase;
}
.hero__title { color: var(--white); margin-bottom: 20px; max-width: 720px; }
.hero__title em { color: var(--teal); font-style: normal; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 580px; margin-bottom: 44px; line-height: 1.8; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 48px; margin-top: 80px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; gap: 32px;
}
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--teal); line-height: 1; }
.stat__label { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-weight: 700;
  font-size: .95rem; cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent; text-decoration: none; line-height: 1;
}
.btn--primary { background: var(--teal); color: var(--dark); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,201,167,.3); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); background: rgba(0,201,167,.08); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #E5E7EB; padding: 32px;
  transition: all var(--transition); box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 1.5rem;
}
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.card__body { font-size: .92rem; color: var(--gray); line-height: 1.65; }
.card--dark { background: var(--dark-2); border-color: rgba(255,255,255,.08); }
.card--dark .card__title { color: var(--white); }
.card--dark .card__body { color: rgba(255,255,255,.6); }
.card--dark .card__icon { background: rgba(0,201,167,.12); }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--gray); }

/* ── DIVIDER ── */
.divider { height: 3px; background: linear-gradient(90deg, var(--teal), var(--blue)); border: none; margin: 0; border-radius: 2px; }

/* ── BADGE / PILL ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: .78rem; font-weight: 600;
}
.pill--teal { background: var(--teal-light); color: var(--teal-dark); }
.pill--blue { background: rgba(26,63,218,.08); color: var(--blue); }
.pill--dark { background: rgba(30,30,46,.08); color: var(--dark); }

/* ── TAG LIST ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  padding: 4px 10px; background: var(--teal-light); color: var(--teal-dark);
  border-radius: 6px; font-size: .78rem; font-weight: 600;
}

/* ── PROCESS STEPS ── */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 30px; left: 60px; right: 60px;
  height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue));
}
.step { flex: 1; text-align: center; padding: 0 20px; position: relative; }
.step__num {
  width: 60px; height: 60px; border-radius: 50%; background: var(--teal);
  color: var(--dark); font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--white);
}
.step__title { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.step__desc { font-size: .88rem; color: var(--gray); }
@media(max-width:700px) {
  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }
}

/* ── TERRITORY CARD ── */
.territory-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #E5E7EB; overflow: hidden;
  transition: all var(--transition);
}
.territory-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.territory-card__header { padding: 24px; background: var(--dark); color: var(--white); }
.territory-card__flag { font-size: 2.5rem; margin-bottom: 8px; }
.territory-card__name { font-size: 1.2rem; font-weight: 700; }
.territory-card__phase {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; background: rgba(0,201,167,.15);
  color: var(--teal); margin-top: 8px; display: inline-block;
}
.territory-card__body { padding: 24px; }
.territory-card__stat { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .88rem; }
.territory-card__stat span:first-child { color: var(--gray); }
.territory-card__stat span:last-child { font-weight: 600; color: var(--dark); }

/* ── CATEGORY CARD ── */
.cat-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid #E5E7EB; padding: 32px;
  transition: all var(--transition);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.cat-card__emoji { font-size: 2.2rem; margin-bottom: 16px; }
.cat-card__name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.cat-card__desc { font-size: .88rem; color: var(--gray); margin-bottom: 16px; line-height: 1.65; }
.cat-card__vendors { display: flex; flex-wrap: wrap; gap: 6px; }
.vendor-tag {
  padding: 4px 10px; background: var(--dark); color: rgba(255,255,255,.8);
  border-radius: 6px; font-size: .76rem; font-weight: 600;
}

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.compare-table thead th {
  background: var(--dark); color: var(--white); padding: 16px 20px;
  text-align: left; font-size: .88rem; font-weight: 700;
}
.compare-table thead th:first-child { width: 35%; }
.compare-table tbody tr:nth-child(even) { background: var(--gray-light); }
.compare-table tbody td { padding: 14px 20px; font-size: .9rem; border-bottom: 1px solid #E5E7EB; }
.compare-table tbody td:first-child { font-weight: 600; color: var(--dark); }
.check { color: var(--teal); font-weight: 800; }
.cross { color: #EF4444; font-weight: 800; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 2px solid #E5E7EB; font-size: .95rem; font-family: var(--font);
  background: var(--white); color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,201,167,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width:640px) { .form-2col { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.footer__brand h3 span { color: var(--teal); }
.footer__brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer__col h4 { color: rgba(255,255,255,.9); font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul li a { font-size: .88rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer__social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  color: rgba(255,255,255,.5); transition: all var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--dark); }
@media(max-width:900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .footer__inner { grid-template-columns: 1fr; } }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--teal); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark); padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,201,167,.1) 0%, transparent 60%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.65); max-width: 600px; margin-top: 16px; font-size: 1.05rem; }

/* ── MISC ── */
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.highlight-box {
  background: var(--teal-light); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 24px 0;
}
.highlight-box strong { color: var(--teal-dark); }

/* ── LANG VISIBILITY ── */
.lang-fr { display: block; }
.lang-en { display: none; }
body.lang-en .lang-fr { display: none; }
body.lang-en .lang-en { display: block; }
/* for inline spans */
span.lang-fr, span.lang-en, a.lang-fr, a.lang-en, li.lang-fr, li.lang-en,
td.lang-fr, td.lang-en, th.lang-fr, th.lang-en, h1.lang-fr, h1.lang-en,
h2.lang-fr, h2.lang-en, h3.lang-fr, h3.lang-en, p.lang-fr, p.lang-en {
  display: inline;
}
body.lang-en span.lang-fr, body.lang-en a.lang-fr, body.lang-en li.lang-fr,
body.lang-en td.lang-fr, body.lang-en th.lang-fr, body.lang-en h1.lang-fr,
body.lang-en h2.lang-fr, body.lang-en h3.lang-fr, body.lang-en p.lang-fr { display: none; }
body.lang-en span.lang-en, body.lang-en a.lang-en, body.lang-en li.lang-en,
body.lang-en td.lang-en, body.lang-en th.lang-en, body.lang-en h1.lang-en,
body.lang-en h2.lang-en, body.lang-en h3.lang-en, body.lang-en p.lang-en { display: inline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp .55s ease both; }
.fade-up--2 { animation-delay: .1s; }
.fade-up--3 { animation-delay: .2s; }
.fade-up--4 { animation-delay: .3s; }
