:root {
  --gold: #bf9b30;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Polices */
body {
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 1 auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* -------- HEADER -------- */
header {
  background: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  padding-top: 28px;
  /* pas de centrage */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* aligné à gauche */
  background: #fff9f1;
  border-style: solid;
  border-width: 4px 8px 8px 4px; /* haut, droite (plus épais), bas (encore plus épais), gauche */
  border-color: var(--gold);
  border-radius: 2.5rem;
  padding: 12px 32px 12px 32px; /* padding réduit à droite */
  margin-top: 0;
  box-shadow: 1px 3px 0px 0px var(--gold); /* Ombre or 3D côté droit/bas */
  max-width: 900px; /* Largeur du header/nav plus étroite */
}

.logo {
  height: 52px;
  margin-right: 28px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px 0;
  background: #151515;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.7rem; /* Moins large */
  margin: 0;
  padding: 0;
}

nav a {
  color: #151515;
  text-decoration: none;
  font-size: 1.22rem; /* Plus gros */
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 2px 4px;
}

nav a:hover {
  color: var(--gold);
}

.btn-quote {
  background: var(--gold);
  color: #151515;
  font-weight: 700;
  font-size: 1.18rem; /* Plus gros */
  border: 3px solid #151515;
  border-radius: 2rem;
  padding: 12px 26px;
  margin-left: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 2px 4px 0px 0px #151515;
  position: relative;
  top: 1px;
}

.btn-quote:hover {
  background: #151515;
  color: var(--gold);
  border-color: #151515;
}

.nav-btn-quote {
  display: none;
}

.btn-quote-desktop {
  display: inline-block;
}

.nav-btn-quote-mobile {
  display: none;
}

/* Dropdown de base */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%; left: 0;
  min-width: 170px;
  background: #fff9f1;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.09);
  border-radius: 1.1em;
  z-index: 200;
  padding: 10px 0;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--gold);
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  color: #151515;
  padding: 9px 20px;
  font-size: 1.1rem;
  display: block;
  border-radius: .8em;
  text-decoration: none;
  font-weight: 600;
  font-family: "Fjalla One", Arial, sans-serif;
  transition: background 0.15s;
}
.dropdown-menu a:hover {
  background: #f6e5c7;
  color: var(--gold);
}

/* Hover pour desktop */
@media (min-width: 701px) {
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

/* Mobile : le dropdown prend toute la largeur du menu */
@media (max-width: 700px) {
  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    min-width: unset;
    padding: 0;
  }
  .dropdown-menu a {
    font-size: 1rem;
    padding: 10px 12px 10px 32px;
    color: #151515;
    background: transparent;
  }
}

/* Flèche dans "Services" */
.dropdown-arrow {
  display: inline-block;
  margin-left: 7px;
  transition: transform 0.18s;
  line-height: 0;
  vertical-align: middle;
}

/* Optionnel: fait pivoter la flèche quand ouvert */
.nav-dropdown.open > a .dropdown-arrow,
.nav-dropdown:focus-within > a .dropdown-arrow,
.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

/* Flèche plus petite sur mobile */
@media (max-width: 700px) {
  .dropdown-arrow svg {
    width: 17px;
    height: 17px;
    stroke-width: 2.1;
  }
}


