@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,300&display=swap");
body {
  font-family: "PT Sans", "Roboto", sans-serif;
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

.home_description {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #005882
}

.bleu_inimex {
  color: #30619a
}


.flag-container {
  display: flex;
  justify-content: flex-start;  /* Aligner à gauche */
  align-items: center;          /* Centrer verticalement */
}

.flag-container .flag-icon {
  margin-right: 10px;  /* Espace entre les drapeaux */
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, ol {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

input:focus, input:active {
  box-shadow: none !important;
}

img {
  max-width: 100%;
}

.p-t-0 {
  padding-top: 0 !important;
}

.p-b-0 {
  padding-bottom: 0 !important;
}

section {
  padding: 3.125rem 0;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 575.98px) {
  section {
    padding: 1.25rem 0;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  section {
    padding: 1.875rem 0;
  }
}

.container {
  max-width: 1170px;
}
@media screen and (max-width: 575px) {
  .container {
    padding: 0px 15px;
    max-width: 100%;
    width: 100%;
  }
}

.text-mute {
  color: #787a7d !important;
}

html {
  scroll-behavior: smooth;
}

.section-title {
  text-align: center;
}
.section-title span {
  background-color: rgba(66, 82, 249, 0.2);
  padding: 6px 20px;
  border-radius: 130px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4252f9;
}
.section-title h2 {
  font-weight: 600;
  margin: 15px 0px;
}
.section-title p {
  max-width: 600px;
  margin: auto;
}

header {
  padding-top: 2px;
}
header .head-ro {
  padding: 3px;
}
header .head-ro .logo img {
  max-width: 100px;
  padding-top: 2px;
}
header .head-ro .show {
  display: block !important;
}
@media only screen and (max-width: 767px) {
  header .head-ro .nav {
    display: none;
  }
}
header .head-ro .nav ul {
  width: 100%;
}
header .head-ro .nav ul li {
  float: left;
  padding: 20px;
}
@media only screen and (max-width: 860px) {
  header .head-ro .nav ul li {
    padding: 20px 12px;
  }
}
header .head-ro .nav ul li a {
  font-weight: 600;
  color: #444;
  font-size: 0.9rem;
}
@media only screen and (max-width: 767px) {
  header .head-ro .nav ul li {
    float: none;
  }
}
header .head-ro .nav ul .btnll {
  float: right;
}
header .head-ro .nav ul .btnll .btn {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  font-weight: 500;
}
@media only screen and (max-width: 767px) {
  header .head-ro .nav ul .btnll .btn {
    width: 100%;
  }
}

.scroll-to-fixed-fixed {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  background-color: #FFF;
}

.head-cover {
  margin-top: 0;
  background-color: #0d1e67;
}

.small-menu {
  float: right;
  padding: 10px;
  padding-top: 16px;
  font-size: 1.4rem;
}
.small-menu i {
  color: #0d1e67;
}

.banner-container {
  background-color: #f3f4f8;
  padding-bottom: 40px;
}
.banner-container .banner-row .banner-txt {
  margin: auto;
}
.banner-container .banner-row .banner-txt h1 {
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 3rem;
}
.banner-container .banner-row .banner-txt p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}
.banner-container .banner-row .btn-row {
  margin-top: 50px;
}
.banner-container .banner-row .btn-row .btn {
  width: 200px;
  margin-right: 20px;
}
@media only screen and (max-width: 767px) {
  .banner-container .banner-row .btn-row .btn {
    width: 100%;
    margin-bottom: 20px;
  }
}
.banner-container .banner-img {
  text-align: center;
}
.banner-container .banner-img img {
  max-width: 400px;
}
@media only screen and (max-width: 767px) {
  .banner-container .banner-img img {
    width: 100%;
  }
}

.key-featurecont {
  position: absolute;
  z-index: 999;
}
.key-featurecont .key-ro {
  margin-top: -52px;
  z-index: 999;
}
.key-featurecont .key-ro .keycol .key-cover {
  box-shadow: 4.871px 34.659px 30px 0px rgba(0, 0, 0, 0.06);
  background-color: #FFF;
  display: flex;
  padding: 15px;
  border-radius: 8px;
}
.key-featurecont .key-ro .keycol .key-cover .logo-cc img {
  max-width: 75px;
}
.key-featurecont .key-ro .keycol .key-cover .text-cc {
  flex-grow: 1;
  margin: auto 0px;
  padding-left: 15px;
}
.key-featurecont .key-ro .keycol .key-cover .text-cc h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.key-featurecont .key-ro .keycol .key-cover .text-cc p {
  font-size: 0.9rem;
}

.about-coo {
  background-color: #FFF;
  padding-top: 130px;
}
.about-coo .about-row {
  margin-top: 50px;
}
@media only screen and (max-width: 476px) {
  .about-coo .about-row {
    padding-top: 90px;
  }
}
.about-coo .about-row .about-img {
  text-align: center;
  margin: auto;
}
.about-coo .about-row .about-img img {
  max-width: 80%;
}
@media only screen and (max-width: 767px) {
  .about-coo .about-row .about-img img {
    width: 100%;
  }
}
@media only screen and (max-width: 476px) {
  .about-coo .about-row .about-img img {
    margin-bottom: 30px;
  }
}
.about-coo .about-row .about-text h1 {
  margin-bottom: 30px;
  font-size: 2rem;
  line-height: 40px;
}
.about-coo .about-row .about-text p {
  margin-bottom: 30px;
}
.about-coo .about-row .about-text .about-featur ul {
  width: 100%;
  margin-left: -10px;
}
.about-coo .about-row .about-text .about-featur ul li {
  padding: 10px;
  width: 50%;
  float: left;
  font-weight: 400;
}
.about-coo .about-row .about-text .about-featur ul li i {
  margin-right: 5px;
}

.page-nav {
  background-size: 100%;
  padding: 68px;
  text-align: center;
  padding-top: 60px;
  background-color: #f3f4f8;
}
.page-nav ul {
  float: none;
  margin: auto;
  width: auto;
  margin-top: 15px;
}
@media screen and (max-width: 992px) {
  .page-nav {
    background-size: auto;
  }
}
@media screen and (max-width: 767px) {
  .page-nav {
    padding-top: 100px;
  }
}
@media screen and (max-width: 356px) {
  .page-nav {
    padding-top: 200px;
  }
}
.page-nav h2 {
  font-size: 30px;
  width: 100%;
  font-weight: 600;
  color: #444;
}
@media screen and (max-width: 600px) {
  .page-nav h2 {
    font-size: 26px;
  }
}
.page-nav ul li {
  float: left;
  margin-right: 10px;
  margin-top: 10px;
  font-size: 16px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #444;
}
.page-nav ul li i {
  width: 30px;
  text-align: center;
  color: #444;
}
.page-nav ul li a {
  color: #444;
  font-size: 0.93rem;
  font-weight: 600;
}

/* ===================================== Our Team Style  ================================== */
.our-team {
  padding: 50px;
}

@media screen and (max-width: 940px) {
  .our-team {
    padding: 50px 10px;
  }
}
.our-team .team-row {
  margin-top: 20px;
}

.our-team .team-row .single-usr {
  box-shadow: 0 2px 6px 0 rgba(218, 218, 253, 0.65), 0 2px 6px 0 rgba(206, 206, 238, 0.54);
  margin-bottom: 20px;
}

.our-team .team-row .single-usr img {
  width: 100%;
}

.our-team .team-row .single-usr .det-o {
  padding: 20px;
  background-color: #0363b0;
}

.our-team .team-row .single-usr .det-o h4 {
  color: #FFF;
  margin-bottom: 0px;
}

.our-team .team-row .single-usr .det-o i {
  color: #FFF;
}

.cont-row {
  margin-bottom: 20px;
}

.testimonial-container {
  background-color: #f3f4f8;
  padding: 50px;
}

@media screen and (max-width: 940px) {
  .testimonial-container {
    padding: 50px 10px;
  }
}
.testimonial-container .float-auto {
  float: none;
  margin: auto;
}

.testimonial {
  padding: 70px 30px 50px;
  margin: 50px 30px 30px;
  border: 1px solid #007bfc;
  background-color: #FFF;
  box-shadow: 4.871px 10px 8px 0px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial .pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid #007bfc;
  overflow: hidden;
  margin: 0 auto;
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
}

.testimonial .pic img {
  width: 100%;
  height: auto;
}

.testimonial .description {
  font-size: 15px;
  color: #5e595b;
  line-height: 27px;
  text-align: center;
  margin: 0;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}

.testimonial .description:before {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 25px;
  color: #007bfc;
  position: absolute;
  top: 0;
  left: -2px;
}

.testimonial .title {
  display: inline-table;
  padding: 10px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #007bfc;
  font-size: 20px;
  font-weight: 700;
  color: #007bfc;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
}

.testimonial .post {
  font-size: 15px;
  color: #007bfc;
}

.owl-theme .owl-controls {
  width: 100%;
  height: 50px;
  opacity: 1;
  position: absolute;
  top: 38%;
}

.owl-theme .owl-controls .owl-buttons div {
  width: 50px;
  height: 50px;
  line-height: 40px;
  border-radius: 0;
  background: transparent;
}

.owl-prev {
  position: absolute;
  left: -5%;
}

.owl-next {
  position: absolute;
  right: -5%;
}

.owl-prev:after,
.owl-next:after {
  content: "";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 30px;
  color: #007bfc;
  opacity: 1;
}

.owl-next:after {
  content: "";
}

@media only screen and (max-width: 479px) {
  .testimonial {
    padding: 70px 10px 30px;
  }

  .testimonial .description:before {
    top: -20px;
  }

  .testimonial .title {
    font-size: 12px;
  }

  .testimonial .post {
    font-size: 11px;
  }
}
.no-margin {
  margin: 0px;
}

/* =================== Blog Style Starts Here =================== */
.blog {
  padding: 50px;
  background-color: #ffffff;
}

@media screen and (max-width: 990px) {
  .blog {
    padding: 0px 10px;
  }
}
@media screen and (max-width: 1199px) {
  .blog .container {
    max-width: 100%;
  }
}
.blog .blog-singe {
  box-shadow: 0 2px 6px 0 rgba(218, 218, 253, 0.65), 0 2px 6px 0 rgba(206, 206, 238, 0.54);
  border-radius: 2px;
  background-color: #FFF;
  margin-bottom: 30px;
}

.blog .blog-singe .blog-img-tab {
  padding: 0px;
}

.blog .blog-singe .blog-content-tab {
  padding: 15px;
}

.blog .blog-singe .blog-content-tab h2 {
  font-size: 19px;
}

.blog .blog-singe .blog-content-tab i {
  margin-right: 10px;
  font-size: 12px;
}

.blog .blog-singe .blog-content-tab i small {
  margin-left: 5px;
  font-size: 100%;
}

.blog .blog-singe .blog-content-tab .blog-desic {
  margin-top: 8px;
  font-size: 0.9rem;
  text-indent: 20px;
  margin-bottom: 10px;
}

.blog .blog-singe .blog-content-tab a {
  color: #007bfc;
  font-size: 12px;
  font-weight: 600;
}

.blog .blog-singe .blog-content-tab a i {
  margin-left: 15px;
  font-size: 13px;
}

.blog-row {
  margin-top: 20px;
}

.features {
  padding: 50px;
  background-color: #f3f4f8;
}
@media screen and (max-width: 940px) {
  .features {
    padding: 30px 10px;
  }
}
.features .feature-row {
  margin-top: 30px;
}
.features .feature-row .feature-col {
  text-align: left;
  background-color: #FFF;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 3px 0 rgba(218, 218, 253, 0.35), 0 0px 3px 0 rgba(206, 206, 238, 0.35);
}
.features .feature-row .feature-col img {
  margin-bottom: 15px;
}
.features .feature-row .feature-col i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #28a745;
}
.features .feature-row .feature-col:hover {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.features .feature-row .feature-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.features .feature-row .feature-col p {
  font-size: 0.9rem;
}

.more-features {
  padding: 50px;
  background-color: #fff;
}
@media screen and (max-width: 940px) {
  .more-features {
    padding: 30px 10px;
  }
}
.more-features .more-featur-ro {
  margin-top: 20px;
}
.more-features .more-featur-ro .more-feat {
  display: flex;
  margin-bottom: 30px;
}
.more-features .more-featur-ro .more-feat .icon {
  padding: 15px;
}
.more-features .more-featur-ro .more-feat .icon img {
  width: 110px;
}
.more-features .more-featur-ro .more-feat .detail {
  padding: 15px;
}

/* ===================================== Footer Cover Style  ================================== */
.footer-ablove {
  padding: 3px;
  /* background-color: #007bfc; */
  background-color: #00acc6;
  color: #FFF;
  font-size: 1.2rem;
}

.footer-ablove .btn {
  float: right;
  background-color: #FFF;
  font-family: "mouse-500", Arial, Helvetica, sans-serif;
}

footer {
  padding: 70px 40px;
  background-color: #0d1e67;
  color: #FFF;
}

@media screen and (max-width: 940px) {
  footer {
    padding: 50px 10px;
  }
}
footer h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

footer .about p {
  font-size: 0.9em;
  margin-bottom: 20px;
}

footer .about .foot-address {
  display: flex;
}

footer .about .foot-address .icon {
  padding: 20px 10px;
}

footer .about .foot-address .addet {
  font-size: 0.9rem;
  margin: auto 0px;
}

footer .fotblog .blohjb {
  margin-bottom: 10px;
}

footer .fotblog .blohjb p {
  font-size: 0.9rem;
}

footer .fotblog .blohjb span {
  font-size: 0.9rem;
}

footer .glink ul li {
  padding: 10px;
}

footer .glink ul li i {
  margin-right: 10px;
}

footer .glink ul li a {
  color: #FFF;
}

footer .tags ul li {
  float: left;
  padding: 8px;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid #CCC;
}

.copy {
  /*
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 0;
  padding-left: 15px;
  background-color: #09154a; */
  background-color: #376498;
  color: #FFF;
}

.copy a {
  color: #FFF;
}

.copy span {
  float: right;
}

.copy span i {
  margin-right: 20px;
}

.cop-ck {
  padding: 20px;
  background-color: #ffffffbd;
}
.cop-ck h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Top Bar Style - Définition unique */
.top-bar {
    background-color: #f8f9fa;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

.top-bar .container {
    height: 100%;
}

.top-bar .row {
    height: 100%;
}

.company-name {
    color: #0d1e67;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.company-name i {
    color: #00acc6;
}

.company-name:hover {
    color: #00acc6;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: #00acc6;
    font-size: 13px;
}

.contact-item a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00acc6;
}

@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 10px 0;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .company-name {
        text-align: center;
        display: block;
        margin-bottom: 10px;
    }
}

.video-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

.video-text-overlay h2 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.video-text-overlay p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-text-overlay {
        width: 85%;
        padding: 15px;
    }

    .video-text-overlay h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .video-text-overlay p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .video-text-overlay {
        width: 80%;
        padding: 12px;
    }

    .video-text-overlay h2 {
        font-size: 18px;
    }

    .video-text-overlay p {
        font-size: 13px;
    }
}

.footer-mobile {
    background: #30619a;
    color: #fff;
    padding: 24px 12px 12px 12px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    text-align: center;
    font-size: 15px;
}
.footer-mobile .footer-langs {
    margin: 12px 0 8px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}
.footer-mobile .footer-langs a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.footer-mobile .footer-langs a:hover {
    background: rgba(255,255,255,0.18);
}
.footer-mobile .footer-copyright {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
}
.footer-mobile .footer-contact-btn {
    margin: 18px 0 10px 0;
    width: 90%;
    max-width: 320px;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 8px;
    background: #fff;
    color: #30619a;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/*# sourceMappingURL=style.css.map */
.inimex_color {
    color: #30619a;
}
/* ====== Thème sombre (style Scaleway) ====== */
:root {
  --bg-color: #ffffff;
  --text-color: #1b1f24;
  --muted-text: #7a7f87;
  --card-bg: #ffffff;
  --soft-bg: #f3f4f8;
  --primary: #30619a;
  --navbar-bg: #0d1e67;
  --footer-bg: #0d1e67;
  --border-color: #e1e5e9;
  --hover-bg: #f6f8fa;
  --shadow: rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] {
  --bg-color: #0d1117;
  --text-color: #f0f6fc;
  --muted-text: #8b949e;
  --card-bg: #161b22;
  --soft-bg: #0d1117;
  --primary: #58a6ff;
  --navbar-bg: #161b22;
  --footer-bg: #161b22;
  --border-color: #30363d;
  --hover-bg: #21262d;
  --shadow: rgba(0, 0, 0, 0.3);
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Couleurs générales avec transitions */
body { 
  background-color: var(--bg-color); 
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}
p, li, a, span { 
  color: inherit;
  transition: color 0.3s ease;
}
.text-mute { color: var(--muted-text) !important; }

/* Sections et conteneurs avec transitions */
section { 
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.banner-container { 
  background-color: var(--soft-bg);
  transition: background-color 0.3s ease;
}
.features { 
  background-color: var(--soft-bg);
  transition: background-color 0.3s ease;
}
.testimonial-container { 
  background-color: var(--soft-bg);
  transition: background-color 0.3s ease;
}
.blog { 
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}
.blog .blog-singe,
.features .feature-row .feature-col,
.testimonial { 
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px var(--shadow);
}

/* Harmonisation dark: sections ayant des fonds forcés */
body[data-theme="dark"] .banner-container { background-color: var(--soft-bg) !important; }
body[data-theme="dark"] .features { background-color: var(--soft-bg) !important; }
body[data-theme="dark"] .testimonial-container { background-color: var(--soft-bg) !important; }
body[data-theme="dark"] .blog { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .blog .blog-singe { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .our-team { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .more-features { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .key-featurecont .key-cover { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .about-coo { background-color: var(--card-bg) !important; }
body[data-theme="dark"] .page-nav { background-color: var(--soft-bg) !important; }
body[data-theme="dark"] .page-nav h2,
body[data-theme="dark"] .page-nav ul li,
body[data-theme="dark"] .page-nav ul li a { color: var(--text-color) !important; }

/* Cartes/blocs avec fond blanc explicite */
body[data-theme="dark"] .features .feature-row .feature-col,
body[data-theme="dark"] .testimonial,
body[data-theme="dark"] .blog .blog-singe { color: var(--text-color); }

/* Footer inline buttons (mobile) */
body[data-theme="dark"] .footer-mobile { background: #0a1630 !important; color: #fff !important; }
body[data-theme="dark"] .footer-mobile .footer-contact-btn { background: var(--card-bg) !important; color: var(--primary) !important; }
body[data-theme="dark"] .footer-mobile a { color: #fff !important; }

/* Améliorations pour les formulaires et boutons */
.form-control, .form-select {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
  background-color: var(--card-bg);
  border-color: var(--primary);
  color: var(--text-color);
  box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.25);
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
}

/* Effet cercle au survol (anneau) */
.theme-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.theme-toggle:hover::after { opacity: .5; transform: scale(1); }

/* Header / Navbar avec transitions */
.head-cover { 
  background-color: var(--navbar-bg);
  transition: background-color 0.3s ease;
}
.nav-link { 
  color: #fff !important;
  transition: color 0.3s ease;
}
body[data-theme="dark"] .nav-link {
  color: var(--text-color) !important;
}
@media (min-width: 992px) {
  .head-cover.menu-scrolled { background: var(--card-bg) !important; box-shadow: 0 4px 0 var(--primary); }
  .head-cover.menu-scrolled .nav-link,
  .head-cover.menu-scrolled .navbar-nav .nav-link,
  .head-cover.menu-scrolled .lang-text { color: var(--text-color) !important; }
  .head-cover.menu-scrolled .nav-link.active-page { border-bottom: 2px solid var(--primary); color: var(--text-color) !important; }
}
@media (max-width: 991px) {
  .navbar-collapse { background: rgba(255,255,255,0.98) !important; }
  body[data-theme="dark"] .navbar-collapse { background: rgba(21,26,33,0.98) !important; }
}

/* Top bar */
.top-bar { background-color: var(--card-bg); border-bottom: 1px solid rgba(0,0,0,0.06); }
body[data-theme="dark"] .top-bar { border-bottom-color: rgba(255,255,255,0.08); }
.contact-item a { color: inherit; }
.contact-item i { color: var(--primary); }

/* Footer avec transitions */
footer { 
  background-color: var(--footer-bg); 
  color: #fff;
  transition: background-color 0.3s ease;
  border-top: 1px solid var(--border-color);
}
.footer-ablove { 
  color: #fff;
  transition: color 0.3s ease;
}
.copy { 
  background-color: #376498;
  transition: background-color 0.3s ease;
}
body[data-theme="dark"] .copy { 
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

/* Bouton toggle thème (style Scaleway) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 6px;
  color: var(--text-color);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  position: relative;
  box-shadow: 0 1px 3px var(--shadow);
}
.theme-toggle:hover { 
  background: var(--hover-bg);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
}
.theme-toggle:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px var(--shadow);
}
.head-cover.menu-scrolled .theme-toggle { 
  color: var(--text-color);
  background: var(--card-bg);
  border-color: var(--border-color);
}
.head-cover.menu-scrolled .theme-toggle:hover { 
  background: var(--hover-bg);
  border-color: var(--primary);
}

/* Icônes FontAwesome déjà incluses */
.theme-toggle .fa { font-size: 18px; }
/* Icônes SVG soleil/lune */
.theme-toggle .icon-sun svg,
.theme-toggle .icon-moon svg {
  display: block;
  stroke: currentColor;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: inline-flex; }

/* En thème clair: afficher lune (pour indiquer qu'on peut passer en sombre) */
body:not([data-theme="dark"]) .theme-toggle .icon-moon { display: inline-flex; }
body:not([data-theme="dark"]) .theme-toggle .icon-sun { display: none; }

/* En thème sombre: afficher soleil (pour repasser en clair) */
body[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
body[data-theme="dark"] .theme-toggle .icon-sun { display: inline-flex; }