/* RESET ET STYLES GLOBAUX */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Transition globale */
.transitionall, 
a, button, 
.service-card, 
.card, 
.slide img, 
.footer-bottom a, 
.contact-form button,
.info-box,
.menu-toggle span {
  transition: all 0.3s ease-in-out;
}

/* HEADER ET NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
}

/* Logo + Texte */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h1 {
  margin: 0;
  font-size: 22px;
  color: #2563eb;
  font-weight: 700;
}

.logo span {
  display: block;
  font-size: 12px;
  color: #333;
  font-weight: normal;
}

/* Liens */
.links {
  display: flex;
  gap: 30px;
}

.links a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  position: relative;
}

.links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

.links a:hover:after {
  width: 100%;
}

.links a:hover {
  color: #2563eb;
}

/* Boutons à droite */
.button {
  display: flex;
  gap: 10px;
}

.button a {
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-phone {
  background: #2563eb;
  color: white;
}

.btn-phone:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-email {
  background: #22c55e;
  color: white;
}

.btn-email:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 3px;
}

.menu-toggle:hover span {
  background: #2563eb;
}

/* Mobile menu container */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  padding: 20px;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
}

.mobile-menu .links,
.mobile-menu .button {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

.mobile-menu .links {
  margin-bottom: 20px;
}

.mobile-menu .links a {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu .button a {
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .links,
  .button {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
  
  .mobile-menu {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url("camion11.jpg") center/cover no-repeat;
  color: #fff;
  padding: 180px 20px 100px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.hero h1 i {
  color: #ffcc00;
  margin-right: 10px;
}

.hero .slogan {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.hero .description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn-phone, 
.hero-buttons .btn-email {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.hero-buttons .btn-phone {
  background-color: #ffcc00;
  color: #000;
}

.hero-buttons .btn-phone:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

.hero-buttons .btn-email {
  background-color: #007BFF;
  color: #fff;
}

.hero-buttons .btn-email:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* SECTIONS GENERALES */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: #111827;
}

section .subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Services */
.services {
  background: #f8fafc;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.icon img {
  width: 30px;
  height: 30px;
}

/* Couleurs icônes */
.blue { background: #2563eb; }
.green { background: #22c55e; }
.purple { background: #8b5cf6; }
.orange { background: #f59e0b; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #6b7280;
}

/* Pourquoi nous choisir */
.why-choose-us {
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card .icon {
  font-size: 30px;
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* Couleurs de fond doux */
.card.blue { background: #eef6ff; }
.card.green { background: #f0fff4; }
.card.purple { background: #f9f0ff; }
.card.orange { background: #fff8ed; }

/* Section Flotte */
.fleet-section {
  background: #f8fafc;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  background: black;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 0, 0.9);
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.prev:hover, .next:hover {
  background: #1147bb;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Section Témoignages */
.testimonials {
  background: #fff;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 30px;
  width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: #4b5563;
  line-height: 1.6;
}

.client {
  display: flex;
  flex-direction: column;
}

.client strong {
  color: #111827;
  font-size: 1.1rem;
}

.client span {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Section FAQ */
.faq-section {
  background: #f8fafc;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #111827;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Section contact */
.contact {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
}

/* Bloc infos */
.contact-info {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  text-align: left;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-box span {
  font-size: 1.5rem;
}

.info-box h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  font-weight: 700;
}

.info-box a, .info-box p {
  color: #e0e7ff;
  text-decoration: none;
  margin: 0;
}

.info-box:hover {
  transform: translateX(5px);
}

/* Bloc formulaire */
.contact-form {
  width: 420px;
  background: rgba(255,255,255,0.15);
  padding: 35px;
  border-radius: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-form button {
  background: white;
  color: #1e3a8a;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
}

.contact-form button:hover {
  background: #facc15;
  color: #111;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #0f172a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.footer-about h3 {
  margin: 5px 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-about .country {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-about .desc {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.footer-services h4,
.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-services ul,
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #facc15;
}

.footer-contact p {
  margin: 0 0 15px;
  color: #cbd5e1;
}
.footer-contact a{
  margin: 0 0 15px;
  color: #cbd5e1;
  text-decoration: none;
}


/* Bas du footer */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom strong {
  color: #facc15;
  font-size: 1.1rem;
}

.footer-bottom a {
  text-decoration: none;
  color: #fff;
} 

.footer-bottom a:hover {
  color: #facc15;
}

.footer-bottom p {
  color: #94a3b8;
  margin: 0;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

/* Responsive design */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .contact-info {
    width: 100%;
    max-width: 500px;
    text-align: center;
    align-items: center;
  }
  
  .contact-form {
    width: 100%;
    max-width: 500px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 150px 20px 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .slogan {
    font-size: 1.1rem;
  }
  
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar {
    padding: 12px 15px;
  }
  
  .hero {
    padding: 130px 15px 60px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .service-card {
    width: 100%;
    max-width: 300px;
  }
  
  .slider {
    height: 300px;
  }
  
  .prev, .next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}