body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .btn {
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* Header Styles */
header {
    background-color: #101a43;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.top-bar {
    background-color: #0f0f0f;
    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: 0px;
    font-family: 'Roboto', sans-serif;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
}

.nav-link.dropdown-toggle {
    color: #ffffff !important;
}

.nav-link.dropdown-toggle:hover {
    color: #b79273 !important;
}

.nav-link:hover {
    color: #b79273 !important;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons a:hover {
    color: #b79273 !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: 110px;
    z-index: 1;
}

.heroimg {
    border-radius: 20px 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero h2, .hero .btn {
    position: relative;
}

.btn {
    background-color: #ad835f;
    border: #ad835f;
    color: #FFFFFF;
    font-weight: 500;
}

.btn:hover {
    background-color: #9f734d;
    border: #9f734d;
    color:#FFFFFF;
    font-weight: 500;
    transition: background-color 0.3s ease-in-out;
}

.btn-whats {
    background-color: #2ab35c;
    border: #2ab35c;
    color: #FFFFFF;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    padding: 10px;
}

.btn-whats:hover {
    background-color: #1a9a49;
    border: #1a9a49;
    color:#FFFFFF;
    font-weight: 500;
    transition: background-color 0.3s ease-in-out;
}

/* 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="%23b3cde2" 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;
}

/* 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: 0px 20px;
    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: #629fcf;
    cursor: pointer;
    margin-top: 20px;
}

.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 span:first-child {
    flex: 1; /* ocupa o espaço disponível à esquerda */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-item span:last-child {
    white-space: nowrap;
    text-align: right;
    margin-left: 10px;
}

.contact-item a {
    display: none; /* oculto, já que o onclick é no container */
}


.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;
}

.dropdown-menu {
    position: absolute;
    float: none;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    z-index: 1000;
}

/* Estilos para o menu de transparência */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    cursor: pointer;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-dropdown-toggle .d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chevron-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    transform-origin: center center;
    line-height: 1;
}

.mobile-dropdown.active .chevron-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-toggle:hover {
    color: #B2947A !important;
}

.mobile-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1000;
    padding: 5px 0;
}

/* Hover apenas para desktop */
@media (min-width: 1201px) {
    .mobile-dropdown:hover .mobile-dropdown-menu {
        display: block;
    }
    
    .mobile-dropdown:hover .chevron-icon {
        transform: rotate(180deg);
    }
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    padding: 8px 15px;
    color: #000000;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.mobile-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #B2947A;
}

@media (max-width: 1200px) {
    .main-header {
        padding: 10px 0;
    }

    .navbar-toggler {
        display: block;
        padding: 0;
        color: white;
        background: none;
        border: none;
        font-size: 24px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #101a43;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .main-nav.show {
        display: block !important;
    }

    .nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }

    .nav-link {
        padding: 10px 15px;
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        width: 100%;
        background-color: #333333;
        border: none;
        padding: 0;
        margin-top: 0;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        color: white !important;
        padding: 8px 25px;
    }

    .dropdown-item:hover {
        background-color: #444444;
        color: #88cffa !important;
    }

    .social-icons {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        justify-content: center;
    }

    .social-icons a {
        margin: 0 15px;
        font-size: 20px;
    }

    .mobile-dropdown-menu {
        background-color: #333333;
    }

    .mobile-dropdown-item {
        color: #ffffff;
        padding: 10px 25px;
    }

    .mobile-dropdown-item:hover {
        background-color: #444444;
        color: #88cffa;
    }
}

@media (max-width: 1200px) {
    .mobile-dropdown {
        width: 100%;
    }

    .mobile-dropdown-toggle {
        width: 100%;
        padding: 10px 0;
    }

    .mobile-dropdown-toggle .d-flex {
        width: 100%;
        justify-content: center;
        position: relative;
    }

    .mobile-dropdown-menu {
        position: static;
        width: 100%;
        background-color: #333333;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .mobile-dropdown-item {
        color: #ffffff;
        padding: 12px 25px;
        text-align: center;
    }

    .mobile-dropdown-item:hover {
        background-color: #444444;
        color: #88cffa;
    }
}

@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: #2060ac;
        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: #2060ac;
        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;
    }
}

/* Modal LGPD – segue a paleta do site */
.lgpd-modal .modal-header {
  border-bottom: 1px solid #eee;
  margin: 0px 20px;
}

.lgpd-modal .modal-footer {
  border-top: 1px solid #eee;
  margin: 0px 20px;
}

/* Botões no padrão do tema */
.lgpd-modal .btn-primary {
  background-color: #B2947A;
  border-color: #B2947A;
  color: #222222;
  font-weight: 700;
}

.lgpd-modal .btn-primary:hover {
  background-color: #7f6650;
  border-color: #7f6650;
  color: #fff;
}

/* Melhor leitura em conteúdos longos */
#lgpdModal .modal-body {
  line-height: 1.6;
  max-height: 70vh;
  overflow: auto;
  margin: 20px;
}