/* Global shell: navbar, footer, layout */

html {
            scroll-behavior: smooth;
        }

        body {
            background-color: #e2e8f0;
            color: #1e293b;
            user-select: text;
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
        }

        section {
            scroll-margin-top: 80px;
        }

        .navbar {
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            background: rgba(15, 23, 42, 0.96) !important;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        }

        .navbar.scrolled {
            background: rgba(15, 23, 42, 0.98) !important;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }

        .navbar-brand {
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            font-weight: 700;
        }

        .nav-link {
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            font-weight: 500;
            font-size: 1rem;
        }

        .nav-link:hover {
            color: #ff6b35 !important;
            text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
        }

        /* Mobile navbar responsivity */
        @media (max-width: 1199px) {
            .navbar {
                padding: 0.8rem 0;
            }

            .navbar-brand {
                font-size: 1.1rem;
            }

            .navbar-toggler {
                padding: 0.4rem 0.6rem;
                font-size: 1.3rem;
            }

            .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(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            }

            .collapse.navbar-collapse {
                padding-top: 0.5rem;
                max-height: 80vh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .navbar-nav {
                gap: 0.5rem;
            }

            .nav-link {
                padding: 0.75rem 1rem !important;
                margin: 0.5rem 0;
                font-size: 1.1rem;
                border-radius: 0.5rem;
                transition: all 0.2s ease;
            }

            .nav-link:active,
            .nav-link:focus {
                background-color: rgba(255, 255, 255, 0.1);
                outline: 2px solid #ff6b35;
            }

            .nav-item.dropdown {
                margin: 0;
            }

            .dropdown-menu {
                background: rgba(15, 23, 42, 0.98) !important;
                border: 1px solid rgba(255, 107, 53, 0.35);
                border-radius: 0.5rem;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                margin-top: 0.5rem;
            }

            .dropdown-item {
                padding: 0.8rem 1.2rem;
                font-size: 1rem;
                color: white;
                transition: all 0.2s ease;
            }

            .dropdown-item:hover,
            .dropdown-item:focus {
                background-color: rgba(255, 107, 53, 0.15);
                color: #ff6b35;
            }

            .dropdown-item i {
                font-size: 1.1rem;
                margin-right: 0.8rem;
            }

            .btn.btn-sm {
                padding: 0.6rem 1rem;
                font-size: 1rem;
                font-weight: 600;
                min-width: 150px;
                text-align: center;
                margin-top: 1rem;
            }

            .btn-outline-light {
                border: 2px solid rgba(255, 255, 255, 0.8);
            }
        }

        /* Extra small devices */
        @media (max-width: 576px) {
            .navbar {
                padding: 1rem 0;
            }

            .navbar-brand img {
                height: 60px !important;
                /* Aumentado de 50px a 60px */
            }

            .nav-link {
                padding: 0.9rem 1.2rem !important;
                font-size: 1.15rem;
                margin: 0.8rem 0;
            }

            .dropdown-item {
                padding: 1rem 1.5rem;
                font-size: 1.05rem;
            }

            .btn.btn-sm {
                min-width: 100%;
                padding: 0.75rem 1.2rem;
                font-size: 1.05rem;
                margin-top: 1.5rem;
                margin-bottom: 1rem;
            }

            .navbar-nav {
                gap: 1rem;
            }
        }

        .btn-outline-light {
            border: 2px solid rgba(255, 255, 255, 0.8);
            color: white;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .btn-outline-light:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: #ff6b35;
            color: #ff6b35;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
        }

        /* Footer Styling */
        footer {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        footer a:hover {
            color: #ff6b35 !important;
            text-decoration: underline !important;
        }

        footer .input-group-sm input:focus {
            background: rgba(255, 255, 255, 0.2) !important;
            border-color: #ff6b35 !important;
            color: white !important;
            box-shadow: none !important;
        }

        footer .input-group-sm input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        footer .social-links a:hover {
            color: #ff6b35 !important;
            transform: scale(1.1);
            transition: all 0.3s ease;
        }

        /* Navbar Responsive Adjustments */
        @media (min-width: 1200px) and (max-width: 1399px) {
            .navbar-nav .nav-link {
                font-size: 0.9rem;
                padding-left: 0.4rem !important;
                padding-right: 0.4rem !important;
            }

            .btn-outline-light {
                font-size: 0.875rem;
                padding: 0.375rem 0.75rem !important;
            }
        }

        @media (min-width: 992px) and (max-width: 1199px) {
            .navbar-brand {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 1199px) {
            .navbar-nav {
                margin-top: 1rem;
            }

            .navbar-nav .nav-item {
                margin-bottom: 0.5rem;
            }

            .btn-outline-light {
                width: 100%;
                margin-top: 1rem;
            }
        }

        /* Language Selector Styles */
        .dropdown-item.active {
            background-color: #800020;
            color: white;
        }

        .dropdown-item:hover {
            background-color: #FF6B35;
            color: white;
        }

        .dropdown-item button {
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            padding: 0;
            color: inherit;
            cursor: pointer;
        }

        .dropdown-item form {
            margin: 0;
            width: 100%;
        }