@media (max-width: 700px) {
  /* Header padding sur les côtés */
  header {
    margin-top: 10px;
    padding-top: 8px;
    padding-left: 12px;
    padding-right: 12px;
    background: transparent;
    box-sizing: border-box;
  }
  /* Header bar */
  .header-content {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 7px 10px;
    max-height: 70px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 2.4rem;
    box-sizing: border-box;
    position: relative;
    background: #fff9f1;
    border-style: solid;
    border-width: 4px 8px 8px 4px;
    border-color: var(--gold);
    box-shadow: 1px 3px 0px 0px var(--gold);
  }
  /* Logo */
  .header-content .logo {
    width: 80px;
    height: 52px;
    margin: 0 10px 0 20px;
    max-width: 60vw;
    object-fit: contain;
    display: block;
  }
  /* Hamburger */
  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 10px;
    z-index: 30;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .menu-toggle .bar {
    width: 24px;
    height: 3px;
    margin: 5px 0;
    background: #151515;
    display: block;
    border-radius: 2px;
  }

  /* MENU MOBILE, RECTANGLE FLOTTANT */
  #mainNav {
    position: fixed;
    left: 50%;
    top: 68px; /* Ajuste selon la hauteur de ton header */
    transform: translateX(-50%);
    width: 92vw;
    max-width: 480px;
    background: #fff9f1;
    border-radius: 2rem;
    box-shadow: 0 8px 28px rgba(36,50,58,0.09);
    z-index: 100;
    display: none;
    padding: 34px 0 20px 0;
    border: 4px solid var(--gold);
    border-top: none;
    animation: fadeIn 0.23s ease;
  }
  #mainNav.open {
    display: block;
    margin-top: 30px;
  }
  #mainNav ul {
    flex-direction: column;
    gap: 24px;
    padding: 0 28px;
    margin: 0;
    list-style: none;
  }
  #mainNav li {
    width: 100%;
    text-align: left;
  }
  nav a {
    font-size: 1.48rem;
    font-weight: 700;
    padding: 0;
    color: #151515;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    display: block;
    border-radius: 0.6rem;
    background: transparent;
  }
  nav a:hover {
    color: var(--gold);
    background: #f6e5c7;
  }

  /* Cache les boutons desktop */
  .btn-quote-desktop,
  .header-content > .btn-quote {
    display: none !important;
  }

  /* Bouton "Obtenir une soumission" dans le menu mobile */
  .nav-btn-quote-mobile {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  .nav-btn-quote-mobile .btn-quote {
    width: 88%;
    margin: 16px auto 0 auto;
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
    padding: 14px 0;
    border-radius: 2rem;
    background: var(--gold);
    color: #151515;
    border: 3px solid #151515;
    box-shadow: 2px 4px 0px 0px #151515;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
    position: relative;
    top: 1px;
    text-align: center;
  }
  .nav-btn-quote-mobile .btn-quote:hover {
    background: #151515;
    color: var(--gold);
    border-color: #151515;
  }

  /* Animation fade-in */
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateX(-50%) scale(0.97);}
    100% { opacity: 1; transform: translateX(-50%) scale(1);}
  }
}

/* Responsive */
@media (max-width: 950px) {
  .logo {
    margin: 0 0 8px 0;
  }
}

/* -------- HERO -------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: url("/images/hero.jpg") center center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(36, 36, 36, 0.18) 40%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-bottom: 56px;
  padding-top: 90px;
  text-align: left;
  max-width: 700px;
  margin-left: 15%; /* Décalé du bord gauche comme le header */
}

.hero-sous-titre {
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
  font-family: "Inter", Arial, sans-serif;
}

.hero h1 {
  margin: 28px 0 34px 0;
  font-size: 5rem;
  letter-spacing: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.33);
  font-family: "Fjalla One", Arial, sans-serif;
}

.btn-hero {
  display: inline-block;
  background: var(--gold);
  color: #151515;
  border-radius: 1.8rem;
  padding: 16px 38px;
  font-size: 1.21rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 #151515;
  border: 2.5px solid #151515;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
  background: #151515;
  color: var(--gold);
  box-shadow: 0 5px 8px #c9a46d33;
}

footer {
  background: #151515;
  color: #fff;
  text-align: center;
  padding: 1.1rem 0;
  margin-top: 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-content {
    padding-bottom: 34px;
    padding-top: 0px;
    margin-left: 5%;
  }
  .hero {
    min-height: 500px;
  }
  .btn-quote {
    font-size: 1rem;
    padding: 8px 14px;
    margin-left: 0;
  }
}

.services {
  background: #000;
  padding: 44px 0 66px 0;
}

.services-title {
  color: #fff;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 2.4rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 38px;
  letter-spacing: 1px;
}

.services-cards {
  display: flex;
  flex-direction: column;
  gap: 42px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  display: block;
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 4px 22px 0 rgba(0, 0, 0, 0.17);
  height: 260px;
  min-width: 340px;
  max-width: 100%;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.18s, transform 0.15s;
}

.service-card:hover {
  box-shadow: 0 8px 32px 0 rgba(201, 164, 109, 0.11),
    0 4px 22px 0 rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.19) 90%, transparent 100%);
  opacity: 0;
  transition: opacity 0.16s;
  pointer-events: none;
  border-radius: 38px;
}
.service-card:hover::after {
  opacity: 1;
}

.service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
}

