/* ===================================================================== */
/* PASSION AUTO 85 — Feuille de style : footer.css                       */
/* --------------------------------------------------------------------- */
/* Description :                                                         */
/*   Styles CSS pour le pied de page (footer) du site BMW Passion Auto   */
/*   85. Gère la structure, les couleurs, les liens, les réseaux sociaux,*/
/*   le responsive, etc.                                                 */
/*   À utiliser pour personnaliser l’apparence du footer sur tout le site.*/
/* --------------------------------------------------------------------- */
/* Structure :                                                           */
/*   1. Structure générale et layout du footer                           */
/*   2. Titres, textes et branding                                       */
/*   3. Liens, réseaux sociaux, copyright                                */
/*   4. Newsletter et carte                                              */
/*   5. Media queries et responsive                                      */
/* --------------------------------------------------------------------- */
/* Auteur : 0xcyberlitech                                                */
/* Date de création : 24/12/2025                                         */
/* Dernière modification : 29/12/2025                                    */
/* ===================================================================== */

/* ===================================================================== */
/* 1. STRUCTURE GÉNÉRALE ET LAYOUT DU FOOTER                             */
/*    Structure globale, containers, marges, etc.                        */
/* ===================================================================== */

/* Bloc principal du footer (fond, couleur, structure) */
.main-footer {
  background: linear-gradient(135deg, #163452 0%, #1e2a38 60%, #4fc3f7 100%);
  backdrop-filter: blur(8px) saturate(1.2);
  color: #f5f5f5;
  border-top: 2px solid var(--bmw-blue);
  box-shadow: 0 -2px 12px var(--bmw-blue), 0 -1px 8px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  font-family: var(--font-secondary);
  width: 100vw;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
/* Conteneur principal du footer */
.footer-container {
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
/* Bloc principal du contenu du footer */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  font-size: 1.05rem;
  color: #e0e0e0;
  text-align: center;
}
/* Logo BMW stylisé dans le footer */
.bmw-logo-footer {
  background: radial-gradient(circle, var(--bmw-blue) 0%, transparent 70%);
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 0 16px rgba(30, 144, 255, 0.18);
}
/* Image du logo BMW dans le footer */
.bmw-logo-image-footer {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
/* Titre de la marque dans le footer */
.footer-brand-text h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3em;
  color: var(--bmw-blue);
  margin-bottom: 0.2em;
}
/* Texte de la marque dans le footer */
.footer-brand-text p {
  font-size: 1em;
  color: #e0e0e0;
  opacity: 0.8;
}
/* Bloc réseaux sociaux et newsletter dans le footer */
.footer-social {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}
/* Titres des sections réseaux sociaux/newsletter */
.social-section h5,
.newsletter-section h5 {
  color: var(--bmw-blue);
  font-family: "Orbitron", sans-serif;
  margin-bottom: 0.5em;
}
/* Liens réseaux sociaux dans le footer */
.social-links {
  display: flex;
  gap: var(--spacing-sm);
}
/* Lien individuel réseau social */
.social-link {
  font-size: 1.7em;
  color: var(--bmw-blue);
  background: rgba(30, 144, 255, 0.08);
  border-radius: 50%;
  padding: 0.3em 0.4em;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
/* Effet hover sur les liens réseaux sociaux */
.social-link:hover {
  background: var(--bmw-blue);
  color: #fff;
}
/* Formulaire newsletter dans le footer */
.newsletter-form {
  display: flex;
  gap: var(--spacing-xs);
}
/* Champ de saisie newsletter */
.newsletter-input {
  padding: 0.5em 1em;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  background: #222c38;
  color: #e0e0e0;
}
/* Bouton d'envoi newsletter */
.newsletter-btn {
  background: var(--bmw-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
/* Effet hover sur le bouton newsletter */
.newsletter-btn:hover {
  background: #222c38;
  color: var(--bmw-blue);
}
/* Texte d'information newsletter */
.newsletter-text {
  font-size: 0.95em;
  color: #e0e0e0;
  opacity: 0.7;
}
/* Bas de footer (copyright, liens, etc.) */
.footer-bottom {
  border-top: 1px solid rgba(30, 144, 255, 0.18);
  margin-top: 2rem;
  padding-top: 1.2rem;
}
/* Contenu du bas de footer (flex, responsive) */
.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
}
/* Bloc copyright dans le footer */
.copyright {
  flex: 1;
  min-width: 200px;
  margin-top: 0.5em;
}
/* Texte copyright dans le footer */
.copyright p {
  margin: 0;
  font-size: 1.08em;
  color: #fff;
  text-align: left;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding-left: 8px;
  opacity: 1;
  font-family: "Montserrat", "Roboto", "Open Sans", Arial, sans-serif;
  text-shadow: 0 2px 8px #000a, 0 0 2px #1e90ff22;
}
/* Bloc de liens principaux du footer (flex, responsive) */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}
/* Bloc certifications dans le footer */
.certifications {
  display: flex;
  gap: var(--spacing-xs);
  font-size: 1.1em;
  color: #e0e0e0;
}
/* Badge individuel de certification */
.cert {
  background: rgba(30, 144, 255, 0.1);
  border-radius: 6px;
  padding: 0.2em 0.7em;
  color: var(--bmw-blue);
  font-weight: 600;
}

/* ===================================================================== */
/* 2. TITRES, TEXTES ET BRANDING                                         */
/*    Styles pour titres, textes, branding du footer                     */
/* ===================================================================== */

/* Titres principaux du footer (style Orbitron) */
footer .footer-title,
footer .footer-title-1 {
  margin-right: 0.5em;
}
footer .footer-title,
footer .footer-title-1,
footer .footer-title-2,
.footer-title,
.footer-title-1,
.footer-title-2,
.slider-title-row .footer-title,
.slider-title-row .footer-title-1,
.slider-title-row .footer-title-2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #00aeef;
  text-shadow: 0 2px 12px rgba(0, 174, 239, 0.5), 0 0 4px #000;
  letter-spacing: 2px;
  text-align: center;
  display: inline;
  margin: 0 2px;
  vertical-align: middle;
  line-height: 1.1;
}
.slider-title-row .footer-title,
.slider-title-row .footer-title-1 {
  margin-right: 0.5em;
}
/* Sous-titre du slider dans le footer (si utilisé) */
.slider-main-subtitle {
  font-size: 1.5em;
  font-weight: 700;
  color: #e0e0e0;
  text-align: center;
  margin-top: 0.1em;
  margin-bottom: 0.5em;
  font-family: "Roboto", Arial, sans-serif;
}
/* Signature créateur du site - épuré */
/* Signature du créateur du site dans le footer */
.footer-creator-signature {
  font-size: 0.98rem;
  color: #b0c4de;
  text-align: center;
  margin-top: 0.3em;
  letter-spacing: 0.2px;
  font-style: italic;
}
/* Lien vers le créateur du site */
.footer-creator-link {
  color: #90caf9;
  text-decoration: none;
  border-bottom: 1px dotted #90caf9;
  transition: color 0.2s, border-bottom 0.2s;
}
.footer-creator-link:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}
/* Harmonisation couleur liens et copyright dans le footer, tous écrans */
.footer a,
#footer-placeholder a,
#privacy-link,
#cookies-link {
  color: inherit !important;
  text-decoration: underline;
}
/* Harmonisation couleur liens et copyright dans le footer, tous écrans */
.footer a,
#footer-placeholder a,
#privacy-link,
#cookies-link {
  color: inherit;
  text-decoration: underline;
}

