/* Content CSS BMW - PASSION AUTO 85 */

body.index .services-section-1 .section-title {
  color: #1e2a38;
}

.service-card img {
  width: 100%;
  max-width: 760px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1vw;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body:not(.index) .faq-item,
body:not(.index) .faq-item * {
  color: #fff;
}

.expertise-section .section-title {
  margin-top: 0;
}

.expertise-section {
  margin-top: 4rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

.expertise-section .services-grid {
  margin-bottom: 0;
}
.services-section-1 {
  margin-bottom: 0;
  padding-bottom: 0;
}
.historique-texte {
  font-size: 1.35em;
  line-height: 1.7;
  color: #fff;
  font-weight: 400;
  background: rgba(20, 30, 50, 0.7);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px #1e90ff22;
  margin: 2rem 0;
  letter-spacing: 0.5px;
}
.contact-section .container,
.contact-section .section-title,
.contact-section .section-subtitle,
.contact-section .contact-content,
.contact-section .contact-form,
.contact-section .bmw-form,
.contact-section .bmw-form > .form-group,
.contact-section .bmw-form label,
.contact-section .bmw-form input,
.contact-section .bmw-form textarea,
.contact-section .bmw-form button {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
}
.bmw-form {
  margin: 0;
  padding: 0;
}
.bmw-form > .form-group {
  margin: 0;
  padding: 0;
}
.bmw-form label,
.bmw-form input,
.bmw-form textarea,
.bmw-form button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.contact-section .section-title {
  margin-bottom: 0;
}
.contact-section .section-subtitle {
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-section .contact-content {
  margin-top: 0;
  padding-top: 0;
}
.section-title {
  margin: 6rem auto 1.5rem auto;
}
.subtitle-bmw {
  margin: 2rem auto 1rem auto;
}
.main-content {
  position: relative;
  min-height: 100vh;
  margin-top: -208px;
  background: linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(20, 20, 20, 0.8) 100%
    ),
    url("../../images/bg-bmw.jpg") no-repeat center center;
  padding-top: 420px;
  background-size: cover;
  background-attachment: fixed;
  background-color: #0a0a0a;
}
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-family: var(--font-primary);
  font-size: 2.5em;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin: 6rem auto 1.5rem auto;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #1e90ff44, 0 0 2px #000;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bmw-blue), transparent);
  border-radius: 2px;
}
.section-subtitle {
  font-size: 2em;
  color: #e0e0e0;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.subtitle-bmw {
  margin: 2rem auto 1rem auto;
}
.subtitle-bmw-small {
  margin: var(--spacing-lg) auto var(--spacing-sm) auto;
}
.paragraph-bmw {
  margin: 0 auto var(--spacing-md) auto;
}
.welcome-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
  max-width: 1600px;
  margin: 4rem auto 0 auto;
  padding: 0 2rem;
}
@media (max-width: 900px) {
  .welcome-content {
    grid-template-columns: 1fr;
    gap: 2vw;
  }
}
.welcome-text {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.welcome-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.3px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.welcome-text p::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--bmw-blue), transparent);
  border-radius: 2px;
}
.services-section {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 0;
  margin-bottom: 0;
  z-index: 5;
}
.services-section .services-grid-1 {
  margin-bottom: 0;
}
.services-section .service-card:last-child {
  margin-bottom: 0;
}
.services-section-1 {
  position: relative;
  padding: 1rem 0 0 0;
  z-index: 1;
  margin-bottom: 0;
}
.services-section-1 .services-grid {
  margin-bottom: 0;
}
.services-section-1 .welcome-content {
  margin-bottom: 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.services-grid-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem 0 1.5rem;
  margin-bottom: 0;
}
.service-card {
  background: linear-gradient(
    135deg,
    rgba(120, 120, 140, 0.92) 0%,
    rgba(80, 80, 100, 0.92) 100%
  );
  color: #f5f5f5;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--bmw-blue);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.service-card.centered {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bmw-blue), transparent);
  border-radius: 0 0 10px 10px;
}
.service-card:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.18);
  border-color: #1e90ff;
  background: #fff;
  color: #111;
}
.service-card:hover h3,
.service-card:hover p {
  color: #111;
}
.service-icon {
  font-size: 2.5rem;
  color: var(--bmw-blue);
  margin-bottom: 1.5rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.service-card p {
  color: rgba(192, 192, 192, 0.9);
  line-height: 1.6;
  font-weight: 300;
  font-size: 0.95rem;
}
.faq-section-1 {
  position: relative;
  padding: 1rem 0;
  z-index: auto;
  margin-top: 0;
  background: linear-gradient(
    135deg,
    rgba(120, 120, 140, 0.75) 0%,
    rgba(80, 80, 100, 0.75) 100%
  );
}
.faq-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}
.faq-item {
  background: linear-gradient(
    135deg,
    rgba(120, 120, 140, 0.92) 0%,
    rgba(80, 80, 100, 0.92) 100%
  );
  color: #f5f5f5;
  margin-bottom: 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--bmw-blue);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s,
    border-color 0.3s, background 0.3s;
  text-align: center;
  position: relative;
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bmw-blue), transparent);
  border-radius: 0 0 10px 10px;
}
.faq-item:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.18), 0 8px 25px var(--bmw-blue);
  border-color: #1e90ff;
  background: rgba(30, 144, 255, 0.07);
  color: #222;
}
.faq-question {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  padding: 1.5rem 2rem;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bmw-blue);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.faq-item:hover .faq-question::before {
  transform: scaleY(1);
}
.faq-answer {
  color: #333;
  padding: 0 2rem 1.5rem;
  margin: 0;
  line-height: 1.7;
  font-weight: 300;
}
.contact-section {
  position: relative;
  padding: 6rem 0;
  z-index: 5;
  background: linear-gradient(
      135deg,
      rgba(10, 20, 40, 0.65) 0%,
      rgba(20, 30, 50, 0.72) 100%
    ),
    rgba(24, 28, 36, 0.7);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.bmw-form {
  background: none !important;
  padding: 3rem;
  border-radius: 20px;
  border: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.form-group {
  margin-bottom: 2rem;
}
.form-group label {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-secondary);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bmw-blue);
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.2);
  background: rgba(30, 144, 255, 0.05);
}
.contact-info {
  display: grid;
  gap: 2rem;
}
.contact-item {
  background: var(--carbon-dark);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--bmw-blue);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.contact-item:hover {
  border-color: var(--bmw-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--bmw-blue);
}
.contact-item h3 {
  color: var(--bmw-blue);
  font-family: var(--font-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
}
.contact-section .section-title {
  margin-top: 0;
  margin-bottom: 0;
}
.faq-section .container {
  padding-bottom: 0;
  margin-bottom: 0;
}
.contact-section .container {
  padding-top: 0;
  margin-top: 0;
}
.faq-section .section-title {
  margin-top: 0;
}
