/* ========================================
   Styles spécifiques à index.html
   ======================================== */
.hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
}

.hero-content {
  color: #FFF;
  text-align: center;
}

.hero-content h1 {
  align-self: stretch;
  font-family: "Aptos";
  font-size: 72px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.hero-content h6 {
  width: 936px;
  font-family: "Aptos";
  font-size: 23px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.btn-base, .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Aptos";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 21.6px;
  letter-spacing: -0.32px;
  border-radius: 999px;
  width: 224px;
  height: 48px;
  padding: 0;
  opacity: 1;
}

.btn-primary {
  border: 1px solid #00A3DA;
  background: linear-gradient(180deg, #00C2F0 0%, #0093B6 100%);
  color: #FFFFFF;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 14px rgba(0,163,218,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid #00A3DA;
  background: #FFFFFF;
  color: #00A3DA;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96);
  filter: brightness(0.95);
}

/* Section À propos */
.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-content {
  flex: 1;
  align-self: stretch;
  margin-top: 50px;
}

.about-title {
  color: #232323;
  font-family: "Aptos";
  font-size: 46px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.about-text {
  color: #232323;
  text-align: left;
  font-family: "Aptos";
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Aptos";
  font-size: 16px;
  font-weight: 700;
  line-height: 21.6px;
  text-decoration: none;
  color: #FFFFFF;
  background: #0093B6;
  border-radius: 999px;
  width: 224px;
  height: 48px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,147,182,0.4);
}

.btn-about:hover {
  transform: translateY(-1px);
}

.about-image {
  flex: 1;
  --about-img-width: 300px;
  --about-img-height: 300px;
  width: var(--about-img-width);
  height: var(--about-img-height);
  display: flex;
  justify-content: flex-end;
  margin-left: 75px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-top: 20px;
}

/* Section Services */
.section-main-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 60px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-top: 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #F3FBFF;
  border-radius: 12px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 347px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.services-scroller {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0 40px;
  box-sizing: border-box;
}

.services-scroller .services-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 30px;
  will-change: transform;
  min-width: max-content;
}

.services-scroller .service-card {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 340px;
}

.services-scroller .service-card .icon-circle {
  min-height: 78px;
  display: block;
  text-decoration: none;
  color: inherit;
}

.services-scroller .services-grid::before,
.services-scroller .services-grid::after {
  content: '';
  display: block;
  flex: 0 0 30px;
}

.service-card h2,
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  margin: 18px 0 16px;
  min-height: 60px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.service-card ul li {
  font-size: 15px;
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.5;
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.service-card ul li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: #0084A0;
  position: absolute;
  left: 0;
  top: 8px;
  border-radius: 50%;
}

.btn-view {
  margin-top: auto;
  background-color: #0084A0;
  color: #FFFFFF;
  text-decoration: none;
  width: 100%;
  padding: 12px 0;
 border-radius: 46px;
  font-weight: 600;
  font-size: 15px;
  height: auto;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  background: #0093B6;
  background-blend-mode: color;
  box-shadow: 0 2px 15px 0 rgba(0,147,182,0.20), 0 6px 27px 0 rgba(0,147,182,0.15), 0 1px 0 0 rgba(255,255,255,0.20) inset, 0 1px 4px 0 rgba(255,255,255,0.25) inset;
}

.btn-view:hover {
  transform: translateY(-1px);
}

/* Section Clients */
.clients-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 40px;
  box-sizing: border-box;
}

.image-wrapper {
  display: flex;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  gap: 30px;
  padding-right: 30px;
}

.image-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.nos-clients-img {
  width: 280px;
  flex: 0 0 280px;
  height: 140px;
  object-fit: contain;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.clients-section h2 {
  text-align: center !important;
  margin-left: 0 !important;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .image-wrapper {
    display: flex;
  }

  .marquee-group {
    gap: 15px;
    padding-right: 15px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content h6 {
    font-size: 18px;
  }

  .about-content, .about-image {
    width: 48%;
  }
}

@media (max-width: 992px) {
  .marquee-group {
    gap: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 520px;
    padding: 80px 20px 60px;
    justify-content: flex-end;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-content h6 {
    font-size: 16px;
    width: 100%;
    margin-top: 14px;
  }

  .hero-btns {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .btn-base {
    width: 100%;
    max-width: 320px;
  }

  .about-wrapper, .services-grid {
    display: block;
  }

  .about-content, .about-image, .service-card {
    width: 100%;
    margin: 0 auto;
  }

  .about-image {
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
  }

  .about-text, .section-main-title, .clients-section h2 {
    text-align: center;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .clients-section {
    padding: 40px 20px;
  }

  .image-wrapper {
    display: flex;
  }

  .marquee-group {
    gap: 12px;
    padding-right: 12px;
  }

  .nos-clients-img {
    width: 180px;
    flex-basis: 180px;
  }

  .service-card {
    padding: 16px;
  }
}
.footer-nav h4,
.footer-contact h4 {
    font-weight: 40;
}

html, body, * {
    font-family: "Aptos", Arial, sans-serif !important;
}

@media (max-width: 1024px) {
  .hero-content h6 {
    width: 100%;
    max-width: 936px;
    padding: 0 20px;
  }

  .about-wrapper {
    gap: 36px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-image {
    margin-left: 0;
  }

  .services-grid {
    justify-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 323px;
  }
}

@media (max-width: 768px) {
  .about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text"
      "button";
  }

  .about-content {
    display: contents;
  }

  .about-title { grid-area: title; }
  .about-image { grid-area: image; }
  .about-text { grid-area: text; }
  .btn-about { grid-area: button; }
}
