body {
    background-image: url('../img/fundo_site.png');
    background-size: cover;
    background-attachment: fixed;
    background-color: #121212;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    padding: 15px 8%;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

#navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav_logo {
    width: 55px;
    height: auto;
    transition: transform 0.3s;
}

#nav_logo:hover {
    transform: scale(1.05);
}

#nav_list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-item.active a, .nav-item a:hover {
    color: #d4af37;
}

.nav-botoes {
    display: flex;
    gap: 15px;
}

.btn-default {
    border: 1px solid #ccc;
    background-color: transparent;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-default:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.btn-agendar {
    border: none;
    background-color: #d4af37;
    color: #111;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-agendar:hover {
    background-color: #c59b27;
    transform: translateY(-2px);
}

#mobile_btn, #mobile_menu {
    display: none;
}

/* --- Blocos Sobre Nós --- */
.sobre-nos {
    padding: 50px 50px;
    color: #ffffff;
    text-align: center; 
    max-width: 900px; 
    margin: 60px auto;
    background: rgba(20, 20, 20, 0.85); 
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid #d4af37;
}

/* --- Novo Botão de Agendar (Destaque) --- */
.btn-agendar-destaque {
    font-size: 1.1em;
    padding: 15px 35px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Vídeo de Apresentação --- */
.video-section {
    text-align: center;
    padding: 60px 5%;
    background-color: rgba(20, 20, 20, 0.95);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-top: 40px;
}

.video-section h2 {
    color: #d4af37;
    font-size: 2em;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Vídeo de Apresentação --- */
.video-container {
    max-width: 700px; /* Você pode mudar esse valor para o tamanho que achar melhor */
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9; /* Isso faz a mágica de manter a proporção perfeita! */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #d4af37;
    overflow: hidden;
    background-color: #000; /* Fundo preto enquanto o vídeo carrega */
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hero-bloco {
    margin-top: 80px;
}

.sobre-nos h1 {
    color: #d4af37;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.sobre-nos h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.sobre-nos p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #d1d1d1;
}

/* Organização moderna dos textos de história e missão */
.blocos-texto {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.texto-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
}

.divisor {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 40px 0;
}

/* --- Equipe --- */
.equipe {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    justify-content: center; 
}

#titulo_equipe {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.membro-equipe {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center; 
    max-width: 250px;
    transition: transform 0.3s ease, background 0.3s;
}

.membro-equipe:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.membro-equipe img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    border: 3px solid #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.membro-equipe h4 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #ffffff;
}

.membro-equipe p {
    font-size: 0.9em;
    color: #bbbbbb; 
    line-height: 1.5;
}

/* --- Contato --- */
.contato {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 100;
    gap: 15px;
}

.contato h2 {
    display: none; 
}

.contato a {
    background-color: #222;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.contato a:hover {
    background-color: #d4af37;
    transform: scale(1.15);
    border-color: #d4af37;
}

.contato i {
    font-size: 26px;
    color: white;
}

.contato a:hover i {
    color: #111;
}

/* --- Catálogo --- */
.catalogo {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 0 5%;
}

.container-catalogo {
    width: 220px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.container-catalogo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.catalogo-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.entrei {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a2a2a;
    color: #d4af37;
    padding: 15px 0;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Seção de Reels (Carrossel) --- */
.resenha {
    margin-top: 60px;
    background-color: rgba(20, 20, 20, 0.95);
    padding: 60px 5%;
    width: 100%;
    text-align: center;
    border-top: 1px solid #333;
}

.resenha h2 {
    color: #d4af37;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.resenha p {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 30px;
}

/* Container que permite arrastar para o lado */
.reels-carrossel {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Ativa a rolagem horizontal */
    padding: 20px 10px;
    scroll-snap-type: x mandatory; /* Faz os vídeos "alinharem" soltos magneticamente */
    scrollbar-width: thin; /* Deixa a barra de rolagem fina no PC */
    scrollbar-color: #d4af37 #222;
}

/* Estilização da barra de rolagem para navegadores Chrome/Safari */
.reels-carrossel::-webkit-scrollbar {
    height: 8px;
}
.reels-carrossel::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}
.reels-carrossel::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* Cada cartão de vídeo (Proporção 9:16 vertical) */
.reel-card {
    flex: 0 0 280px; /* Largura fixa de cada vídeo no carrossel */
    aspect-ratio: 9 / 16; 
    background-color: #111;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    scroll-snap-align: start; /* Alinha o card ao arrastar */
    transition: transform 0.3s;
}

.reel-card:hover {
    transform: scale(1.02);
    border-color: #d4af37;
}

.reel-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.nav-botoes, .nav-botoes-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-logged-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: #333; /* Cor escura para contrastar com o header branco */
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Evita que o nome quebre em duas linhas */
}

.btn-sair {
    border: 1px solid #ff4d4d;
    background-color: transparent;
    color: #ff4d4d;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-sair:hover {
    background-color: #ff4d4d;
    color: white;
    box-shadow: 0px 4px 12px rgba(255, 77, 77, 0.2);
}

/* --- Ajustes de Responsividade para o Menu Mobile --- */
@media screen and (max-width: 768px) {
    .nav-botoes-mobile .user-logged-info {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nav-botoes-mobile .user-logged-info a,
    .nav-botoes-mobile .user-logged-info button {
        width: 100%;
    }
    
    .nav-botoes-mobile .btn-sair {
        padding: 12px 20px;
    }
}

/* --- Responsividade --- */
@media screen and (max-width: 768px) {
    #nav_list, .nav-botoes {
        display: none;
    }
    
    #mobile_btn {
        display: block;
        border: none;
        background-color: transparent;
        font-size: 1.8rem;
        cursor: pointer;
        color: #333;
    }
    
    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #ffffff;
        padding: 20px 0;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    }
    
    #mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .nav-botoes-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 80%;
    }
    
    .sobre-nos {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .blocos-texto {
        flex-direction: column;
        gap: 15px;
    }
}