:root {
    --navbar-height: 72px;
    --amarelo-principal: #FFD700; /* Amarelo mais intenso */
    --amarelo-escuro: #FFC800;    /* Para hover */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    padding-top: var(--navbar-height);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: #FFE83C !important; /* Forçar cor amarela */
    height: var(--navbar-height);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-dark .navbar-toggler {
    border-color: rgba(0,0,0,0.5); /* Torna o ícone visível */
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link.text-dark {
    color: #000 !important; /* Garantir texto preto */
    font-weight: 500;
}

.wrapper {
    flex: 1 0 auto;
}

/* Seção Principal */

.main-card-section {
    padding: 8rem 0 4rem; /* Aumentar padding superior de 6rem para 8rem */
    background-color: #f8f7e7;
    position: relative;
    z-index: 1;
}

.main-card-section::before {
    content: '';
    display: block;
    height: 40px; /* Altura do espaçamento adicional */
    width: 100%;
    position: absolute;
    top: -40px;
    left: 0;
    background: transparent;
}

.main-card {
    height: 70vh;
    min-height: 600px;
    max-height: 800px;
    max-width: 1800px;
    margin: 80px auto !important; /* Adicionar margem vertical */
    margin-bottom: 10px !important;
    color: #ffffff !important ;
}

@media (max-width: 1400px) {
    .main-card {
        max-width: 95%;
    }
    
    #mainCarousel {
        margin-left: -15px;
    }
}

.carrossel-container {
    height: 100%;
    padding-right: 0 !important; /* Remover padding direito */
}

.text-gocabral {
    color: #FFD700 !important;
    position: relative; /* Adicionar para o pseudo-elemento */
    display: inline-block;
}

.text-gocabral::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
}

.carousel {
    height: 100%;
}

/* Carrossel */
#mainCarousel {
    max-width: 1400px; /* Aumentar de 800px */
    margin-left: -30px; /* Compensar padding */
    border-radius: 15px 0 0 15px; /* Ajustar borda */
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 600px; /* Aumentar altura mínima */
}


.carousel-item {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease; /* Adicionar transição suave */
}

.carousel-item.active {
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    background: rgba(0,0,0,0.2);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 2.5rem;
    height: 2.5rem;
}

/* Botão WhatsApp */
.btn-whatsapp {
    background: #25D366;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
}

.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.3);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--amarelo-principal), var(--amarelo-escuro));
}

.footer-logo {
    height: 40px;
    width: auto;
    transition: all var(--transition-speed) ease;
    filter: brightness(0.9);
}

.footer-logo:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--amarelo-principal);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    color: var(--amarelo-principal);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--amarelo-principal);
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 72px; /* Altura da navbar */
        right: -300px; /* Esconde inicialmente */
        width: 300px;
        height: calc(100vh - 72px) !important;
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.4s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .navbar-collapse.show {
        right: 0; /* Mostra o menu */
    }

    /* Backdrop do menu */
    .navbar-backdrop {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .navbar-backdrop.active {
        display: block;
    }

    /* Ajustes nos itens */
    .navbar-nav {
        flex-direction: column !important;
    }

    .nav-item {
        margin: 10px 0;
    }

    .dropdown-menu {
        display: none !important; /* Esconder inicialmente */
        position: static !important;
        border: none;
        background: #f8f9fa;
        margin-left: 15px;
        box-shadow: none;
        padding-top: 0;
    }

    .dropdown-menu.show {
        display: block !important; /* Mostrar quando ativo */
        animation: slideDown 0.3s ease;
    }

    .dropdown-toggle::after {
        margin-left: 10px;
        float: right;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px) }
        to { opacity: 1; transform: translateY(0) }
    }
}

@media (max-width: 576px) {
    .main-card-section {
        padding: 4rem 0 2rem;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .carousel-inner {
        min-height: 250px;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
}

@media (max-width: 768px) {
    .main-card-section {
        padding: 4rem 0 2rem;
    }
    
    .carrossel-container {
        height: 300px;
    }
}

/* Estilos da Política de Privacidade */
.privacidade-content {
    font-size: 1rem;
    line-height: 1.8;
}

.privacidade-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.privacidade-content ul {
    padding-left: 2rem;
    margin: 1rem 0;
}

.privacidade-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.privacidade-content li::before {
    content: "•";
    color: #FFE83C;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.privacidade-content .alert-warning {
    background-color: rgba(255, 232, 60, 0.15);
    border-color: #FFE83C;
    color: #333;
}

.privacidade-content a {
    color: #FFE83C;
    text-decoration: underline;
}

.privacidade-content a:hover {
    color: #FFD700;
}

.border-amarelo {
    border: 2px solid #FFE83C !important;
}

.card-header.bg-amarelo {
    background-color: #FFE83C !important;
    color: #333;
}

.list-group-item.bg-transparent {
    background-color: transparent;
    padding-left: 0;
    border-color: rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .privacidade-content {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .card {
    margin-bottom: 1rem !important;
  }

  .card-header h3 {
    font-size: 1.2rem;
  }

  .list-group-item {
    padding: 0.75rem 0.5rem;
  }
}