/* ==========================================
   SERVME - FOOTER STANDARD GLOBAL
   Footer élégant noir/rose pour toutes les pages
   ========================================== */

/* ========================================
   FOOTER - DESIGN SYSTEM COULEURS
   Fond sombre avec texte clair hiérarchisé
   ======================================== */

.servme-footer {
  /* Background sombre moderne */
  background: linear-gradient(180deg, #222222 0%, #1a1a1a 100%);
  
  /* Couleur texte par défaut - blanc 90% pour lisibilité optimale */
  /* Cette couleur est héritée par tous les enfants via la cascade CSS */
  color: rgba(255, 255, 255, 0.9);
  
  padding: 3rem 0 1.5rem 0;
  margin-top: 0 !important; /* Supprimer tout espace au-dessus */
  border-top: none !important; /* Pas de bordure */
  font-family: var(--font-family); /* Utilise variable design-system.css */
  position: relative;
}

/* Supprimer la barre décorative */
.servme-footer::before {
  display: none;
}

/* ========================================
   CASCADE CSS PROPRE - Héritage des couleurs
   Tous les éléments du footer héritent de la couleur du footer
   au lieu des règles globales de typography.css
   ======================================== */

/* Force tous les éléments du footer à hériter de la couleur du footer */
.servme-footer * {
  color: inherit;
}

/* Les règles spécifiques ci-dessous redéfinissent les couleurs pour les éléments particuliers */

/* Force font-family partout dans le footer via variable */
.servme-footer,
.servme-footer *,
.footer-container *,
.footer-content *,
.footer-section *,
.footer-links *,
.footer-logo * {
  font-family: var(--font-family) !important;
}

.footer-description,
.footer-links a,
.footer-section h4,
.footer-bottom {
  font-family: var(--font-family) !important;
}

/* ========================================
   LAYOUT - CONTAINER & GRID
   ======================================== */

.servme-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.servme-footer .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* Brand prend 2x, autres 1x */
  gap: 3rem;
  margin-bottom: 3rem;
}

.servme-footer .footer-section {
  display: flex;
  flex-direction: column;
}

/* ========================================
   TYPOGRAPHIE - TITRES
   Hiérarchie visuelle forte : blanc pur
   ======================================== */

.servme-footer .footer-section h3,
.servme-footer .footer-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF; /* Titres - blanc pur pour hiérarchie forte */
  margin-bottom: 1.25rem;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.servme-footer .footer-subtitle {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.servme-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF; /* Logo - blanc pur */
}

.servme-footer .footer-logo .logo-icon {
  font-size: 1.75rem;
}

.servme-footer .footer-logo svg {
  width: 40px;
  height: 40px;
  color: #FFFFFF; /* SVG blanc pour visibilité sur fond sombre */
  flex-shrink: 0;
}

/* ========================================
   TYPOGRAPHIE - TEXTE PRINCIPAL
   Blanc 90% pour lisibilité optimale
   ======================================== */

.servme-footer .footer-description {
  color: rgba(255, 255, 255, 0.9); /* Texte principal - blanc 90% */
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

/* ========================================
   LIENS - ÉTATS NORMAL & HOVER
   Blanc 80% normal, rose saumon hover
   ======================================== */

.servme-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servme-footer .footer-links li {
  margin-bottom: 0.75rem;
}

.servme-footer .footer-links a {
  color: rgba(255, 255, 255, 0.8); /* Liens - blanc 80% */
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.servme-footer .footer-links a:hover {
  color: #E6395C; /* Hover - rose saumon brand cohérent */
  transform: translateX(4px);
}

/* ========================================
   RÉSEAUX SOCIAUX
   ======================================== */

.servme-footer .footer-social {
  display: flex;
  gap: 1rem;
}

.servme-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8); /* Icônes - blanc 80% */
  transition: all 0.3s ease;
  text-decoration: none;
}

.servme-footer .footer-social a:hover {
  background: #E6395C; /* Hover - rose saumon brand */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(230, 57, 92, 0.3);
}

/* ========================================
   FOOTER BOTTOM - TEXTE SECONDAIRE
   Blanc 70% pour hiérarchie subtile
   ======================================== */

.servme-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Bordure - blanc 15% */
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7); /* Texte secondaire - blanc 70% */
  font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE
   Les media queries mobile sont dans layout/mobile/footer.css
   Les media queries desktop sont dans layout/desktop/footer.css
   ======================================== */

