/* ==========================
   RESET & BASE
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #111827;
  color: #ffffff;
  line-height: 1.6;
}

.font-orbitron {
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.container {
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

/* ==========================
   ACCESSIBILITÉ
   ========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================
   HEADER - Couleur spécifique garage
   ========================== */
header {
  background-color: #111827;
  z-index: 10;
}
/* ==========================
   EFFET NÉON (bouton/hero/cards)
   ========================== */
.neon-glow:hover {
  box-shadow: 0 0 20px rgba(255, 49, 49, 0.9), 0 0 30px rgba(255, 49, 49, 0.7);
}

/* ==========================
   BREADCRUMB
   ========================== */
.breadcrumb-nav {
  background-color: #1f2937;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #98d129;
  font-weight: bold;
}

.breadcrumb a {
  color: #98d129;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ff3131;
  text-decoration: underline;
}

.breadcrumb li:last-child span {
  color: #ffffff;
}

/* ==========================
   HERO SECTION
   ========================== */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #111827, transparent);
  opacity: 0.7;
}

.hero-content-wrapper {
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-image-container {
  position: relative;
  margin: 0 auto;
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.hero-title-overlay h1,
.hero-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: #ff3131;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

/* ==========================
   MAIN CONTENT
   ========================== */
.main-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff3131;
  margin-bottom: 2rem;
}

.main-content h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #98d129;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.main-content p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.main-content article {
  background-color: #1f2937;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  border-left: 4px solid #98d129;
  transition: all 0.3s ease;
}

.main-content article:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 6px rgba(152, 209, 41, 0.3);
}

.main-content article h3 {
  margin-top: 0;
}

/* ==========================
   BOUTONS
   ========================== */
.btn-primary {
  background-color: #dc2626;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  max-width: 500px;
  margin: 30px auto;
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 2rem);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #b91c1c;
}

.btn-back {
  margin-top: 1.5rem;
  background-color: #dc2626;
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-block;
}

.btn-back:hover {
  background-color: #b91c1c;
}

/* ==========================
   SECTIONS GÉNÉRALES
   ========================== */
.section-section {
  padding: 2rem 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 3rem;
  color: #ff3131;
}

/* ==========================
   SERVICES GRID
   ========================== */
.services-grid {
  display: grid;
  gap: 2rem;
  padding: 0 1rem;
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   SERVICE CARD
   ========================== */
.service-card {
  position: relative;
  height: 16rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
}

.service-card:hover {
  opacity: 0.7;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.service-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay .card-title {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: #111827;
  background-color: #98d129;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.card-overlay p {
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: bold;
  padding: 10px;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.card-overlay .btn-icon {
  background-color: #ff3131;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

/* ==========================
   DETAIL SECTIONS
   ========================== */
.detail-section {
  padding: 2rem 1rem;
  background-color: #1f2937;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .detail-content {
    flex-direction: row;
  }
}

.detail-text {
  flex: 2;
}

.detail-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.detail-image picture {
  width: 100%;
  max-width: 640px;
}

.detail-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #ff3131;
}

.detail-section h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #98d129;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.detail-section p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
}

.detail-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.detail-section li {
  margin-bottom: 0.5rem;
}

.detail-section img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* ==========================
   CONTACT SECTION
   ========================== */
.contact-section {
  background: linear-gradient(to bottom, #111827, #1f2937);
  text-align: center;
  padding: 4rem 1rem;
}

.contact-content {
  max-width: 28rem;
  margin: 0 auto;
}

.contact-content p {
  margin-bottom: 0.5rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.contact-content strong {
  color: #ff3131;
}

/* ==========================
   BACK TO TOP
   ========================== */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff3131;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none;
  line-height: 50px;
  text-align: center;
  z-index: 1000;
}

#back-to-top:hover {
  background-color: #db2777;
}

#back-to-top.show {
  display: block;
}

/* ==========================
   SCROLL REVEAL
   ========================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   IMAGES CACHÉES (SEO)
   ========================== */
.hidden {
  display: none;
}

/* ==========================
   FAQ SECTION
   ========================== */
.faq-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background-color: #1f2937;
}

.faq-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff3131;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-item {
  background-color: #111827;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #98d129;
}

.faq-item h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  letter-spacing: 0.03em;
  color: #98d129;
  margin-bottom: 1rem;
}

.faq-item p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
}

/* ==========================
   PRICING TABLE
   ========================== */
.pricing-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.pricing-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff3131;
  margin-bottom: 3rem;
  text-align: center;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1f2937;
  border-radius: 0.5rem;
  overflow: hidden;
}

.services-table thead {
  background-color: #dc2626;
}

.services-table th {
  padding: 1rem;
  text-align: left;
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(0.875rem, 2vw, 1rem);
  white-space: nowrap;
  color: #ffffff;
}

.services-table td {
  padding: 1rem;
  border-bottom: 1px solid #111827;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.services-table tbody tr:hover {
  background-color: #111827;
}

/* ==========================
   TABLEAU TARIFS - RESPONSIVE (≤600px)
   Transforme le tableau en cartes empilées pour éviter
   le débordement horizontal sur mobile
   ========================== */
@media (max-width: 600px) {
  .services-table thead {
    display: none;
  }

  .services-table,
  .services-table tbody,
  .services-table tr,
  .services-table td {
    display: block;
    width: 100%;
  }

  .services-table {
    border: none;
  }

  .services-table tr {
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .services-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: right;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .services-table td:last-child {
    border-bottom: none;
  }

  .services-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #98d129;
    text-align: left;
    white-space: nowrap;
  }
}

/* ==========================
   REVIEWS SECTION
   ========================== */
.reviews-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background-color: #1f2937;
}

.reviews-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff3131;
  margin-bottom: 3rem;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background-color: #111827;
  padding: 2rem;
  border-radius: 0.5rem;
  border-left: 4px solid #98d129;
}

.stars {
  color: #fbbf24;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: #98d129;
  font-size: 0.9rem;
}

.review-summary {
  text-align: center;
  padding: 2rem;
  background-color: #111827;
  border-radius: 0.5rem;
}

.review-summary p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #98d129;
}

/* ==========================
   SERVICE AREA
   ========================== */
.service-area {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.service-area h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: 'Arial Black', 'Franklin Gothic Bold', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff3131;
  margin-bottom: 2rem;
}

.service-area p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.service-area ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 2rem 0;
}

.service-area li {
  background-color: #1f2937;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 3px solid #98d129;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* ==========================
   RESPONSIVE MOBILE / TABLETTE
   Les règles de header, logo et menu mobile sont retirées d'ici :
   elles vivent désormais uniquement dans nav.css (fichier partagé),
   chargé avant garage.css. Les redéfinir ici les écraserait sur toutes
   les pages du site puisque garage.css se charge en dernier.
   ========================== */