/* Header Styles */
.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: transparent;
    transition: 0.3s;
}

/* For pages without hero image, header needs background */
.header--solid {
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
}

.header__top {
    padding: 0 0 0;
    position: absolute;
    width: 450px;
    left: 50%;
    top: 20px;
    margin-left: -105px;
}

.header__contact-info {
    text-align: right;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
}

.header__main {
    padding: 10px 0 0;
}

.header__main .header__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.header__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 0;
    width: 100%;
}

.header__logo {
    width: 100px;
    height: auto;
    position: relative;
    margin-top: 0;
}

.header__logo img {
    width: 100%;
    height: auto;
    position: relative;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav__link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--color-gold);
}

.header__action .btn {
    font-size: 16px;
}

/* HEADER FIXO */
.header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);

    animation: headerSlide 0.3s ease;
}

/* ESCONDE CONTATO */
.header--fixed .header__top {
    display: none;
}

/* DIMINUI HEADER */
.header--fixed .header__main {
    padding: 5px 0;
}

/* LOGO MENOR */
.header--fixed .header__logo {
    width: 75px;
}

/* NAV AJUSTE */
.header--fixed .nav__link {
    font-size: 14px;
}

.header--fixed .header__container {
    align-items: center;
}

.nav__item--has-sub {
    position: relative;
}

/* submenu escondido */
.nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    min-width: 200px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s ease;
    z-index: 999;
}

/* itens */
.nav__sub li {
    list-style: none;
}

.nav__sub a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

/* hover no item pai */
.nav__item--has-sub:hover .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ANIMAÇÃO */
@keyframes headerSlide {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* TRANSIÇÃO SUAVE */
.header__main,
.header__logo,
.nav__link {
    transition: 0.3s;
}

/* Footer Styles */
.footer {
    background: linear-gradient(to bottom, #000000 0%, #111111 80%, #222222 100%);
    color: #fff;
}

/* Newsletter Styles */
.newsletter {
    background-color: #000000;
    width: 100%;
    border-bottom: 2px solid #111;
}

.newsletter__container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.newsletter__container::before {
    content: "";
    width: 410px;
    height: 70px;
    display: block;
    background-color: #c39d62;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1000px;
}


.news-col {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    box-sizing: border-box;
}

.news-col--left {
    width: 25%;
    background-color: #c39d62;
    gap: 15px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.news-col--left img {
    height: 25px;
    filter: invert(98%) sepia(100%) saturate(1%) hue-rotate(171deg) brightness(114%) contrast(101%);
}

.news-col--center {
    width: 55%;
    background-color: #000;
}

.newsletter__form {
    width: 100%;
}

.news-col--center input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 14px;
    font-style: italic;
    outline: none;
}

.news-col--center input::placeholder {
    color: #999;
}

.news-col--right {
    width: 20%;
    background-color: #c39d62;
}

.newsletter__btn {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.footer__grid {
    display: flex;
    padding: 80px 0;
}

.footer__col {
    width: 33.3333%;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer__col:nth-child(2) {
    border-left: 1px solid rgba(195, 157, 98, 0.5);
    border-right: 1px solid rgba(195, 157, 98, 0.5);
}

.footer__title {
    color: var(--color-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer__col:nth-child(3) .footer__title {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
    font-size: 20px;

}

.footer__title::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background-color: var(--color-gold);
    margin-top: 10px;
}

.footer__col:nth-child(3) .footer__title::after {
    display: none;
}

.footer__menu {
    list-style: none;
}

.footer__menu li {
    margin-bottom: 5px;
}

.footer__menu a {
    color: #fff;
    font-size: 14px;
    display: block;
    text-transform: uppercase;
}

.footer__menu a:hover {
    color: var(--color-gold);
}

.footer__text {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer__socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
}

.social-link img {
    height: 24px;
    width: auto;
    filter: invert(73%) sepia(54%) saturate(381%) hue-rotate(357deg) brightness(81%) contrast(88%);
}

.footer__bottom {
    background-color: #c39d62;
    padding: 15px 0;
}

.footer__bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__class-logo {
    background: url("../../imagens/class-logo.png") center center no-repeat;
    width: 80px;
    height: 16px;
    overflow: hidden;
    text-indent: -99999px;
}

.footer__copy {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
}