:root {
  --brand-blue: #0b65c2;
  --brand-orange: #ff7f00;
  --dark-900: #212121;
  --dark-800: #2f2f2f;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
}

/* Layout */
body { 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
}

main { 
  flex: 1; 
  margin-bottom: 0; 
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%), 
              url('../images/hero-bg.svg') center/cover no-repeat;
  position: relative;
  border-radius: 20px;
  margin: 2rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 101, 194, 0.1) 0%, rgba(255, 127, 0, 0.1) 100%);
  z-index: 1;
}

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

.hero h1 {
  color: var(--dark-900);
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero .lead {
  color: var(--dark-800);
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.search-box {
  background: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.search-box .form-control {
  border: 2px solid rgba(11, 101, 194, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.search-box .form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(11, 101, 194, 0.25);
}

.search-box .btn-brand {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-box .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 101, 194, 0.4);
}

/* Navbar */
.site-nav { 
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.site-nav.navbar.is-scrolled { box-shadow: 0 6px 22px rgba(0,0,0,0.25); }
.navbar { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.navbar-brand { 
    font-weight: 700; 
    letter-spacing: 0.2px; 
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0b65c2, #ff7f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.brand-icon i {
    font-size: 1.5rem;
    color: white;
}
.navbar-brand .brand-logo { 
    height: 120px; 
    width: auto; 
    display: inline-block; 
    transition: transform 0.3s ease;
    filter: brightness(1.2) contrast(1.1);
    -webkit-filter: brightness(1.2) contrast(1.1);
}

.logo-container:hover .brand-logo {
    transform: scale(1.05);
    filter: brightness(1.15) contrast(1.1);
    -webkit-filter: brightness(1.15) contrast(1.1);
}
@media (max-width: 768px) { 
    .navbar-brand .brand-logo { 
        height: 90px; 
    }
}
@media (max-width: 576px) { 
    .navbar-brand .brand-logo { 
        height: 80px; 
    }
}
.navbar-dark .navbar-nav .nav-link { color: #2f2f2f; opacity: .9; padding: 0.6rem 0.9rem; font-weight: 600; }

/* Bouton toggle visible sur fond blanc */
.navbar-toggler {
    border: 2px solid #2f2f2f;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 43, 43, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(43, 43, 43, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { color: var(--brand-blue); opacity: 1; }
.navbar-dark .dropdown-menu-dark { background-color: #2f2f2f; border: 1px solid rgba(0,0,0,0.2); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.navbar-dark .dropdown-item { color: #f8f9fa; }
.navbar-dark .dropdown-item:hover { background-color: rgba(255,255,255,0.1); color: #fff; }
.icon-btn { color: #2f2f2f; opacity: .9; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); background: rgba(0,0,0,0.05); }
.icon-btn:hover { opacity: 1; border-color: var(--brand-blue); background: rgba(11, 101, 194, 0.1); color: var(--brand-blue); }
.btn-login { color: var(--brand-blue); border: 1px solid var(--brand-blue); padding: 0.35rem 0.75rem; border-radius: 8px; background: transparent; }
.btn-login:hover { background: var(--brand-blue); color: white; }
.flag { display: inline-block; width: 22px; height: 14px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); }
.flag-fr { background: linear-gradient(90deg, #0055A4 0 33%, #fff 33% 66%, #EF4135 66%); }

/* Buttons */
.btn-brand { background-color: var(--brand-orange); border-color: var(--brand-orange); color: #fff; }
.btn-brand:hover { background-color: #e86f00; border-color: #e86f00; }
.btn-outline-brand { color: var(--brand-orange); border: 1px solid var(--brand-orange); }
.btn-outline-brand:hover { color: #fff; background: var(--brand-orange); }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(11,101,194,0.08) 0%, rgba(255,127,0,0.08) 100%);
  border-radius: 16px;
}
.hero .search-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 16px;
}
.section-title { font-weight: 700; }
.section-subtitle { color: #6c757d; }

/* Cards */
.vehicle-card { transition: transform .15s ease, box-shadow .15s ease; }
.vehicle-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.10); }
.vehicle-card img { height: 180px; object-fit: cover; border-top-left-radius: .5rem; border-top-right-radius: .5rem; }
.badge-featured { background: var(--brand-orange); }
.card-img-wrap { position: relative; }
.card-img-wrap .badge { position: absolute; top: 8px; left: 8px; }
.card-img-wrap.loading { background: #f1f3f5; }
.card-img-wrap.loading::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  animation: shine 1.2s infinite;
}
@keyframes shine { to { transform: translateX(100%); } }
.veh-card-body { padding: 12px 14px; }
.veh-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.veh-sub { color: #6c757d; font-size: .875rem; }
.veh-price { font-weight: 800; color: #0b65c2; }
.veh-specs { font-size: .8rem; color: #6c757d; }
.veh-seller { font-size: .75rem; color: #6c757d; }
.veh-actions { position: absolute; right: 8px; bottom: 8px; }
.veh-fav { background: #fff; border: 1px solid #e9ecef; border-radius: 50%; height: 34px; width: 34px; display: inline-flex; align-items: center; justify-content: center; }
.veh-fav:hover { border-color: #ced4da; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Favorite active state */
.veh-fav.is-active { border-color: var(--brand-orange); color: var(--brand-orange); }

/* Autocomplete */
.autocomplete-anchor { position: relative; }
.autocomplete-list {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 4px;
}
.autocomplete-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: 6px;
  color: #212529;
}
.autocomplete-item:hover, .autocomplete-item.is-active {
  background: #f8f9fa;
}

/* Vehicle detail */
.veh-detail-header { display: flex; align-items: center; gap: 10px; }
.veh-detail-header .title { font-weight: 800; font-size: 1.25rem; margin: 0; }
.veh-actions-top { display: flex; align-items: center; gap: 10px; }
.veh-actions-top .icon-btn { width: 34px; height: 34px; }
.veh-price { font-size: 1.75rem; font-weight: 800; color: var(--brand-blue); }
.veh-ctas .btn { min-width: 180px; }
.veh-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.veh-spec-card { border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; background: #fff; }
.veh-spec-card .label { color: #6c757d; font-size: .85rem; }
.veh-spec-card .value { font-weight: 700; }

/* Gallery */
.gallery { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; }
.gallery-main { position: relative; background: #000; }
.gallery-main img { width: 100%; height: 420px; object-fit: cover; display: block; }
.gallery-thumbs { padding: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; background: #fff; }
.gallery-thumb { border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #f1f3f5; }
.gallery-thumb img { width: 100%; height: 60px; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--brand-orange); }
/* Sold ribbon and price badges */
.ribbon-sold { position: absolute; top: 12px; left: 12px; background: #dc3545; color: #fff; font-weight: 800; padding: 6px 10px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,0.25); text-transform: uppercase; letter-spacing: .5px; font-size: .78rem; }
.price-badges { display: flex; align-items: center; gap: 8px; }
.badge-price { font-weight: 700; border-radius: 999px; padding: 4px 10px; font-size: .75rem; }
.badge-good { background: #d1e7dd; color: #0f5132; }
.badge-neg { background: #fff3cd; color: #664d03; }

@media (max-width: 768px) {
  .gallery-main img { height: 300px; }
  .veh-spec-grid { grid-template-columns: 1fr; }
  .veh-ctas .btn { min-width: 0; width: 100%; }
}

/* Filters */
.filter-chips .btn {
  border-radius: 999px;
}
.quick-chips .btn-chip {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: 1px solid #e9ecef;
  background: #fff;
}
.quick-chips .btn-chip:hover { border-color: #ced4da; }

.muted-link { color: #6c757d; text-decoration: none; }
.muted-link:hover { color: #495057; text-decoration: underline; }

/* Footer minimaliste et élégant */
.site-footer {
  background: linear-gradient(135deg, #2f2f2f 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 1.5rem 0 1rem;
  margin-top: 4rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1rem;
  min-height: 100px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.brand-logo-footer {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  line-height: 1.3;
  margin: 0;
  max-width: 250px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section h6 {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

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

.footer-section ul li {
  margin-bottom: 0.25rem;
}

.footer-section ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social h6 {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-link i {
  font-size: 0.9rem;
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
}

.social-link.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact h6 {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  width: fit-content;
}

.whatsapp-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.whatsapp-contact i {
  font-size: 1rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 1rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.9);
}

.footer-legal .separator {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 1rem 0 0.75rem;
    margin-top: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
    min-height: auto;
  }
  
  .footer-brand {
    align-items: center;
    grid-column: 1 / -1;
  }
  
  .footer-tagline {
    max-width: 100%;
    font-size: 0.7rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 0.75rem 0 0.5rem;
    margin-top: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: auto;
  }
  
  .footer-brand {
    gap: 0.25rem;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .brand-logo-footer {
    height: 25px;
  }
  
  .footer-tagline {
    font-size: 0.65rem;
    line-height: 1.2;
    max-width: 100%;
  }
  
  .footer-links, .footer-social, .footer-contact {
    gap: 0.25rem;
  }
  
  .footer-section h6, .footer-social h6, .footer-contact h6 {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }
  
  .footer-section ul li {
    margin-bottom: 0.15rem;
  }
  
  .footer-section ul li a {
    font-size: 0.65rem;
  }
  
  .whatsapp-contact {
    padding: 0.35rem 0.7rem;
    font-size: 0.65rem;
    border-radius: 15px;
  }
  
  .whatsapp-contact i {
    font-size: 0.8rem;
  }
  
  .social-links {
    justify-content: center;
    gap: 0.4rem;
  }
  
  .social-link {
    width: 28px;
    height: 28px;
  }
  
  .social-link i {
    font-size: 0.75rem;
  }
  
  .footer-divider {
    margin: 0.75rem 0;
  }
  
  .footer-bottom {
    gap: 0.5rem;
  }
  
  .copyright {
    font-size: 0.65rem;
  }
  
  .footer-legal {
    gap: 0.5rem;
  }
  
  .footer-legal a {
    font-size: 0.65rem;
  }
  
  .footer-legal .separator {
    font-size: 0.6rem;
  }
}

/* Bouton retour en haut */
.back-to-top { 
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  width: 50px; 
  height: 50px; 
  background: var(--brand-orange); 
  color: #fff; 
  border: none; 
  border-radius: 50%; 
  cursor: pointer; 
  opacity: 0; 
  visibility: hidden; 
  transition: all 0.3s ease; 
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.back-to-top.show { 
  opacity: 1; 
  visibility: visible; 
}

.back-to-top:hover { 
  background: #e65a00; 
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.back-to-top i { 
  font-size: 1.2rem; 
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-main { 
    padding: 2rem 0 1.5rem 0; 
  }
  
  .footer-bottom-links { 
    justify-content: center; 
    margin-top: 1rem;
  }
  
  .back-to-top { 
    bottom: 20px; 
    right: 20px; 
    width: 45px; 
    height: 45px; 
  }
}

/* Admin styles */
.admin-header { background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%); color: #fff; padding: 2rem 0; margin: -1.5rem -1.5rem 2rem -1.5rem; border-radius: 0 0 20px 20px; }
.admin-header h1 { margin: 0; font-weight: 800; }
.admin-header .subtitle { opacity: .9; margin: 0; }

.admin-card { border: 0; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all .3s ease; background: #fff; }
.admin-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.admin-card .card-body { padding: 1.5rem; }
.admin-card .stat-value { font-size: 2.5rem; font-weight: 800; color: var(--brand-blue); line-height: 1; }
.admin-card .stat-label { color: #6c757d; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; font-size: .8rem; }

.admin-table { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.admin-table .table { margin: 0; }
.admin-table .table th { background: #f8f9fa; border: 0; padding: 1rem; font-weight: 700; color: #495057; text-transform: uppercase; letter-spacing: .5px; font-size: .8rem; }
.admin-table .table td { padding: 1rem; border-color: #f1f3f5; vertical-align: middle; }
.admin-table .table tbody tr { transition: background-color .2s ease; }
.admin-table .table tbody tr:hover { background-color: #f8f9fa; }

.admin-form { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.admin-form .form-label { font-weight: 600; color: #495057; margin-bottom: .5rem; }
.admin-form .form-control, .admin-form .form-select { border: 2px solid #e9ecef; border-radius: 10px; padding: .75rem 1rem; transition: all .2s ease; }
.admin-form .form-control:focus, .admin-form .form-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 0.2rem rgba(11,101,194,0.15); }
.admin-form .form-check-input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; }
.admin-form .form-check-input:checked { background-color: var(--brand-orange); border-color: var(--brand-orange); }

.admin-btn { border-radius: 10px; padding: .75rem 1.5rem; font-weight: 600; transition: all .2s ease; }
.admin-btn:hover { transform: translateY(-1px); }
.admin-btn-primary { background: var(--brand-blue); border-color: var(--brand-blue); }
.admin-btn-primary:hover { background: #0952a3; border-color: #0952a3; }

.badge-admin { border-radius: 8px; padding: .4rem .8rem; font-weight: 600; font-size: .75rem; }
.badge-admin.sold { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }
.badge-admin.good-price { background: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.badge-admin.negotiable { background: #cff4fc; color: #055160; border: 1px solid #9eeaf9; }

.admin-photos { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; }
.admin-photos .photo-item { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform .2s ease; }
.admin-photos .photo-item:hover { transform: scale(1.02); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.admin-animate { animation: fadeInUp .6s ease-out; }
.admin-animate-delay-1 { animation-delay: .1s; }
.admin-animate-delay-2 { animation-delay: .2s; }
.admin-animate-delay-3 { animation-delay: .3s; }

/* Responsive admin */
@media (max-width: 768px) {
  .admin-header { padding: 1.5rem 0; margin: -1rem -1rem 1.5rem -1rem; }
  .admin-card .stat-value { font-size: 2rem; }
  .admin-form { padding: 1.5rem; }
}

/* Grille des marques populaires */
.brands-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 #ffffff;
}

.brands-grid::-webkit-scrollbar {
  height: 6px;
}

.brands-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.brands-grid::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.brands-grid::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--dark-800);
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  min-width: 120px;
  flex-shrink: 0;
}

.brand-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  color: var(--brand-blue);
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.brand-item:hover .brand-logo img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* Responsive pour les marques - une seule ligne sur tous les écrans */
@media (max-width: 768px) {
  .brands-grid {
    gap: 0.75rem;
    padding: 0.25rem 0;
  }
  
  .brand-item {
    min-width: 100px;
    padding: 0.75rem;
  }
  
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  .brand-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .brands-grid {
    gap: 0.5rem;
  }
  
  .brand-item {
    min-width: 90px;
    padding: 0.5rem;
  }
  
  .brand-logo {
    width: 45px;
    height: 45px;
  }
  
  .brand-name {
    font-size: 0.75rem;
  }
}

/* Informations de l'auteur et contact */
.author-info {
  background: rgba(248, 249, 250, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}

.author-info h4 {
  color: var(--dark-900);
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 0.5rem;
}

.author-info .bi {
  font-size: 1.1rem;
}

.author-info .btn {
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.author-info .btn-success {
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: none;
}

.author-info .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.author-info .btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 101, 194, 0.4);
}

/* Badge négociable */
.badge-negotiable {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

