/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  padding: 10px 0;
}

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

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-social-link,
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  transition: 0.25s ease;
}

.top-social-link:hover,
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 58px;
  width: auto;
    display: block;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.menu a {
  position: relative;
  text-decoration: none;
   color: #000;
}

/* TRAIT ADAPTATIF */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%; /* ⬅️ IMPORTANT */
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

/* HOVER + ACTIVE */
.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
    flex: 0 0 auto;
}

/* bouton CTA */
.nav-actions .btn-primary {
  padding: 12px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* ===== BURGER ===== */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transition: 0.3s ease;
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
}

.mobile-nav.active {
  display: block;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 14px;
}

.mobile-links a {
  color: var(--text);
  font-weight: 600;
}

.btn-mobile-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  .menu {
    gap: 14px;
  }

  .menu a {
    font-size: 14px;
  }

  .nav-actions .btn-primary {
    padding: 11px 14px;
    font-size: 13px;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(1, 73, 142, 0.55), rgba(10, 31, 143, 0.65)),
    url('../images/hero.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.46) 0%,
    rgba(0, 0, 0, 0.20) 45%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.hero-content-full {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-box {
  max-width: 760px;
  padding: 72px 32px 72px 32px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-box h1 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.06;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-box p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.85;
  max-width: 640px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta {
  padding: 16px 28px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 34px rgba(198, 124, 88, 0.30);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(198, 124, 88, 0.36);
}

@media (max-width: 992px) {
  .hero-box {
    padding: 56px 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 64vh;
  }

  .hero-box {
    padding: 42px 18px;
  }

  .hero-box h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero-box p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }
}

.expertise-section {
  padding: 90px 0;
  background: #fff;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  background: #fff;
  border: 1px solid #dce8f5;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(1, 73, 142, 0.08);
  transition: 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(1, 73, 142, 0.12);
}

.expertise-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(1,73,142,0.10), rgba(198,124,88,0.18));
  font-size: 28px;
  margin-bottom: 18px;
}

.expertise-card h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.expertise-card p {
  color: #667085;
  line-height: 1.8;
  margin-bottom: 18px;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  transition: 0.25s ease;
}

.expertise-link:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .expertise-section {
    padding: 72px 0;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    padding: 24px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #074481;
  color: #fff;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-list,
.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-contact-list li,
.footer-links a,
.footer-bottom p,
.footer-bottom-links a {
  color: #fff;
}

.footer-links a:hover,
.footer-bottom-links a:hover {
  color: var(--accent);
}

.btn-footer {
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
}

.btn-footer:hover {
  background: var(--accent-dark);
}

.footer-bottom {
  background: var(--primary);
  padding: 18px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-col h3,
.footer-col h4 {
  position: relative;
  display: inline-block;
  color: #fff;
  padding-bottom: 14px;
}

/* trait fin long fixe */
.footer-col h3::before,
.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  opacity: 0.9;
}

/* petit trait visible et animé */
.footer-col h3::after,
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 18px;
  height: 3px;
  background: var(--accent); /* doré */
  border-radius: 999px;

  transform: translateX(0);
  transition: transform 0.35s ease;
}

/* animation */
.footer-col:hover h3::after,
.footer-col:hover h4::after {
  transform: translateX(24px);
}

.hero-buttons a {
  border-radius: 24px !important;
}