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

body {
  font-family: 'Arial', sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

.navbar-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 40px;
  color: white;
  position: relative;
  background: #1a237e;
}

.navbar-bottom {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 12px 0;
  background: #1a237e;
  transition: all 0.3s ease;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-top,
.navbar.scrolled .navbar-bottom {
  background: white;
  color: #1a237e;
}
.navbar.scrolled .navbar-bottom a,
.navbar.scrolled .logo,
.navbar.scrolled .logo-text,
.navbar.scrolled .lang-currency,
.navbar.scrolled .fidelity,
.navbar.scrolled .phone-desktop {
  color: #1a237e !important;
}

.navbar.scrolled .navbar-burger span,
.navbar.scrolled .navbar-burger span:before,
.navbar.scrolled .navbar-burger span:after {
  background: #1a237e !important;
}

/* Styles spécifiques pour s'assurer que la navbar est bleue par défaut */
.navbar:not(.scrolled) .navbar-top {
  background: #1a237e !important;
}

.navbar:not(.scrolled) .navbar-bottom {
  background: #1a237e !important;
}

.navbar:not(.scrolled) .navbar-burger span,
.navbar:not(.scrolled) .navbar-burger span:before,
.navbar:not(.scrolled) .navbar-burger span:after {
  background: #fff !important;
}

/* Styles de base pour la navbar (sans classe scrolled) */
.navbar .navbar-top {
  background: #1a237e !important;
}

.navbar .navbar-bottom {
  background: #1a237e !important;
}

.navbar .navbar-burger span,
.navbar .navbar-burger span:before,
.navbar .navbar-burger span:after {
  background: #fff !important;
}

.navbar a:hover {
  color: #B08D57;
}

.logo {
  font-weight: bold;
  letter-spacing: 4px;
  font-size: 18px;
  margin: 0 auto;
  text-align: center;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.fidelity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  font-size: 16px;
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-image: url('assets/hero-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  font-size: 1.2rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background: #f5f5f5;
}

.service {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.service-img {
  width: 100%;
  max-width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.service h2 {
  font-size: 1.4rem;
  color: #004C99;
  margin-bottom: 0.7rem;
}

.service p {
  font-size: 1rem;
  color: #444;
}

.about-section {
  padding: 4rem 2rem;
  background: white;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.about-content h2 {
  color: #004C99;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
}

.footer {
  background: #004C99;
  color: white;
  padding: 3rem 2rem 1rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.footer-block h3 {
  color: #FF6600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-contact span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-block ul li i {
  margin-right: 8px;
  color: #FF6600;
}

.footer-block ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-block ul li a:hover {
  color: #FF6600;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer {
    padding: 2rem 1rem 1rem 1rem;
  }
}

.hero-torn-border {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-torn-border svg {
  display: block;
  width: 100%;
  height: 80px;
}

.map-section {
  padding: 3rem 1rem 2rem 1rem;
  background: #f5f5f5;
  text-align: center;
}

.map-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #004C99;
}

.map-container {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* --- NAVBAR RESPONSIVE --- */
.navbar-burger {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
}
.navbar-burger span,
.navbar-burger span:before,
.navbar-burger span:after {
  display: block;
  position: absolute;
  width: 28px;
  height: 4px;
  background: #fff !important;
  border-radius: 2px;
  transition: 0.3s;
}
.navbar-burger span {
  top: 16px;
  left: 4px;
}
.navbar-burger span:before {
  content: '';
  top: -10px;
}
.navbar-burger span:after {
  content: '';
  top: 10px;
}
@media (max-width: 700px) {
  .navbar-burger {
    display: block;
  }
  .navbar-top {
    padding: 12px 10px;
  }
  .lang-currency {
    left: 16px;
  }
  .fidelity, .phone-bubble, .navbar-burger {
    right: 60px;
  }
  .navbar-burger {
    right: 12px;
  }
  .navbar-bottom {
    flex-direction: column;
    gap: 0;
    padding: 0 0 10px 0;
    background: #1a237e !important;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: none;
    z-index: 1100;
  }
  .navbar-bottom.open {
    display: flex;
  }
  .navbar-bottom a, .navbar-dropdown > a, .navbar-link {
    color: #fff !important;
    background: none;
    padding: 18px 0;
    text-align: center;
    font-size: 1.18em;
    font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid #2222;
    width: 100%;
    display: block;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.13);
  }
  .navbar-dropdown-content {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 0;
  }
  .navbar-dropdown-content a {
    color: #fff;
    background: none;
    padding-left: 24px;
    font-size: 1.08em;
    border-bottom: none;
    text-align: left;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.13);
  }
  .navbar-dropdown-content a:hover {
    background: #222;
    color: #B08D57;
  }
  .phone-desktop {
    display: none !important;
  }
  .phone-bubble {
    display: flex !important;
  }
}
@media (min-width: 701px) {
  .phone-desktop {
    display: inline-block !important;
  }
  .phone-bubble {
    display: none !important;
  }
  .navbar-top .logo-text {
    left: 80px !important;
  }
}