/* Google Fonts: Inter pour un look moderne et clean */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #e63946; /* Rouge sportif */
  --primary-hover: #c1121f;
  --secondary-color: #1d3557; /* Bleu foncé très premium */
  --dark-bg: #0b0c10;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Header */
header {
  background-color: rgba(29, 53, 87, 0.96); /* Deep premium blue background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo-svg-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-svg-link:hover {
  transform: translateY(-1px);
}

.logo-icon {
  width: 42px;
  height: 42px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-svg-link:hover .logo-icon {
  transform: rotate(180deg) scale(1.05);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.logo-text span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85); /* White text for contrast */
  position: relative;
  padding: 8px 0;
  letter-spacing: -0.2px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.nav-actions .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35); /* White outline */
  color: var(--white);
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.nav-actions .btn-outline:hover {
  background: var(--white);
  color: var(--secondary-color);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  border: none;
  color: var(--white);
  padding: 9px 20px;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  transition: all 0.25s ease;
}

.nav-actions .btn-primary:hover {
  background: linear-gradient(135deg, #c1121f, var(--primary-color));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

/* User Profile Dropdown Menu */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08); /* Dark dropdown pill */
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  color: var(--white);
}

.user-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.user-name-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.toggle-icon {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease;
}

.user-dropdown.active .toggle-icon {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transform-origin: top right;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1010;
}

.user-dropdown.active .user-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.user-menu-header {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-menu-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.user-menu-role {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-menu-role.role-user {
  background: #edf2f7;
  color: #4a5568;
}

.user-menu-role.role-admin {
  background: #ffebeb;
  color: var(--primary-color);
}

.user-menu-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 6px 0;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.user-menu-item i {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.user-menu-item:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.user-menu-item:hover i {
  color: var(--primary-color);
}

.user-menu-item.text-danger {
  color: #e53e3e;
}

.user-menu-item.text-danger i {
  color: #e53e3e;
}

.user-menu-item.text-danger:hover {
  background-color: #fff5f5;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Mobile Drawer & Overlay */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 12, 16, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1020;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  z-index: 1030;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.drawer-close:hover {
  color: var(--primary-color);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.drawer-nav a i {
  font-size: 1.1rem;
  color: var(--text-muted);
  width: 24px;
  transition: color 0.2s ease;
}

.drawer-nav a:hover,
.drawer-nav a.active {
  background-color: rgba(230, 57, 70, 0.05);
  color: var(--primary-color);
}

.drawer-nav a:hover i,
.drawer-nav a.active i {
  color: var(--primary-color);
}

.drawer-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 20px 0;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-actions .btn-outline {
  border: 1px solid rgba(29, 53, 87, 0.15);
  color: var(--secondary-color);
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 50px;
  text-align: center;
  background: rgba(241, 245, 249, 0.5);
  display: block;
  width: 100%;
}

.drawer-actions .btn-outline:hover {
  background: rgba(241, 245, 249, 1);
  color: var(--secondary-color);
}

.drawer-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.15);
  display: block;
  width: 100%;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 12px;
  margin-bottom: 5px;
}

.drawer-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-user-name {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1rem;
}

.drawer-action-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: #4a5568;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.drawer-action-link i {
  font-size: 1.1rem;
  color: var(--text-muted);
  width: 24px;
}

.drawer-action-link:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.8)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Search Box (Glassmorphism) */
.search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.search-tab {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-tab.active, .search-tab:hover {
  background: linear-gradient(135deg, var(--primary-color), #ff4757);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.search-form {
  display: flex;
  gap: 15px;
}

.search-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.search-input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-input-group select,
.search-input-group input {
  padding: 12px 15px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
}

.search-form button {
  align-self: flex-end;
  padding: 12px 30px;
  height: 48px;
}

/* Section Titles */


#compare-table .section-header {display: table-cell;}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Featured Cars */
.featured-section {
  padding: 80px 0;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.car-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.car-badge {
  position: absolute;
  top: 175px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.car-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.car-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,0.08), transparent);
  pointer-events: none;
}

.car-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.car-card:hover .car-img-wrapper img {
  transform: scale(1.08);
}

.car-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-brand {
  font-size: 0.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.car-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 12px;
  line-height: 1.2;
}

.car-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.car-price::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  margin-top: auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  padding: 10px 5px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
  text-align: center;
}

.spec-item i {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2px;
}

.car-card:hover .spec-item {
  background: #f1f5f9;
}

/* Brands Section */
.brands-section {
  padding: 60px 0;
  background-color: var(--white);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
}

.brand-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.brand-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.brand-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.brand-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%); /* Premium modern dark gradient */
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li {
  margin-bottom: 0;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
  border-color: transparent;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .search-form {
    flex-wrap: wrap;
  }
  .search-input-group {
    flex: 1 1 45%;
  }
  .search-form button {
    flex: 1 1 100%;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .mobile-drawer {
    max-width: 85%;
  }
  .hero {
    height: auto;
    padding: 100px 0;
  }
  .search-input-group {
    flex: 1 1 100%;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Comparateur */
.compare-widget {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.05);
}

.compare-widget.visible {
  bottom: 30px;
}

.compare-widget-count {
  font-weight: 800;
  color: var(--dark-bg);
  font-size: 1.1rem;
}

.compare-widget-count i {
  color: var(--primary-color);
  margin-right: 5px;
}

.btn-compare {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.btn-compare:hover {
  background: var(--white);
  transform: translateY(-2px);
  color: var(--primary-color);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-compare.active {
  background: var(--primary-color);
  color: var(--white);
}
