/* ============================================
   CORRECTION COMPLÈTE FOOTER MOBILE
   Refonte totale pour rendu premium
   ============================================ */

/* FOOTER MOBILE - Corrections complètes */
@media (max-width: 900px) {
  /* Chevron propre au lieu du ] */
  .footer-col-details summary::after {
    content: '›' !important;
    display: inline-block !important;
    font-size: 1.5rem !important;
    color: var(--gold) !important;
    margin-left: auto !important;
    transform: rotate(90deg) !important;
    transition: transform 0.25s ease-out !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-right: none !important;
    border-bottom: none !important;
    line-height: 1 !important;
    font-weight: 300 !important;
  }

  .footer-col-details[open] summary::after {
    transform: rotate(-90deg) !important;
  }

  /* Container footer */
  .footer {
    background: linear-gradient(180deg, #0b0b0d 0%, #080809 100%) !important;
  }

  .footer-inner {
    padding: 2.5rem 0 2rem !important;
    row-gap: 2.5rem !important;
  }

  /* Brand section */
  .footer-brand {
    text-align: center !important;
    padding-bottom: 0.5rem !important;
  }

  .footer-brand .logo {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
  }

  .footer-brand p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: rgba(181, 175, 166, 0.9) !important;
  }

  /* Accordéons */
  .footer-col-details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-col-details:last-child {
    border-bottom: none !important;
  }

  .footer-col-details summary {
    padding: 1.125rem 0 !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
  }

  .footer-col-links {
    padding-bottom: 1.125rem !important;
    margin-top: 0.875rem !important;
    gap: 0.875rem !important;
  }

  .footer-col-links a {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(181, 175, 166, 0.95) !important;
  }

  /* Contact section */
  .footer-contact {
    text-align: center !important;
    padding-top: 0.5rem !important;
  }

  .footer-contact-label {
    font-size: 0.875rem !important;
    margin-bottom: 1.125rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
  }

  /* Téléphone - très visible */
  .footer-tel {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: var(--text) !important;
    letter-spacing: 0.02em !important;
    display: block !important;
  }

  /* WhatsApp - style bouton */
  .footer-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 1.75rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: var(--whatsapp) !important;
    color: #fff !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    margin: 0.5rem auto 1rem !important;
    transition: all 0.25s ease-out !important;
    min-height: 48px !important;
    max-width: 280px !important;
    width: 100% !important;
  }

  .footer-whatsapp:hover {
    background: var(--whatsapp-hover) !important;
    transform: translateY(-1px) !important;
  }

  /* Autres liens contact */
  .footer-contact a:not(.footer-tel):not(.footer-whatsapp) {
    font-size: 0.9375rem !important;
    margin-bottom: 0.75rem !important;
    color: rgba(181, 175, 166, 0.9) !important;
    display: block !important;
  }

  /* Footer bottom */
  .footer-bottom {
    padding: 1.25rem 0 !important;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom)) !important;
  }

  .footer-bottom p {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    color: rgba(181, 175, 166, 0.6) !important;
  }

  /* Plan du site link */
  .footer .sitemap-link,
  .footer p.sitemap-link {
    text-align: center !important;
    padding: 0.75rem 1.75rem !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(0, 0, 0, 0.2) !important;
  }

  .footer .sitemap-link a {
    font-size: 0.8125rem !important;
    color: rgba(181, 175, 166, 0.5) !important;
  }

  .footer .sitemap-link a:hover {
    color: var(--gold-light) !important;
  }

  /* Téléphone - bouton CTA full-width */
  .footer-tel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 1.75rem !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
    text-decoration: none !important;
    margin: 0 auto 0.75rem !important;
    min-height: 52px !important;
    width: 100% !important;
    letter-spacing: 0.02em !important;
  }

  .footer-tel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
  }

  /* WhatsApp - full-width matching tel */
  .footer-whatsapp {
    max-width: none !important;
    width: 100% !important;
  }

  /* Email and other links */
  .footer-contact a:not(.footer-tel):not(.footer-whatsapp) {
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    color: rgba(181, 175, 166, 0.7) !important;
    display: block !important;
    text-align: center !important;
  }

  /* Tighter footer sections */
  .footer-inner {
    row-gap: 1.75rem !important;
    padding: 2rem 0 1rem !important;
  }

  .footer-contact {
    padding-bottom: 0 !important;
  }

  /* Kill dead space before copyright */
  .footer-bottom {
    margin-top: 0 !important;
    padding: 1rem 0 !important;
    padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
  }
}

/* Desktop - masquer le chevron */
@media (min-width: 901px) {
  .footer-col-details summary::after {
    display: none !important;
  }
}
