/* CSS Base para Alpha Automation - Bootstrap */

/* Cores customizadas */
:root {
    --custom-black: #070808;
    --custom-color: #f44336;
    --card-color: #1f2937;
}

/* Estilos base */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: transparent;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Sobrescrever text-light-emphasis para ficar mais próximo do branco */
.text-light-emphasis {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Navbar customizada */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 80px;
    padding: 1rem 0;
    z-index: 1030 !important;
    margin-bottom: 2rem;
}

/* Forçar posicionamento fixo para navbar específica */
#main-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
}

/* Ajuste para seções após navbar fixa */
section[id="home"] {
    padding-top: 200px !important;
}

/* Forçar padding para seção home específica */
#home {
    padding-top: 200px !important;
}

.navbar-transparent {
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar-scrolled {
    background: var(--custom-black) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 1rem 1.25rem !important;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white !important;
    text-decoration: none !important;
    position: relative;
}

/* Seletores mais específicos para garantir que funcione */
#main-navbar .navbar-nav .nav-link:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Forçar o estilo mesmo com Bootstrap */
.navbar .navbar-nav .nav-link:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Regra mais específica para sobrescrever Bootstrap */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:active {
    color: white !important;
    text-decoration: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    position: relative;
    font-weight: bold !important;
}

/* Efeito de sublinhado animado para cada link individual */
.navbar-dark .navbar-nav .nav-link {
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--custom-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link:focus::after,
.navbar-dark .navbar-nav .nav-link:active::after {
    width: 80%;
}

/* Logo container */
.logo-container {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container img {
    transition: all 0.3s ease;
    max-width: 200px;
    max-height: 70px;
}

/* Botões dos modais */
.modal .btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Botões de navegação mobile */
.mobile-menu-link {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Botão do menu mobile */
#menu-toggle {
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ícone hambúrguer com 3 faixas */
.hamburger-icon {
    position: relative;
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon::before,
.hamburger-icon::after,
.hamburger-icon {
    content: '';
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-icon::before {
    transform: translateY(-6.5px);
}

.hamburger-icon::after {
    transform: translateY(6.5px);
}

#menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.05);
}

#menu-toggle:active {
    transform: scale(0.95);
}

/* Modais mais bonitos */
.modal-content {
    border: none !important;
    background-color: var(--custom-black) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), transparent);
}

.modal-body {
    background: transparent;
}

/* Hover nos cards dos modais */
.modal .contact-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.modal .contact-option:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.2);
}

/* Menu mobile mais elegante */
#mobile-menu-dialog .modal-content {
    background: var(--custom-black) !important;
    color: white !important;
}

#mobile-menu-dialog .mobile-menu-link {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
}

#mobile-menu-dialog .mobile-menu-link:hover {
    transform: translateX(5px);
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.2);
}

/* Link ativo/ativo no menu mobile */
#mobile-menu-dialog .mobile-menu-link.active {
    background: var(--custom-color) !important;
    border-color: var(--custom-color) !important;
    color: var(--custom-black) !important;
    font-weight: 600;
}

/* Título do modal mobile */
#mobile-menu-dialog .modal-title {
    color: white !important;
}

/* Seletor de idiomas customizado */
.language-select-custom {
    background-color: rgba(24, 24, 27, 0.95) !important;
    color: white !important;
    border-color: #6c757d !important;
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

/* Seletor de idiomas mobile - mesmo tamanho do menu */
#language-select-mobile {
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background-color: transparent !important;
}

/* Botão do menu mobile */
#menu-toggle {
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0.5rem !important;
    font-size: 1.25rem !important;
    border: none !important;
    border-radius: 0.375rem !important;
    transition: all 0.3s ease !important;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.language-select-custom:focus {
    background-color: rgba(24, 24, 27, 0.95) !important;
    border-color: var(--custom-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
}

.language-select-custom option {
    background-color: #18181b !important;
    color: white !important;
}

/* Hero Section */
.hero-bg {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Botões do Hero Section */
.hero-section .btn {
    min-height: 64px;
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Botões do Hero Section com hover especial */
#home .btn {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#home .btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(244, 67, 54, 0.5);
}

#home .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

#home .btn:hover::before {
    left: 100%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
}

/* Background com opacidade */
.bg-black-opacity {
    background: rgba(0, 0, 0, 0.70);
}

/* Botão do formulário de contato */
#contact-form .btn {
    min-height: 48px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Cards customizados - Exceto service-card */
.card:not(.service-card) {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    background-color: var(--card-color);
}

.card:not(.service-card):hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(244, 67, 54, 0.2);
}

.card:not(.service-card)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1rem;
    z-index: 1;
}

.card:not(.service-card):hover::before {
    opacity: 1;
}

.card:not(.service-card) .card-body {
    position: relative;
    z-index: 2;
}

/* Service Cards - Prioridade sobre .card */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    background-color: var(--card-color);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.08) !important;
    box-shadow: 0 25px 50px rgba(244, 67, 54, 0.3) !important;
    z-index: 2;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 1rem;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .card-body {
    position: relative;
    z-index: 2;
}

/* Removido zoom específico das imagens - zoom aplicado no card inteiro */

/* Customer Items */
.customer-item {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

/* Centralização da seção de customers */
#customers .row {
    justify-content: center !important;
    align-items: center;
}

#customers .col-6 {
    display: flex;
    justify-content: center;
}

.customer-item:hover {
    transform: scale(1.10);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.15);
    z-index: 2;
}

.customer-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Imagens com hover scale */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Botões customizados */
.btn-danger {
    background-color: var(--custom-color);
    border-color: var(--custom-color);
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-danger:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.4);
}

