/* ===================================================================== */
/* PASSION AUTO 85 — Feuille de style : content-contact.css              */
/* --------------------------------------------------------------------- */
/* Description :                                                         */
/*   Styles CSS propres à la page Contact du site BMW Passion Auto 85.   */
/*   Gère les grilles, titres, animations, responsive, etc.              */
/*   À utiliser pour personnaliser l'apparence de la page Contact sans   */
/*   impacter la structure globale.                                      */
/* --------------------------------------------------------------------- */
/* Structure :                                                           */
/*   1. Structure des grilles et disposition                             */
/*   2. Titres et paragraphes contact                                    */
/*   3. Media queries et responsive                                      */
/*   4. Animations et effets contact                                     */
/* --------------------------------------------------------------------- */
/* Auteur : 0xcyberlitech                                                */
/* Date de création : 24/12/2025                                         */
/* Dernière modification : 29/12/2025                                    */
/* ===================================================================== */

/* ===================================================================== */
/* 1. STRUCTURE DES GRILLES ET DISPOSITION                               */
/*    Structure générale des grilles et disposition contact              */
/* ===================================================================== */

/* Taille réduite pour 'DEMANDER UN DEVIS' uniquement */
.devis-smaller {
  font-size: 0.75em;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* ============================================
  SECTION 1 : PRENDRE RENDEZ-VOUS ?
  Titre et section principale de la page contact
  ============================================= */


/* ----------- FORMULAIRE -------------
  Styles du formulaire de contact */
.contact-form-wrapper {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  min-height: 480px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  padding: 0;
}

.bmw-form,
.contact-form-container {
  max-width: 420px;
  flex: 1;
  min-width: 280px;
  margin: 2rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: none;
  border-radius: 20px;
  box-shadow: none;
}

.form-group {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 1em;
  font-weight: 500;
  color: #0288d1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea,
.bmw-form input,
.bmw-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #eaf3fa;
  background: #f6fafd;
  color: #1e2a38;
  font-size: 1.1em;
  margin-bottom: 0.5em;
  font-family: var(--font-secondary);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4fc3f7;
  box-shadow: 0 0 8px #4fc3f755;
  background: #eaf6fb;
}

.cta-button,
.bmw-form button {
  background: #4fc3f7;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1em;
  padding: 0.9em 1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 0.5em;
}

.cta-button:hover,
.bmw-form button:hover {
  background: #0288d1;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

#privacy-popup-btn {
  margin-top: 10px;
  width: 100%;
}

/* ===================================================================== */
/* 2. TITRES ET PARAGRAPHES CONTACT                                      */
/*    Styles pour les titres et paragraphes de la page contact           */
/* ===================================================================== */


/* ----------- HORAIRES -------------
  Styles pour l'affichage des horaires */
.contact-info-wrapper {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  margin: 2rem 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  padding: 0;
}

.horaires-epure {
  margin-top: 2rem;
}

.horaires-titre {
  color: #4fc3f7;
  text-align: center;
  font-size: 1.15em;
  margin-bottom: 1em;
  letter-spacing: 0.5px;
}

.horaires-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
  color: #fff;
}


.horaires-liste li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2em 0.5em;
  border-bottom: 1px solid #eaf3fa;
}

/* Style pour l'heure à droite */
.horaire-jour {
  margin-left: 12px;
}

/* Style pour les jours fermés */
.horaire-ferme {
  margin-left: 12px;
  font-weight: 600;
}

.horaires-liste li:last-child {
  border-bottom: none;
}

/* ===================================================================== */
/* 3. MEDIA QUERIES ET RESPONSIVE                                        */
/*    Adaptation des grilles et éléments pour chaque écran               */
/* ===================================================================== */

/* ----------- ADRESSE -------------
  Styles pour l'affichage de l'adresse */
.adresse-block {
  margin: 2.5rem auto 0 auto;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.08em;
  color: #1e2a38;
  background: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  padding: 0;
}

.adresse-block strong {
  color: #4fc3f7;
  letter-spacing: 1px;
  font-size: 2em;
  font-family: var(--font-primary);
  white-space: nowrap;
  display: block;
  text-align: center;
}

.adresse-block span {
  color: #fff;
  font-size: 1.18em;
  font-family: var(--font-primary);
  font-weight: 500;
  display: block;
  text-align: center;
}

.adresse-block a[href^="tel:"],
.adresse-block a[href^="mailto:"] {
  color: #4fc3f7;
  text-decoration: none;
  font-size: 1.18em;
}

/* ===================================================================== */
/* 4. ANIMATIONS ET EFFETS CONTACT                                       */
/*    Animations et effets spécifiques à la page contact                 */
/* ===================================================================== */

/* ----------- FAQ -------------
  Styles pour la section FAQ de la page contact */
.faq-expertise-section {
  margin: 2rem 0 0 0;
}

/* Harmonisation du fond des paragraphes principaux de la section HISTOIRE :
  Applique un fond et un padding harmonisés aux paragraphes principaux. */
.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 > div:first-child {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #4fc3f7;
}
.faq-expertise-slide > div:last-child {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}