/* ===================================================================== */
/* 3. LIENS, RÉSEAUX SOCIAUX, COPYRIGHT                                  */
/*    Styles pour liens, réseaux sociaux, copyright                      */
/* ===================================================================== */

/* Liens principaux du footer (réseaux, mentions, etc.) */
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  background: rgba(255,255,255,0.03);
  border-radius: 1.5em;
  padding: 0.18em 0.85em 0.18em 0.7em;
  color: #b3d6f6;
  font-weight: 500;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-left: 0.3em;
  box-shadow: none;
  border: none;
}
.footer-links a:hover {
  background: rgba(33,150,243,0.16);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(33,150,243,0.18);
  transform: translateY(-1px) scale(1.025);
  filter: brightness(1.08);
}
@media (max-width: 600px) {
  .footer-links a {
    font-size: 1em;
    padding: 0.18em 0.7em 0.18em 0.6em;
    margin: 0.22em auto;
    display: flex;
    justify-content: center;
  }
}
/* Badge Instagram footer */
/* Badge Instagram personnalisé dans le footer */
.footer-instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: rgba(255,255,255,0.07);
  border-radius: 2em;
  padding: 0.32em 1em 0.32em 0.7em;
  color: #e1306c;
  font-weight: 600;
  font-size: 1.08em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-left: 0.5em;
}
.footer-instagram-badge:hover {
  background: #e1306c;
  color: #fff;
}
/* Icône Instagram dans le badge */
.footer-instagram-icon {
  display: flex;
  align-items: center;
  font-size: 1.2em;
}
/* Texte Instagram dans le badge */
.footer-instagram-text {
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .footer-instagram-badge {
    font-size: 1em;
    padding: 0.32em 0.8em 0.32em 0.6em;
    margin: 0.3em auto;
    display: flex;
    justify-content: center;
  }
}