.btn-outline-danger {
    color: var(--custom-color);
    border-color: var(--custom-color);
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-outline-danger:hover {
    background-color: var(--custom-color);
    border-color: var(--custom-color);
    color: var(--custom-black);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.4);
}

/* Botão de contato específico - transparente com bordas brancas */
#contact-btn {
    background-color: transparent !important;
    border-color: white !important;
    color: white !important;
}

#contact-btn:hover {
    background-color: var(--custom-color) !important;
    border-color: var(--custom-color) !important;
    color: white !important;
}

/* Garantir que ícone e texto sejam brancos */
#contact-btn i,
#contact-btn span {
    color: white !important;
}

#contact-btn:hover i,
#contact-btn:hover span {
    color: white !important;
}

/* Efeito de brilho nos botões */
.btn-danger::before,
.btn-outline-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-danger:hover::before,
.btn-outline-danger:hover::before {
    left: 100%;
}

/* Efeito de brilho para botão de contato */
#contact-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Formulários customizados */
.form-control {
    background-color: #212529 !important;
    border-color: #6c757d !important;
    color: white !important;
    border-radius: 0.5rem;
}

/* Inputs da seção de contato */
#contact .form-control {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    transition: all 0.3s ease;
}

#contact .form-control:hover {
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

#contact .form-control:focus {
    background-color: transparent !important;
    border-color: var(--custom-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
    color: white !important;
}

/* Botões de formulário e outros botões */
.btn:not(.btn-danger):not(.btn-outline-danger):not(.rounded-circle) {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn:not(.btn-danger):not(.btn-outline-danger):hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.form-control:focus {
    background-color: #212529 !important;
    border-color: var(--custom-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
    color: white !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fade-in.visible {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animações para cards */
.fade-in-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Botões flutuantes */
.floating-buttons-container {
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 50;
}

/* Botões flutuantes redondos - manter formato original */
.floating-buttons-container .btn.rounded-circle {
    min-height: unset;
    padding: unset;
    font-size: unset;
    font-weight: unset;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-buttons-container .btn.rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(244, 67, 54, 0.4);
}

/* WhatsApp button específico */
#whatsapp-button {
    width: 56px !important;
    height: 56px !important;
}

/* Animações de pulsar */
.pulse-animation {
    animation: pulse 2s infinite;
}

.pulse-white {
    animation: pulse-white 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Carrossel de projetos */
.carousel-container {
    position: relative;
    width: 100%;
    height: 380px;
    padding: 1.5rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.carousel-slide img {
    max-width: 100% !important;
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
}

.carousel-control {
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 1.25rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-control:active {
    transform: scale(0.95);
}

/* Lazy loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

.lazy-image.loaded {
    opacity: 1;
    background: none;
    animation: none;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Modal customizado */
.modal-content.bg-dark {
    background-color: var(--custom-black) !important;
    border: 1px solid rgba(244, 67, 54, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Contato info */
.contact-info-item .content p {
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .floating-buttons-container {
        right: 1rem;
        bottom: 1rem;
    }
    
    .carousel-container {
        height: 300px;
        padding: 1rem;
    }
    
    .carousel-slide img {
        height: 100% !important;
    }
}

@media (max-width: 640px) {
    .carousel-container {
        height: 260px;
        padding: 0.75rem;
    }
    
    .carousel-slide img {
        height: 100% !important;
    }
    
    .carousel-control {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* Centralização da hero section no mobile */
@media (max-width: 768px) {
    #home .container {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    #home .col-lg-6 {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #home .hero-title {
        text-align: center !important;
    }
    
    #home .hero-subtitle {
        text-align: center !important;
    }
    
    #home .d-flex.flex-column.flex-sm-row {
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Ajustes específicos para dispositivos iOS */
@supports (-webkit-touch-callout: none) {
    .navbar {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    body {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Utilitários */
.text-custom-color {
    color: var(--custom-color) !important;
}

.bg-custom-color {
    background-color: var(--custom-color) !important;
}

.border-custom-color {
    border-color: var(--custom-color) !important;
}

/* Classe para background dos cards */
.bg-card {
    background-color: var(--card-color) !important;
}

/* Gradientes personalizados */
.bg-gradient-to-r {
    background: linear-gradient(to right, var(--start-color), var(--end-color));
}

.from-dark-50 {
    --start-color: rgba(33, 37, 41, 0.5);
}

.via-dark-30 {
    --start-color: rgba(33, 37, 41, 0.3);
}

.to-transparent {
    --end-color: transparent;
}

/* Ajustes para o modal mobile */
.modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Ajustes para botões de contato */
.contact-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
}

.contact-option:active {
    transform: translateY(0);
}

/* Ajustes para campos de formulário com erro */
.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease-in;
}

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

/* Ajustes para o seletor de idiomas */
.language-select-custom {
    background-color: rgba(24, 24, 27, 0.95) !important;
    color: white !important;
    border-color: #6c757d !important;
}

.language-select-custom:focus {
    background-color: rgba(24, 24, 27, 0.95) !important;
    border-color: var(--custom-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25) !important;
}

.language-select-custom option {
    background-color: #18181b !important;
    color: white !important;
}

/* Controles mobile - parecem um elemento único */
.d-lg-none.d-flex.align-items-center {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0.5rem !important;
    padding: 0.25rem !important;
    gap: 0.25rem !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Diminuir espaçamento entre linhas na seção de contato */
.contact-info-item .text-light-emphasis.small {
    line-height: 1.4;
    margin-bottom: 0.2rem;
}