/* ===============================
   BARRA SUPERIOR
================================ */

.top-bar {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
}

.top-bar-container {
    width: 92%;
    max-width: 1500px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-icons a {
    color: var(--color-white);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--color-accent);
}

.top-contact {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 120px;
    font-size: 13px;
    font-weight: 600;
}

.top-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===============================
   CABEÇALHO PRINCIPAL
================================ */

.main-header {
    width: 100%;
    background-color: var(--color-white);
}

.header-container {
    width: 92%;
    max-width: 1500px;
    height: 125px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-area {
    display: inline-flex;
    align-items: center;
}

.logo {
    width: 105px;
    height: auto;
}

.main-nav {
    margin-left: auto;
    position: static;
    transform: none;
}

.main-nav a {
    color: #000000;
    font-size: 17px;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--color-accent);
}

/* ===============================
   CARROSSEL DO BANNER
================================ */

.hero-carousel {
    width: 100%;
    background-color: #171331;
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    aspect-ratio: 1600 / 466;
    position: relative;
    overflow: hidden;
    background-color: #171331;
}

.carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Botões */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 3vw, 46px);
    height: clamp(32px, 3vw, 46px);
    border-radius: 50%;
    background-color: rgba(23, 19, 49, 0.55);
    color: #ffffff;
    font-size: clamp(14px, 1.4vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}

.carousel-btn:hover {
    background-color: rgba(245, 156, 0, 0.9);
}

.carousel-btn.prev {
    left: clamp(10px, 1.5vw, 24px);
}

.carousel-btn.next {
    right: clamp(10px, 1.5vw, 24px);
}

/* Bolinhas */
.carousel-dots {
    position: absolute;
    bottom: clamp(8px, 1.3vw, 18px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(6px, 0.8vw, 10px);
    z-index: 5;
}

.carousel-dot {
    width: clamp(8px, 0.8vw, 12px);
    height: clamp(8px, 0.8vw, 12px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--color-accent);
}

/* ===============================
   AJUSTE PARA CELULAR
================================ */

@media (max-width: 768px) {
    .carousel-wrapper {
        aspect-ratio: 1600 / 466;
    }

    .carousel-btn {
        background-color: rgba(23, 19, 49, 0.45);
    }
}

/* ===============================
   RODAPÉ
================================ */

.footer {
    width: 100%;
    background-color: var(--color-white);
    border-bottom: 3px solid #d9b1d0;
}

.footer-container {
    width: 84%;
    max-width: 1300px;
    min-height: 185px;
    margin: 0 auto;
    padding: 55px 0 25px;
    display: grid;
    grid-template-columns: 1fr 1.45fr 1.55fr 1fr;
    gap: 45px;
    align-items: start;
}

.footer-column {
    color: #4b4b5d;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 15px;
    color: #4b4b5d;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 15px;
    color: #4b4b5d;
}

.footer-contact i {
    color: var(--color-primary);
    width: 18px;
    margin-right: 4px;
}

.footer-suppliers h3 {
    font-size: 17px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.supplier-logos {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    gap: 10px 20px;
    align-items: center;
}

.supplier-logos img {
    max-width: 125px;
    max-height: 38px;
    object-fit: contain;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-icons a {
    color: var(--color-primary);
    font-size: 22px;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    color: var(--color-accent);
}

.iso-seal {
    width: 110px;
    height: auto;
}

/* ===============================
   RESPONSIVIDADE
================================ */

@media (max-width: 1100px) {
    .top-contact {
        gap: 40px;
    }

    .footer-container {
        width: 90%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        height: auto;
        padding: 10px 0;
        flex-direction: column;
        gap: 10px;
    }

    .top-contact {
        position: static;
        gap: 15px;
        flex-direction: column;
    }

    .header-container {
    width: 92%;
    max-width: 1500px;
    height: 125px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .main-nav {
        position: static;
        transform: none;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 10px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-contact p {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .supplier-logos {
        grid-template-columns: repeat(2, 120px);
        justify-content: center;
    }
}@media (max-width: 1100px) {
    .hero-carousel {
        height: 390px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 260px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-dots {
        bottom: 10px;
    }
}
/* ===============================
   BOTÃO FAZER LOGIN NO CABEÇALHO
================================ */

.header-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 46px;
    padding: 0 24px;
    background: linear-gradient(135deg, #29265f 0%, #171331 100%);
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}

.header-login-button:hover {
    background: var(--color-accent);
    color: #ffffff !important;
}