.smart-footer {
    background: linear-gradient(to bottom, #FFFFFF, #D3D3D3);
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', sans-serif;
    color: #000000;
    border-top: 4px solid #FE5716;
  }

  .smart-footer-container {
    max-width: 1200px;
    margin: auto;
  }

  .smart-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
  }

  .smart-branding {
    flex: 1 1 300px;
  }

  .smart-branding h2 {
    font-size: 2rem;
    color: #10367A;
    margin-bottom: 10px;
  }

  .smart-branding p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #000000;
  }

  .smart-links {
    display: flex;
    flex: 2 1 700px;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .smart-links div {
    flex: 1;
    min-width: 180px;
  }

  .smart-links h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #10367A;
  }

  .smart-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .smart-links li {
    margin-bottom: 8px;
  }

  .smart-links a {
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
  }

  .smart-links a:hover {
    color: #FE5716;
  }

  .cta-box {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
  }

  .cta-box p {
    font-size: 0.95rem;
    color: #000000;
    margin-bottom: 15px;
  }

  .cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #FE5716;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }

  .cta-btn:hover {
    background: #FF7F50;
    transform: scale(1.05);
  }

  .smart-footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #000000;
    border-top: 1px solid #D3D3D3;
    padding-top: 20px;
  }

  .social-icons {
    margin-bottom: 10px;
  }

  .social-icons a {
    margin: 0 10px;
    color: #000000;
    font-size: 1.2rem;
    transition: color 0.2s ease;
  }

  .social-icons a:hover {
    color: #FE5716;
  }

  @media (max-width: 768px) {
    .smart-footer-top {
      flex-direction: column;
    }

    .smart-links {
      flex-direction: column;
      gap: 30px;
      justify-content: flex-start;
    }

    .cta-box {
      text-align: left;
    }
  }

  /* === FOOTER — Compactage mobile safe (≤ 600px) === */
@media (max-width: 600px){
  /* 1) Gouttières globales plus petites */
  .smart-footer{
    padding: 20px 16px 16px !important;
  }

  /* 2) Bandeau du haut : réduire les blancs */
  .smart-footer-top{
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  /* 3) Branding : densifier le titre/texte sans tout écraser */
  .smart-branding{ flex-basis: 100% !important; }
  .smart-branding h2{
    font-size: 1.28rem !important;
    margin: 0 0 4px !important;
    line-height: 1.2;
  }
  .smart-branding p{
    margin: 0 0 8px !important;
    line-height: 1.4;
  }

  /* 4) Colonnes de liens : même ligne mais gaps réduits (wrap si besoin) */
  .smart-links{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;               /* au lieu de 60px */
    justify-content: flex-start !important;
  }
  .smart-links div{
    flex: 1 1 150px !important;         /* petites colonnes fluides */
    min-width: 150px !important;
  }
  .smart-links h4{
    font-size: 1rem !important;
    margin: 8px 0 6px !important;
    line-height: 1.2;
  }
  .smart-links li{ margin-bottom: 6px !important; }

  /* 5) CTA : plus compact mais conservé */
  .cta-box{ order: 3; padding: 12px !important; border-radius: 8px; }

  /* 6) Bas de footer : un peu moins haut */
  .smart-footer-bottom{ padding-top: 12px !important; }
}

/* Très petits écrans : force 1 colonne si ça serre trop */
@media (max-width: 380px){
  .smart-links div{
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}