/* ------------------------------
   RESET & BASE
------------------------------ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0c10;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ------------------------------
   GLOBAL ELEMENTS
------------------------------ */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ------------------------------
   THEME TOGGLE BUTTON
------------------------------ */

#themeToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ff4b2b;
  background: rgba(11, 12, 16, 0.9);
  color: #f5f5f5;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#themeToggle:hover {
  background: #ff4b2b;
  box-shadow: 0 0 12px rgba(255, 75, 43, 0.6);
  transform: translateY(-1px);
}

/* ------------------------------
   NAVBAR — BURGER MOBILE
------------------------------ */

nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(11, 12, 16, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d7d7d7;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
  transition: width 0.25s ease;
}

nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

/* Bouton burger — caché par défaut */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 50;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f5f5f5;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile déroulant */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

/* ------------------------------
   HEADER & TITLE
------------------------------ */

header {
  position: relative;
  padding: 4rem 2rem 3rem;
  background: radial-gradient(circle at top, #1f2833 0, #0b0c10 55%);
  overflow: hidden;
}

.title-style-h1 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.title-style-h1 h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

/* ------------------------------
   HEADER FIXE AVEC IMAGE
------------------------------ */

.header-fixed {
  position: relative;
  padding: 4rem 2rem 0;
  background: radial-gradient(circle at top, #1f2833 0, #0b0c10 55%);
  overflow: hidden;
  text-align: center;
}

.header-fixed .title-style-h1 h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.header-image {
  max-width: 396px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.header-image img {
  width: auto;
  max-width: 100%;
  height: 264px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

/* ------------------------------
   SECTIONS
------------------------------ */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.title-style {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  color: #ffb347;
  position: relative;
}

.title-style::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
}

.title-galerie {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  color: #ffb347;
  position: relative;
  text-align: center;
}

.title-galerie::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
}

.section p {
  font-size: 1rem;
  color: #d0d0d0;
  max-width: 800px;
}

.section-with-image {
  padding-bottom: 1.5rem;
}

.content-with-image {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.side-image {
  width: 350px;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
}

/* ------------------------------
   GALERIE
------------------------------ */

.gallery {
  text-align: center;
}

.gallery-line {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.gallery-line img {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-line img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
}

/* ------------------------------
   CONTACT
------------------------------ */

#contact p a {
  color: #ffb347;
  font-weight: 500;
}

#contact p a:hover {
  color: #ff4b2b;
}

/* ------------------------------
   FOOTER
------------------------------ */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.5rem 2.5rem;
  background: #050608;
}

footer .socials {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

footer .socials p {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b0b0b0;
  margin-bottom: 1rem;
}

footer .socials a {
  display: inline-block;
  margin: 0 0.5rem;
}

footer .socials img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease, filter 0.2s ease;
}

footer .socials img:hover {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 75, 43, 0.7));
}

/* ------------------------------
   PRODUITS / BOUTIQUE
------------------------------ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: rgba(31, 40, 51, 0.5);
  border: 1px solid rgba(255, 75, 43, 0.2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 75, 43, 0.6);
  box-shadow: 0 12px 30px rgba(255, 75, 43, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0b0c10;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reference {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-bottom: 1rem;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #d0d0d0;
  margin-bottom: 1rem;
}

.product-specs span {
  display: flex;
  justify-content: space-between;
}

.price {
  font-size: 1.4rem;
  color: #ffb347;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: auto;
}

.btn-details {
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 75, 43, 0.4);
}

/* ------------------------------
   MODAL PRODUIT
------------------------------ */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  padding: 2rem 0;
}

.modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fadeIn 0.3s ease-in;
}

.modal-product {
  background: #0b0c10;
  border: 1px solid rgba(255, 75, 43, 0.3);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  width: 90%;
  margin: auto;
  position: relative;
}

.modal-product-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 75, 43, 0.2);
  transition: opacity 0.2s ease;
}

.modal-product-image.image-transition {
  opacity: 0;
}

.modal-product-details {
  display: flex;
  flex-direction: column;
}

