/* ===================================================================== */
/* PASSION AUTO 85 — Feuille de style : content.css                      */
/* --------------------------------------------------------------------- */
/* Description :                                                         */
/*   Styles CSS partagés pour le contenu principal du site BMW Passion   */
/*   Auto 85. Gère la présentation des sections, titres, paragraphes,    */
/*   carrousels, FAQ, histoire, etc.                                     */
/*   À utiliser pour personnaliser l'apparence du contenu sans impacter  */
/*   la structure globale.                                               */
/* --------------------------------------------------------------------- */
/* Structure :                                                           */
/*   1. Titres de sections et sous-titres                                */
/*   2. Styles génériques de contenu                                     */
/*   3. Carrousels et slides FAQ                                         */
/*   4. Paragraphes d'accueil et d'histoire                              */
/*   5. Animations et effets                                             */
/* --------------------------------------------------------------------- */
/* Auteur : 0xcyberlitech                                                */
/* Date de création : 24/12/2025                                         */
/* Dernière modification : 29/12/2025                                    */
/* ===================================================================== */

/* ===================================================================== */
/* 1. SOUS-TITRES DE PARAGRAPHES HARMONISÉS                              */
/* ===================================================================== */
.section-soustitre {
  color: #4fc3f7;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: bold;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}
@media (max-width: 700px) {
  .section-soustitre {
    font-size: 1.3rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 95vw !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
}
/* --------------------------------------------------------------------- */
/* BLOC COMMUNS DÉPLACÉS DE content-expertise.css                        */
/* --------------------------------------------------------------------- */
.galerie-paragraph, .paragraph-bmw-histoire {
  background: rgba(22, 33, 62, 0.7);
  border-radius: 0 0 16px 16px;
  padding: 1.2em 1em;
}
/* --------------------------------------------------------------------- */
/* BLOC COMMUNS DÉPLACÉS DE content-services.css                         */
/* --------------------------------------------------------------------- */
.devis-section {
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  margin: 6rem auto 2rem auto;
  position: relative;
  z-index: 10;
  min-height: unset;
  box-shadow: none;
}
.devis-container {
  background: none;
  border-radius: 2rem;
  box-shadow: 0 2px 16px 0 rgba(30, 144, 255, 0.08);
  padding: 2.5rem 2rem 2.2rem 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.devis-title {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  color: #4fc3f7;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.devis-slogan {
  font-family: var(--font-secondary);
  font-size: 1.15rem;
  color: #4fc3f7;
  margin-bottom: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.18);
}
.devis-btn {
  margin-top: 0.5rem;
  min-width: 220px;
  font-size: 1.1rem;
  background: #ff4444 !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(255, 68, 68, 0.18);
  border: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.devis-btn:hover {
  background: #d32f2f !important;
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.28);
}
.devis-btn .button-glow {
  pointer-events: none;
}
@media (max-width: 700px) {
  .devis-section {
    padding: 2.2rem 0 2rem 0;
  }
  .devis-container {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    max-width: 98vw;
    border-radius: 1.2rem;
  }
  .devis-title {
    font-size: 2rem;
    word-break: break-word;
    text-align: center;
    padding: 0 8px;
  }
  .devis-slogan {
    font-size: 1rem;
  }
  .devis-btn {
    min-width: 160px;
  }
}
.galerie-paragraph, .paragraph-bmw-histoire {
  background: rgba(22, 33, 62, 0.7);
  border-radius: 0 0 16px 16px;
  padding: 1.2em 1em;
}
/* --------------------------------------------------------------------- */
/* BLOC COMMUNS DÉPLACÉS DE content-index.css                            */
/* --------------------------------------------------------------------- */
.welcome-content .service-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}
.welcome-content .service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.welcome-content .service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.welcome-content .service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.welcome-content .service-card:nth-child(4) {
  animation-delay: 0.4s;
}
.welcome-content .service-card h3.card-title-bmw {
  color: white;
}
.welcome-content .service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(30, 144, 255, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.1);
}
.welcome-content .service-card:hover h3.card-title-bmw {
  color: #00aeef;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.welcome-content .service-card:hover p {
  color: #2c3e50;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
/* Note : Les styles FAQ sont centralisés ici */

/* ===================================================================== */
/* 2. TITRE SPÉCIFIQUE : APPRENDRE À NOUS CONNAÎTRE                      */
/*    Utilisé pour styliser le titre de la section "Nous connaître".     */
/* ===================================================================== */
.section-title-nous-connaitre {
  margin-top: 6rem;
  margin-bottom: 2rem;
}

/* ===================================================================== */
.faq-expertise-section .section-title,
.faq-title {
  font-family: var(--font-primary);
  font-size: 2.2em;
  font-weight: 900;
  color: #4fc3f7;
  text-align: center;
  margin: 4rem auto 2rem auto;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #1e90ff44, 0 0 2px #000;
}
/* ===================================================================== */
/* 3. STYLES GÉNÉRIQUES DE CONTENU (communs à toutes les pages)          */
/* ===================================================================== */

/* --------------------------------------------------------------------- */
/* Rappel pour clarté et séparation                                      */
/* --------------------------------------------------------------------- */

/* --------------------------------------------------------------------- */
/* BLOC : STRUCTURE DES SECTIONS                                         */
/*   Gestion du positionnement du slider et du contenu principal         */
/*   sous le menu fixe                                                   */
/* --------------------------------------------------------------------- */
/* Gestion du positionnement du slider et du contenu principal sous le menu fixe */
.slider-zone {
  margin-top: 80px !important;
}

/* Contenu principal - layout général et background avec image et overlay :
  Définit la structure et le fond du contenu principal avec superposition d'image. */
.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/fond/bg-bmw.webp") no-repeat center center;
  padding-top: 420px;
  background-size: cover;
  background-attachment: fixed;
  background-color: #0a0a0a;
}