/* ===================================================================== */
/* 4. NEWSLETTER ET CARTE                                                */
/*    Styles pour la newsletter et la carte dans le footer               */
/* ===================================================================== */

/* Bloc carte Google Maps dans le footer */
.footer-map {
  margin-top: 0;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Iframe Google Maps dans le footer */
.footer-map iframe {
  width: 100vw;
  max-width: 100vw;
  min-width: 320px;
  height: 350px;
  border-radius: 0;
  border: none;
  box-shadow: 0 6px 32px #1e90ff33, 0 0 24px #00bfff22 inset;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
  transition: box-shadow 0.3s, background 0.3s;
}
.footer-map iframe:hover {
  box-shadow: 0 12px 48px #1e90ff88, 0 0 32px #00bfff44 inset;
  background: linear-gradient(135deg, #1e90ff22 0%, #16213e 100%);
}
.footer-contact {
  margin-top: 2rem;
  padding: 0;
  color: #e0e0e0;
  max-width: 370px;
  width: 100%;
  font-size: 1rem;
}
/* Liste des contacts dans le footer */
.contact-list {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}
/* Élément individuel de la liste de contacts */
.contact-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  text-align: center;
}
/* Label de contact (ex : Téléphone) */
.contact-label {
  font-weight: 700;
  color: var(--bmw-blue, #1e90ff);
  margin-right: 0.5em;
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 1.25rem;
}
/* Lien de contact (ex : mail, téléphone) */
.contact-link {
  color: var(--bmw-blue, #1e90ff);
  text-decoration: underline;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color 0.2s;
}
/* Effet hover sur les liens de contact */
.contact-link:hover {
  color: #00bfff;
}
/* Bloc carte additionnelle dans le footer */
.contact-map {
  margin-top: 1rem;
  text-align: center;
}

/* ===================================================================== */
/* 5. MEDIA QUERIES ET RESPONSIVE                                        */
/*    Adaptation du footer pour chaque écran                             */
/* ===================================================================== */

@media (max-width: 900px) {
  .footer-container {
    gap: var(--spacing-sm);
  }
  .footer-main {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: var(--spacing-xs);
  }
  .footer-social {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: center;
  }
  .footer-links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9em;
  }
  .copyright p {
    font-size: 0.85em;
    line-height: 1.4;
    text-align: left;
    padding-left: 8px;
  }
}
