/* ====== STYLE MICROSOFT-LIKE HEADER ====== */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:root {
    --primary-blue: #002147;
    --accent-orange: #F15A24;
    --light-gray: #f7f7f7;
    --dark-gray: #555;
    --white: #ffffff;
    --border-color: #e1e1e1;
}

/* ====== HEADER ====== */
.header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo {
    width: 45px;
    height: auto;
}
.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}
.nav-main ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
.nav-main a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px;
    transition: color 0.3s, border-bottom 0.3s;
}
.nav-main a:hover,
.nav-main a.active {
    color: #000;
    border-bottom: 2px solid var(--accent-orange);
}

/* ====== CTA BUTTON ====== */
.header-action .cta-btn {
    background: var(--accent-orange);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
}
.header-action .cta-btn:hover {
    background: #d94a1c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ====== HERO SLIDER ====== */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideAnimation 15s infinite linear;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideAnimation {
    0% {transform: translateX(100%); opacity: 0;}
    10% {transform: translateX(0); opacity: 1;}
    30% {transform: translateX(0); opacity: 1;}
    40% {transform: translateX(-100%); opacity: 0;}
    100% {transform: translateX(-100%); opacity: 0;}
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 33, 71, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h1 .highlight {
    color: var(--accent-orange);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}
.footer {
  background-color: #002147;
  color: #ffffff;
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-block h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #F15A24;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block ul li {
  margin-bottom: 0.5rem;
}

.footer-block a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-block a:hover {
  color: #F15A24;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #ccc;
}

.social-links a img {
  width: 24px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-links a:hover img {
  transform: scale(1.2);
}




/* ====== SECTIONS ====== */
section {
    padding: 70px 0;
}
section h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.services-preview {
    background: var(--light-gray);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.service-item {
    background: var(--white);
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}
.service-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.key-figures {
    background: var(--white);
    text-align: center;
}
.figures-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.figure-item h3 {
    font-size: 3rem;
    color: var(--accent-orange);
}
.figure-item p {
    color: var(--dark-gray);
    font-weight: 600;
}

.partenaires-preview, .actualites-preview {
    background: var(--light-gray);
    text-align: center;
}

.actu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.actu-item {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
.actu-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}
/* ====== PARTENAIRES ====== */
.partenaires {
    padding: 70px 0;
    text-align: center;
    background: var(--light-gray);
}
.partenaires h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
}


.official-partner {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}
.logo-atlog img {
    width: 180px;
    margin-top: 20px;
}
.partenaires-secondaires .carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  animation: scroll-partenaire 20s linear infinite;
}

.carousel-track img {
  height: 80px;
  object-fit: contain;
  opacity: 0.8;
  transition: transform 0.3s, opacity 0.3s;
}

.carousel-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scroll-partenaire {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ===== PAGE BANNIÈRE ===== */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}

/* ===== SECTIONS ===== */
.about-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.about-section.bg-light {
  background-color: #f5f5f5;
}

.about-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #002147; /* bleu foncé de la charte */
}
.about-section h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #002147; /* bleu foncé de la charte */
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  text-align: center;
}

/* ===== VISION / MISSION ===== */
.about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.about-columns > div {
  flex: 1 1 300px;
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* ===== VALEURS ===== */
.values-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap; /* permet le passage à la ligne sur petits écrans */
}

.value-card {
  flex: 1 1 230px;
  max-width: 260px;
  background-color: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
  height: 100%;
}


.value-card:hover {
  transform: translateY(-5px);
}

.value-card h4 {
  color: #F15A24; /* orange vif */
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.90rem;
  color: #555;
}

/* ===== PARTENARIAT ATLOG ===== */
.partner-logo {
  margin: 2rem auto 0;
  text-align: center;
}

.partner-logo img {
  max-width: 100px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
}
/* ===== GRILLE DE SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.service-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: #002147; /* Bleu foncé de la charte */
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== CTA FINAL ===== */
.text-center {
  text-align: center;
}

.text-center .cta-btn {
  margin-top: 1.5rem;
}

