/* =============================================
   GRANDE AUTOMOBILES - Feuille de style principale
   ============================================= */

/* --- Variables CSS --- */
:root {
  --primary:       #0a1f3d;
  --primary-light: #163352;
  --primary-mid:   #1c3f6e;
  --accent:        #e85a0b;
  --accent-hover:  #c04508;
  --accent-light:  #ff7a3d;
  --white:         #ffffff;
  --light-bg:      #f4f7fb;
  --light-bg2:     #edf0f7;
  --border:        #dee2ec;
  --text:          #1e2a3a;
  --text-mid:      #4a5568;
  --text-light:    #718096;
  --shadow-sm:     0 2px 8px rgba(10,31,61,0.08);
  --shadow-md:     0 4px 20px rgba(10,31,61,0.12);
  --shadow-lg:     0 8px 40px rgba(10,31,61,0.18);
  --radius:        10px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title span { color: var(--accent); }

.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 600px;
}

/* --- Buttons --- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,90,11,0.35);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-dark-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  transition: var(--transition);
  cursor: pointer;
}
.btn-dark-custom:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar-main {
  background: var(--primary);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* ── Logo Italianno (style original Grande Automobiles) ── */
.navbar-logo-grande {
  font-family: 'Italianno', cursive;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.navbar-logo-grande span { color: rgba(255,255,255,0.65); }
.navbar-logo-grande:hover { color: var(--accent-light); }
.navbar-logo-grande:hover span { color: var(--accent-light); }

.footer-logo-grande {
  font-size: 2rem;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo-text .brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.navbar-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-custom {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-phone {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.navbar-cta:hover {
  background: var(--accent-hover) !important;
}

.navbar-toggler {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Carousel héro (remplace hero-bg) */
.hero-carousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-carousel-bg .carousel-inner,
.hero-carousel-bg .carousel-item {
  height: 100%;
}
.hero-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,31,61,0.92) 0%,
    rgba(10,31,61,0.75) 50%,
    rgba(10,31,61,0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232,90,11,0.2);
  border: 1px solid rgba(232,90,11,0.5);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--accent-light);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span { color: var(--accent-light); }

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  text-align: center;
  animation: bounce 2s infinite;
}
.hero-scroll-indicator i { display: block; font-size: 1.5rem; margin-top: 0.3rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SEARCH BAR (Homepage)
   ============================================= */
.search-bar-section {
  background: var(--primary);
  padding: 0;
}

.search-bar-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
  transform: translateY(-40px);
  margin-bottom: -20px;
}

.search-field {
  flex: 1;
  min-width: 160px;
}

.search-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.search-field select,
.search-field input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,90,11,0.12);
}

.search-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: fit-content;
  align-self: flex-end;
}
.search-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(232,90,11,0.4);
}

/* =============================================
   SECTIONS COMMUNES
   ============================================= */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* --- À PROPOS --- */
.about-section {
  background: var(--white);
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 140px;
}

