/* ===========================================================
   STAR BUSINESS CORPORATION - TOGO (SBC-TOGO)
   Feuille de style personnalisée (complément Bootstrap 5)
   =========================================================== */

:root {
  --sbc-blue-dark: #0a1854;
  --sbc-blue: #1b2f8f;
  --sbc-blue-light: #2c47c9;
  --sbc-gold: #d4af37;
  --sbc-gold-light: #f0d780;
  --sbc-white: #ffffff;
  --sbc-gray: #6c757d;
  --sbc-bg-light: #e9eaee;
  --sbc-bg-cream: #fbf6ea;
  --sbc-bg-blue-tint: #eef1fb;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #212529;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
}

/* ---------- Utilitaires ---------- */
.text-gold { color: var(--sbc-gold) !important; }
.bg-sbc-blue { background-color: var(--sbc-blue) !important; }
.bg-sbc-blue-dark { background-color: var(--sbc-blue-dark) !important; }
.bg-sbc-light { background-color: var(--sbc-bg-light) !important; }
.bg-sbc-cream { background-color: var(--sbc-bg-cream) !important; }
.bg-sbc-blue-tint { background-color: var(--sbc-bg-blue-tint) !important; }
.btn-gold {
  background: linear-gradient(135deg, var(--sbc-gold) 0%, var(--sbc-gold-light) 100%);
  color: var(--sbc-blue-dark);
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  color: var(--sbc-blue-dark);
}
.btn-outline-light-custom {
  border: 2px solid var(--sbc-white);
  color: var(--sbc-white);
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.btn-outline-light-custom:hover {
  background: var(--sbc-white);
  color: var(--sbc-blue-dark);
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}
.section-title .eyebrow {
  color: var(--sbc-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.85rem;
}
.section-title h2 {
  color: var(--sbc-blue-dark);
  font-size: 2.2rem;
}
.section-title .divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--sbc-gold), var(--sbc-gold-light));
  margin: 1rem auto 0;
  border-radius: 2px;
}
.section-title.text-start .divider { margin: 1rem 0 0; }

/* ---------- Préloader retiré : simple fade-in ---------- */
.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Navbar ---------- */
.navbar-sbc {
  background-color: rgba(10, 24, 84, 0.97);
  transition: all 0.35s ease;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.navbar-sbc .navbar-brand img {
  height: 52px;
  width: auto;
}
.navbar-sbc .nav-link {
  color: #e9ecf5 !important;
  font-weight: 500;
  margin: 0 0.4rem;
  position: relative;
}
.navbar-sbc .nav-link:hover,
.navbar-sbc .nav-link.active {
  color: var(--sbc-gold) !important;
}
.navbar-sbc .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--sbc-gold);
  transition: width 0.3s ease;
}
.navbar-sbc .nav-link:hover::after,
.navbar-sbc .nav-link.active::after {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../img/femme.jpg');
  background-size: cover;
  /* background:
    linear-gradient(120deg, #0a1854ed 0%, rgba(27,47,143,0.88) 55%, rgba(10,24,84,0.93) 100%),
    radial-gradient(circle at 80% 30%, rgba(212,175,55,0.25), transparent 55%); */
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 40px);
}
.hero h1 {
  color: var(--sbc-white);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  line-height: 1.2;

}
.hero .lead {
  color: #dbe1f7;
  font-size: 1.15rem;
  max-width: 620px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--sbc-gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-wrap .glow-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.35) 0%, transparent 70%);
  filter: blur(10px);
}
.hero-logo-wrap img {
  position: relative;
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}
.hero-logo-wrap .hero-woman-img {
  max-width: 860px;
  margin-top: 20px;
}
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sbc-gold);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--sbc-blue-dark);
  border-top: 1px solid rgba(212,175,55,0.25);
}
.stats-bar .stat-item h3 {
  color: var(--sbc-gold);
  font-size: 2.2rem;
  margin-bottom: 0;
}
.stats-bar .stat-item small {
  color: #c9cfe8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- À propos ---------- */
.about-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.about-card-float {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--sbc-white);
  border-left: 5px solid var(--sbc-gold);
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(10,24,84,0.18);
  max-width: 260px;
}
.info-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.info-list i {
  color: var(--sbc-gold);
  margin-top: 0.2rem;
}

/* ---------- Cartes Activités ---------- */
.service-card {
  background: var(--sbc-white);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  height: 100%;
  border: 1px solid #eef0f8;
  box-shadow: 0 10px 25px rgba(10,24,84,0.05);
  transition: all 0.35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,24,84,0.14);
  border-color: var(--sbc-gold);
}
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sbc-blue) 0%, var(--sbc-blue-dark) 100%);
  color: var(--sbc-gold);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--sbc-gold) 0%, var(--sbc-gold-light) 100%);
  color: var(--sbc-blue-dark);
}
.service-card h5 {
  color: var(--sbc-blue-dark);
  font-size: 1.05rem;
}
.service-card p {
  color: var(--sbc-gray);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Pourquoi nous ---------- */
.why-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}
.why-item .why-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sbc-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sbc-blue);
  font-size: 1.3rem;
  border: 2px solid var(--sbc-gold);
}
.why-item h5 { color: var(--sbc-blue-dark); }
.why-item p { color: var(--sbc-gray); margin-bottom: 0; font-size: 0.93rem; }

.cta-strip {
  background: linear-gradient(120deg, var(--sbc-blue-dark), var(--sbc-blue));
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(212,175,55,0.15);
}

/* ---------- Contact ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.contact-info-item .icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: var(--sbc-blue-dark);
  color: var(--sbc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.contact-info-item h6 {
  color: var(--sbc-blue-dark);
  margin-bottom: 0.2rem;
}
.contact-info-item p, .contact-info-item a {
  color: var(--sbc-gray);
  margin-bottom: 0;
}
.contact-form {
  background: var(--sbc-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(10,24,84,0.08);
  padding: 2.2rem;
}
.form-control, .form-select {
  border: 1px solid #dfe3f0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sbc-gold);
  box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.2);
}
.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(10,24,84,0.08);
}

/* ---------- Footer ---------- */
.footer-sbc {
  background: var(--sbc-blue-dark);
  color: #c9cfe8;
}
.footer-sbc h5, .footer-sbc h6 {
  color: var(--sbc-white);
}
.footer-sbc a {
  color: #c9cfe8;
  transition: color 0.25s ease;
}
.footer-sbc a:hover {
  color: var(--sbc-gold);
}
.footer-sbc .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.25s ease;
}
.footer-sbc .social-icon:hover {
  background: var(--sbc-gold);
  color: var(--sbc-blue-dark);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* ---------- Bouton retour en haut ---------- */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sbc-gold);
  color: var(--sbc-blue-dark);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 999;
  border: none;
}
#backToTop.show { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .navbar-sbc { background-color: rgba(10, 24, 84, 0.98); }
  .about-card-float { position: static; margin-top: 1.2rem; max-width: 100%; }
  .hero { padding-top: 110px; text-align: center; }
  .hero-logo-wrap { margin-top: 2.5rem; }
}
