:root {
    font-size: 10px;
    --main-color: #d3ad7f;
    --black: #131313;
    --bg: #010103;
    --border: 0.1rem solid rgba(255, 255, 255, 0.3);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}

/* VIDEO DE FUNDO */
.caixa-video {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.caixa-video video {
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
}

.mascara {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        109deg,
        rgba(10, 12, 16, 0.99) 15%,
        rgba(10, 12, 16, 0.7) 50%,
        rgba(10, 12, 16, 0.99) 85%
    );
}

/* SECTIONS */
section {
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
    scroll-margin-top: 120px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: var(--bg);
    border-bottom: var(--border);
    width: 100vw;
}

.header section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 1.5rem 0;
}

.header section a img {
    height: 6rem;
}

.header section nav a {
    margin: 0 1rem;
    font-size: 1.8rem;
    color: #fff;
    transition: 0.4s;
}

.header section nav a:hover {
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

/* HOME */
.caixa-principal {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.caixa-principal div {
    max-width: 60rem;
}

.caixa-principal div h3 {
    color: #fff;
    font-size: 6rem;
    text-transform: uppercase;
}

.caixa-principal div p {
    color: #fff;
    font-size: 2rem;
    font-weight: lighter;
    padding: 1rem 0;
    line-height: 1.8;
}

.botao-link {
    background-color: var(--main-color);
    cursor: pointer;
    margin-top: 2rem;
    display: inline-block;
    font-size: 1.7rem;
    color: #fff;
    padding: 1rem 3rem;
    transition: 0.3s;
}

.botao-link:hover {
    letter-spacing: 0.1rem;
}

/* SOBRE */
.caixa-sobre h2 {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.caixa-sobre h2 span {
    color: var(--main-color);
}

.sobre-container {
    display: flex;
    background-color: var(--black);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sobre-imagem,
.sobre-texto {
    flex: 1 1 45rem;
}

.sobre-imagem img {
    width: 100%;
}

.sobre-texto {
    padding: 2rem;
}

.sobre-texto h3 {
    font-size: 3rem;
    color: #fff;
}

.sobre-texto p {
    font-size: 1.5rem;
    font-weight: lighter;
    color: #fff;
    line-height: 1.8;
    padding: 1rem 0;
}

/* MODAL */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);

    display: flex;
    flex-direction: column;
    gap: 2rem;

    background-color: rgba(19, 19, 19, 0.95);
    padding: 2rem;
    border-radius: 12px;

    max-width: 900px;
    width: 90%;

    z-index: 4;
    opacity: 0;
    pointer-events: none;

    transition: 0.4s ease;
}

.modal h3 {
    font-size: 3rem;
    color: #fff;
    text-align: center;
}

.modal h3 span {
    color: var(--main-color);
}

/* MAPA RESPONSIVO (MAIOR) */
.mapa-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* proporção 4:3 */
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
}

.mapa-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* MÁSCARA MODAL */
.mascara-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s;
    z-index: 3;
}

/* SCROLL */
html {
    scroll-behavior: smooth;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .header section {
        flex-direction: column;
        gap: 1rem;
    }

    .caixa-principal div h3 {
        font-size: 4.5rem;
    }

    .modal h3 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .caixa-principal {
        text-align: center;
    }

    .caixa-principal div h3 {
        font-size: 3.5rem;
    }

    .modal {
        padding: 1.5rem;
    }

    .modal h3 {
        font-size: 2rem;
    }
}

.fechar-modal {
    position: absolute;
    top: 12px;
    right: 12px;

    width: 40px;
    height: 40px;

    background: none;
    border: none;
    border-radius: 50%;

    font-size: 2.4rem;
    color: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.3s ease, transform 0.2s ease;
}

.fechar-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.fechar-modal:active {
    transform: scale(0.9);
}

/* BOTÃO HAMBÚRGUER */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;

    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        right: 0;

        background-color: var(--bg);
        width: 100%;
        padding: 2rem;

        display: flex;
        flex-direction: column;
        gap: 1.5rem;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    .menu a {
        font-size: 2rem;
        text-align: center;
    }

    .menu.ativo {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* ANIMAÇÃO DO X */
    .menu-toggle.ativo span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.ativo span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.ativo span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.ativo {
    opacity: 1;
    transform: translateY(0);
}

/* variações opcionais */
.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-left.ativo,
.reveal-right.ativo {
    transform: translateX(0);
}

