/* Base Styles */
:root {
  --primary-color: #556c9e;
  --primary-dark: #07235e;
  --primary-light: #2c5da0;
  --secondary-color: #2c3e50;
  --accent-color: #2c5da0;
  --accent-dark: #d35400;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
  --text-gray: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-dark: #2c3e50;
  --bg-with: #fff;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 25px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  --border-radius: 4px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-with);
}

.margin-top {
  margin-top: 24px;
}

.container {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 16px;
}

/* Header Styles */
#header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: var(--spacing-sm) 0;
  z-index: 1000;
  transition: var(--transition);
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.logo img,
#logo-img,
#loader img {
  width: 200px;
  height: 40px;
  object-fit: contain;
  margin-right: var(--spacing-xs);
}

.logo span {
  font-size: 24px;
  font-weight: 400;
}

.logo strong {
  font-weight: 700;
}

nav {
  display: flex;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* .nav-menu li {
  margin-left: var(--spacing-md);
} */

.nav-menu a {
  color: var(--text-light);
  font-weight: 600;
  padding: var(--spacing-xs);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-color);
}

.contact-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-number {
  margin-right: var(--spacing-md);
  color: var(--text-light);
  font-weight: 600;
}

.contact-buttons .btn {
  margin-left: var(--spacing-xs);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--text-light);
  border-radius: 10px;
  transition: var(--transition);
}

.nav-menu li,
.dropMenss {
  position: relative;
}

.menu-down {
  display: none;
  position: absolute;
  transform: translateY(5px);
  top: var(--spacing-md);
  background: #fff;
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-down li {
  border-radius: 12px;
  color: #cbd5e0;
  transition: all 0.2s;
  cursor: pointer;
}

.menu-down li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: #000;
  font-size: 15px;
}

.menu-down li a img {
  object-fit: cover;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

/*.menu-down li:hove*/

.nav-menu li:hover .menu-down,
.dropMenss:hover .menu-down {
  display: block;
}

/* home Section */
#home {
  height: 100vh;
  min-height: 600px;
  background-image: url("../img/vehicle-move (1).jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

#home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.home-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 700px;
}

.home-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.home-content p {
  font-size: 18px;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
}

/* Section Styles */
section {
  padding: var(--spacing-xxl) 0;
}

/* pour les engagement */

/* Engagement Section Styles */
.engagement-section {
  padding: var(--spacing-xxl) 0;
  background-color: #fff;
}

.engagement-header {
  margin: var(--spacing-xl) 0;
}

.section-tag {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: var(--spacing-xs);
  vertical-align: middle;
}

.t-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--spacing-sm);
  text-align: center;
  position: relative;
  text-align: center;
}

.t-title::before,
.t-title::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  vertical-align: middle;
}

.t-title::before {
  margin-right: var(--spacing-xs);
}

.t-title::after {
  margin-left: var(--spacing-xs);
}

.engagement-header h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.engagement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  height: 100%;
}

.engagement-text {
  font-size: 18px;
  line-height: 1.6;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.engagement-text p {
  margin-bottom: var(--spacing-md);
}

.engagement-image {
  position: relative;
}

.engagement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #fff;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.badge-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: auto;
}

.feature-card {
  background-color: #670c14;
  color: #fff;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

/* .features-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 1rem;
  flex-grow: 1;
  margin-top: auto;
}

.feature-card {
  background-color: #8b0000;
  color: #fff;
  max-width: 290px;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
} */

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ---------------------- */
/* partenaires */
#partner {
  margin-bottom: var(--spacing-sm);
}

