:root {
    --accent: #b80000;
    --dark: #1a1a1a;
    --text-light: #ffffff;
    --font-head: 'Lato', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Header / Nav */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 2px;
}

.logo-symbol {
    background-color: var(--accent);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-cta .btn-quote {
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-cta .btn-quote:hover {
    background-color: #900000;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../img/background-hero.jpg') no-repeat center top;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(26, 26, 26, 0) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Coluna Direita: Imagem (Absoluta para escala total) */
.hero-image-side {
    position: absolute;
    right: 0;
    bottom: -5px;
    z-index: 1;
    /* Abaixo do texto se necessário, ou ajuste conforme preferência */
    pointer-events: none;
}

.hero-image-side img {
    width: 800px;
    max-width: none;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    animation: fadeInRight 1.5s ease-out;
}

/* Coluna Esquerda: Conteúdo */
.hero-content-side {
    flex: 1;
    padding-right: 20px;
    opacity: 0;
    animation: fadeInLeft 1.5s ease-out forwards;
    position: relative;
    z-index: 10;
    /* Garante que o texto fique acima da imagem */
}

.red-square {
    background-color: var(--accent);
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(184, 0, 0, 0.4);
    position: relative;
    top: 150px;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 85px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 20px 0;
    letter-spacing: -3px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1025px) {
    .hero h1 .nowrap-desktop {
        white-space: nowrap;
    }
}

.hero p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-only {
    display: none;
}

.btn-outline-white {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--accent);
    /* Borda vermelha conforme pedido */
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-outline-white:hover {
    border-color: var(--accent);
    background-color: var(--accent);
    color: #fff !important;
    /* Fonte continua branca no hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 0, 0, 0.3);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 0px;
        justify-content: center;
        margin-top: -50px;
        /* Puxa o conteúdo para cima */
    }

    .hero-content-side {
        padding-left: 0;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10; /* Garante que o texto fique ACIMA da imagem absoluta */
    }

    .red-square {
        top: 60px;
        /* Reduzido de 150px para subir o h1 */
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 35px;
        color: rgba(255, 255, 255, 0.8);
    }

    nav,
    .nav-cta {
        display: none;
    }

    .hero-btns {
        position: absolute;
        bottom: 50px; /* Perto do fundo mas com um espaço */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 10;
    }

    .hero-btns .btn-outline-white {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); /* Esfumaçado preto leve na fonte */
        backdrop-filter: blur(2px); /* Toque extra de premium */
    }

    .hero-image-side {
        position: absolute;
        bottom: -10px; /* Colada no fundo */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 1;
    }

    .hero-image-side img {
        width: 120% !important; /* Aumentado */
        max-width: 600px; /* Limite maior */
        margin: 0 auto;
        height: auto;
    }
}

/* About Section */
.ds-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    color: var(--dark);
}

.ds-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-subtitle {
    color: var(--accent);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.about-subtitle::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.about-content h2 {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--dark);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    max-width: 600px;
}

/* Features on the Right */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.feature-icon.filled {
    background-color: var(--accent);
    color: #fff;
}

.feature-icon.outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    background-color: transparent;
}

.feature-text h4 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #777;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content h2 {
        font-size: 36px;
    }
}