/* ==========================================================
   NERO SISTEMAS
   Design System 1.0
   Layout
========================================================== */

/* Container */

.container{

    width:100%;

    max-width:var(--container-width);

    margin:0 auto;

    padding:0 var(--space-5);

}

/* Seções */

.section{

    padding:var(--space-7) 0;

}

/* Fundo escuro */

.section-dark{

    background:var(--ns-dark);

    color:var(--ns-white);

}

.section-dark p{

    color:rgba(255,255,255,.75);

}

/* Fundo claro */

.section-light{

    background:var(--ns-light);

}

/* Fundo branco */

.section-white{

    background:var(--ns-white);

}

/* Cabeçalho padrão das seções */

.section-header{

    margin-bottom:var(--space-6);

}

/* Grid padrão */

.grid{

    display:grid;

    gap:var(--space-5);

}

/* 2 colunas */

.grid-2{

    grid-template-columns:repeat(2,1fr);

}

/* 3 colunas */

.grid-3{

    grid-template-columns:repeat(3,1fr);

}

/* 4 colunas */

.grid-4{

    grid-template-columns:repeat(4,1fr);

}

/* 5 colunas */

.grid-5{

    display:grid;

    grid-template-columns:repeat(5,minmax(0,1fr));

    gap:var(--space-4);

}

/* ==================================================
   PÁGINAS INTERNAS
================================================== */

.internal-page .header,
.internal-page .header.scrolled{
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.internal-page .nav a,
.internal-page .header.scrolled .nav a{
    color:#222;
}

.internal-page .menu-toggle,
.internal-page .header.scrolled .menu-toggle{
    color:#222;
}

.internal-page .logo img,
.internal-page .header.scrolled .logo img{
    filter: brightness(0);
}

/* ==================================================
   MENU MOBILE - PÁGINAS INTERNAS
================================================== */

.internal-page .nav.active{
    background:#111;
}

.internal-page .header.scrolled .nav.active a,
.internal-page .nav.active a{
    color:#fff;
}
.internal-page .nav.active a:hover{
    color:var(--color-primary);
}




/* ==========================================================
   HERO DE APRESENTAÇÃO — NERO EVENTOS
   ========================================================== */

.event-video-hero {
    position: relative;
    padding: 70px 0 90px;
    background:
    radial-gradient(
        circle at 50% 100%,
        rgba(211, 82, 32, 0.18) 0%,
        rgba(211, 82, 32, 0.07) 35%,
        rgba(8, 8, 8, 0) 70%
    ),
    #080808;
    overflow: hidden;
}

.event-video-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 45px;
}

.event-video-header .section-label {
    display: inline-block;
    margin-bottom: 14px;
}

.event-video-header h1 {
    margin: 0;
    color: #d35220;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.event-video-header h1 span {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0.8;
    color: #fff;
}

.event-video-wrapper {
    position: relative;
    width: min(1100px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.event-video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.event-video-sound {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;

    padding: 12px 22px;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);

    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.event-video-sound:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-2px);
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 768px) {

    .event-video-hero {
        padding: 65px 0 60px;
    }

    .event-video-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .event-video-header h1 {
        font-size: 24px;
        line-height: 1.15;
    }

    .event-video-header h1 span {
        margin-top: 6px;
        font-size: 16px;
        line-height: 1.3;
    }

    .event-video-wrapper {
        border-radius: 12px;
    }

    .event-video-sound {
        bottom: 16px;
        padding: 10px 18px;
        font-size: 13px;
    }

}



/* ==========================================================
   PRINCIPAIS FUNÇÕES — NERO EVENTOS
   ========================================================== */

.event-functions-section {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(211, 82, 32, 0.12) 0%,
            rgba(211, 82, 32, 0.04) 35%,
            rgba(8, 8, 8, 0) 70%
        ),
        #080808;
    overflow: hidden;
}

.event-functions-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.event-functions-content {
    max-width: 540px;
}

.event-functions-content .section-label {
    display: inline-block;
    margin-bottom: 15px;
}

.event-functions-content .section-title {
    color: #fff;
    margin-bottom: 22px;
}

.event-functions-content .section-description {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 30px;
}

.event-functions-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-function-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
    border-left: 2px solid #d35220;
}

.event-function-item strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.event-function-item span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.5;
}

.event-functions-more {
    margin: 28px 0 0;
    color: #d35220;
    font-size: 14px;
    font-weight: 600;
}

.event-functions-video {
    width: 100%;
}

.event-functions-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.event-functions-video-wrapper video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 768px) {

    .event-functions-section {
        padding: 65px 0;
    }

    .event-functions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-functions-content {
        max-width: none;
    }

    .event-functions-content .section-title {
        font-size: 28px;
    }

    .event-functions-video {
        width: 100%;
    }

    .event-functions-video-wrapper {
        border-radius: 12px;
    }

}


.event-video-fullscreen {
    position: absolute;
    right: 16px;
    bottom: 16px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    padding: 9px 14px;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);

    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.25s ease;
}

.event-video-fullscreen:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.event-functions-video-wrapper .event-video-sound {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
}

.event-functions-video-wrapper .event-video-sound:hover {
    transform: translateX(-50%) translateY(-2px);
}



/*  CORRIGE COR DO BOTÃO "Produtos" NO MENU HAMBURGER  */
@media (max-width: 768px) {

    .dropdown-btn {
        color: #fff !important;
    }

}




/* =========================================================
   HERO VIDEO
   ========================================================= */

.hero-image .image-overlay {
    position: relative;
    overflow: hidden;
}

.hero-image .image-overlay video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Botão ativar som */

.hero-video-sound {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    padding: 9px 14px;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);

    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.25s ease;

    z-index: 5;
}

.hero-video-sound:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-2px);
}


/* Botão tela cheia */

.hero-video-fullscreen {
    position: absolute;
    right: 16px;
    bottom: 16px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    padding: 9px 14px;

    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);

    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.25s ease;

    z-index: 5;
}

.hero-video-fullscreen:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}