.parnter-card {
  position: relative;
  border-radius: 12px;
  text-align: center;
  width: 330px;
  height: 65px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.parnter-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ---------------------- */

/* pour les services */
.service-section {
  margin-top: var(--spacing-sm) 0;
}

.section-titlesx {
  text-align: center;
  color: #000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.section-subtitlesx {
  text-align: center;
  font-weight: bold;
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 30px;
}

.services-gridsx {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: auto;
}

.cardsx {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.cardsx img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(90%);
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.text-cont {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  color: var(--bg-with);
  transition: all 0.3s ease;
}

.text-cont h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0 0 5px;
}

/* ------------------- */

/* les equipes */

.about-section {
  margin-top: 70px;
}

.section-titlexc {
  text-align: center;
  margin-top: 50px;
}

.section-titlexc .subtitle {
  color: #1a3e7c;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

.section-titlexc h2 {
  font-size: 26px;
  font-weight: bold;
  color: #000;
  margin-top: 5px;
}

.swiper {
  padding: 40px 0;
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.team-card {
  position: relative;
  border-radius: 12px;
  text-align: center;
  width: 380px;
  height: 350px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 12px;
}

.loc {
  position: absolute;
  /* bottom: 10px; */
  left: 0;
  background-color: #fff;
  padding: 10px;
  margin: 0 10px;
  border-radius: 10px;
}

.team-name {
  color: #0c1e57;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.team-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0c1e57;
}

/* Perspective pour l’effet 3D */
.team-card {
  perspective: 1000px;
}

/* Conteneur intérieur pour la rotation */
.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* Hover → rotation */
.team-card:hover .team-card-inner {
  transform: rotateY(180deg);
}

/* Faces de la carte */
.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front */
.team-card-front {
  z-index: 2;
  transform: rotateY(0deg);
}

/* Back */
.team-card-back {
  transform: rotateY(180deg);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

/* Texte back */
.team-card-back .team-desc {
  color: #0c1e57;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

/* Overlay front conserve ton style actuel */
.team-card-front .loc {
  position: absolute;
  /* bottom: 10px; */
  left: 0;
  background-color: #fff;
  padding: 10px;
  margin: 0 10px;
  border-radius: 10px;
}

/* ---------------- */

/* pour fondamental */

.fondements {
  padding: 40px 20px;
}

.titless {
  font-size: 28px;
  font-weight: 800;
  color: #001860;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.titless span {
  color: #001860;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
  color: #3d4d6a;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.imagess img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.carddds {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carddd {
  background-color: #0a1633;
  color: white;
  padding: 20px;
  border-radius: 12px;
}

.carddd .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.carddd h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.carddd ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.bgs {
  padding: 20px;
  background-color: #f0f5ff;
}

/* ---------------------- */

/* a propos de nous  */
#apropos {
  background: var(--primary-dark);
  padding: 0;
  color: var(--bg-with);
}

#apropos .container {
  padding: 0;
}

#apropos .engagement-text {
  display: block;
  padding: 25px;
}

#apropos .engagement-image img {
  border-radius: 0;
}

/* pour la page de service */

.service-container {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Hero Section */
.service-hero {
  position: relative;
  padding: 120px 0 60px;
  background: url("../img/top-view-man-repairing-car.jpg") no-repeat center;
  background-size: cover;
  color: var(--text-light);
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 74, 164, 0.6);
}

.service-hero .service-container {
  position: relative;
  z-index: 1;
}

.service-breadcrumb {
  margin-bottom: var(--spacing-md);
}

.service-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
}

.service-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.service-hero p {
  font-size: 1.2rem;
  max-width: 800px;
}

/* Main Content */
.service-expertise {
  padding: var(--spacing-xl) 0;
  background-color: #f0f5ff;
}

.service-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-xl);
}

.service-info h2 {
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.service-info p {
  margin-bottom: var(--spacing-md);
}

.service-workshop-image {
  margin: var(--spacing-lg) 0;
}

.service-workshop-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.service-commitments {
  list-style: none;
  margin-top: var(--spacing-md);
}

.service-commitments li {
  padding: var(--spacing-xs) 0;
  padding-left: var(--spacing-md);
  position: relative;
}

.service-commitments li::before {
  content: "•";
  color: var(--primary-light);
  position: absolute;
  left: 0;
}

.paras {
  margin-top: 30px;
}

/* Form */
.service-form {
  /* background: white; */
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  position: sticky;
  top: 100px;
}

.service-form h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary-light);
}

