:root {
  --font-primary: 'Libre Franklin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  /* Couleurs principales */
  --color-primary: #003366;
  --color-secondary: #FF6B35;

  /* Couleurs texte */
  --color-text-dark: #19232B;
  --color-text-gray-dark: #636363;
  --color-text-gray-light: #F5F5F6;

  /* Utilitaires */
  --color-white: #ffffff;
  --color-black: #000000;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
}

p {
  font-weight: 400;
}

.main-nav {
  background: var(--color-secondary);
  padding: 0;
}

main {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}

.btn-primary {
  background-color: var(--color-primary);
  /* #003366 */
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #002b55;
  /* bleu plus foncé */
  border-color: #002b55;
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--color-secondary);
  /* #FF6B35 */
  border-color: var(--color-secondary);
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #e85f2e;
  border-color: #e85f2e;
  color: #ffffff;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-outline-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline-secondary:hover {
  background: var(--color-secondary);
  color: #ffffff;
}

.btn .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(6px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1200px;
  }

}

/* ===== header ===== */
.header-contacts i {
  color: var(--color-secondary);
  font-size: 40px;
}

.header-contacts strong {
  color: var(--color-secondary);
}

/* ================= MIDDLE HEADER RESPONSIVE FIX ================= */

/* Mobile uniquement */
@media (max-width: 767px) {

  /* On cache téléphone + email */
  .middle-header .header-contacts {
    display: none !important;
  }

  /* On centre le logo */
  .middle-header .col-lg-4 {
    text-align: center;
  }

  /* On réduit l’espace vertical */
  .middle-header {
    padding: 20px 0;
  }
}

/* ================= TOP BAR ================= */
.top-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.4;
}

.top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar .top-bar-left i {
  color: var(--color-secondary);
  font-size: 15px;
}

/* Réseaux sociaux */
.top-bar .top-bar-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  transition: all 0.3s ease;
}

.top-bar .top-bar-right a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 575px) {
  .top-bar {
    font-size: 13px;
  }

  .top-bar .top-bar-left span {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* ===== STICKY HEADER ===== */
header[role="banner"] {
  position: relative;
  z-index: 99;
  transition: all 0.3s ease;
  background-color: var(--color-white);
}

header[role="banner"].is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== ANIMATIONS ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================= NAVBAR ================= */
#mainNavbar .nav-link {
  color: var(--color-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  padding: 20px 15px;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

@media screen and (max-width: 767px) {
  #block-promech-branding .navbar-brand {
    justify-content: center;
  }

  .navbar-brand img {
    height: 50px;
    margin: 0 1rem 0 0;
    width: auto;
  }

}

@media screen and (max-width: 991px) and (min-width: 768px) {
  #block-promech-branding .navbar-brand {
    justify-content: center;
  }

  .navbar-brand img {
    height: 50px;
    margin: 0 1rem 0 0;
    width: auto;
  }

  .header-contacts {
    justify-content: center !important;
    margin-top: 30px;
  }

}


/* ================= SECTION HEADING ================= */
.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}


.section-heading .subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  z-index: 2;
}


.section-heading .subtitle::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-secondary);
  margin-top: 8px;
  position: relative;
  z-index: 2;
}


.section-heading .title {
  position: relative;
  z-index: 2;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin: 0;
}

section {
  position: relative;
}

/* ================= HERO ACCUEIL ================= */
.hero-accueil {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 40, 85, 0.9) 0%,
      rgba(0, 40, 85, 0.75) 45%,
      rgba(0, 40, 85, 0.3) 70%,
      rgba(0, 40, 85, 0.1) 100%);
  z-index: 1;
}

/* Contenu */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Bouton */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-secondary);
  color: #ffffff;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #ff5722;
}

.btn-hero .arrow {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.btn-hero:hover .arrow {
  transform: translateX(6px);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-accueil {
    min-height: 70vh;
  }
  #testimonials {
    padding: 10px 0 !important;
  }
}

