/* Dark theme (About page) – scoped to body.theme-dark */
@import url("./theme-dark-mobile-nav.css");

body.theme-dark{
  --color-white:#0b0f10;
  --color-white2:#10181b;
  --color-black:#e7eef0;
  --color-black2:#b8c4c8;
  --color-black3:#d7e0e3;
  --color-black4:#cbd6da;
  --color-gBlack:#223035;

  --color-mint:#80cb2e;
  --color-deepTealGreen:#2a514c;
  --color-deepTealGreen2:#2aa78c;
  --color-deepTealGreen3:#254340;
  --color-deepTealGreen4:#355a55;

  color-scheme: dark;
  background:var(--color-white);
}

body.theme-dark{
  background:var(--color-white);
}

/* Top bar + header */
body.theme-dark .top-bar.v1{
  background:rgba(11,15,16,.92);
  border-bottom:1px solid rgba(255,255,255,.06);
}

body.theme-dark .top-bar.v1 .text-light,
body.theme-dark .top-bar.v1 a.text-light{
  color:var(--color-black) !important;
}

body.theme-dark .menu-bar.v1,
body.theme-dark .menu-bar.v2{
  background:rgba(11,15,16,.92);
  backdrop-filter:saturate(120%) blur(10px);
  -webkit-backdrop-filter:saturate(120%) blur(10px);
}

body.theme-dark .menu-bar.v1.sticky-header,
body.theme-dark .menu-bar.v2.sticky-header{
  box-shadow:0 8px 30px rgba(0,0,0,.45);
}

body.theme-dark .main-menu > ul > li > a{
  color:var(--color-black);
}

/* Main menu hover/active: keep readable in dark mode */
body.theme-dark .menu-bar.v1 .main-menu > ul > li > a::before,
body.theme-dark .menu-bar.v2 .main-menu > ul > li > a::before{
  background:#07bc4c !important;
}

body.theme-dark .menu-bar.v1 .main-menu > ul > li > a:hover,
body.theme-dark .menu-bar.v2 .main-menu > ul > li > a:hover,
body.theme-dark .menu-bar.v1 .main-menu > ul > li.has-dropdown:hover > a,
body.theme-dark .menu-bar.v2 .main-menu > ul > li.has-dropdown:hover > a,
body.theme-dark .menu-bar.v1 .main-menu > ul > li.active > a,
body.theme-dark .menu-bar.v2 .main-menu > ul > li.active > a{
  color:#ffffff !important;
}

body.theme-dark .main-menu ul ul{
  background:var(--color-white2);
  border:1px solid rgba(255,255,255,.06);
}

body.theme-dark .main-menu ul ul a{
  color:var(--color-black);
}

/* Header CTA button: same as home (green pill + white circle icon) */
body.theme-dark .menu-right > a.link-anime.v1.round-border-full{
  background:#07bc4c;
  border-color:#07bc4c;
  color:#ffffff !important;
  box-shadow:0 10px 28px rgba(7,188,76,.28);
}

body.theme-dark .menu-right > a.link-anime.v1.round-border-full i{
  background:#ffffff;
  color:#8a949c;
}

body.theme-dark .menu-right > a.link-anime.v1.round-border-full:hover{
  background:#07bc4c;
  border-color:#07bc4c;
}

/* Breadcrumb section over video */
body.theme-dark .breadcum.v1{
  background:transparent;
}

body.theme-dark .breadcum.v1::before{
  background:linear-gradient(90deg, rgba(11,15,16,.85) 13.1%, rgba(11,15,16,.35) 60%, rgba(11,15,16,0) 100%) !important;
}

body.theme-dark .breadcum.v1 .text-2,
body.theme-dark .breadcum.v1 ul,
body.theme-dark .breadcum.v1 a{
  color:#ffffff !important;
}

/* Encadrement-vert blocks: keep green border but dark surface */
body.theme-dark .encadrement-vert{
  background:linear-gradient(to bottom, rgba(7,188,76,.06), rgba(7,188,76,.10)) !important;
  border-color:rgba(7,188,76,.75) !important;
}

