/* -----------------------------------------------------
   Footer
------------------------------------------------------ */
.footer_color .add-bullets a {
    color: #515151;
    transition: color 0.4s ease;
}

#footer .widgettitle {
    margin-top: 0px;
}

#text-2 .textwidget {
    font-size: 15px;
    line-height: 1.7;
}


#footer .tris-contact-widget li:nth-child(2) {
    white-space: pre-line;
    color: #124090;
    font-weight: bold;
}

#footer .tris-contact-widget img {
    width: 22px !important;
    height: 22px !important;
}

#footer {
    padding: 0px;
}

#top #footer h3.widgettitle {
    font-size: 28px;
    text-decoration-line: none;
    text-transform: initial;
}

/* Colonnes du footer */
#footer div .av_one_fourth:nth-child(1) {
    width: 15.5%;
}

#footer div .av_one_fourth:nth-child(3) {
    width: 30.5%;
}

#footer div .av_one_fourth:nth-child(4) {
    width: 15.5%;
}

@media only screen and (max-width: 767px) {
    #footer .widget {
        margin: 0;
        margin-top: 10px;
    }

    .responsive #top #wrap_all #footer .av_one_fourth:nth-child(1) {
        width: 30%;
        margin-right: 3%;
    }

    .responsive #top #wrap_all #footer .av_one_fourth:nth-child(2) {
        width: 67%;
    }

    .responsive #top #wrap_all #footer .av_one_fourth:nth-child(3) {
        width: 70%;
        clear: left;
    }

    .responsive #top #wrap_all #footer .av_one_fourth:nth-child(4) {
        width: 30%;
        display: flex;
        justify-content: right;
    }
    
    #footer ul.social_bookmarks {
        gap: 0px;
        margin-top: 0px;
        grid-template-columns: repeat(1, 50px);
        grid-template-rows: repeat(4, 50px);
    }

}

#footer p {
    margin: 0;
}

/* Liste portfolio dans le footer */
#top #footer .news-wrap {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

#top #footer .news-content {
    padding: 0;
}

#top #footer .news-content .news-headline {
    font-weight: normal;
}

#top #footer .news-thumb {
    display: none;
}

/* Social footer (grille) */
#footer ul.social_bookmarks {
    display: grid;
    grid-template-columns: repeat(2, 50px);
    grid-template-rows: repeat(2, 50px);
    gap: 28px;
    padding: 16px;
    width: fit-content;
    height: fit-content;
    margin-top: 70px;
}

#footer ul.social_bookmarks li {
    margin-right: 0;
}

#footer ul.social_bookmarks li a {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

#top #footer .social_bookmarks li a:before {
    background-color: white;
}

#top #footer .social_bookmarks li a:hover:before {
    background-color: var(--main-color);
}

/* Contact infos dans le footer */
.contact-item {
    display: flex;
    align-items: start;
}

.contact-item .av-icon-char {
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-item .av-icon-char svg {
    width: 26px;
    height: 32px;
    fill: white;
}

#footer #contact-name {
    margin-bottom: 10px;
}

.contact-item .contact-detail {
    flex-grow: 1;
}

.contact-item strong {
    display: block;
    font-weight: 600;
}

/* Socket copyright */
#socket .copyright {
    width: 100%;
}

.trs-icon-badge {
    position: absolute;
    height: 45px;
    width: 45px;
    top: 0;
    left: calc(50% - 23px);
    top: 30px;
}

.trs-icon-badge svg path {
    fill: white;
}

.avia-image-container .avia-image-overlay-wrap {
    position: relative;
}

.trs-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    /* Opacité du voile (0.35 = 35%) */
    border-radius: inherit;
    /* garde la forme hexagonale si le masque gère un clip */
    pointer-events: none;
    /* le voile ne bloque pas les clics */
}

#footer .widget#custom_html-2 {
    overflow: visible;
}

#footer .widget#custom_html-2 .textwidget ul {
    overflow: visible;
    list-style: initial;
}


.footer_color .add-bullets a {
    position: relative;
    padding-bottom: 3px;
}

.footer_color .add-bullets a:hover {
    color: var(--enfold-footer-color-secondary);
}

.footer_color .add-bullets a::after {
  content: "➜";
  position: relative;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease, left 200ms ease;
  pointer-events: none;
}

.footer_color .add-bullets a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--enfold-footer-color-secondary); /* couleur du soulignement */
    transition: width 0.2s ease; /* durée + délai avant démarrage */
}

/* Au hover : soulignement visible */
.footer_color .add-bullets a:hover::before {
    width: calc(100% + 5px);
}

.footer_color .add-bullets a:hover::after {
  opacity: 1;
  left: 5px;
  transform: translateY(-50%) translateX(0);
}

.footer-mobile-bg {
    position: absolute;
    top: 395px;
    opacity: 0.3;
    left: 170px;
}