@media (min-width: 991px) {
  .page-main {
    width: 68%;
  }

  .page-sidebar {
    width: 32%;
  }
}


/* ================= SECTION ABOUT ================= */
#about {
  padding: 110px 0;
  background: var(--color-text-gray-light);
}

#about .field--type-image img {
  max-height: 650px;
  object-fit: cover;
}

/* ================= ABOUT FEATURES ================= */
.about-features .feature-item {
  padding: 20px;
  background: var(--color-white);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.about-features .feature-item:hover {
  transform: translateY(-3px);
}

.about-features .feature-icon {
  background: var(--color-secondary);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 26px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.about-features h5 {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.about-features p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-gray-dark);
}

/* ================= SECTION SERVICES ================= */
.services-section {
  padding: 120px 0;
}

.services-section.services-page {
  padding: 0;
}

.service-card {
  background: var(--color-white);
  border: 1px solid #e6e9ee;
  padding: 40px 30px;
  height: 100%;
  transition: all 0.3s ease;
}


.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-decoration: none;
}

.service-title a,
.service-title a:hover {
  text-decoration: none;
  color: var(--color-primary);
}


.service-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin-bottom: 36px;
}

.service-link a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.services-block .service-card {
  text-align: left;
}

.services-block .service-card:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.services-block .service-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-white);
  margin-bottom: 32px;
}

.services-block .service-card:hover .service-icon {
  background: var(--color-white);
  color: var(--color-secondary);
}

.services-block .service-card:hover .service-title a,
.services-block .service-card:hover .service-description {
  color: var(--color-white);
}

.services-block .service-card:hover .service-link a {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.services-page .service-card {
  padding: 0;
  border: none;
  overflow: hidden;
  background: var(--color-white);
}

.service-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.services-page .service-title,
.services-page .service-description,
.services-page .service-link {
  padding: 0 25px;
}

.services-page .service-title {
  margin-top: 25px;
}

.services-page .service-link {
  padding-bottom: 25px;
}

@media (max-width: 991px) {
  .services-section {
    padding: 80px 0;
  }

  .service-card {
    padding: 30px;
  }
}



/* ================= SECTION PROJECTS ================= */
.projects-section {
  background: linear-gradient(180deg, #0b2a4a 0%, var(--color-primary) 100%);
  padding: 100px 0;
  font-family: var(--font-primary);
  color: var(--color-white);
}

.projects-section.page-layout {
  padding: 0;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.section-heading .subtitle {
  color: var(--color-secondary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-heading .title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.projects-cta {
  background-color: var(--color-secondary);
  color: var(--color-white) !important;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.projects-cta:hover {
  background-color: #e85d2a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--color-black);
  cursor: pointer;
}

.project-link {
  display: block;
  height: 100%;
  width: 100%;
}

.project-image {
  height: 100%;
  width: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.85;
}

/* Overlay Orange au Hover */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(255 108 54) 10%, transparent 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Sur mobile, on affiche le titre par défaut */
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* États au Survol */
.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
  filter: grayscale(0.5) blur(1px);
}

.project-card .project-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-white);
}

.project-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* Limite à 3 lignes pour l'esthétique */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Sur mobile, on peut cacher la description pour garder l'image visible */
@media (max-width: 991px) {
  .project-desc {
    display: none; 
  }
  .project-card {
    height: 300px; /* Plus court sur mobile */
  }
}

/* COMPORTEMENT DESKTOP (Uniquement si la souris est supportée) */
@media (hover: hover) {
  .project-overlay {
    opacity: 0;
    transform: translateY(100%);
    background: linear-gradient(to top, var(--color-secondary) 40%, transparent);
    padding: 30px;
  }

  .project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0.5) blur(1px);
  }
  
  .project-desc {
    display: -webkit-box; /* On réaffiche la description sur desktop */
  }
}
/* Responsive Adaptation */
@media (max-width: 991px) {
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .project-card {
    height: 380px;
  }
}

/* Animation d'entrée pour les cartes */
.card-item {
  animation: projectFadeIn 0.8s ease-out forwards;
}

@keyframes projectFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---  PAGE de projets --- */
.page-layout {
  background: var(--color-text-gray-light);
  /* Fond clair pour la page pour changer du bleu */
  color: var(--color-text-dark);
  padding: 80px 0;
}

.page-layout .page-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.page-layout .page-subtitle {
  color: var(--color-text-gray-dark);
  max-width: 600px;
  margin: 0 auto 50px;
}

.page-layout .project-card {
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 350px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.page-layout .project-image img {
  opacity: 1;
  filter: none;
}

.page-layout .project-overlay {
  background: linear-gradient(to top, var(--color-secondary) 40%, transparent);
  padding: 30px;
  align-items: flex-start;
  /* Texte en haut sur la page */
  justify-content: flex-end;
}

/* Effet de badge pour les catégories (si vous avez le champ) */
.category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* ================= PAGE DETAIL PROJET ================= */

.project-detail {
  padding-bottom: 80px;
}

/* IMAGE */
.page-content .project-image {
}

.page-content .project-image img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

/* LOCALISATION */
.project-location {
  margin: 20px 0;
  font-size: 15px;
  color: var(--color-text-gray-dark);
}

.project-location i {
  color: var(--color-secondary);
  margin-right: 6px;
}

/* CONTENU */
.project-content {
  padding: 20px 0 60px;
}

.project-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-dark);
  max-width: 900px;
}

