/* RESET E CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --amarelo-renault: #FFCC00;
    --azul-renault: #0056B3;
    --preto: #000000;
    --branco: #FFFFFF;
    --cinza-escuro: #333333;
    --cinza-medio: #666666;
    --cinza-claro: #F5F5F5;
    --laranja: #FF6600;
    --sombra: 0 4px 12px rgba(0, 0, 0, 0.1);
    --sombra-forte: 0 8px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Previne scroll lateral indesejado */
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background: var(--branco);
    overflow-x: hidden; /* Reforço para prevenir scroll lateral */
    width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* HEADER E NAVEGAÇÃO */
.header {
    background: var(--preto);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--amarelo-renault);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amarelo-renault);
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--amarelo-renault);
    border-radius: 2px;
    transition: 0.3s;
}

/* HERO SECTION (CAPA) - CORRIGIDA PARA NÃO TAMPAR */
.hero {
    margin-top: 100px;
    position: relative;
    height: 600px; /* Aumentado para dar mais destaque */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6); /* Escurecido um pouco mais para o texto brilhar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text.centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Global Flat Design Overrides - ESTILO PROFISSIONAL */
.vantagem-card,
.produto-card,
.contato-form,
.mapa-container,
.info-card {
    box-shadow: none;
    border-radius: 0; /* Canto reto = mais industrial/automotivo */
    border: 1px solid #e0e0e0;
    background: var(--branco);
}

.vantagem-card:hover,
.produto-card:hover,
.info-card:hover {
    transform: none; /* Remove o pulo "infantil" */
    border-color: var(--preto); /* Borda preta sólida ao passar o mouse */
    background: #f9f9f9;
}

/* BOTÕES - ESTILO FLAT PROFISSIONAL */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 0; /* Quadrado */
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: none;
    background: #000;
    color: #fff;
    box-shadow: none;
}

.btn-primary {
    background: var(--amarelo-renault);
    color: var(--preto);
    box-shadow: none;
}

.btn-primary:hover {
    background: #000; /* Preto no hover */
    color: #fff;
    transform: none;
    box-shadow: none;
}


.hero-title {
    font-size: 56px; /* Maior */
    font-weight: 900; /* Mais pesado */
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #FFFFFF !important; /* Forçando branco puro */
    text-shadow: none; /* Remove sombra suja */
    letter-spacing: -1px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--amarelo-renault);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

/* VANTAGENS - REDESIGN PROFISSIONAL */
.vantagens-section {
    background: #f5f5f5; /* Fundo cinza claro para contraste com os cards brancos */
    padding: 100px 0;
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0; /* Grudados ou com pouco espaço, estilo tabela */
    border: 1px solid #e0e0e0;
    background: #fff;
}

.vantagem-card {
    padding: 60px 40px;
    text-align: left; /* Alinhamento a esquerda é mais sério */
    border: 1px solid #e0e0e0; /* Bordas internas */
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    margin: 0; /* Remove margens para grade estilo tabela */
}

.vantagem-card::before {
    display: none; /* Remove a barra superior antiga */
}

/* Nova barra de destaque lateral ou superior sutil */
.vantagem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--amarelo-renault);
    transition: width 0.3s;
}

.vantagem-card:hover::after {
    width: 100%;
}

.vantagem-card:hover {
    transform: none;
    background: #fff;
    z-index: 1;
    border-color: #ccc;
}

/* Esconder os ícones "ridículos" */
.vantagem-icon {
    display: none;
}

/* Títulos numéricos ou puramente tipográficos */
.vantagem-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--preto);
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Adiciona um quadrado amarelo decorativo antes do título */
.vantagem-card h3::before {
    content: '';
    display: block;
    width: 8px;
    height: 20px;
    background: var(--amarelo-renault);
}

.vantagem-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-left: 18px; /* Alinha com o texto do título */
}

/* SEÇÕES COM FUNDO */
.fundo-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.fundo-section .container {
    position: relative;
    z-index: 2;
}

.fundo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.fundo1 {
    background-image: url('imagens/fundo.jpg');
}

.fundo2 {
    background-image: url('imagens/fundo2.jpg');
}

.fundo-content {
    text-align: center;
    color: var(--branco);
    max-width: 800px;
    margin: 0 auto;
}

