/* ---------- BASE ---------- */
body {
  background: #F7F8FA;
  color: #232C3D;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 16px #2B45681A;
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 82px;
  justify-content: space-between;
}

.logo-top-left {
  height: 54px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  color: #253553;
  font-weight: 600;
  font-size: 1.08em;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 7px;
  transition: background 0.16s, color 0.13s;
  position: relative;
  display: block;
}
nav ul li a.active,
nav ul li a:hover {
  background: #EDE6DE;
  color: #D67F2A;
}
nav ul li a.cta {
  background: #D67F2A;
  color: #fff !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  margin-left: 10px;
  box-shadow: 0 2px 12px #d67f2a18;
  transition: background 0.13s;
}
nav ul li a.cta:hover,
nav ul li a.cta.active {
  background: #253553;
  color: #fff !important;
}

/* ---------- HERO ---------- */
.hero-home {
  position: relative;
  min-height: 70vh;
  background: url('hero-camion-obk.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,#232c3da8 60%,#2B4568cc 100%);
  z-index: 1;
}
.hero-content-2 {
  z-index: 2;
  position: relative;
  text-align: center;
  color: #fff;
  animation: fadeIn 1.5s cubic-bezier(.39,.575,.56,1.000);
}
.hero-content-2 h1 {
  font-size: 2.6em;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 800;
}
.hero-content-2 p {
  font-size: 1.28em;
  margin-bottom: 22px;
}
.hero-content-2 img {
  max-width: 320px;
  height: auto;
  margin: 0 auto 18px auto;
  display: block;
}
.btn-main {
  display: inline-block;
  background: #D67F2A;
  color: #fff;
  padding: 14px 34px;
  border-radius: 28px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 4px 16px #D67F2A22;
}
.btn-main:hover { background: #232C3D; color: #fff; }

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: none;}
}

/* ---------- SECTIONS BLOCS ---------- */
.advantages, .sectors, .services-cards, .vision-block, .cta-contact {
  text-align: center;
  margin-bottom: 36px;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 26px #2B456813;
  padding: 32px 0 24px 0;
}