/* CTA FINAL */
.project-cta {
  background: var(--color-white);
  padding: 70px 0;
}

.project-cta h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.project-cta p {
  font-size: 17px;
  margin-bottom: 30px;
  color: var(--color-text-gray-dark);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .project-title {
    font-size: 28px;
  }

  .project-description {
    font-size: 16px;
  }
}




/* ================= TESTIMONIALS ================= */
#testimonials {
  position: relative;
  padding: 120px 0;
  background: var(--color-white);
  overflow: hidden;
}

#testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28%;
  height: 100%;
  background: var(--color-text-gray-light);
  z-index: 0;
}

.testimonials-carousel {
  padding: 100px 0;
}

.testimonial-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-image img {
  width: 100%;
  border-radius: 6px;
}

.testimonial-rating i {
  color: var(--color-secondary);
  font-size: 18px;
  margin-right: 2px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
  margin: 25px 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0;
}

.testimonial-role {
  font-size: 14px;
  color: var(--color-gray-dark);
}

/* Quotes décoratives */
.testimonial-content::after {
  content: "“”";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 120px;
  color: rgba(255, 107, 53, 0.15);
}


.testimonials-section {
  position: relative;
  overflow: hidden;
}


.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonial-image img {
  width: 100%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.testimonial-content {
  position: relative;
  padding-top: 40px;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--color-secondary);
  font-size: 18px;
  margin-right: 6px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.75;
  margin: 30px 0 40px;
  color: var(--color-text-dark);
}

.testimonial-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 14px;
  color: var(--color-text-gray-dark);
}

.testimonial-content::after {
  content: "❝ ❞";
  position: absolute;
  right: -80px;
  top: 0;
  font-size: 96px;
  font-weight: 700;
  color: var(--color-secondary);
  opacity: 0.4;
  line-height: 1;
}

.testimonial-indicators {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  justify-content: flex-end;
}

.testimonial-indicators button {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border: none;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.testimonial-indicators button.active {
  background: var(--color-secondary);
  opacity: 1;
  transform: scale(1.3);
}

@media (max-width: 991px) {
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-section::before {
    display: none;
  }

  .testimonial-content {
    text-align: center;
    margin: 40px auto 0;
    padding-top: 0;
  }

  .testimonial-content::after {
    display: none;
  }

  .testimonial-indicators {
    justify-content: center;
  }

  .testimonial-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-heading {
    text-align: center;
  }

  .section-heading .subtitle::after {
    margin-left: auto;
    margin-right: auto;
  }

  .section-heading .title {
    font-size: 28px;
  }
}


/* ================= PAGE HERO ================= */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  color: #ffffff;
  background-image: url("../assets/img/bg-breadcrumb.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 40, 85, 0.85),
      rgba(0, 40, 85, 0.75));
  z-index: 1;
}

