/* =========================================================
   SECUDEV — Design system
   Cabinet d'expertise et de conseil : identité sobre,
   institutionnelle, moderne et animée.
   ========================================================= */

:root {
  /* Palette */
  --navy: #071B33;
  --navy-soft: #0C2A4D;
  --blue: #184C95;
  --blue-light: #3B6BB5;
  --blue-pale: #E9EFF9;
  --gold: #FDDB6D;
  --gold-soft: #FEF0C3;
  --gold-ink: #021624;
  --ink: #10182B;
  --muted: #5B6478;
  --line: #E4E8F0;
  --bg-soft: #F6F8FB;
  --white: #FFFFFF;

  /* Spacing scale (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Radius / shadow / motion */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(7, 27, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(7, 27, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 27, 51, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Base
   ========================================================= */

html { scroll-behavior: smooth; }

body {
  background-color: var(--white) !important;
  font-family: "Inter", "Promt", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

p { color: var(--muted); }

a { text-decoration: none; color: var(--ink); transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue) !important; }

::selection { background: var(--blue); color: #fff; }

/* Bootstrap container widths preserved */
.container, .container-sm, .container-md, .container-lg, .container-xl {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .container, .container-sm { max-width: 540px; } }
@media (min-width: 768px) { .container, .container-sm, .container-md { max-width: 720px; } }
@media (min-width: 992px) { .container, .container-sm, .container-md, .container-lg { max-width: 1000px; } }
@media (min-width: 1200px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1200px; } }
.container-fluid { margin-right: auto !important; margin-left: auto !important; max-width: 100vw !important; }

/* =========================================================
   Typography helpers
   ========================================================= */

.text-primary { color: var(--blue) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted-2 { color: var(--muted) !important; }
.text-white { color: #fff !important; }
.text-gold { color: var(--gold) !important; }
.text-justify { text-align: justify !important; }
.text-italic { font-style: italic; }
.text-right { text-align: right; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }

.section-title {
  font-weight: 700;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.section-lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 720px;
}
.section-head { margin-bottom: var(--sp-5); }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head.on-dark .section-title { color: #fff; }
.section-head.on-dark .section-lead { color: rgba(255,255,255,0.78); }

.title, .title1, .title2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-spacing: normal;
}
.title { font-size: 44px; line-height: 1.18; }
.title1 { font-size: 26px; }
.title2 { font-size: 20px; }

.description {
  font-size: 16px !important;
  word-spacing: normal;
  text-align: left;
  color: var(--muted);
}

.uli { margin-top: var(--sp-2); padding-left: 20px; }
.uli li { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.uli li::marker { color: var(--blue); }
.uli.on-dark li { color: #fff; }
.uli.on-dark li::marker { color: var(--gold); }
ul li::marker { color: var(--blue); }

/* =========================================================
   Layout rhythm
   ========================================================= */

.section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
.section-sm { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
.section-lg { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
.bg-soft { background-color: var(--bg-soft) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-light { background-color: var(--bg-soft) !important; }
.bg-primary { background-color: var(--blue) !important; }
.bg-blue { background-color: var(--blue-light) !important; }
.bg-primary-tr1 { background-color: rgba(15, 113, 184, 0.55); }
.bg-dark, .bg-dark1 { background-color: var(--navy) !important; }
.bg-none { background-color: transparent; }
.bg-yel { background-color: var(--gold-soft) !important; }

/* legacy spacing hooks kept for markup compatibility */
.top { margin-top: var(--sp-4); }
.topy { margin-top: var(--sp-7); }
.py { font-size: 22px; color: inherit; }
.py1 { font-size: 17px; }
.wws { padding-right: 0; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 30px !important;
  border-radius: 100px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:focus { box-shadow: none; }
.btn:active { transform: translateY(0) !important; }

.btn.btn-primary {
  background-color: var(--blue) !important;
  border-color: var(--blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 113, 184, 0.28);
}
.btn.btn-primary:hover {
  background-color: var(--navy-soft) !important;
  border-color: var(--navy-soft);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(7, 27, 51, 0.28);
}

/* .btn-primar kept as an alias so existing markup keeps working */
.btn.btn-primar {
  background-color: var(--gold) !important;
  border-color: var(--gold);
  border-radius: 100px;
  color: var(--gold-ink) !important;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(253, 219, 109, 0.35);
}
.btn.btn-primar:hover {
  background-color: #fcd04a !important;
  border-color: #fcd04a;
  color: var(--gold-ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(253, 219, 109, 0.45);
}

.btn.btn-light {
  background-color: #fff;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  color: var(--navy) !important;
  font-weight: 600;
}
.btn.btn-light:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-on-dark {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff !important;
  border-radius: 100px;
  font-weight: 600;
  padding: 13px 30px !important;
  transition: all var(--dur) var(--ease);
}
.btn-outline-on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
  transform: translateY(-2px);
}

.btn.btn-lg { font-size: 15px; padding: 16px 34px !important; border-radius: 100px; }

/* =========================================================
   Navbar
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.nav-item a {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 14.5px;
  position: relative;
}
.nav-item a.active { color: var(--blue) !important; }
.nav-item a:hover { color: var(--blue) !important; }
.nav-item a.text-dark { color: var(--ink) !important; font-weight: 600; }
.nav-item a.text-dark.active { color: var(--blue) !important; }
.nav-item a.text-dark:hover { color: var(--blue) !important; }

.nav-link:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:not(.btn):hover::after,
.nav-link:not(.btn).active::after { transform: scaleX(1); }

.drop { position: relative; }
.drop .drop-content {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  position: absolute;
  padding: 22px;
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 460px;
  z-index: 9;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.drop:hover .drop-content { opacity: 1; visibility: visible; transform: translateY(0); }
.drop .drop-content ul { columns: 1; margin: 0; padding: 0; list-style: none; }
.drop .drop-content li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.drop .drop-content li a:hover { background: var(--blue-pale); padding-left: 16px; }

.img-logo { width: 165px; }
.img-logo1 { width: 100px; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, var(--navy) 0%, rgba(7,27,51,0.85) 32%, rgba(7,27,51,0.25) 58%, rgba(7,27,51,0.45) 100%),
    url('/frontend/assets/images/hero/hero-background.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  background: radial-gradient(circle at 30% 30%, var(--gold), transparent 70%);
  animation: floaty 9s ease-in-out infinite;
  pointer-events: none;
}
.hero .hero-orb.o1 { width: 300px; height: 300px; top: 30px; right: 8%; }
.hero .hero-orb.o2 { width: 160px; height: 160px; bottom: 60px; right: 24%; animation-delay: -3s; background: radial-gradient(circle at 30% 30%, var(--blue-light), transparent 70%); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(253,219,109,0.3); }

.hero h1.title { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.82); font-size: 18px; }

.hero-stats {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.hero-stats .stat span {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

/* legacy .banner kept mapped to hero for any un-migrated markup */
.banner { width: 100%; min-height: 70vh; }

/* =========================================================
   Cards
   ========================================================= */

.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-elevated {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card-elevated:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: var(--sp-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card-soft:hover .icon-tile,
.expertise-card:hover .icon-tile {
  background: var(--blue);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--dur) var(--ease);
}

.badge-pill-dark {
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  font-size: 13.5px;
  transition: all var(--dur) var(--ease);
}
.badge-pill-dark:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(253, 219, 109, 0.45) !important;
  transform: translateY(-3px);
}
.badge-pill-dark .badge-pill-icon {
  color: var(--gold);
  font-size: 13px;
  transition: transform var(--dur) var(--ease);
}
.badge-pill-dark:hover .badge-pill-icon { transform: scale(1.15); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
  font-size: 14.5px;
}
.link-arrow i { transition: transform var(--dur) var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* Expertise link tiles (dark grid, e.g. "Nos domaines d'expertise" on the about page) */
.expertise-link {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-height: 84px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(253, 219, 109, 0.22);
  border-radius: 12px;
  transition: all var(--dur) var(--ease);
}
.expertise-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(253, 219, 109, 0.5);
  transform: translateY(-3px);
}
.expertise-link .expertise-link-icon {
  flex: 0 0 auto;
  background: rgba(253, 219, 109, 0.14);
  color: var(--gold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.expertise-link:hover .expertise-link-icon { background: var(--gold); color: var(--gold-ink); transform: translateX(3px); }
.expertise-link span.fw-semibold { line-height: 1.35; }

/* Expertise grid */
.expertise-card {
  height: 100%;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.expertise-card .num {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* About / value cards (home "A propos" carousel) */
.about-carousel { position: relative; }

.about-scroller {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  padding: 10px 4px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.about-scroller::-webkit-scrollbar { display: none; }

.scroller-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
  transition: all var(--dur) var(--ease);
}
.scroller-arrow.prev { left: -22px; }
.scroller-arrow.next { right: -22px; }
.scroller-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.scroller-arrow:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--blue); }
.scroller-arrow:disabled:hover { background: #fff; color: var(--blue); }

@media (max-width: 575px) {
  .scroller-arrow { width: 40px; height: 40px; }
  .scroller-arrow.prev { left: -8px; }
  .scroller-arrow.next { right: -8px; }
}

.about-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  padding: var(--sp-4);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about-card .step {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

/* Value strip */
.value-tile {
  padding: var(--sp-4) var(--sp-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(253, 219, 109, 0.22);
  border-radius: var(--radius);
  text-align: center;
  height: 100%;
  transition: all var(--dur) var(--ease);
}
.value-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(253, 219, 109, 0.5);
}
.value-tile .icon-tile {
  margin-left: auto;
  margin-right: auto;
  background: rgba(253, 219, 109, 0.14);
  color: var(--gold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.value-tile:hover .icon-tile { background: var(--gold); color: var(--gold-ink); }

/* Sector strip (logos/tags, no longer dominant) */
.sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sector-strip .badge-pill { background: #fff; border: 1px solid var(--line); }
.sector-strip .badge-pill:hover { border-color: var(--blue); color: var(--blue); }

/* Training cards */
.hover { position: relative; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.hover img { transition: transform 0.6s var(--ease); }
.hover:hover img { transform: scale(1.08); }
.hover .pst {
  bottom: 0;
  position: absolute;
  width: 100%;
  padding: var(--sp-3);
  opacity: 1;
  transform: translateY(0);
  transition: transform var(--dur) var(--ease);
}
.hover .bg-primary-t {
  background: linear-gradient(0deg, rgba(7,27,51,0.92) 0%, rgba(7,27,51,0.35) 70%, transparent 100%);
}
.hover .pst small { opacity: 0; max-height: 0; overflow: hidden; display: block; transition: opacity var(--dur) var(--ease); }
.hover:hover .pst small { opacity: 1; max-height: 220px; }

/* Illustrative photo paired with intro text (expertise / about / secteur pages) */
.intro-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   Inner page banner
   ========================================================= */

.page-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding: 150px 0 70px;
  color: #fff;
}
.page-banner .breadcrumb-2 {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-2);
}
.page-banner .breadcrumb-2 a { color: rgba(255,255,255,0.65); }
.page-banner .breadcrumb-2 a:hover { color: #fff !important; }
.page-banner h1 { color: #fff; margin: 0; font-size: 36px; }
.page-banner p { color: rgba(255,255,255,0.75); max-width: 640px; margin-top: 12px; }

/* legacy full-image banners kept usable but softened for any leftover markup */
.banner1, .banner2, .banner3 {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
}
.bgg { background-color: rgba(7, 27, 51, 0.82); display: flex; align-items: center; }
.bg-bg { background-color: rgba(7, 27, 51, 0.82); display: flex; justify-content: center; align-items: center; }

/* =========================================================
   Forms
   ========================================================= */

.form-control, .input {
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  background-color: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus, .input:focus {
  box-shadow: 0 0 0 4px var(--blue-pale);
  border-color: var(--blue);
  background-color: #fff;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); }
.site-footer h4, .site-footer h5, .site-footer h6 { color: #fff; }
.site-footer a.a, .site-footer .ul a { color: rgba(255,255,255,0.72) !important; }
.site-footer a.a:hover, .site-footer .ul a:hover { color: #fff !important; padding-left: 4px; }
.site-footer .ul { list-style: none; margin-left: 0; padding-left: 0; }
.site-footer .ul li a { display: inline-block; transition: padding var(--dur) var(--ease), color var(--dur) var(--ease); }
.site-footer .bary { background: var(--gold); }
.site-footer .icons { color: var(--gold) !important; }
.site-footer .footer-contact-list p { color: rgba(255,255,255,0.85); }
.site-footer .map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.14); }
.site-footer hr { border-color: rgba(255,255,255,0.14); }
.footer-bottom { background: #051425; color: rgba(255,255,255,0.55); }
.footer-bottom p { color: rgba(255,255,255,0.55); }
.footer-social {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff !important;
  font-size: 13px;
  transition: all var(--dur) var(--ease);
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: #fff !important; transform: translateY(-3px); }

/* =========================================================
   Misc / legacy utility classes kept (used across pages)
   ========================================================= */

.icons { color: var(--blue) !important; margin-right: 10px !important; }
.sizy { font-size: 15px !important; }
.sizy1 { font-size: 15px !important; }
.border-topy { border-top: 2px solid var(--blue); }
.border-left { border-left: 1px solid var(--line) !important; }
.border-bottom { border-bottom: 1px solid var(--line) !important; }
.brd { border-color: var(--line) !important; }
.brd:hover { border-color: transparent !important; background-color: #fff; box-shadow: var(--shadow-sm); }
.hr { border: 1px solid var(--line) !important; }
.bary { width: 60px; height: 3px; padding: 0; background-color: var(--blue); border-radius: 3px; }
.border-radius { border-radius: var(--radius-sm); }
.border-r { border-radius: 100px !important; }
.border-rr { border-radius: var(--radius) !important; }
.text-bold { font-weight: 700; }
.f-size { font-size: 28px !important; }
.text-yellow { color: var(--gold); }
.circle {
  width: 50px; height: 50px; border-radius: 50%;
  background-color: var(--blue); color: #fff;
  display: flex; justify-content: center; align-items: center;
}

/* Image utility classes (object-fit helpers used across pages) */
.img, .img1, .img2, .img3, .img4, .img5, .img8, .img-z,
.img-secteur, .img-service, .img-height, .img-height-banner,
.img-prod, .img-prod1, .img-prod2, .img-prod3, .img-portfolio,
.service-image, .service-img {
  object-fit: cover;
  border-radius: var(--radius);
}
.img { width: 100%; height: 440px; }
.img1 { width: 100%; height: 340px; }
.img2 { width: 100%; height: 560px; }
.img3 { width: 100%; height: 250px; }
.img4 { width: 100%; }
.img5 { width: 100%; height: 340px; }
.img8 { width: 100%; height: 33vh; }
.img-z { width: 100%; height: 300px !important; }
.img-secteur { height: 220px; width: 100%; }
.img-service { width: 100%; height: 200px; }
.img-height { height: 220px; }
.img-height-banner { height: 340px; }
.img-prod { height: 170px; width: 100%; }
.img-prod1 { height: 250px; width: 100%; }
.img-prod2 { height: 100px; width: 70%; }
.img-prod3 { height: 120px; width: 100%; }
.img-portfolio { height: 300px; width: 100%; }
.service-image { width: 100%; height: 300px; object-position: bottom; border-radius: 0 0 var(--radius) var(--radius); }
.service-img { width: 34%; height: 100%; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.img-icon { width: 64px; height: 64px; }
.img-icon1 { margin: 0; width: 22px; height: 22px; }
.img-ss { width: 96px; margin-left: 30px; margin-right: 30px; transition: transform var(--dur) var(--ease); }
.img-ss:hover { transform: translateY(-4px); }
.img-footer { width: 90px; }
.img-pub-card { border-radius: var(--radius); }
.img-pub-card .img-pub { width: 100%; object-fit: cover; }

/* Backgrounds retained from source content but softened */
.banner4 { background-size: cover; background-position: 50%; }
.bg-banner1 { background-size: cover; background-position: 50%; width: 100%; height: 46vh; border-radius: var(--radius); }

/* =========================================================
   Carousels (news / expertise)
   ========================================================= */

.carousel.slide button.carousel-control-prev,
.carousel.slide button.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: #fff !important;
  opacity: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue) !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.carousel.slide button.carousel-control-prev { left: -22px; }
.carousel.slide button.carousel-control-next { right: -22px; }
.carousel.slide button.carousel-control-prev.ass,
.carousel.slide button.carousel-control-next.ass { position: static; transform: none; margin: 0 6px; }
.carousel.slide button.carousel-control-prev:hover,
.carousel.slide button.carousel-control-next:hover {
  background-color: var(--blue) !important;
  color: #fff !important;
}
.carousel-control-prev i, .carousel-control-next i { font-size: 15px; }

.mgr { margin-top: -110px; }
.height { min-height: 220px; }
.height-s { min-height: 420px; }
.height-f { height: 100vh !important; overflow-y: auto; }

/* =========================================================
   WhatsApp floating button
   ========================================================= */

.fixed-bottom { width: 100vw; position: relative; }
.fixed-bottom .box-whatsapp {
  position: fixed;
  display: none;
  width: 320px;
  max-width: 80vw;
  background-color: #fff;
  right: 30px;
  bottom: 105px;
  border-radius: var(--radius);
}
.fixed-bottom .box-whatsapp.visible { display: block; }
.fixed-bottom .rounded {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background-color: #25D366 !important;
  border-color: #25D366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2.4s infinite;
}
.fixed-bottom .rounded:hover { background-color: #1ebe59 !important; border-color: #1ebe59; animation: none; }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 10px 24px rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 24px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 24px rgba(37, 211, 102, 0.4); }
}

/* Fade/slide utility relied on by AOS-less fallbacks */
.fade-in-up { animation: fadeInUp 0.7s var(--ease) both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 991px) {
  .about-card { flex-basis: 260px; }
  .drop .drop-content { width: 92vw; left: 50%; transform: translate(-50%, 8px); }
  .drop:hover .drop-content { transform: translate(-50%, 0); }
}

@media screen and (max-width: 800px) {
  .title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .py { font-size: 16px; }
  .py1 { font-size: 14px; }
  .topy { margin-top: var(--sp-4); }
  .section { padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
  .section-lg { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
  .hero {
    min-height: auto;
    padding: 150px 0 70px;
    background-image:
      linear-gradient(180deg, rgba(7,27,51,0.55) 0%, rgba(7,27,51,0.88) 55%, var(--navy) 100%),
      url('/frontend/assets/images/hero/hero-background.jpg');
    background-position: center;
  }
  .hero-stats { gap: var(--sp-3); }
  .page-banner { padding: 130px 0 50px; }
  .service-img { width: 100%; height: 200px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .height-s { min-height: auto; }
  .fixed-bottom .box-whatsapp { right: 16px; }
  .carousel.slide button.carousel-control-prev { left: 6px; }
  .carousel.slide button.carousel-control-next { right: 6px; }
}