/* Cards/surfaces used on about page */
body.theme-dark .our-service.v2,
body.theme-dark .our-service.v3,
body.theme-dark .why-choose-us.v1,
body.theme-dark .about-us.v2{
  background:transparent;
}

body.theme-dark .our-service.v3 .service-card,
body.theme-dark .our-service.v2 .service-card,
body.theme-dark .why-choose-left,
body.theme-dark .about-us.v2 .encadrement-vert{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}

/* Mission/Vision/Engagement cards: ensure perfectly uniform background */
body.theme-dark .our-service.v3 .service-card{
  background-color:rgba(11,15,16,.55) !important;
  background-image:none !important;
  box-shadow:none;
}

body.theme-dark .our-service.v3 .service-card::before,
body.theme-dark .our-service.v3 .service-card::after{
  content:none !important;
  display:none !important;
}

body.theme-dark .our-service.v3 .service-card:hover,
body.theme-dark .our-service.v2 .service-card:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
  box-shadow:0 18px 44px rgba(0,0,0,.55);
  transform:translateY(-4px);
  transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

/* About page: Mission/Vision/Engagement cards hover must stay readable */
body.theme-dark .our-service.v3 .service-card:hover,
body.theme-dark .our-service.v3 .service-card:hover *{
  color:var(--color-black) !important;
}

body.theme-dark .our-service.v3 .service-card:hover p{
  color:var(--color-black2) !important;
}

/* Text defaults */
body.theme-dark .text-para-3,
body.theme-dark .text-para-4,
body.theme-dark .text-para-5{
  color:var(--color-black2);
}

body.theme-dark .text-6,
body.theme-dark .text-6 a,
body.theme-dark .text-2,
body.theme-dark .text-2 a{
  color:var(--color-black);
}

/* Section small titles (h6 labels) in white, section big titles in green */
body.theme-dark .section-title.v1 h6,
body.theme-dark .section-title-center h6{
  color:#ffffff !important;
}

body.theme-dark .section-title.v1 h2,
body.theme-dark .section-title-center h2{
  color:#07bc4c !important;
  text-shadow:
    0 0 6px rgba(7,188,76,.55),
    0 0 14px rgba(7,188,76,.35);
}

/* Link-anime v5 ("En savoir plus" text links) -> make consistent and visible */
body.theme-dark a.link-anime.v5{
  color:#07bc4c !important;
}

body.theme-dark a.link-anime.v5::before{
  background:#07bc4c !important;
}

body.theme-dark a.link-anime.v5 i{
  color:#07bc4c !important;
}

/* Call-to-action button inside "Notre Impact" */
body.theme-dark .why-choose-us.v1 a.link-anime.v1.round-border-full{
  background:#07bc4c;
  border-color:#07bc4c;
  color:#ffffff !important;
  box-shadow:0 10px 28px rgba(7,188,76,.20);
}

body.theme-dark .why-choose-us.v1 a.link-anime.v1.round-border-full i{
  background:#ffffff;
  color:#8a949c;
}

body.theme-dark .why-choose-us.v1 a.link-anime.v1.round-border-full:hover{
  background:#07bc4c;
  border-color:#07bc4c;
}

/* Trusted partners slider: keep white tiles */
body.theme-dark .our-trusted-partner .swiper-slide{
  background-color:#f6f6f9 !important;
}

/* Scroll-to-top progress button: contrast */
body.theme-dark .scroll-bottom-top.v1{
  background:rgba(255,255,255,.12);
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

body.theme-dark .scroll-bottom-top.v1 svg path:first-child{
  stroke:rgba(255,255,255,.28) !important;
}

body.theme-dark .scroll-bottom-top.v1 svg path:nth-child(2){
  fill:#ffffff !important;
}

/* Footer: all text white */
body.theme-dark footer{
  color:#ffffff !important;
}

body.theme-dark footer :where(p,span,small,strong,em,b,li,ul,ol,h1,h2,h3,h4,h5,h6,a){
  color:#ffffff !important;
}

