/* ================= CSS VARIABLES & RESET ================= */
:root {
    --bg-black: #0a0a0a;
    --bg-dark-red: #1f0004;
    --bg-card: #161616;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #d90429;
    --accent-hover: #bf0323;
    --font-head: "Bebas Neue", sans-serif;
    --font-body: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= GLOBAL BACKGROUND (CAGE & SMOKE) ================= */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    background-color: var(--bg-black);
}

/* Grade do UFC (Chainlink Fence SVG Pattern) */
.site-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 0L50 25L25 50L0 25L25 0Z' stroke='rgba(255,255,255,0.06)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    z-index: 1;
}

/* Efeito de Fumaça */
.site-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg-smoke-tkt.webp"); /* Verifique se o caminho da imagem está correto no seu servidor */
    background-size: cover;
    background-position: right center;
    opacity: 0.35;
    z-index: 2;
    mix-blend-mode: screen;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}
h2 {
    font-size: 2.5rem;
    color: var(--text-main);
}
h3 {
    font-size: 1.8rem;
    color: var(--text-main);
}
h4 {
    font-size: 1.5rem;
    color: var(--text-main);
}
p {
    margin-bottom: 15px;
    color: var(--text-muted);
}
a {
    text-decoration: none;
}
.text-red {
    color: var(--accent);
}

/* ================= SECTION BACKGROUNDS (TRANSLUCENT) ================= */
.section-black {
    background-color: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(2px);
}
.section-red {
    background-color: rgba(22, 1, 4, 0.85);
    border-top: 1px solid rgba(217, 4, 41, 0.2);
    border-bottom: 1px solid rgba(217, 4, 41, 0.2);
    backdrop-filter: blur(2px);
}

/* ================= COMPONENTS ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.flex-split {
    display: flex;
    gap: 40px;
    align-items: center;
}
.flex-split > div {
    flex: 1;
}
.section-img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid rgba(217, 4, 41, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    object-fit: cover;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-main);
    padding: 15px 30px;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}
.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.5);
}

/* ================= TOP BAR ================= */
.top-bar {
    background-color: var(--bg-black);
    color: var(--text-main);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 1000;
}
.top-bar a {
    color: var(--accent);
    text-decoration: underline;
    margin-left: 10px;
}
.top-bar a:hover {
    color: var(--accent-hover);
}

/* ================= MAIN HEADER ================= */
.main-header {
    background-color: rgba(217, 4, 41, 0.92);
    backdrop-filter: blur(8px);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-link {
    display: flex;
    align-items: center;
}
.header-logo {
    max-height: 110px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    margin: 0;
}
.nav-menu li {
    position: relative;
}
.nav-menu a {
    color: #ffffff;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: var(--bg-black);
}

/* DROPDOWN DESKTOP */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(5px);
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.8);
    border-top: 3px solid #ffffff;
    flex-direction: column;
    border-radius: 0 0 5px 5px;
}
.dropdown-content a {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid #222;
    text-transform: none;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0;
}
.dropdown-content a:hover {
    background-color: #1a1a1a;
    color: var(--accent);
}
.dropdown:hover .dropdown-content {
    display: flex;
}

/* ================= MOBILE MENU (HAMBURGER) ================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(217, 4, 41, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: flex;
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        align-items: center;
        border: none;
        margin-top: 10px;
    }
}

/* ================= HERO SECTION ================= */
.hero {
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.6) 100%);
    padding: 120px 0;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 1);
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ddd;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* ================= CARDS GRID ================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.card {
    background-color: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(217, 4, 41, 0.3);
    background-color: rgba(30, 30, 30, 0.8);
}

/* ================= LISTS ================= */
.feature-list {
    list-style: none;
    margin-top: 20px;
}
.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.step-list {
    counter-reset: steps;
    list-style: none;
    margin-top: 20px;
}
.step-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
}
.step-list li::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: -5px;
    background: var(--accent);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: bold;
}

/* ================= REVIEW CARDS ================= */
.review-card {
    background: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.review-text {
    font-style: italic;
    margin-bottom: 15px;
    flex-grow: 1;
}
.reviewer {
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 10px;
}
.review-link {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
}

/* ================= GALLERY & LIGHTBOX ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.gallery-img:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border: 3px solid var(--accent);
    border-radius: 5px;
    z-index: 10001;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10002;
}

/* Setas de Navegação do Lightbox */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
    padding: 20px;
    z-index: 10002;
}
.lightbox-prev {
    left: 5%;
}
.lightbox-next {
    right: 5%;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent);
    transform: translateY(-50%) scale(1.2);
}

/* ================= FAQ ACCORDION ================= */
details {
    background: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(5px);
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
summary {
    font-family: var(--font-head);
    font-size: 1.4rem;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 400;
    outline: none;
    color: var(--text-main);
}
details p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* ================= FOOTER & NAP ================= */
footer {
    background-color: rgba(35, 35, 35, 0.98);
    backdrop-filter: blur(10px);
    padding: 60px 0 30px;
    border-top: 2px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.nap-info h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}
.nap-info ul {
    list-style: none;
    color: var(--text-muted);
}
.nap-info ul li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
}
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* ================= FLOAT BUTTON ================= */
.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.5);
    z-index: 1000;
    transition: 0.3s;
}
.float-btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-hover);
}

/* RESPONSIVE MEDIA QUERIES (ADICIONAIS) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.8rem; /* Ajustado para melhor fluidez no mobile */
    }
    .flex-split {
        flex-direction: column;
    }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; }
}

/* ================= SOCIAL MEDIA BUTTONS ================= */
.social-btn {
    display: flex !important;
    flex-direction: row !important; /* Força o ícone e texto a ficarem na mesma linha */
    align-items: center !important; /* Centraliza verticalmente */
    justify-content: start!important; /* Centraliza horizontalmente no meio do botão */
    gap: 8px; /* Espaço entre o ícone e o texto */
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main) !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.social-btn:hover {
    background-color: rgba(217, 4, 41, 0.1);
    border-color: var(--accent);
    color: var(--accent) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(217, 4, 41, 0.2);
}

.social-btn svg {
    flex-shrink: 0; /* Impede o ícone de ser esmagado */
    transition: transform 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

/* ================= HEADER CTA BUTTON ================= */
.nav-cta {
    display: flex;
    align-items: center;
}

/* Espaçamento extra no Computador */
@media (min-width: 769px) {
    .nav-cta {
        margin-left: 20px; 
    }
}

/* Centralização no Celular (dentro do menu aberto) */
@media (max-width: 768px) {
    .nav-cta {
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
}
/* ================= HEADER CTA BUTTON (COR PRETA) ================= */
.nav-cta .btn {
    background-color: #111111 !important; /* Preto sólido e premium */
    color: #ffffff !important; /* Texto branco para dar contraste */
    border: 1px solid #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important; /* Sombra para descolar do fundo vermelho */
}

.nav-cta .btn:hover {
    background-color: #2a2a2a !important; /* Fica um tom de chumbo ao passar o mouse */
    border-color: #2a2a2a !important;
    transform: translateY(-2px); /* Efeito de levitar */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}