/* Footer Refonte - Pixel Perfect */

.refonte-footer {
    width: 100%;
    position: relative;
    background: #FFFFFF;
    background-image: url('/img/refonte/background-lines-dark.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 64px;
    color: #4A1625;
    font-family: var(--font-primary);
    box-sizing: border-box;
}

.footer-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 1440px;
    /* Fixed width from design, but responsive handling needed */
    height: 656px;
    pointer-events: none;
    opacity: 1;
    z-index: 0;
}

.footer-bg-lines img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    /* Adjusted opacity to match subtle look */
}

.footer-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    /* From snippet */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.footer-grid {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    /* Exact gap from snippet */
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 0;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

/* Headers decoration */
.col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Exact gap */
    width: 100%;
}

.col-header img {
    width: 12px;
    height: 12px;
}

.col-header span {
    color: #EC674E;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 20.8px;
    letter-spacing: 0.8px;
    word-wrap: break-word;
}

/* Links & Text */
.footer-col a,
.footer-col .address-row span,
.footer-col .address-sub {
    color: #4A1625;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    /* Exact line height */
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #EC674E;
}

/* Contact Specifics */
.contact-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.icon-box {
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icons color fix if SVGs are black - filter to match #4A1625 */
/* Assuming SVGs are already correct color or use filter. 
   4A1625 is a dark red/brown. 
   Filter generator for #4A1625: 
   filter: invert(10%) sepia(35%) saturate(3659%) hue-rotate(313deg) brightness(93%) contrast(93%);
*/
.contact-item img {
    /* If img needs color adjustment */
}


.address-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.address-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.address-sub {
    padding-left: 40px;
    /* Exact padding */
}

/* LinkedIn */
.linkedin-icon-container {
    width: 24px;
    height: 24px;
    position: relative;
    /* Removed padding/background circles to match design provided */
}

.linkedin-icon {
    width: 24px;
    height: 24px;
    /* No filter/background adjustments needed if using the provided SVG directly as requested */
}

.contact-item .underline {
    text-decoration: underline;
}

/* CTAs */
.footer-ctas {
    display: flex;
    flex-direction: column;
    /* "display: flex ... gap: 80px" in snippet seems to wrap everything? 
                             Wait, the snippet for buttons says "display: inline-flex" for each button?
                             Actually the snippet shows buttons in a column inside the contact column? 
                             No, buttons are distinct divs. 
                             Based on previous turn's footer, they were at bottom of contact. */
    gap: 16px;
    margin-top: 16px;
    align-items: flex-start;
}

.btn-team {
    height: 44px;
    padding: 6px 20px;
    /* Avatars left, Text right */
    background: #003329;
    border-radius: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #E6FFA3 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 22px;
}

.avatars-container {
    display: flex;
    align-items: center;
}

.avatars-container img {
    height: 32px;
    /* Standard icon size */
    width: auto;
    border-radius: 400px;
}

.btn-login {
    height: 44px;
    padding: 6px 6px 6px 20px;
    /* Text left, Icon right */
    background: #003329;
    border-radius: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #E6FFA3 !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 22px;
}

.arrow-circle {
    width: 32px;
    height: 32px;
    display: block;
}

/* Services Group */
.service-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.group-title {
    opacity: 0.5;
    color: #4A1625;
    font-size: 14px;
    font-weight: 400;
    /* Snippet says 500, not 700 */
    text-transform: uppercase;
    line-height: 18.2px;
    letter-spacing: 0.7px;
    margin-bottom: 0px;
    /* Gap handled by parent */
    word-wrap: break-word;
}

/* About Links */
.about-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

/* Logo */
.footer-logo {
    margin-top: 32px;
    /* Adjust as needed */
}

.footer-logo img {
    height: auto;
    width: 350px;
    /* Exact width from request */
}

@media (max-width: 900px) {
    .footer-grid {
        flex-direction: column;
        gap: 60px;
    }

    .footer-col {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .refonte-footer {
        padding: 48px 16px;
    }

    .footer-grid {
        gap: 48px;
    }

    .footer-col {
        gap: 16px;
    }

    .footer-logo img {
        width: 100%;
        max-width: 300px;
    }

    .btn-team,
    .btn-login {
        width: 100%;
        box-sizing: border-box;
    }
}