/* Design inspiré de l'interface immobilière moderne */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #f8fafc;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --card: #ffffff;
  --card-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --gradient-primary: linear-gradient(135deg, #2563eb, #3b82f6);
  --gradient-accent: linear-gradient(135deg, #06b6d4, #0891b2);
  --gradient-title: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
  --gradient-bg: linear-gradient(180deg, #ffffff, #f8fafc);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}


.nav-link.active {
  background: var(--primary);
  color: white;
}

.logo {
  width: 50px;
  height: 50px;
  background: url('https://res.cloudinary.com/supertoque/image/upload/v1759416480/Capture-decran-2020-09-01-a-09.34.47-removebg-preview_vbkwja.png') center center/cover no-repeat;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
  position: absolute;
  left: 2rem;
  top: 2rem;
}

/* Main container centré pour la page d'accueil */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

/* Container pleine largeur pour les résultats et produits */
main.full-width {
  max-width: none;
  width: 100vw;
  padding: 2rem 0;
  text-align: left;
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Titre principal avec dégradé */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Sous-titre */
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Titres pour les pages pleine largeur */
main.full-width .hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  padding: 0 2rem;
}

main.full-width .hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
  padding: 0 2rem;
}

/* Interface de recherche moderne */
.search-interface {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* Interface de recherche pour les pages pleine largeur */
main.full-width .search-interface {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-input-container:focus-within {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.search-input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
  background: transparent;
  color: var(--text);
}

.search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.search-button {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  margin: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.search-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.search-button:active {
  transform: scale(0.95);
}

/* Bouton Catalogue complet */
.catalog-link {
  text-align: center;
  margin-top: 2rem;
}

.catalog-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--bg-secondary);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.catalog-button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Container pour le formulaire et le bouton catalogue */
.search-form-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bouton Catalogue Complet dans les résultats */
.search-interface .catalog-link {
  margin-top: 0;
}

.search-interface .catalog-button {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-container {
  text-align: center;
  color: var(--text);
}

/* Spinner classique */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Texte de loading */
.loading-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.loading-text p {
  font-size: 1rem;
  opacity: 0.8;
  color: var(--text-muted);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: white;
}

/* Résultats de recherche */
.results-section {
  margin-top: 2rem;
  text-align: left;
  width: 100%;
  padding: 0 2rem;
}

.results-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  padding: 0;
}

/* Cartes produits modernes */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--shadow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow-hover);
  border-color: var(--primary-light);
}

/* Image thumb */
.thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .thumb img {
  transform: scale(1.05);
}

/* Card content */
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text);
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card h3 a:hover {
  color: var(--primary);
}

/* Brand pill */
.pill {
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Price */
.price {
  font-size: 20px;
  font-weight: 800;
  color: var(--success);
  margin-left: auto;
}

/* Stack layout */
.stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stack .muted {
  font-size: 13px;
  line-height: 1.4;
}

/* Row layout */
.row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Product page */
.product {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  text-align: left;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-secondary);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnails .thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid var(--border);
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumbnails .thumb:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text);
}

.cta-button {
  margin-top: 1.5rem;
}

.cta-button a {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.cta-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.detail-section p {
  line-height: 1.7;
  color: var(--text-muted);
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.features li:last-child {
  border-bottom: none;
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 16px;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.no-results {
  text-align: center;
  padding: 3rem;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.no-results h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--text);
}

.no-product {
  text-align: center;
  padding: 3rem;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.no-product h2 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: var(--text);
}

/* Responsive */
@media (max-width: 1200px) {
  .results {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
  }
  
  .product {
    gap: 2.5rem;
    max-width: 1000px;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  main {
    padding: 2rem 1rem;
  }
  
  main.full-width {
    padding: 1rem 0;
  }
  
  main.full-width .hero-title,
  main.full-width .hero-subtitle,
  main.full-width .search-interface {
    padding: 0 1rem;
  }
  
  .results-section {
    padding: 0 1rem;
  }
  
  .product {
    padding: 0 1rem;
  }
  
  
  .logo {
    position: static;
    margin: 0 auto 2rem auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .search-input {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  
  .search-button {
    width: 50px;
    height: 50px;
    margin: 6px;
  }
  
  .results {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .product {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: none;
    padding: 1rem;
  }
  
  .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .results {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

/* Catalogue */
.catalog-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.filters-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.filter-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.price-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-range input {
  flex: 1;
}

.separator {
  color: var(--text-muted);
  font-weight: 600;
}

.price-display {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--text-muted);
}

.filter-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text);
  border: 2px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3);
}

.catalog-content {
  min-height: 500px;
}

.catalog-header {
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.results-count {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.pagination-btn {
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.pagination-btn.disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.pagination-numbers {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.pagination-number:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

.pagination-number.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary-dark);
}

.pagination-ellipsis {
  padding: 0 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.page-info {
  margin-left: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive pour le catalogue */
@media (max-width: 1024px) {
  .catalog-container {
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
  }
  
  .filters-sidebar {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .catalog-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .filters-sidebar {
    position: static;
    order: 1;
  }
  
  .catalog-content {
    order: 2;
  }
  
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .pagination {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .pagination-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Responsive pour le loader */
  .spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }
  
  .loading-text h3 {
    font-size: 1.3rem;
  }
  
  .loading-text p {
    font-size: 0.9rem;
  }
  
  /* Responsive pour le container de recherche */
  .search-form-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-interface .catalog-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-actions {
    flex-direction: column;
  }
  
  .price-range {
    flex-direction: column;
    align-items: stretch;
  }
  
  .separator {
    text-align: center;
  }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Bouton retour */
.back-button-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px var(--shadow);
}

.back-button:hover {
  background: var(--card-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--shadow-hover);
}

.back-button:active {
  transform: translateY(0);
}

.back-icon {
  width: 16px;
  height: 16px;
}

/* Footer moderne */
.modern-footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #e2e8f0;
  margin-top: 4rem;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

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

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

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

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-radius: 4px;
}

.footer-link:hover {
  color: #f1f5f9;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #475569;
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Page d'accueil originale */
.homepage-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.homepage-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #d97706 0%, #0891b2 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.homepage-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Interface de recherche originale */
.search-interface {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-input-container:focus-within {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.search-input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  font-size: 1rem;
  background: transparent;
  outline: none;
  resize: none;
  min-height: 60px;
  max-height: 120px;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-button {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  margin: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.search-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.search-button:active {
  transform: scale(0.95);
}

/* Bouton Catalogue complet */
.catalog-link {
  text-align: center;
  margin-top: 2rem;
}

.catalog-button {
  display: inline-block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.catalog-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: var(--bg);
}

/* Responsive pour le footer et la homepage */
@media (max-width: 768px) {
  .homepage-title {
    font-size: 2.5rem;
  }
  
  .homepage-subtitle {
    font-size: 1.125rem;
  }
  
  .search-input-container {
    border-radius: 20px;
  }
  
  .search-input {
    padding: 1rem 1.5rem;
    min-height: 50px;
  }
  
  .search-button {
    width: 50px;
    height: 50px;
    margin: 6px;
  }
  
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}