/* Optionnel - Adaptation responsive */
@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.choose-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  padding: 1.8rem;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.choose-card h4 {
  color: #002147;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

.choose-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== GRILLE DE VÉHICULES ===== */
..search-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form input,
.search-form select {
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.search-form button {
  padding: 10px 20px;
  border: none;
  background-color: #007ad1;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background-color: #005fa3;
}

/* === VEHICLE GRID === */
.search-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form input,
.search-form select {
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.search-form button {
  padding: 10px 20px;
  border: none;
  background-color: #007ad1;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background-color: #005fa3;
}

/* === VEHICLE GRID === */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.vehicle-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vehicle-card:hover {
  transform: translateY(-5px);
}

.vehicle-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.vehicle-info {
  padding: 15px;
}

.vehicle-info h3 {
  margin: 0;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.vehicle-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.vehicle-price {
  color: #007ad1;
  font-weight: bold;
  margin-top: 10px;
}

.vehicle-card .btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #007ad1;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}

.vehicle-card .btn:hover {
  background-color: #005fa3;
}
/* === CTA SECTION === */
.cta-section {
  background: #b3c7d8;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  background: #F15A24;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #e68900;
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== GRILLE D'ACTUALITÉS ===== */
.news-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.news-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  flex-shrink: 0;
  text-align: justify-content;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 1.2rem;
  text-align: justify-content;
}

.news-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #002147;
}
.news-content p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #002147;
  text-align: justify-content;
}

.news-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
  display: block;
}

.read-more {
  color: #F15A24;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-btn:hover {
  background-color: rgba(0,0,0,0.6);
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

/* ===== GRILLE DE CONTACT ===== */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-info h2,
.contact-form h2 {
  color: #002147;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #F15A24;
  outline: none;
}

/* CTA bouton */
.contact-form button.cta-btn {
  align-self: flex-start;
  padding: 0.8rem 1.5rem;
}

/* MAP EMBED */
.map-section iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
  margin-top: 2rem;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}

.article-container {
  max-width: 750px;
  margin: 10px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  line-height: 1.8;
  text-align: justify;
}

.article-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #003c71;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
}

.article-image {
  text-align: center;
  margin: 30px 0;
}

.article-image img {
  max-width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.article-content {
  font-size: 1.1rem;
  white-space: pre-line;
  margin-bottom: 40px;
}

.article-footer {
  text-align: justify;
}

.btn-back {
  background: #ff6600;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-return:hover {
  background: #e65c00;
}

.article-footer {
  text-align: left;
}

.btn-return {
  background-color: #0094ff;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

/* === BARRE LATÉRALE DE RECHERCHE === */
.filter-sidebar {
  width: 260px;
  background-color: #f4f6f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-right: 20px;
}

.filter-sidebar h3 {
  margin-top: 0;
  color: #003c71;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.filter-sidebar label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
  font-size: 0.95rem;
}

.filter-sidebar input[type="text"],
.filter-sidebar select,
.filter-sidebar input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

.filter-sidebar .btn {
  margin-top: 15px;
  width: 100%;
  background-color: #F15A24;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-sidebar .btn:hover {
  background-color: #005fa3;
}


/* === STRUCTURE DE PAGE AVEC SIDEBAR === */
.catalogue-container {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.vehicle-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  position: relative;
  color: white;
  text-align: center;
}

.hero-section .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: auto;
}
.vehicle-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
  align-items: flex-start;
}

.vehicle-photo-block {
  flex: 1;
  min-width: 300px;
}