.modal-product-details h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.modal-reference {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.modal-specs {
  background: rgba(31, 40, 51, 0.7);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 3px solid #ff4b2b;
}

.modal-specs p {
  color: #d0d0d0;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.modal-description,
.modal-features {
  margin-bottom: 1.5rem;
}

.modal-description h3,
.modal-features h3 {
  font-size: 1.1rem;
  color: #ffb347;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-description p,
.modal-features p {
  color: #d0d0d0;
  line-height: 1.6;
}

.btn-contact {
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 75, 43, 0.4);
}

/* Bouton fermer modal */
.close {
  position: fixed;
  top: 16px;
  right: 20px;
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
  line-height: 1;
  background: rgba(11,12,16,0.7);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #ff4b2b;
}

/* ------------------------------
   ÉQUIPEMENTS
------------------------------ */

.equipment-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.equipment-item h3 {
  margin-top: 1rem;
  color: #ffb347;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.equipment-image {
  max-width: 100%;
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 75, 43, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(255, 75, 43, 0.3);
}

/* ------------------------------
   IMAGE MODAL
------------------------------ */

.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease-in;
}

.image-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease-in;
}

.image-modal .close {
  position: fixed;
  top: 16px;
  right: 20px;
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 2100;
}

.image-modal .close:hover {
  color: #ff4b2b;
}

/* ------------------------------
   ANIMATIONS
------------------------------ */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-content {
  margin: auto;
  display: block;
  width: 85%;
  max-width: 800px;
  max-height: 85vh;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.gallery-line img,
.gallery-line img.clickable {
  cursor: pointer;
}

.gallery-line img.clickable:hover {
  opacity: 0.8;
}

/* ------------------------------
   SOLD VEHICLES
------------------------------ */

.products-grid-sold {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card-sold {
  background: rgba(31, 40, 51, 0.3);
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-radius: 12px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  filter: grayscale(60%);
  opacity: 0.75;
}

.product-card-sold:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 75, 43, 0.6);
  box-shadow: 0 12px 30px rgba(255, 75, 43, 0.2);
}

.product-image-sold {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #0b0c10;
  position: relative;
}

.product-image-sold img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sold-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 75, 43, 0.9);
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.product-info-sold {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info-sold h3 {
  font-size: 1.2rem;
  color: #999999;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-info-sold .reference {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 1rem;
}

.product-info-sold .product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #888888;
  margin-bottom: 1rem;
}

/* ------------------------------
   MODAL IMAGE NAVIGATION
------------------------------ */

.modal-product-images {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-image-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  width: 100%;
}

.nav-btn {
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(255, 75, 43, 0.4);
}