.fundo-content h2 {
    font-size: 42px;
    color: var(--amarelo-renault);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.vantagens-lista {
    max-width: 700px;
    margin: 0 auto;
}

.vantagem-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--amarelo-renault);
    transition: transform 0.3s;
}

.vantagem-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.vantagem-item i {
    color: var(--amarelo-renault);
    font-size: 24px;
    min-width: 30px;
}

.vantagem-item p {
    font-size: 18px;
    margin: 0;
    text-align: left;
}

.motrio-text {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.motrio-slogan {
    font-size: 32px;
    font-weight: 700;
    color: var(--amarelo-renault);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
}

/* PRODUTOS - REDESIGN PROFISSIONAL */
.produtos-section {
    background: var(--branco);
    padding: 100px 0;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.produto-card {
    background: #f9f9f9;
    padding: 40px;
    text-align: left;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: none;
}

.produto-card:hover {
    border-color: var(--preto);
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.produto-card::before {
    display: none;
}

/* Accent line on hover */
.produto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--azul-renault);
    transition: width 0.3s;
}

.produto-card:hover::after {
    width: 100%;
}

.produto-icon {
    display: none;
}

.produto-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--preto);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.produto-card h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--azul-renault);
}

.produto-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-left: 14px;
}

/* LOCALIZAÇÃO & INFO - REDESIGN PROFISSIONAL */
.localizacao-section {
    background: var(--cinza-claro);
    padding: 100px 0;
}

.mapa-container {
    margin: 40px 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #ccc;
    position: relative;
}

.mapa-container::before {
    display: none;
}

.mapa-container iframe {
    display: block;
    border-radius: 0;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin-top: 60px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.info-card {
    background: var(--branco);
    padding: 40px;
    border-radius: 0;
    text-align: left;
    box-shadow: none;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    border-width: 0 1px 0 0; /* Bordas verticais apenas */
    position: relative;
    overflow: hidden;
    margin: 0;
}

.info-card:last-child {
    border-right: none;
}

.info-card:hover {
    transform: none;
    box-shadow: none;
    background: #fafafa;
}

.info-card::before {
    display: none;
}

.info-icon {
    display: none;
}

.info-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.info-card p {
    color: var(--preto);
    line-height: 1.4;
    font-size: 18px;
    font-weight: 600;
}

/* CONTATO */
.contato-section {
    background: var(--branco);
    padding: 80px 0;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--preto);
    font-weight: 700;
}

.contato-desc {
    color: var(--cinza-medio);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--cinza-claro);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--sombra);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.contato-item:hover {
    border-left-color: var(--amarelo-renault);
    transform: translateX(10px);
    background: var(--branco);
}

.contato-icon {
    font-size: 32px;
    color: var(--azul-renault);
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-detalhes h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--preto);
    font-weight: 600;
}

.contato-detalhes p {
    color: var(--cinza-medio);
    font-size: 15px;
}

.contato-form {
    background: var(--cinza-claro);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--sombra-forte);
}

.contato-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--preto);
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--branco);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amarelo-renault);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contato-form .btn {
    width: 100%;
    margin-top: 10px;
    font-size: 17px;
}

/* FOOTER */
.footer {
    background: var(--preto);
    color: var(--branco);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--amarelo-renault);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--amarelo-renault);
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--branco);
}

.footer-col p {
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--amarelo-renault);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #333;
    color: var(--branco);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--amarelo-renault);
    color: var(--preto);
    transform: translateY(-5px) scale(1.1);
}

.footer-contato {
    margin-top: 20px;
}

.footer-contato p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contato i {
    color: var(--amarelo-renault);
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 20px;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-image-container {
        justify-content: center;
    }

    .hero-car {
        width: 90%;
        max-width: 500px;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .contato-wrapper {
        gap: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .fundo-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--preto);
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s, padding 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        max-height: 400px;
        padding: 20px;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .hero {
        height: 400px;
        margin-top: 100px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .contato-wrapper {
        grid-template-columns: 1fr;
    }
    
    .fundo-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .fundo-content h2 {
        font-size: 28px;
    }
    
    .motrio-slogan {
        font-size: 24px;
    }
    
    .vantagem-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 50px;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .vantagens-grid,
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vantagem-card {
        padding: 25px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .vantagem-icon {
        font-size: 36px;
        height: 60px;
        margin-bottom: 15px;
    }

    .vantagem-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .vantagem-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .contato-form {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}