body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, #1c1c1c 0%, #141414 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-weight: 300;
    /* Definindo peso de fonte leve para o site todo */
}

.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle i {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease;
}

/* Tema claro (padrão) */
body {
    background: #f9f9f9;
    color: #333;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Tema escuro */
body.dark-theme {
    background: #121212;
    color: #e0e0e0;
}

body.dark-theme .card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.7), -10px -10px 20px rgba(255, 255, 255, 0.1);
}

.navbar {
    background-color: #1c1c1c !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 0 20px;
}

.navbar .brand-logo {
    color: #840143 !important;
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar .nav-wrapper a:hover {
    color: #840143 !important;
}

.content {
    flex: 1;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    color: #ff4081;
    text-shadow: 2px 2px 10px rgba(255, 64, 129, 0.8);
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

hr {
    border: 0;
    height: 2px;
    background: #840143;
    margin: 40px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: #ff4081;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 0.9rem;
    position: relative;
}

.footer p {
    margin: 0;
    letter-spacing: 0.5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title,
.card,
.footer {
    animation: fadeIn 0.8s ease forwards;
}

.hero {
    background: url('img/fundo.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    border-radius: 0 0 8px8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    /* Fonte fina */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero .btn {
    background-color: #141414;
    color: white;
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 300;
    /* Fonte fina */
}

.hero .btn:hover {
    background-color: #840143;
}

.btn {
    background: linear-gradient(145deg, #840143, #a50153);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 300;
    /* Fonte fina */
    transition: all 0.3s ease;
    line-height: 1.5;
}

.row {
    margin-bottom: 30px;
}

.col {
    margin-bottom: 30px;
}

.btn:hover {
    box-shadow: 0 0 15px #ff4081;
    transform: translateY(-3px);
}

.card {
    /* background: linear-gradient(145deg, #1c1c1c, #232323); */
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5), -10px -10px 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    margin: 0 15px 30px 15px;
}

.card-image {
    position: relative;
    overflow: hidden;
    /* Garante que o ::after não ultrapasse os limites da imagem */
    border-radius: inherit;
}

.card-image img {
    object-fit: cover;
    height: 400px;
    width: 100%;
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
    /* Garante que o ::after funcione corretamente */
}

.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid white;
    border-radius: inherit;
    opacity: 0;
    transition: 0.4s ease-in-out;
    pointer-events: none;
}

.card:hover .card-image::after {
    opacity: 1;
    inset: 10px;
    /* Ajuste para criar o espaço interno */
}

.card:hover .card-image img {
    filter: brightness(0.4);
    transform: scale(1.05);
}

.card-content {
    text-align: center;
}

.card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
}

.card:hover .overlay {
    opacity: 1;
    transform: scale(1);
}