.about-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.about-list-icon {
  width: 28px;
  height: 28px;
  background: rgba(232,90,11,0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* =============================================
   VEHICLE CARDS
   ============================================= */
.vehicles-section { background: var(--light-bg); }

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.vehicle-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-img img {
  transform: scale(1.05);
}

.vehicle-badge-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-disponible {
  background: rgba(22, 163, 74, 0.9);
  color: white;
}

.badge-vendu {
  background: rgba(220, 38, 38, 0.9);
  color: white;
}

.badge-reserve {
  background: rgba(234, 179, 8, 0.9);
  color: white;
}

.vehicle-type-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(10,31,61,0.85);
  color: rgba(255,255,255,0.9);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.vehicle-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-card-ref {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.vehicle-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.vehicle-card-version {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vehicle-specs-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--light-bg2);
  color: var(--text-mid);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.spec-chip i {
  color: var(--accent);
  font-size: 0.7rem;
}

.vehicle-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vehicle-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.vehicle-price-label {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
}

.btn-card {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-card:hover {
  background: var(--accent);
  color: var(--white);
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { background: var(--white); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(232,90,11,0.1);
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* =============================================
   STATS BANNER
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span { color: var(--accent-light); }

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* =============================================
   PROCESS SECTION (Comment ça marche)
   ============================================= */
.process-section { background: var(--light-bg); }

.process-step {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem;
}

.process-step-num {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1rem;
}

.process-arrow {
  display: none;
  position: absolute;
  right: -30px;
  top: 30px;
  font-size: 1.5rem;
  color: var(--accent);
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-step-text {
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* =============================================
   REPRISE SECTION
   ============================================= */
.reprise-section {
  background: linear-gradient(135deg, #0a1f3d 0%, #1a3a5c 100%);
  padding: 5rem 0;
  color: var(--white);
}

.reprise-form-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.reprise-form-field {
  margin-bottom: 1rem;
}

.reprise-form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reprise-form-field input,
.reprise-form-field select,
.reprise-form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.reprise-form-field input::placeholder,
.reprise-form-field textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.reprise-form-field input:focus,
.reprise-form-field select:focus,
.reprise-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}

.reprise-form-field select option { background: var(--primary); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--white); }

.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  border-left: 4px solid var(--accent);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.25;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.testimonial-info { font-size: 0.78rem; color: var(--text-light); }

.stars { color: #f59e0b; font-size: 0.8rem; margin-bottom: 0.2rem; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--accent);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-cta-white {
  background: var(--white);
  color: var(--accent);
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  color: var(--accent-hover);
}

/* =============================================
   PICTOS — LES + GRANDE AUTOMOBILES
   ============================================= */
.pictos-section { background: var(--light-bg); }

.picto-item {
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--transition);
}
.picto-item:hover { transform: translateY(-4px); }

.picto-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a1f3d, #1c3f6e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10,31,61,0.2);
}

.picto-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* =============================================
   GALERIE PHOTO
   ============================================= */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
}

.gallery-item {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), filter var(--transition);
}
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  background: rgba(10,31,61,0);
  transition: background var(--transition);
}
.gallery-item:hover::after { background: rgba(10,31,61,0.45); }
.gallery-item:hover { transform: scale(1.02); }

.gallery-item-large {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item-large { grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer-main {
  background: #06121f;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social-link:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-link:hover { color: var(--accent-light); }
.footer-link i { font-size: 0.7rem; color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-icon {
  color: var(--accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-hours {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.footer-hours span {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   PAGE CATALOG (vehicules.html)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 3rem 0;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb-custom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumb-custom a:hover { color: var(--accent-light); }

.breadcrumb-custom .separator { opacity: 0.4; }
.breadcrumb-custom .current { color: rgba(255,255,255,0.9); }

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-range-row {
  display: flex;
  gap: 0.5rem;
}

.filter-range-row input { text-align: center; }

.filter-btn-apply {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.filter-btn-apply:hover {
  background: var(--accent-hover);
}

.filter-btn-reset {
  width: 100%;
  background: var(--light-bg);
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.filter-btn-reset:hover {
  background: var(--border);
}

/* Catalog Grid */
.catalog-section { background: var(--light-bg); padding: 2.5rem 0 4rem; }

.catalog-toolbar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.catalog-count {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.catalog-count strong { color: var(--primary); }

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.catalog-sort select {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

/* =============================================
   VEHICLE DETAIL PAGE
   ============================================= */
.vehicle-detail-section {
  background: var(--light-bg);
  padding: 2.5rem 0 4rem;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 90px;
  height: 65px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb.active { border-color: var(--accent); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.detail-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.detail-price-note {
  font-size: 0.8rem;
  color: var(--text-light);
}

.detail-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-status-badge.disponible {
  background: rgba(22,163,74,0.12);
  color: #16a34a;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 0.65rem 0.5rem;
  font-size: 0.875rem;
}

.specs-table td:first-child {
  color: var(--text-light);
  font-weight: 500;
  width: 45%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.specs-table td:first-child i {
  color: var(--accent);
  font-size: 0.85rem;
  width: 16px;
}

.specs-table td:last-child {
  color: var(--text);
  font-weight: 600;
}

.options-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.option-chip {
  background: var(--light-bg2);
  color: var(--text-mid);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.option-chip i { color: var(--accent); font-size: 0.75rem; }

.contact-btn-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.contact-btn-big.phone {
  background: var(--accent);
  color: var(--white);
}
.contact-btn-big.phone:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,90,11,0.35);
}

.contact-btn-big.email {
  background: var(--primary);
  color: var(--white);
}
.contact-btn-big.email:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-group {
  margin-bottom: 1.25rem;
}

.contact-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,90,11,0.1);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,90,11,0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-info-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.map-placeholder {
  background: var(--light-bg2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  position: relative;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-mid);
}

.hours-table {
  width: 100%;
  font-size: 0.875rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--text-mid); }
.hours-time { font-weight: 600; color: var(--primary); }
.hours-closed { color: #dc2626; font-weight: 600; }

/* =============================================
   ADMIN PAGES
   ============================================= */
.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a1f3d 0%, #1c3f6e 100%);
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.admin-login-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.admin-sidebar {
  width: 260px;
  background: var(--primary);
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
  transition: var(--transition);
}

.admin-sidebar-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-nav {
  padding: 1rem 0;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-left-color: var(--accent);
}

.admin-nav-link i { width: 20px; text-align: center; font-size: 0.95rem; }

.admin-nav-section {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
}

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.admin-topbar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.admin-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-content {
  padding: 1.5rem;
}

/* Admin Stats Cards */
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-stat-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.admin-stat-icon.orange { background: rgba(232,90,11,0.1); color: var(--accent); }
.admin-stat-icon.green { background: rgba(22,163,74,0.1); color: #16a34a; }
.admin-stat-icon.red { background: rgba(220,38,38,0.1); color: #dc2626; }

.admin-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Admin Table */
.admin-table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.admin-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-table-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.admin-table-wrap {
  overflow-x: auto;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }

.admin-table tbody tr:hover td { background: var(--light-bg); }

.admin-vehicle-thumb {
  width: 64px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-badge-green { background: rgba(22,163,74,0.12); color: #16a34a; }
.admin-badge-red { background: rgba(220,38,38,0.12); color: #dc2626; }
.admin-badge-yellow { background: rgba(234,179,8,0.12); color: #a16207; }

.admin-action-btn {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.admin-action-btn.edit { background: rgba(59,130,246,0.1); color: #3b82f6; }
.admin-action-btn.edit:hover { background: #3b82f6; color: var(--white); }
.admin-action-btn.delete { background: rgba(220,38,38,0.1); color: #dc2626; }
.admin-action-btn.delete:hover { background: #dc2626; color: var(--white); }

/* Admin Form */
.admin-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.admin-form-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.admin-form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.admin-form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-form-section-title i { color: var(--accent); }

.admin-form-group {
  margin-bottom: 1rem;
}

.admin-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-mid);
  margin-bottom: 0.35rem;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,90,11,0.1);
}

.admin-form-group .required { color: #dc2626; }

.admin-btn-save {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-btn-save:hover { background: var(--accent-hover); }

.admin-btn-cancel {
  background: var(--light-bg2);
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-btn-cancel:hover { background: var(--border); color: var(--text); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-close {
  background: var(--light-bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); }

.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Alert / Toast */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  min-width: 280px;
  border-left: 4px solid transparent;
  pointer-events: all;
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left-color: #16a34a; }
.toast.error { border-left-color: #dc2626; }
.toast.info { border-left-color: #3b82f6; }

.toast-icon { font-size: 1.1rem; }
.toast.success .toast-icon { color: #16a34a; }
.toast.error .toast-icon { color: #dc2626; }
.toast.info .toast-icon { color: #3b82f6; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-accent { color: var(--accent) !important; }
.text-primary-c { color: var(--primary) !important; }
.bg-light-custom { background: var(--light-bg) !important; }

.divider {
  height: 3px;
  width: 50px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.75rem 0 1.25rem;
}

.divider-center { margin: 0.75rem auto 1.25rem; }

/* Alert messages */
.alert-custom {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.alert-custom.success { background: rgba(22,163,74,0.1); color: #166534; border: 1px solid rgba(22,163,74,0.2); }
.alert-custom.error { background: rgba(220,38,38,0.1); color: #991b1b; border: 1px solid rgba(220,38,38,0.2); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .navbar-nav-links { display: none; }
  .navbar-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-light);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0.25rem;
  }
  .navbar-toggler { display: flex; align-items: center; }
  .navbar-main { position: relative; }
  .nav-phone { display: none; }

  .hero-section { min-height: 85vh; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.6rem; }

  .about-badge { position: relative; bottom: auto; right: auto; margin-top: 1rem; }
  .about-image-wrap img { height: 350px; }

  .admin-sidebar { width: 100%; min-height: auto; position: relative; }
  .admin-main { margin-left: 0; }
  .admin-sidebar { display: none; }
}

@media (max-width: 767.98px) {
  .search-bar-wrap { flex-direction: column; }
  .search-btn { width: 100%; justify-content: center; }
  
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a, .hero-buttons button { width: 100%; justify-content: center; }

  .stats-section .row > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  
  .gallery-main img { height: 260px; }
  .vehicle-detail-card { padding: 1.25rem; }
  .detail-price { font-size: 2rem; }
  
  .contact-card { padding: 1.5rem; }
  
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   BACK TO TOP
   ============================================= */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(232,90,11,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9998;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* =============================================
   SOCIAL SIDEBAR (fixe côté droit)
   ============================================= */
.social-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1a1a2e;
  color: var(--white);
  font-size: 1rem;
  border-radius: 4px 0 0 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}
.social-sidebar a.sb-facebook { background: #1877f2; }
.social-sidebar a.sb-google   { background: #ea4335; }
.social-sidebar a.sb-instagram{ background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.social-sidebar a:hover {
  width: 54px;
  right: 0;
}

/* =============================================
   STICKY NAVBAR SHRINK
   ============================================= */
.navbar-main.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(10,31,61,0.25);
}
.navbar-main.scrolled .navbar-logo-grande {
  font-size: 1.7rem;
}

/* =============================================
   LIGHTBOX SIMPLE
   ============================================= */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox-overlay.open {
  display: flex;
}
#lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  animation: lbFadeIn 0.2s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
#lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
#lightbox-close:hover { opacity: 1; }
#lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
