/* Footer global */
.site-footer {
    background: #15588b; 
    margin-top: 0 !important;
}

.footer-top {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0.9;
}

/* Bloc haut (adresse / tel / email) */
.footer-top .info-item {
  display: flex;
  align-items: center;   
  gap: 10px;             
  color: #fff;
  font-weight: 200;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: medium;
  text-decoration: none !important;
}

.footer-top .info-item :hover {
  color: #e84c15;
}

.footer-top .icon {
  width: 20px;
  height: 20px;
  fill: #e84c15; 
  flex-shrink: 0; /* empêche l’icône de se déformer */
}

/* Bloc principal */
.footer-main{
  padding:42px 18px 20px;
}

.footer-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  gap:34px;
  grid-template-columns: 240px 1.2fr 1fr 220px;
  align-items:start;
}

.footer-logo img{ 
  display:block; 
  max-width:180px; 
  height:auto; 
}

.footer-desc{ 
  margin:14px 0 0; 
  color:rgba(255,255,255,.82); 
  line-height:1.45; 
}

.footer-title{
  margin:0 0 14px;
  font-size:18px;
  font-weight:300;
  letter-spacing: 1px;
  color: #e84c15;
}

/* Bloc LIENS LEGAUX */
.footer-container{
  min-height: 100px;
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.phone-link a {
    text-decoration: none !important;
    color: inherit;
}

.phone-link svg {
    text-decoration: none !important;
}

.phone-link span {
    text-decoration: none !important;
}

/* Liens légaux */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
  color: #ffff;
  font-size: 15px;
  letter-spacing: 0;   
  line-height: 1.35;
  font-weight: 400;   
}

.footer-links a{
  font-family: inherit;   
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:1.35;
  opacity:.95;
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  color: #e84c15; 
  font-weight: 200;
}

/* Bas du footer */
.footer-bottom {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    font-size: 15px;
    opacity: 0.7;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.footer-top .info-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

/* Social / contact */
.footer-side{ 
    display:grid; 
    gap:16px; 
    justify-items:start; 
}

.footer-social{ 
    display:flex; 
    gap:12px; 
    align-items:center; 
}

.social{
  width:50px; height:50px;
  display:grid; 
  place-items:center;
  text-decoration:none !important;
}

.social:hover{ border-color:rgba(255,255,255,.6); }

.footer-contact{
  font-style:normal;
  color:rgba(255,255,255,.82);
  line-height:1.55;
}

.footer-contact a{
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: opacity .2s ease, transform .15s ease;
  border-bottom: 1px dotted rgba(255,255,255,.4);
}

.footer-contact a:hover{
  opacity: 0.75;
  transform: translateX(2px);
  border-bottom-style: solid;
}

/* Feedback tactile mobile */
.footer-contact a:active{
  opacity: 0.6;
}

/* Bottom */
.footer-bottom{
  border-top:1px solid rgba(214, 197, 197, 0.12);
  padding:16px 18px;
}
.footer-bottom-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

/* ===================== */
/*      RESPONSIVE       */
/* ===================== */

/* =========================
            MOBILE
   ========================= */
@media (max-width: 480px) {
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.footer-brand,
.footer-side,
.footer-contact{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-size: 15px;
}

.footer-title{
  text-align: center;
}

.footer-desc{
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.9;
}

.footer-links{
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.9;
  font-size: 14px;
}

.footer-bottom{
  display: flex;
  justify-content: center;
  
}

.footer-bottom-inner{
  justify-content: center;
  text-align: center;
}

.footer-bottom-inner p{
  font-size: 13px;
}

.footer-social{
  justify-content: center;
}
.footer-contact {
  font-size: 13px;
}
}

/* =========================
           TABLETTE
   ========================= */

@media (max-width: 769px){

  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
  }

 .footer-contact{
    justify-self: center;   /* centre le bloc dans la grille */
    align-items: center;
    text-align: center;
  }

  .footer-desc{
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.9;
  align-items: center;
}

.footer-social{
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

}