/* Conteneur global - largeur maximale et centrage du contenu :
  Limite la largeur et centre le contenu sur la page. */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------- */
/* BLOC : TITRES & TEXTES COMMUNS                                        */
/*   Styles pour titres de section, sous-titres, paragraphes et variantes*/
/* --------------------------------------------------------------------- */
/* Styles pour titres de section, sous-titres, paragraphes et variantes  */
.section-title {
  font-family: var(--font-primary);
  font-size: 2.5em;
  font-weight: 900;
  color: #4fc3f7;
  text-align: center;
  margin: 6rem auto 4rem 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;
}

/* ===================================================================== */
/* 4. FAQ CARROUSEL & SLIDES                                             */
/*    Styles pour le carrousel de la FAQ Expertise et ses slides         */
/* ===================================================================== */
/* Styles pour le carrousel de la FAQ Expertise et ses slides */
.faq-expertise-section {
  margin: 2rem 0 0 0;
}
.faq-expertise-section .section-title {
  color: #4fc3f7;
}
.faq-expertise-carousel {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}
.faq-expertise-slide {
  padding: 2rem 1rem;
  background: none;
  min-height: 140px;
  color: #1e2a38;
  font-size: 1.35rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: opacity 0.8s;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}
.faq-expertise-slide:first-child {
  opacity: 1;
  display: block;
}
.faq-expertise-slide:not(:first-child) {
  opacity: 0;
  display: none;
}
.faq-expertise-slide > div:first-child {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #4fc3f7;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-expertise-slide > div:last-child {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}

/* ===================================================================== */
/* 5. PARAGRAPHES & HISTOIRE                                             */
/*    Styles pour les paragraphes d'accueil, d'histoire, et la mise en   */
/*    forme des blocs narratifs                                          */
/* ===================================================================== */
/* Styles pour les paragraphes d'accueil, d'histoire, et la mise en forme des blocs narratifs */
.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;
}
.galerie-paragraph {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
}
.welcome-text-flex {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  position: relative;
}
.welcome-content-histoire {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.welcome-text-histoire {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  position: relative;
}
.paragraph-bmw-histoire {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
}
.span-histoire-titre {
  color: #4fc3f7;
  font-weight: bold;
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.span-histoire-desc {
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}
.galerie-paragraph,
.paragraph-bmw-histoire {
  text-align: justify;
  transition: all 0.3s ease;
}
.galerie-paragraph:hover,
.paragraph-bmw-histoire:hover {
  background: #fff !important;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
}
.galerie-paragraph:hover span,
.paragraph-bmw-histoire:hover span {
  color: #1a3a52 !important;
}
/* Animation pour l'effet de liseret sur les paragraphes d'histoire et galerie :
  Animation de transition de bordure et d'ombre lors du survol. */
@keyframes borderLiseretFadeOut {
  0% {
    border: 2px solid #4fc3f7;
    box-shadow: 0 0 12px rgba(79, 195, 247, 0.25);
  }
  100% {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
  }
}
.galerie-paragraph:not(:hover),
.paragraph-bmw-histoire:not(:hover) {
  animation: borderLiseretFadeOut 1.2s ease forwards;
}
