body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .btn {
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.top-bar {
    background-color: #00004d;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    width: 200px;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.nav-item {
    margin: 0 5px;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: #ac821d;
    font-size: 24px;
}

.nav-link.dropdown-toggle {
    color: #ffffff !important;
}

.nav-link:hover {
    color: #ac821d !important;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons a:hover {
    color: #ac821d !important;
}

/* Hero Section */
.hero {
    background-image: url('../images/imagem_fundo.webp');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 120px;
}

.heroimg {
    border-radius: 20px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero h1, .hero .btn {
    position: relative;
}

.btn {
    background-color: #ac821d;
    border: #ac821d;
    color: #FFFFFF;
    font-weight: 700;
}

.btn:hover {
    background-color: #98721a;
    border: #98721a;
    color:#FFFFFF;
    font-weight: 700;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 16px 106px rgba(0, 0, 0, 0.1);
    height: 100%;
    border-radius: 15px 50px;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 700;
    color: black;
    background-color: white;
    border: none;
    border-bottom: 1px solid #ddd;
    transition: none;
}

.accordion-button::after {
    transition: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
    background-color: white;
    color: black;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-collapse {
    border: none;
    border-bottom: 1px solid #ddd;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:focus-visible {
    outline: none;
}

.accordion-button:focus,
.accordion-button:active {
    background-color: white;
    border-color: #dddddd;
    color: black;
}

.accordion-button:not(.collapsed) {
    color: black;
    background-color: white;
    box-shadow: none;
}

.accordion-button::after {
    content: "";
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23d9c593" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.5 3.5a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .354.854l-6 6a.5.5 0 0 1-.708 0l-6-6A.5.5 0 0 1 1.5 3.5z"/></svg>') !important;
    background-repeat: no-repeat;
    background-size: 1.25em;
    background-position: center;
    transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease-in-out;
}

.whatsapp-button:hover {
    background-color: #1da851;
    color: white;
}

/* Footer */
.footer {
    background-color: #01012c;
    color: #919191;
}

/* Contact Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    max-height: 80%;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.close-text {
    color: #ac821d;
    cursor: pointer;
}

.contact-list {
    flex: 1;
    overflow-y: auto;
    text-align: left;
    padding-top: 10px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-item span {
    font-size: 16px;
}

.contact-item a {
    color: #000;
    font-size: 20px;
    margin-right: 10px;
}

.contact-item:hover {
    background-color: #f1f1f1;
}

.contact-item:active {
    background-color: #e0e0e0;
}

.dropdown-item {
    color: rgb(0, 0, 0);
    padding: 10px;

}

.dropdown-item:hover {
    background-color: #e9ecef;
}

.nav-link.dropdown-toggle {
    color: #ffffff !important;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .main-header {
        flex-wrap: wrap;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .logo-container {
        width: 150px;
    }

    .navbar-toggler {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    }

    .main-nav.show {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav .nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .main-nav .dropdown-menu {
        width: 100%;
        text-align: center;
        background-color: #ffffff;
        border: none;
    }

    .dropdown-toggle::after {
        margin-left: .255em;
    }

    .heroimg {
        border-radius: 20px 50px;
    }

    .hero {
        height: 60vh;
        margin-top: 100px;
    }

    .dropdown-menu {
        display: none;
    }

    .dropdown-menu.show {
        display: block;
        position: static;
        float: none;
        background-color: #ffffff;
        border: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .main-nav.show .nav-item.open .dropdown-menu {
        display: block;
    }

    .nav-link.dropdown-toggle {
        color: #ffffff !important;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .top-bar .d-flex:first-child,
    .top-bar .d-flex:last-child {
        margin-bottom: 0px;
    }

    .logo-container {
        width: 150px;
    }

    .whatsapp-button {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .dropdown-menu.show {
        display: block;
        width: 100%;
        position: static;
        float: none;
        background-color: #ffffff;
        border: none;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 400px) {
    .main-nav {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    }

    .main-nav.show {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .dropdown-menu {
        width: 100%;
        text-align: center;
        background-color: #212529;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
        width: 100%;
        position: static;
        float: none;
        background-color: #ffffff;
        border: none;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}