.image-counter {
  color: #ffb347;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

/* ------------------------------
   TNT CATALOG BANNER
------------------------------ */

.tnt-banner {
  background: linear-gradient(135deg, rgba(255, 75, 43, 0.15), rgba(255, 179, 71, 0.15));
  border: 2px solid #ff4b2b;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tnt-content {
  max-width: 900px;
  margin: 0;
  text-align: center;
}

.tnt-content h2 {
  font-size: 1.8rem;
  color: #ff4b2b;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tnt-content p {
  font-size: 1.05rem;
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-contact-banner {
  background: linear-gradient(90deg, #ff4b2b, #ffb347);
  color: #ffffff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 75, 43, 0.5);
}

/* ------------------------------
   GARANTIE CARDS
------------------------------ */

.garantie-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.garantie-card {
  background: rgba(31, 40, 51, 0.5);
  border: 2px solid rgba(255, 75, 43, 0.4);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  transition: all 0.3s ease;
}

.garantie-card:hover {
  border-color: rgba(255, 75, 43, 0.8);
  box-shadow: 0 10px 30px rgba(255, 75, 43, 0.2);
  transform: translateY(-5px);
}

.garantie-card h3 {
  font-size: 1.5rem;
  color: #ff4b2b;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.garantie-card p {
  font-size: 1rem;
  color: #d7d7d7;
  line-height: 1.8;
}

.garantie-card p strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}

.garantie-banner {
  background: rgba(255, 75, 43, 0.1);
  border: 2px solid rgba(255, 75, 43, 0.4);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.garantie-banner h3 {
  font-size: 1.2rem;
  color: #ff4b2b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ------------------------------
   CHECK-UP SECTION
------------------------------ */

.checkup-content {
  flex: 1;
  padding-left: 2rem;
}

.checkup-content h3 {
  font-size: 1.5rem;
  color: #ff4b2b;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.checkup-content p {
  font-size: 1rem;
  color: #d7d7d7;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.checkup-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.checkup-list li {
  color: #d7d7d7;
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.checkup-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff4b2b;
  font-weight: bold;
  font-size: 1.1rem;
}

.checkup-guarantee {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 75, 43, 0.1);
  border-left: 3px solid #ff4b2b;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Google Maps iframe */
iframe {
  max-width: 100%;
  border-radius: 12px;
}

/* ==============================
   RESPONSIVE — TABLETTE (≤ 900px)
============================== */

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .modal-product {
    grid-template-columns: 1fr;
    width: 95%;
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .modal-product-image {
    height: 280px;
  }

  .content-with-image {
    flex-direction: column;
  }

  .side-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .checkup-content {
    padding-left: 0;
    margin-top: 1.5rem;
  }

  .checkup-list {
    grid-template-columns: 1fr 1fr;
  }

  .tnt-banner {
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .tnt-content h2 {
    font-size: 1.4rem;
  }

  iframe {
    width: 100%;
    height: 350px;
  }
}

/* ==============================
   RESPONSIVE — MOBILE (≤ 600px)
============================== */

@media (max-width: 600px) {

  /* ----- NAVBAR BURGER ----- */
  nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    gap: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 12, 16, 0.98);
    padding: 5rem 2rem 2rem;
    z-index: 45;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    letter-spacing: 0.2em;
  }

  .nav-links a::after {
    display: none;
  }

  .burger-btn {
    display: flex;
    position: relative;
    z-index: 50;
  }

  /* Logo / titre dans la nav si présent */
  nav .nav-brand {
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
  }

  /* ----- HEADER ----- */
  .header-fixed {
    padding: 2rem 1rem 0;
  }

  .header-fixed .title-style-h1 h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    letter-spacing: 0.18em;
    margin-bottom: 1.2rem;
  }

  .header-image {
    max-width: 100%;
    border-radius: 12px;
  }

  .header-image img {
    height: 180px;
  }

  /* ----- SECTIONS ----- */
  .section {
    padding: 2.5rem 1rem;
  }

  .title-style,
  .title-galerie {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
  }

  /* ----- CONTENT WITH IMAGE ----- */
  .content-with-image {
    flex-direction: column;
    gap: 1.5rem;
  }

  .side-image {
    width: 100%;
    max-width: 100%;
  }

  .checkup-content {
    padding-left: 0;
  }

  /* ----- CHECKUP LIST ----- */
  .checkup-list {
    grid-template-columns: 1fr;
  }

  /* ----- GALERIE IMAGES ----- */
  .gallery-line {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .gallery-line img,
  .gallery-line > div {
    width: 100% !important;
    max-width: 100%;
  }

  /* ----- PRODUIT CARDS ----- */
  .products-grid,
  .products-grid-sold {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 200px;
  }

  .product-image-sold {
    height: 200px;
  }

  .product-info {
    padding: 1.2rem;
  }

  .price {
    font-size: 1.2rem;
  }

  /* Touch-friendly buttons */
  .btn-details,
  .btn-contact,
  .btn-contact-banner {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem;
  }

  /* ----- MODAL PRODUIT ----- */
  .modal {
    padding: 0;
  }

  .modal.show {
    align-items: flex-start;
  }

  .modal-product {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: none;
    padding: 4rem 1rem 2rem;
    margin: 0;
  }

  .modal-product-image {
    height: 220px;
  }

  .modal-product-details h2 {
    font-size: 1.3rem;
    letter-spacing: 0.08em;
  }

  .btn-contact {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  /* ----- ÉQUIPEMENTS ----- */
  .equipment-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .equipment-item h3 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  /* ----- TNT BANNER ----- */
  .tnt-banner {
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 8px;
  }

  .tnt-content h2 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }

  .tnt-content p {
    font-size: 0.95rem;
  }

  /* ----- GARANTIE ----- */
  .garantie-card {
    padding: 1.2rem;
  }

  /* ----- IFRAME MAP ----- */
  iframe {
    width: 100%;
    height: 260px;
  }

  /* ----- THEME TOGGLE ----- */
  #themeToggle {
    bottom: 14px;
    right: 14px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ==============================
   RESPONSIVE — TRÈS PETIT (≤ 380px)
============================== */

@media (max-width: 380px) {
  .equipment-gallery {
    grid-template-columns: 1fr;
  }

  .title-style-h1 h1 {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}