.forms {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
}

.forms h3 {
  background-color: #1a4b8c;
  padding: 10px;
  color: white;
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
}

.upload-zone {
  border: 2px dashed #ddd;
  padding: var(--spacing-lg);
  text-align: center;
  border-radius: var(--border-radius);
}

.upload-btn {
  background: var(--bg-dark);
  color: white;
  border: none;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-top: var(--spacing-sm);
}

.service-btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.service-btn-primary {
  background-color: var(--primary-light);
  color: var(--text-light);
}

.service-btn-primary:hover {
  background-color: #15407a;
}

/* pour la carte */

#map {
  width: 100%;
  height: 30vh;
  border-radius: 10px;
  margin-top: 50px;
}

/* Footer */
.service-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-md) 0;
}

.service-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-footer a {
  color: var(--text-light);
  text-decoration: none;
}

/* --- MOSAÏQUE --- */

.mosaic {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* chaque image dans la mosaïque */
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mosaic img:hover {
  transform: scale(1.03);
}

/* --- LIGHTBOX  --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}

/* navigation slide */

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 20px;
}

.lightbox .nav:hover {
  background-color: #001860;
  border-color: #001860;
  transform: translateY(-50%) scale(1.1);
}

.lightbox .prev {
  left: 40px;
}

.lightbox .next {
  right: 40px;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
}

/* afficher la lightbox quand elle est ciblée */
.lightbox:target {
  display: flex;
}

/* bouton fermer */
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 50px;
  font-size: 32px;
  color: white;
  text-decoration: none;
}

/* --------------------- */
/* contact Styles */

.contact {
  /* width: 100%; */
  display: flex;
  justify-content: center;

  /* display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);*/
}

/* --------------------- */
/* Protection de Donbnées */

.protection-section {
  margin-top: var(--spacing-sm);
  padding: 0 var(--spacing-sm);
}

.puce {
  font-size: 30px;
}
/* --------------------- */
/* Footer Styles */
footer {
  background-color: rgba(8, 15, 32, 0.95);
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.footer-left {
  padding-right: var(--spacing-xl);
}

.footer-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.footer-subheading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--accent-color);
  text-transform: uppercase;
}

.footer-description {
  color: #fff;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.footer-contact-link {
  color: #4a90e2;
  text-decoration: underline;
}

.footer-info-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: var(--spacing-xl);
}

.footer-info-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info-item {
  margin-bottom: var(--spacing-xs);
  color: #fff;
}

.footer-form {
  background-color: #fff;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  width: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.footer-form-heading {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
}

.footer-form-group {
  margin-bottom: var(--spacing-md);
}

.footer-form-input {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid #e5e5e5;
  border-radius: var(--border-radius);
  font-size: 16px;
}

.footer-form-input::placeholder {
  color: #a0a0a0;
}