.service-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold, #c9a46d);
  color: #151515;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  padding: 18px 64px;
  border-radius: 2.5rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.8px;
  border: 2.5px solid #222;
  text-align: center;
  white-space: nowrap;
  opacity: 0.97;
}

@media (max-width: 900px) {
    .services {
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 20%;
    }
  .services-cards {
    max-width: 100%;
    padding: 0 8px;
  }
  .service-card {
    min-width: unset;
    height: 170px;
    border-radius: 26px;
  }
  .service-card img {
    border-radius: 26px;
  }
  .service-label {
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 2rem;
  }
  .services-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    margin-top: 30px;
  }
}

/* Section À propos */
.about {
  background: linear-gradient(
    to bottom,
    #000 0%,
    /* 100% noir pour matcher .services */ #000 7%,
    /* noir reste plus longtemps */ #181818 16%,
    #323232 26%,
    #dadada 80%,
    #fff 100%
  );
  padding: 70px 0 90px 0;
}

.about-title {
  font-family: "Fjalla One", Arial, sans-serif;
  color: #fff;
  font-size: 3rem;
  text-align: center;
  margin: 0 0 32px 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px #00000044;
}

/* Effet 3D avec bordure plus épaisse en bas/droite */
.about-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 900px; /* plus petit */
  max-height: 350px;
  margin: 0 auto;
  border-style: solid;
  border-width: 4px 9px 11px 4px; /* haut, droite, bas, gauche */
  border-color: #111;
  border-radius: 50px;
  overflow: hidden;
  background: none;
}

.about-img {
  flex: 1.1 1 0%;
  min-width: 0;
  background: #fff;
  display: flex;
  align-items: stretch;
}

.about-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  border-right: 4.5px solid #111;
}

.about-text {
  flex: 1.7 1 0%;
  background: var(--gold);
  padding: 28px 24px 28px 28px;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #111;
}

.about-text h3 {
  margin-top: 0;
  font-size: 2.2rem;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 11px;
}

.about-text p {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.33;
}

