body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    background: #222;
    color: #fff;
    position: relative;
    z-index: 2;
}
header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    letter-spacing: 10px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav ul li {
    display: inline;
}
nav ul li a, .nav-link {
    color: #dc3545 !important; /* vermelho Bootstrap */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: color 0.2s;
}
nav ul li a:hover, .nav-link:hover {
    color: #b71c1c !important; /* vermelho mais escuro no hover/ativo */
    text-decoration: underline;
}
main {
    text-align: center;
    padding: 40px 10px;
    flex: 1 0 auto;
}
main h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}
img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.lang-link {
    color: #dc3545 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 4px;
    margin-left: 0;
    transition: color 0.2s;
}
.lang-link:hover {
    color: #b71c1c !important;
    text-decoration: underline;
}
/* Botões Bootstrap */
.btn,
.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
    font-weight: 700;
    transition: background 0.2s, border 0.2s;
}
.btn:hover,
.btn-danger:hover {
    background-color: #b71c1c !important;
    border-color: #b71c1c !important;
}

/* Ícones sociais e Font Awesome */
.fab,
.fa {
    color: #dc3545 !important;
    transition: color 0.2s;
}
.fab:hover,
.fa:hover {
    color: #b71c1c !important;
}

/* Links normais */
a {
    color: #dc3545;
    transition: color 0.2s;
}
a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* Ajuste para garantir contraste em fundo escuro */
.bg-dark .navbar-nav .nav-link,
.bg-dark .lang-link {
    color: #dc3545 !important;
}

.shadow-red {
    box-shadow: 0 0 24px 0 #dc3545, 0 2px 8px 0 rgba(220,53,69,0.15);
    border: 1.5px solid #dc3545;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }
    main {
        padding: 20px 5px;
    }
    .navbar-nav {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .lang-link {
        font-size: 1em;
    }
}