:root {
    --darkgray: #212329;
    --brightred: #f9423D;
    --white: #fff;
    --lightred: #f9433dcc;
}

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

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    background-color: #343232;
}

/* ---------- Navegação ---------- */
.nav-container {
    width: 100%;
    background-color: var(--darkgray);
    position: relative;
    z-index: 1002;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    width: 90%;
    max-width: 1720px;
    margin: 0 auto;
    position: relative;
}

#navbar-logo {
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
}

.menu-toggle {
    display: none !important;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1002;
}

.menu-toggle i {
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.nav-links {
    color: var(--white);
    text-decoration: none;
    padding: 6px 10px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-links::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--brightred);
    transition: width 0.3s ease;
}

.nav-links:hover {
    color: var(--brightred);
    transform: translateY(-1px);
}

.nav-links:hover::after {
    width: 100%;
}

/* ---------- Seção Sobre ---------- */
.about {
    width: 100%;
    padding: 68px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about img {
    width: 100%;
    max-width: 410px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.about-text {
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.about-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 26px;
}

.about-text h5 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-text p {
    color: #eee;
    line-height: 1.6em;
    font-size: 1rem;
    margin-bottom: 24px;
}

.about-text p.intro {
    margin-bottom: 10px;
}

.about-text p.final {
    margin-bottom: 100px;
}

.about-text a {
    color: #CE6F0A;
    font-weight: bold;
    text-decoration: none;
}

.about-text a:hover {
    color: #f9423D;
    text-decoration: underline;
}

/* ---------- Rodapé fixo ---------- */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #1a1a1a, #2c2c2c);
    color: #ffffff;
    text-align: center;
    padding: 14px 10px;
    font-size: clamp(12px, 1.2vw, 15px);
    border-top: 2px solid #CE6F0A;
    z-index: 1000;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
}

.footer-content p {
    margin: 4px 0;
}

.footer a {
    color: #CE6F0A;
    text-decoration: none;
}

.footer a:hover {
    color: #f9423D;
    text-decoration: underline;
}

.footer-content hr {
    border: none;
    border-top: 2px solid #CE6F0A;
    margin: 12px 0;
    width: 100%;
}

/* ---------- Responsivo ---------- */
@media screen and (max-width: 768px) {
    .main {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 30px;
    }

    .about-text h1 {
        font-size: 2.2rem;
    }

    .about-text h5 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about img {
        max-width: 280px;
        margin-bottom: 8px;
    }

    .about-text p.final {
        margin-bottom: 120px;
    }

    .footer {
        font-size: 13px;
        padding: 16px 12px;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer-content p {
        white-space: normal;
    }

    .footer-content hr {
        margin: 8px 0;
        border-top: 1px solid #CE6F0A;
    }

    .menu-toggle {
         display: block !important;
         position: absolute;
         top: 16px;
         right: 20px; /* ajuste aqui para mover mais à direita */
         z-index: 1002;

  }

    .nav-menu {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        background-color: rgba(0, 0, 0, 0.95);
        width: 30%;
        position: fixed;
        top: 0;
        bottom: 18%;
        right: 0;
        padding: 20px 0;
        transition: all 0.5s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        text-align: center;
        line-height: 50px;
        width: 100%;
        padding: 10px 0;
        color: var(--white);
        text-decoration: none;
        font-weight: bold;
        font-size: 15px;
    }

    .nav-links:hover {
        background-color: var(--brightred);
        color: var(--white);
        transition: all 0.4s ease-out;
    }

    .navbar {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        font-size: 14px;
    }

    .about-text h1 {
        font-size: 1.8rem;
    }

    .about-text h5 {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 11px;
        padding: 12px 8px;
    }

    .footer-content hr {
        margin: 6px 0;
    }
}

@media screen and (min-width: 1200px) {
    .about img {
        max-width: 500px;
    }
}

@media screen and (min-width: 1800px) {
    .about img {
        max-width: 600px;
    }
}