@media (max-width: 900px) {
  .about {
    padding: 34px 5% 38px 5%;
    margin-top: -1px;
  }
  .about-title {
    font-size: 2rem;
    margin-bottom: 30px;
    margin-top: 30px;
    letter-spacing: 1px;
  }
  .about-content {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-radius: 18px;
    max-width: 98vw;
    border-width: 2.5px 5px 7px 2.5px;
    box-shadow: 3px 6px 0px 0px #111, 0 4px 14px 0 rgba(0,0,0,0.13);
    padding: 0;
    max-height: unset;
    min-width: 0;
  }
  .about-img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
  .about-img img {
    min-height: 200px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    border-right: none;
    display: block;
  }
  .about-text {
    background: var(--gold);
    color: #111;
    padding: 18px 12px 20px 12px;
    border-radius: 0 0 14px 14px;
    font-size: 1.02rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about-text h3 {
    font-size: 1.28rem;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .about-text p {
    font-size: 1.07rem;
    font-weight: 500;
    line-height: 1.42;
  }
}

.bande-logos {
  background: #eef0f5; /* OU adapte à la couleur de ton design */
  padding: 22px 0;
  margin: 44px 0 44px 0;
  box-shadow: 0 2px 14px 0 #1111;
  max-width: 100vw;
  overflow: hidden;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 90px;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  gap: 58px;
  align-items: center;
  /* La largeur du bloc va s'adapter au contenu */
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.marquee-content img {
  height: 54px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0 12px;
  transition: filter 0.18s;
}

.logo-rbq {
  height: 100px !important;  /* ou la taille désirée, ex : 80px, 90px... */
  width: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.marquee-content img:hover {
  filter: grayscale(0%) drop-shadow(0 1px 2px #c9a46d88) brightness(1.1);
}


@media (max-width: 700px) {
  .bande-logos {
    padding: 10px 0;
    margin: 40px 0 60px 0;
  }
  .marquee {
    height: 44px;
  }
  .marquee-content img {
    height: 33px;
    padding: 0 8px;
  }
  .marquee-content {
    gap: 25px;
  }
}


.secteurs {
  background: #fff;
  padding: 42px 0 44px 0;
}

.secteurs-title {
  text-align: center;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 3rem;
  color: #111;
  margin-top: 0;
  margin-bottom: 38px;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 18px;
  max-width: 1200px;
  margin: 0 auto 36px auto;
  justify-items: center;
  width: 100%;
}

.secteur-card {
  display: flex;
  flex-direction: row; /* aligné horizontalement */
  align-items: center; /* centré verticalement */
  justify-content: center; /* centré horizontalement */
  gap: 12px;
  background: #f7f7f7;
  border-radius: 2em;
  box-shadow: 0 7px 0 #111;
  padding: 0 24px;
  height: 60px; /* hauteur fixe desktop */
  min-width: 0;
  max-width: 350px; /* largeur augmentée */
  width: 100%;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #111;
  text-align: center;
  border: none;
  box-sizing: border-box;
  transition: box-shadow 0.13s, transform 0.12s;
  white-space: normal; /* Permet le retour à la ligne naturel pour les longs titres */
  word-break: break-word; /* Évite le débordement sur mobile */
}

.secteur-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.secteur-icone img,
.secteur-icone svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Responsive grille secteurs */
@media (max-width: 1100px) {
  .secteurs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 14px;
  }
}
@media (max-width: 700px) {
  .secteurs {
    padding: 0 2vw;
  }
  .secteurs-title {
    font-size: 2rem;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .secteurs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 98vw;
  }
  .secteur-card {
    max-width: 98vw;
    width: 100%;
    font-size: 1.02rem;
    padding: 0 14px;
    height: auto;
    min-height: 62px;
    box-shadow: 0 4px 0 #111;
    margin: 0 auto;
  }
}


/* --- BOUTON --- */
.btn-secteur {
  display: inline-block;
  background: var(--gold, #c9a46d);
  color: #111;
  border-radius: 2em;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  border: 2.5px solid #111;
  text-decoration: none;
  box-shadow: 0 4px 0 #111;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  margin: 30px auto;
}

.btn-secteur:hover {
  background: #151515;
  color: var(--gold);
  border-color: #151515;
}

.secteurs .btn-wrapper {
  text-align: center;
  margin-top: 28px;
}

.projet-priorite {
  position: relative;
  min-height: 800px;
  width: 100%;
  background: url("/images/camion2.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.projet-overlay {
  position: absolute;
  inset: 0;
  /* Dégradé blanc -> transparent du haut vers le bas */
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff 5%,
    rgba(255, 255, 255, 0) 95%
  );
  z-index: 1;
  pointer-events: none;
}

.projet-priorite-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.projet-priorite-content h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 9vw; /* S'adapte à la largeur de l'écran */
  font-weight: 800;
  color: #151515;
  text-align: center;
  margin: 0;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .projet-priorite {
    min-height: 350px;
  }
  .projet-priorite-content {
    min-height: 180px;
  }
  .projet-priorite-content h2 {
    font-size: 3rem;
    padding: 0 10px;
  }
}

.projets {
  background: #fff;
  padding: 60px 0 70px 0;
}

.projets-title {
  text-align: center;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 3rem;
  color: #111;
  margin-bottom: 46px;
}

.projets-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.projets-slider {
  display: flex;
  gap: 38px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  /* Hide scroll bar but allow scroll */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  width: 80vw;
  max-width: 980px;
}
.projets-slider::-webkit-scrollbar {
  display: none;
}

.projet-card {
  flex: 0 0 340px;
  height: 340px;
  border-radius: 40px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 5px 18px 0 rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.projet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  display: block;
}

.slider-btn {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 1px solid #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px #0001;
  cursor: pointer;
  transition: border 0.13s, background 0.14s;
  margin: 0 28px;
  padding: 0;
  position: relative;
  z-index: 2;
}
.slider-btn:hover {
  background: #c9a46d;
  border-color: #c9a46d;
}
.arrow {
  width: 32px;
  height: 32px;
  display: block;
  pointer-events: none;
}
.arrow-left {
  transform: rotate(180deg);
}

@media (max-width: 1150px) {
  .projets {
    padding: 38px 0 50px 0;
  }
  .projets-title {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  .projets-slider {
    width: 99vw;
    max-width: 99vw;
    gap: 18px;
    padding: 0 10px;
  }
  .projet-card {
    flex: 0 0 210px;
    height: 210px;
    border-radius: 24px;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    margin: 0 5px;
  }
  .arrow {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 700px) {
  .projets {
    padding: 22px 5% 30px 1%;
  }
  .projets-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-top: 30px;
    padding: 0 4vw;
  }
  .projets-slider-wrapper {
    max-width: 100vw;
    padding: 0;
    box-sizing: border-box;
  }
  .projets-slider {
    gap: 10px;
    width: 100vw;
    max-width: 100vw;
    padding: 0 2vw;
  }
  .projet-card {
    flex: 0 0 62vw;      /* Utilise un pourcentage pour un effet slider mobile */
    max-width: 340px;
    min-width: 138px;
    height: 38vw;
    min-height: 120px;
    max-height: 210px;
    border-radius: 12vw;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,0.09);
  }
  .slider-btn {
    width: 33px;
    height: 33px;
    margin: 0 1vw;
    box-shadow: 0 1px 4px #0001;
    min-width: 33px;
    min-height: 33px;
  }
  .arrow {
    width: 15px;
    height: 15px;
  }
  /* Optionnel : cache les boutons slider si tu veux tout tactile */
  .slider-btn { display: none; } 
}

/* Astuce : pour éviter que le slider touche les bords sur mobile/tablette */
@media (max-width: 400px) {
  .projets-slider {
    padding: 0 1vw;
  }
  .projet-card {
    flex: 0 0 90vw;
    border-radius: 10vw;
    height: 46vw;
  }
}


/* --- FOOTER --- */
.footer {
  background: #fff;
  border-top: 8px solid #111;
  border-left: 8px solid #111;
  border-right: 8px solid #111;
  border-bottom: none;
  border-radius: 3em 3em 0 0; /* arrondi haut gauche/droite seulement */
  margin: 42px 0 0 0;
  width: 1280px;
  max-width: 98vw;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 46px 0 46px;
  text-align: left;
}

.footer-main {
  display: flex;
  gap: 48px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 0;
}

.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.footer-logo {
  width: 210px;
  height: auto;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 1.1rem;
  color: #111;
  font-family: "Inter", Arial, sans-serif;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.rbq {
  color: #111;
  font-weight: 600;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 7px;
  display: block;
  transition: background 0.17s;
}
.footer-social a img:hover {
  background: var(--gold);
}

.footer-info-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.footer-info {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 22px;
  align-items: center;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 1.42rem;
}

.footer-label {
  color: #111;
  letter-spacing: 0.4px;
  font-weight: 700;
  border-right: 5px solid var(--gold);
  padding-right: 14px;
}

.footer-value {
  color: #111;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.footer-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #111;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.13s;
}
.footer-menu a:hover {
  color: var(--gold);
}
.footer-menu img {
  width: 28px;
  height: 28px;
}

.footer-menu .soumission {
  color: var(--gold);
}

/* Bas du footer */
.footer-bottom {
  margin-top: 32px;
  text-align: center;
}

.footer-separator {
  border: none;
  border-top: 5px dotted #111;
  margin: 0 0 12px 0;
  height: 1px;
}

.footer-copyright {
  font-size: 1.04rem;
  font-family: "Inter", Arial, sans-serif;
  color: #111;
  margin-bottom: 18px;
}

.footer-copyright a {
  color: var(--gold);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: black;
}

/* --- RESPONSIVE --- */
@media (max-width: 950px) {
  .footer {
    padding: 28px 14px 0 14px;
    max-width: 100vw;
    border-radius: 2em 2em 0 0;
    border-top-width: 5px;
    border-left-width: 5px;
    border-right-width: 5px;
    width: 100vw;
  }
  .footer-main {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-info-menu {
    gap: 18px;
    margin-top: 18px;
    width: 100%;
  }
  .footer-logo {
    width: 130px;
  }
  .footer-social {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .footer {
    border-radius: 1em 1em 0 0;
    border-top-width: 4px;
    border-left-width: 4px;
    border-right-width: 4px;
   margin-left: 2vw;
    margin-right: 2vw;
    padding-left: 3vw;
    padding-right: 3vw;
    max-width: 100vw;
    width: auto;
  }
  .footer-main {
    gap: 12px;
    align-items: stretch;
  }
  .footer-logo {
    width: 150px;
    margin-bottom: 5px;
  }
  .footer-desc {
    font-size: 0.97rem;
  }
  .footer-info {
    font-size: 0.94rem;
    grid-template-columns: 76px 1fr;
    gap: 7px 10px;
  }
  .footer-label {
    padding-right: 7px;
    border-right-width: 3px;
    font-size: 1rem;
  }
  .footer-value {
    font-size: 1.02rem;
  }
  .footer-menu a {
    font-size: 0.97rem;
    gap: 7px;
  }
  .footer-menu img {
    width: 22px;
    height: 22px;
  }
  .footer-bottom {
    margin-top: 13px;
  }
  .footer-separator {
    border-top-width: 2.5px;
    margin-bottom: 7px;
  }
  .footer-copyright {
    font-size: 0.90rem;
    margin-bottom: 11px;
  }
}

/* --- SERVICES PAGES --- */
.hero-residentiel {
  background: url("/images/service_residentiel.jpg") center center/cover
    no-repeat;
}
.hero-industriel {
  background: url("/images/service_industriel.jpg") center center/cover
    no-repeat;
}
.hero-multilogements {
  background: url("/images/construction_neuve.jpg") center center/cover
    no-repeat;
}
.services-page {
  padding: 60px 5%;
  max-width: 900px;
  margin: 0 auto;
}
.services-page h2 {
  text-align: center;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 32px;
  color: #111;
}
.services-list {
  list-style: none;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 700px;
}
.services-list li {
  background: url("/images/check-mark.png") left 0.2em center/20px no-repeat;
  padding-left: 34px;
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  color: #111;
}

.back-btn-wrapper {
  text-align: left;
  margin-top: 32px;
}

.soumi-btn-wrapper {
  text-align: center;
  margin-top: 32px;
}

.btn-back {
  display: inline-block;
  background: var(--gold, #c9a46d);
  color: #111;
  border-radius: 2em;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  border: 2.5px solid #111;
  text-decoration: none;
  box-shadow: 0 4px 0 #111;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}

.btn-back:hover {
  background: #151515;
  color: var(--gold);
  border-color: #151515;
}

/* --- SERVICE DETAIL CARDS --- */
.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
  font-family: "Inter", Arial, sans-serif;
  color: #111;
}
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 30px auto;
  max-width: 900px;
  padding: 0 20px;
}
.service-detail-card {
  background: #fff9f1;
  border: 2px solid var(--gold);
  border-radius: 1.5rem;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.service-detail-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}
.service-detail-card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-family: "Fjalla One", Arial, sans-serif;
  color: #111;
}
.service-detail-card p {
  font-size: 1rem;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: #111;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-card img {
    width: 50px;
    height: 50px;
  }
}

/* --- FORMULAIRE SOUMISSION --- */
.hero-soumission {
  background: url("/images/maison.jpg") center center/cover no-repeat;
}

.soumission-section {
  padding: 60px 0;
  max-width: 600px;
  margin: 0 auto;
}

.soumission-section h2 {
  text-align: center;
  font-family: "Fjalla One", Arial, sans-serif;
  font-size: 2rem;
  margin: 0 0 24px 0;
  color: #111;
}

.soumission-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soumission-form label {
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  color: #111;
}

.soumission-form input,
.soumission-form select,
.soumission-form textarea {
  padding: 12px 16px;
  font-size: 1rem;
  font-family: "Inter", Arial, sans-serif;
  border: 2px solid #111;
  border-radius: 0.5rem;
}

.soumission-form textarea {
  resize: vertical;
}

.btn-form {
  display: inline-block;
  background: var(--gold, #c9a46d);
  color: #111;
  border-radius: 2em;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  border: 2.5px solid #111;
  text-decoration: none;
  box-shadow: 0 4px 0 #111;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
  cursor: pointer;
  align-self: center;
}

.btn-form:hover {
  background: #151515;
  color: var(--gold);
  border-color: #151515;
}

@media (max-width: 700px) {
  .soumission-section {
    max-width: 98vw;
    width: 100%;
    padding: 30px 4vw;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .soumission-section h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  .soumission-form {
    gap: 11px;
  }
  .soumission-form label {
    font-size: 0.99rem;
  }
  .soumission-form input,
  .soumission-form select,
  .soumission-form textarea {
    font-size: 0.99rem;
    padding: 10px 10px;
    border-radius: 0.41em;
    width: 100%;
    box-sizing: border-box;
  }
  .soumission-form textarea {
    min-height: 80px;
    font-size: 0.99rem;
  }
  .btn-form {
    width: 98%;
    padding: 12px 0;
    font-size: 1rem;
    margin-top: 8px;
  }
}