.footer-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.footer-form-button {
  background-color: #4a90e2;
  color: #fff;
  border: none;
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-form-button:hover {
  background-color: #357abd;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-img {
  margin-bottom: var(--spacing-md);
}

.language-selector {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

/* la modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Contenu de la modal */
.modal-content {
  position: relative;
  background-color: #fff;
  margin: 50px auto;
  /* padding: 20px; */
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

/* Bouton de fermeture */
.close {
  position: absolute;
  top: -10px;
  right: -10px;
  color: #aaa;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: red;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #000;
}

.language-selector option {
  color: #000;
}

/* ---------------------------------------- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

#loader-logo {
  max-width: 150px;
  margin-bottom: 20px;
  opacity: 1;
}

.sk-chase {
  width: 40px;
  height: 40px;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
  content: "";
  display: block;
  width: 25%;
  height: 25%;
  background-color: var(--bg-with);
  border-radius: 100%;
  animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
  animation-delay: -1s;
}

.sk-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
  animation-delay: -1s;
}

.sk-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes sk-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot {
  80%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4);
  }

  100%,
  0% {
    transform: scale(1);
  }
}

.hd {
  display: none;
}

.leaflet-control-attribution {
  display: none !important;
}

.mb {
  margin-bottom: 10px;
}

/* ------------------- */

.language-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: var(--page-bg);
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.language-selector:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: #cbd5e0;
  transition: all 0.2s;
  cursor: pointer;
}

.lang-option:hover {
  background: #2d3748;
  color: white;
}

.lang-option.active {
  background: white;
  color: #1a1f2e;
}

.lang-option img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.lang-option span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* pour la modification de section  */

.renov-container {
  font-family: "Montserrat", sans-serif;
  color: #333;
  line-height: 1.6;
  width: 100%;
}

.renov-section {
  padding: 80px 20px;
}

/* Typography */
.renov-title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
  color: #4a4a4a;
}

.renov-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 0.95rem;
  color: #666;
  font-weight: 300;
}

/* Button */
.renov-btn-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.renov-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 30px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 20px;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.renov-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Gallery Grid */
.renov-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.renov-gallery-item {
  width: 100%;
  height: 300px;
  object-fit: cover;

  opacity: 0;
  transform: translateY(-80px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}


.renov-section.visible .renov-gallery-item:nth-child(1) {
  transition-delay: 0.5s;
}
.renov-section.visible .renov-gallery-item:nth-child(2) {
  transition-delay: 1s;
}
.renov-section.visible .renov-gallery-item:nth-child(3) {
  transition-delay: 1.5s;
}
.renov-section.visible .renov-gallery-item:nth-child(4) {
  transition-delay: 2s;
}

.renov-section.visible .renov-gallery-item {
  opacity: 1;
  transform: translateY(0);
}

/* Process Section */
.process-section {
  text-align: center;
  padding-top: 60px;
}

.process-icon-wrapper {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.process-icon {
  width: 80px;
  height: 80px;
  color: var(--accent-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 50px;
  margin-top: 50px;
}

.process-item {
  text-align: center;
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* délais progressifs */
.process-item:nth-child(1) {
  transition-delay: 0.2s;
}
.process-item:nth-child(2) {
  transition-delay: 0.5s;
}
.process-item:nth-child(3) {
  transition-delay: 0.8s;
}

/* déclenchement AU SCROLL */
.process-grid.visible .process-item {
  opacity: 1;
  transform: translateY(0);
}

.process-number {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  display: block;
}

.process-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #444;
}

.process-desc {
  font-size: 0.85rem;
  color: #777;
  max-width: 250px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .renov-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .renov-gallery {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .renov-title {
    font-size: 1.5rem;
  }
}

.process-icon-circle {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.icon-home {
  width: 32px;
  height: 32px;
}

.renov-dark {
  position: relative;
  margin-top: 10px;
  min-height: 500px;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
}

/* Image de fond rotative */
.renov-dark::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url(../img/Bureau.JPEG);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: rotate(-2deg);
  z-index: 0;
}

/* Overlay sombre */
.renov-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Contenu au-dessus */
.renov-dark > * {
  position: relative;
  z-index: 2;
}

.renov-title-light {
  color: #fff;
  font-size: 1.5rem;
}

.renov-text-light {
  color: #ddd;
  font-size: 1.2rem;
}

.renov-btn-outline {
  background: transparent;
  border: 1px solid #fff;
}
/*About ---------------  */

.icon-car {
  width: 45px;
  height: 45px;
  color: var(--accent-color);
}

.df {
  display: flex;
  align-items: center;
  color: #fff;
  gap: 10px;
  padding: 5px;
}

/* pour l'animation */

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.visible.reveal-left,
.reveal.visible.reveal-right {
  transform: translateX(0);
}