.page-hero>* {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .page-hero {
    background-attachment: scroll;
  }
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title-wrapper h1 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-title-wrapper {
  text-align: center;
}

#block-promech-breadcrumbs ol.breadcrumb {
  justify-content: center;
}

.page-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}


.page-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.85);
}

/* ================= PAGE CONTENT ================= */
.page-content {
  padding: 80px 0;
  background-color: #f2f3f5;
}

.page-sidebar {
  padding-left: 0;
}

.page-sidebar .region-sidebar-first {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-sidebar nav.menu--nos-services {
  background: var(--color-white);
  border: 1px solid var(--color-text-gray-light);
  padding: 30px 20px;
  margin-bottom: 40px;
}

.page-sidebar nav.menu--nos-services h5 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 30px;
  padding-bottom: 15px;
  position: relative;
  margin-bottom: 30px;
}

.page-sidebar nav.menu--nos-services h5::before {
  height: 1px;
  margin-bottom: -2px;
  content: "";
  position: absolute;
  bottom: 0px;
  left: -20px;
  background-color: rgb(232, 232, 232);
  width: calc(100% + 40px);
}

.page-sidebar nav.menu--nos-services h5::after {
  content: "";
  width: 50px;
  background-color: var(--color-secondary);
  height: 2px;
  position: absolute;
  bottom: -2px;
  left: 0px;
}

.page-sidebar nav.menu--nos-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sidebar nav.menu--nos-services .nav-item {
  margin-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  padding: 0px !important;
}

.page-sidebar nav.menu--nos-services .nav-link {
  position: relative;
  color: var(--color-text-dark);
  font-size: 16px;
  font-weight: 600;
  display: block;
  line-height: normal;
  background-color: #f2f3f5;
  padding: 18px 20px;
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-sidebar nav.menu--nos-services .nav-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.page-sidebar nav.menu--nos-services .nav-link.active,
.page-sidebar nav.menu--nos-services .nav-link.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}

.page-sidebar nav.menu--nos-services .nav-link.active::before,
.page-sidebar nav.menu--nos-services .nav-link.is-active::before {
  content: "";
  width: 4px;
  height: 100%;
  background: var(--color-secondary);
  margin-right: 10px;
}
input#edit-preview,
.captcha__description{
  display: none;
}
.page-sidebar #block-promech-contactrapide {
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px 30px 30px;
}

.page-sidebar #block-promech-contactrapide h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-sidebar #block-promech-contactrapide p {
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-sidebar #block-promech-contactrapide .btn {
  margin-top: 10px;
}

@media (max-width: 991px) {
  .page-sidebar {
    margin-top: 40px;
  }
}



/* Contenu principal */
.page-main {
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .page-hero {
    padding: 60px 0 40px;
  }

  .page-title {
    font-size: 32px;
  }

  .page-content {
    padding: 60px 0;
  }
}


/* ===== FOOTER GLOBAL ===== */
.site-footer {
  position: relative;
  background: radial-gradient(circle at top, #162634, #0f1b24);
  color: var(--color-white);
  padding: 0;
  z-index: 2;
  isolation: isolate;
}


.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/pattern.svg');
  background-repeat: repeat;
  background-size: auto 100%;
  pointer-events: none;
  z-index: -1;
  /* 🔑 CLÉ */
}

.footer-main {
  padding: 80px 0 60px;
}

/* ===== TITRES ===== */
.footer-title {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ===== TEXTE ===== */
.footer-brand p {
  line-height: 1.7;
  max-width: 90%;
}

/* ===== MENUS DRUPAL ===== */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-contact li {
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--color-text-gray-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer a.nav-link.active,
.site-footer a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

/* ===== CONTACT ===== */
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-contact i {
  color: var(--color-secondary);
  font-size: 18px;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 14px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
}