/* ============================================================
   ADNPROG – FOOTER COMPLET (CTA / Main / Bottom)
   Système modulaire avec 3 sections configurables
   ============================================================ */

/* RESET & STRUCTURE */
.adn-footer {
  position: relative;
  width: 100%;
  font-family: var(--bs-body-font-family, system-ui);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.adn-footer .container,
.adn-footer .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================================
   SECTION CTA/HERO
   ============================================================ */
.footer-cta {
  position: relative;
  width: 100%;
  z-index: 10;
}

.footer-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.footer-cta-actions {
  margin-top: 2rem;
}

.footer-cta-actions .btn {
  margin: 0.5rem;
}

/* Newsletter */
.footer-newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.footer-newsletter-form .input-group {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.footer-newsletter-form .form-control {
  border: none;
  padding: 1rem;
  font-size: 1rem;
}

.footer-newsletter-form .btn {
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
}

/* Contact Info */
.footer-contact-info {
  margin-top: 2rem;
}

.contact-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.contact-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Témoignages */
.footer-testimonials {
  margin-top: 2rem;
}

.testimonial-item {
  padding: 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.testimonial-item blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-item cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Statistiques */
.footer-stats {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* ============================================================
   SECTION PRINCIPALE
   ============================================================ */
.footer-main {
  position: relative;
  width: 100%;
  z-index: 5;
}

.footer-main-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: inherit;
}

.footer-main-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

/* Menus footer */
.footer-nav {
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-menu a:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

/* Widgets */
.footer-widget {
  margin-bottom: 2rem;
}

.footer-widget h3,
.footer-widget h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: inherit;
}

.footer-widget p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Réseaux sociaux */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================================================
   SECTION COPYRIGHT
   ============================================================ */
.footer-bottom {
  position: relative;
  width: 100%;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom-nav {
  margin-top: 0.5rem;
}

.footer-bottom-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-menu li {
  margin: 0;
}

.footer-bottom-menu a {
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-bottom-menu a:hover {
  text-decoration: underline;
}

.footer-bottom-socials {
  margin-top: 1rem;
}

/* ============================================================
   MODES FOOTER INTELLIGENTS
   ============================================================ */

/* Mode Logo + Texte + Colonnes */
.footer-mode-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: inherit;
}

.footer-mode-content {
  margin-bottom: 1rem;
}

.footer-mode-content p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mode Contact */
.footer-contact-info {
  margin-bottom: 2rem;
}

.footer-contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.footer-contact-info .contact-item i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: var(--adn-p1);
  flex-shrink: 0;
}

.footer-contact-info .contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: inherit;
}

.footer-contact-info .contact-item p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-opening-hours {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.footer-opening-hours p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-map {
  margin-bottom: 1rem;
}

.footer-map iframe {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Mode E-commerce */
.footer-shop-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

.footer-shop-description {
  margin-bottom: 1.5rem;
}

.footer-woo-info {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.footer-woo-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-customer-service {
  margin-bottom: 1.5rem;
}

.footer-customer-service .service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.footer-customer-service .service-item i {
  font-size: 1.1rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: var(--adn-p1);
  flex-shrink: 0;
}

.footer-customer-service .service-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.footer-customer-service .service-item p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-info-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.footer-info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.footer-info-item h4 i {
  margin-right: 0.5rem;
  color: var(--adn-p1);
}

.footer-info-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mode Actualités */
.footer-site-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

.footer-site-description {
  margin-bottom: 1.5rem;
}

.footer-newsletter {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.footer-newsletter .newsletter-description {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-newsletter .newsletter-form .input-group {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.footer-newsletter .newsletter-form .form-control {
  border: none;
  padding: 0.75rem;
}

.footer-newsletter .newsletter-form .btn {
  border: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.footer-recent-posts {
  margin-bottom: 1.5rem;
}

.footer-recent-posts .recent-post-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-recent-posts .recent-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.footer-recent-posts .recent-post-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-recent-posts .recent-post-item h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-recent-posts .recent-post-item h4 a:hover {
  color: var(--adn-p1);
}

.footer-recent-posts .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.footer-recent-posts .post-meta i {
  margin-right: 0.25rem;
}

.footer-recent-posts .category-count {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Mode Minimal */
.footer-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
}

.footer-minimal-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-menu-minimal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-minimal li {
  margin: 0;
}

.footer-menu-minimal a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu-minimal a:hover {
  color: var(--adn-p1);
}

.footer-widget-minimal {
  margin-top: 2rem;
}

/* Responsive pour les modes */
@media (max-width: 991px) {
  .footer-contact-info .contact-item,
  .footer-customer-service .service-item {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact-info .contact-item i,
  .footer-customer-service .service-item i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .footer-menu-minimal {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-recent-posts .post-meta {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .footer-mode-title {
    font-size: 1.1rem;
  }
  
  .footer-contact-info .contact-item,
  .footer-customer-service .service-item {
    text-align: left;
  }
  
  .footer-contact-info .contact-item i,
  .footer-customer-service .service-item i {
    margin-right: 0.75rem;
    margin-bottom: 0;
  }
  
  .footer-newsletter {
    padding: 1rem;
  }
  
  .footer-info-item {
    padding: 0.75rem;
  }
}

@media (max-width: 767px) {
  .footer-cta-title {
    font-size: 1.8rem;
  }
  
  .footer-cta-subtitle {
    font-size: 1rem;
  }
  
  .footer-cta-actions .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .contact-item {
    padding: 1rem 0.5rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .footer-main-title {
    font-size: 1.2rem;
  }
  
  .footer-bottom-menu {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-cta-title,
.footer-cta-subtitle,
.footer-main-title {
  animation: fadeInUp 0.6s ease-out;
}

.footer-cta-subtitle {
  animation-delay: 0.2s;
}

.footer-main-title {
  animation-delay: 0.1s;
}

/* ============================================================
   RÉSEAUX SOCIAUX DANS LE FOOTER CONTACT
   ============================================================ */
.footer-contact-info .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-contact-info .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: inherit;
}

.footer-contact-info .social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-contact-info .social-link i {
  font-size: 1rem;
  margin: 0;
}

.footer-contact-info .social-link span {
  font-weight: 500;
}

/* Couleurs spécifiques par réseau social */
.footer-contact-info .social-facebook:hover {
  background: #1877f2;
  color: white;
}

.footer-contact-info .social-twitter:hover {
  background: #1da1f2;
  color: white;
}

.footer-contact-info .social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.footer-contact-info .social-linkedin:hover {
  background: #0077b5;
  color: white;
}

.footer-contact-info .social-youtube:hover {
  background: #ff0000;
  color: white;
}

.footer-contact-info .social-tiktok:hover {
  background: #000000;
  color: white;
}

/* Responsive pour les réseaux sociaux */
@media (max-width: 767px) {
  .footer-contact-info .social-links {
    justify-content: center;
  }
  
  .footer-contact-info .social-link {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
}
