/* =====================================
   RAT CREW - ESTILOS GLOBAIS
===================================== */

@import url('variaveis.css');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.header {
    width: 100%;
    height: 76px;
    background: var(--black);
    border-bottom: 1px solid #292929;
    position: relative;
    z-index: 1000;
    position: sticky;
    top: 0;
    z-index: 1000;

    transition: box-shadow 0.3s ease;
}

.header-container {
    max-width: var(--container);
    height: 100%;
    margin: auto;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    color: var(--white);
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 29px;
    line-height: 0.72;
    letter-spacing: -1.5px;
    transform: skew(-7deg);
}

.logo span:first-child {
    margin-left: 0;
}

.logo span:last-child {
    margin-left: 10px;
}

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

.main-nav a {
    color: #cccccc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover {
    color: var(--orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 19px;
}

.social-link {
    width: 23px;
    height: 23px;
    color: var(--white);
    transition: 0.3s;
}

.social-link:hover {
    color: var(--orange);
    transform: translateY(-2px);
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}



/* BANNER INTERMEDIÁRIO */
.middle-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #080808;
}

.middle-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.middle-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Sobreposição para melhorar a leitura do texto */
.middle-banner-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

.middle-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 6%;
    color: #fff;
}

.middle-banner-content span {
    display: inline-block;
    color: #e5e500;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.middle-banner-content h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 18px;
}

.middle-banner-content h2 strong {
    color: #e5e500;
}

.middle-banner-content p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 28px;
}

.middle-banner-button {
    display: inline-block;
    padding: 15px 25px;
    background: var(--orange);
    color: #000;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: .3s;
}

.middle-banner-button:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* MOBILE */
@media (max-width: 768px) {
    .middle-banner {
        min-height: 350px;
    }

    .middle-banner-image img {
        object-position: 60% center;
    }

    .middle-banner-image::after {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.35)
        );
    }

    .middle-banner-content {
        padding: 45px 25px;
    }

    .middle-banner-content h2 {
        font-size: 32px;
    }

    .middle-banner-content p {
        font-size: 14px;
    }
}



/* FOOTER */

.footer {
    background: var(--black);
    color: white;
    padding: 55px 40px 0;
}

.footer-container {
    max-width: var(--container);
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;

    padding-bottom: 45px;
}

.footer-logo {
    font-size: 35px;
    margin-bottom: px;
}

.footer-brand p,
.footer-contact p {
    color: #999;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links h3,
.footer-contact h3 {
    font-family: var(--font-title);
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-links a {
    color: #999;
    font-size: 13px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-contact > a {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}

.footer-bottom {
    max-width: var(--container);
    margin: auto;
    padding: 22px 0;

    border-top: 1px solid #292929;

    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.footer-bottom p {
    color: #777;
    font-size: 10px;
    letter-spacing: 1px;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    background: green;
    border-radius: 50%;

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

    z-index: 999;

    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}