.vehicle-photo-block img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vehicle-info-block {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vehicle-info-block h1 {
  margin-top: 0;
  color: #003c71;
}

.vehicle-price {
  font-size: 1.6rem;
  color: #F15A24;
  font-weight: bold;
  margin: 15px 0;
}

.vehicle-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn.primary {
  background-color: #f56c00;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn.secondary {
  background-color: #003c71;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
/* === STYLES GALERIE VEHICULE === */
.vehicle-photo-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-photo {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.gallery-thumbnails img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
  border: 2px solid #007ad1;
}
/* Général : Desktop */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* === MENU BURGER RESPONSIVE === */
/* === BASE === */
.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon i {
  color: black;
  font-size: 30px;
}

/* === RESPONSIVE MOBILE (<=768px) === */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .menu-icon {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  /* Masquer le menu principal en mobile */
  .nav-main {
    display: none;
  }

  .header-action {
    display: none;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav .nav-main {
    display: block;
    width: 100%;
  }

  .mobile-nav .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .mobile-nav .header-action {
    display: block;
  }

  .logo-block {
    flex-direction: row;
    align-items: center;
  }
}

/* === RESPONSIVE DESKTOP (>=769px) === */
@media (min-width: 769px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-main {
    display: block !important;
  }

  .nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
  }

  .header-action {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .menu-icon {
    display: none;
  }
}

/* Pour cacher le menu mobile en desktop */
@media (min-width: 769px) {
  .mobile-nav,
  .menu-icon {
    display: none !important;
  }

  .desktop-menu {
    display: block !important;
  }
}

/* Pour afficher menu mobile et cacher desktop en mobile */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }

  .menu-icon {
    display: block;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* === Responsive catalogue.php === */

/* Réorganisation de la section héros */
@media (max-width: 768px) {
  .hero-section {
    background-position: center;
    background-size: cover;
    padding: 2rem 1rem;
    height: auto;
    min-height: 250px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .search-form input,
  .search-form select,
  .search-form button {
    width: 100%;
    font-size: 1rem;
  }
}

/* Réorganisation du layout catalogue + sidebar */
@media (max-width: 992px) {
  .catalogue-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .filter-sidebar {
    width: 100%;
    border: 1px solid #eee;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
  }

  .filter-sidebar form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-sidebar input,
  .filter-sidebar select {
    width: 100%;
  }

  .vehicle-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .vehicle-card img {
    height: 180px;
    object-fit: cover;
  }
}

/* Pour très petits écrans */
@media (max-width: 480px) {
  .vehicle-card {
    font-size: 0.95rem;
  }

  .vehicle-info h3 {
    font-size: 1rem;
  }

  .vehicle-price {
    font-size: 1rem;
    font-weight: bold;
    color: #007ad1;
  }

  .vehicle-card .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .cta-section .cta-btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
}
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .figures-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .carousel-track {
    gap: 1rem;
  }

  .carousel-track img {
    height: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .cta-btn {
    display: inline-block;
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* === RESPONSIVE POUR services.html === */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .choose-us-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .page-banner {
    height: 50vh;
    background-position: center;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .about-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-card,
  .choose-card {
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }

  .about-section.text-center .header-action {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .overlay h1 {
    font-size: 1.5rem;
  }

  .about-section h2 {
    font-size: 1.5rem;
  }

  .service-card h3,
  .choose-card h4 {
    font-size: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}
/* ===== RESPONSIVE POUR actualites.php ===== */

@media (max-width: 992px) {
  .page-banner {
    height: 50vh;
    background-position: center;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .about-section p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .news-slider {
    overflow: hidden;
    position: relative;
  }

  .slider-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
  }

  .news-card {
    scroll-snap-align: start;
    min-width: 280px;
    max-width: 300px;
    flex: 0 0 auto;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 576px) {
  .overlay h1 {
    font-size: 1.6rem;
  }

  .about-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .news-card h3 {
    font-size: 1rem;
  }

  .news-card img {
    height: 160px;
    object-fit: cover;
  }

  .news-content p {
    font-size: 0.9rem;
  }

  .read-more {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .logo {
    width: 35px;
  }

  .company-name {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .service-item {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .footer {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }

  .footer-block h4 {
    font-size: 1rem;
  }

  .social-links img {
    width: 22px;
  }
}
/* ===== RESPONSIVE POUR contact.php ===== */

@media (max-width: 992px) {
  .page-banner {
    height: 50vh;
    background-position: center;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info, .contact-form {
    width: 100%;
    padding: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    width: 100%;
  }
  
  iframe {
  max-width: 100%;
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}


  .contact-form button.cta-btn {
    width: 100%;
    padding: 0.8rem;
  }
}

@media (max-width: 576px) {
  .overlay h1 {
    font-size: 1.6rem;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.3rem;
  }

  .contact-info p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.9rem;
  }

 iframe {
  max-width: 100%;
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