/* Titres des sections */
.advantages h2, .sectors h2, .services-cards h2, .vision-block h2, .cta-contact h2 {
  margin-bottom: 22px;
  margin-top: 8px;
  font-size: 1.48em;
  color: #2B4568;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Listes de cartes */
.advantages-list,
.sectors-list,
.cards-list {
  display: flex;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 18px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

/* Cartes */
.service-card, .sector-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px #2B45680A;
  padding: 32px 28px;
  width: 260px;
  transition: transform 0.17s, box-shadow 0.17s;
  cursor: pointer;
  text-align: center;
}
.service-card i, .sector-card i {
  font-size: 2.2em;
  color: #D67F2A;
  margin-bottom: 10px;
}
.service-card:hover, .sector-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 8px 34px #D67F2A22;
  border: 1.5px solid #D67F2A30;
}
.sector-card {
  padding: 25px 18px;
  width: 190px;
  margin: 0 auto;
}
.sector-card h3 { margin-bottom:9px; color:#2B4568;}
.sector-card p { font-size:0.98em; }

/* ---------- BOUTONS ---------- */
.btn-second {
  display: inline-block;
  background: #fff;
  color: #D67F2A;
  border: 2px solid #D67F2A;
  padding: 10px 28px;
  border-radius: 22px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 18px;
  transition: background 0.13s, color 0.13s;
}
.btn-second:hover { background: #D67F2A; color: #fff; }

.btn-ghost {
  display: inline-block;
  background: none;
  color: #D67F2A;
  border: 1.3px solid #D67F2A;
  padding: 9px 22px;
  border-radius: 22px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 18px;
  transition: background 0.13s, color 0.13s;
}
.btn-ghost:hover { background: #D67F2A; color: #fff; }

/* ---------- VISION ---------- */
.vision-block {
  padding: 50px 0 38px 0;
  background: linear-gradient(95deg,#fff 50%,#F7F8FA 100%);
  text-align: center;
}
.vision-block .vision-text {
  max-width: 650px;
  margin: 0 auto;
}
.vision-block p { font-size: 1.14em; }

/* ---------- CTA CONTACT ---------- */
.cta-contact {
  padding: 54px 0 38px 0;
  text-align: center;
  background: #fff;
  margin-top: 36px;
  border-radius: 15px;
  box-shadow: 0 2px 16px #2B45680C;
}
.cta-contact h2 { font-size: 1.45em; color: #2B4568; margin-bottom: 18px; }

/* ---------- FOOTER ---------- */
footer {
  background: #fff;
  margin-top: 38px;
  letter-spacing: 0.02em;
}
.footer-cols {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 0 16px 0;
  border-top: 1.5px solid #f0e8e0;
}
.footer-cols div { min-width: 140px; }
.footer-cols ul { list-style:none; margin:0;padding:0;}
.footer-cols ul li { color:#aaa;font-size:0.99em;margin-bottom:6px; }
.footer-cols ul li a { color:#aaa;text-decoration:none; }
.footer-cols ul li a:hover { color:#D67F2A; }
.footer-cols strong { color:#2B4568; font-size:1.05em; display:block; margin-bottom: 5px;}
.footer-cols img { margin-bottom:6px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1050px) {
  .header-container, .advantages-list, .sectors-list, .cards-list { max-width: 98vw; }
}
@media (max-width:900px) {
  .cards-list, .advantages-list, .sectors-list { flex-direction: column; align-items: center; gap: 22px;}
  .footer-cols { flex-direction: column; align-items: flex-start; gap:18px;}
}
@media (max-width:700px) {
  .header-container {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 10px 2vw;
    align-items: flex-start;
  }
  .logo-top-left { height: 42px; }
  nav ul { flex-direction: column; gap: 8px; width: 100%; }
  nav ul li a { width: 100%; text-align: left; }

  .advantages-list,
  .sectors-list,
  .cards-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 99vw;
  }
  .service-card, .sector-card {
    width: 98vw;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .vision-block, .services-cards, .cta-contact, .advantages, .sectors {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .footer-cols { flex-direction: column; gap:18px; align-items: flex-start;}
  .hero-home { min-height: 40vh; padding-top: 26px; padding-bottom: 26px; }
  .hero-content-2 h1 { font-size: 1.5em; }
  .hero-content-2 img { max-width: 95vw; height: auto; }
}
/* Effet bouton pro au survol */
.btn-main, .btn-second, .btn-ghost {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-main::after,
.btn-second::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(214,127,42,0.11); /* Orange léger */
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.36s cubic-bezier(.4,0,.2,1), height 0.36s cubic-bezier(.4,0,.2,1), opacity 0.22s;
  z-index: 0;
  opacity: 0.6;
}

.btn-main:hover::after,
.btn-second:hover::after,
.btn-ghost:hover::after {
  width: 220%;
  height: 500%;
  opacity: 1;
}

.btn-main:hover, .btn-second:hover, .btn-ghost:hover {
  z-index: 2;
}
/* --- MENU BURGER --- */
nav {
  position: relative;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.burger span {
  height: 4px;
  width: 100%;
  background: #232C3D;
  border-radius: 2px;
  margin: 4px 0;
  display: block;
  transition: 0.4s;
}

@media (max-width: 900px) {
  .burger {
    display: flex;
    z-index: 21;
    position: fixed;
    top: 24px;
    right: 25px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 2px 16px #0002;
    border-radius: 0;
    padding-top: 100px;
    z-index: 20;
    transition: transform 0.3s;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  nav ul li a {
    width: 80vw;
    max-width: 320px;
    margin: 22px 0;
    text-align: center;
    font-size: 1.18em;
    border-radius: 12px;
    box-sizing: border-box;
    display: block;
  }
  nav ul li a.cta {
    margin: 22px auto !important;
    width: 80vw !important;
    max-width: 320px !important;
    border-radius: 22px;
    display: block;
    font-size: 1.18em;
  }
}
/* Desktop: menu classique */
@media (min-width: 901px) {
  .burger {
    display: none;
  }
  nav ul {
    display: flex !important;
    position: static;
    flex-direction: row;
    box-shadow: none;
    background: transparent;
    width: auto;
    border-radius: 0;
  }
  nav ul li {
    margin: 0 18px;
    padding: 0;
    text-align: left;
  }
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.vision-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px #2B456820;
  padding: 26px 22px 20px 22px;
  min-width: 210px;
  max-width: 290px;
  text-align: center;
  transition: transform 0.17s, box-shadow 0.17s;
  border: 1.5px solid #ececec;
  margin: 8px 0;
}
.vision-card i {
  font-size: 2em;
  color: #D67F2A;
  margin-bottom: 12px;
}
.vision-card h4 {
  font-size: 1.1em;
  font-weight: 700;
  margin: 0 0 0.55em 0;
  color: #2B4568;
}
.vision-card p {
  color: #474747;
  font-size: 0.99em;
  line-height: 1.5;
  margin: 0;
}
.vision-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 8px 34px #D67F2A22;
  border: 1.5px solid #D67F2A30;
}
.vision-card:hover i {
  color: #2B4568;
}
