/* Reset Básico e Variáveis */
:root {
    --cor-bg-principal: #2B0649;
    --cor-bg-hero: #461A6B;
    --cor-bg-secao: #4F2572;
    --cor-bg-secao-escura: #210340;
    --cor-bg-footer: #3B1B56;

    --cor-primaria: #E24072;
    --cor-secundaria: #674781;
    --cor-borda: #812688;

    --texto-branco: #FFFFFF;
    --texto-cinza-claro: #E0E0E0;
    --texto-cinza: #B9B9B9;
    --texto-cinza-escuro: #525252;
    --texto-preto: #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cor-bg-principal);
    color: var(--texto-branco);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* ================= Navbar ================= */
.navbar {
    background-color: rgba(103, 71, 129, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo img {
    height: 48px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cor-primaria);
}

.btn-login {
    background-color: var(--cor-secundaria);
    border: 3px solid var(--cor-borda);
    border-radius: 3px;
    padding: 8px 30px;
    font-weight: 400;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--cor-secundaria);
    filter: brightness(1.2);
}

/* ================= Hero ================= */
.hero {
    background-color: var(--cor-bg-hero);
    background-image: url('assets/fundohero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    min-height: 730px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero p {
    font-size: 24px;
    color: var(--texto-cinza);
    margin-bottom: 60px;
    line-height: 1.3;
}

.btn-cta {
    background-color: rgba(226, 64, 114, 0.2);
    border: 1px solid var(--cor-primaria);
    border-radius: 10px;
    padding: 15px 60px;
    font-size: 24px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta:hover {
    background-color: rgba(226, 64, 114, 0.4);
}

.hero-image {
    position: relative;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 2;
}

.efeito-luz {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(226, 64, 114, 0.4);
    filter: blur(80px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ================= Seções (Gerais) ================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 10px;
}

.linha-destaque {
    width: 475px;
    height: 1.2px;
    background-color: var(--cor-primaria);
    margin: 0 auto;
}

/* ================= A base da sua operação ================= */
.base-operacao {
    background-color: var(--cor-bg-secao);
    padding: 80px 20px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--texto-branco);
    color: var(--texto-preto);
    border-radius: 23px;
    box-shadow: 0px 7px 6px rgba(0, 0, 0, 0.25);
    width: 277px;
    min-height: 412px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 25px;
    min-height: 60px;
    line-height: 1.2;
}

.card img {
    width: 100%;
    max-width: 110px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 25px;
}

.card p {
    font-size: 16px;
    color: var(--texto-cinza-escuro);
    line-height: 1.4;
    margin-top: auto;
}

/* ================= Conheça o DES ================= */
.conheca-des {
    background-image: url('assets/fundoconhecaadealer.png');
    background-color: var(--cor-bg-secao);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 20px;
}

.conheca-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.conheca-lista {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 200px;
    margin-left: -250px;
    max-width: 650px;
}

.conheca-textos {
    flex: 1;
    max-width: 800px;
}

.conheca-textos h2 {
    font-size: 32px;
    color: #EDEDED;
    margin-bottom: 20px;
}

.conheca-textos h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 45px;
    line-height: 1.2;
}

.texto-destaque {
    color: var(--cor-primaria);
}

.conheca-textos p {
    font-size: 22px;
    line-height: 1.4;
}

.item-lista {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.numero {
    background-color: var(--texto-branco);
    color: var(--texto-preto);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-top: -3px;
}

.item-lista p {
    font-size: 20px;
    line-height: 1.4;
}

/* ================= Nossas Soluções ================= */
.nossas-solucoes {
    background-color: var(--cor-bg-secao-escura);
    padding: 80px 20px;
}

.nossas-solucoes .linha-destaque {
    width: 333px;
}

.swiper-solucoes {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;

    --swiper-pagination-color: var(--cor-primaria);
    --swiper-pagination-bullet-inactive-color: #D9D9D9;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bottom: 0px;
}

.solucao-card {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    box-sizing: border-box;
}

.solucao-texto {
    flex: 1.35;
    text-align: left;
}

.solucao-texto h3 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 50px;
}

.solucao-texto p {
    font-size: 24px;
    color: var(--texto-cinza-claro);
    line-height: 1.4;
}

.solucao-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.solucao-imagem img {
    width: 80%;
    max-width: 450px;
    border-radius: 60px;
    border: 2px solid #FFFFFF;
    box-sizing: border-box;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* ================= Nossos Clientes ================= */
.nossos-clientes {
    background-color: var(--cor-bg-secao-escura);
    padding: 80px 20px;
}

.nossos-clientes .linha-destaque {
    width: 310px;
}

.clientes-grid {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--cor-bg-secao);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0px 10px 29px -8px #915FBA;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.clientes-grid img {
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* ================= Footer ================= */
.footer {
    background-color: var(--cor-bg-footer);
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-col img {
    width: 300px;
    height: auto;
    margin-top: 35px;
}

.footer-col h4 {
    font-size: 16px;
    color: #D4D4D4;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--texto-branco);
    font-size: 16px;
}

.footer-col ul li a {
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: #b4b4b4;
}

.contatos-footer svg {
    color: var(--texto-branco);
    flex-shrink: 0;
}

.contatos-footer a:hover svg {
    color: #b4b4b4;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.linha-footer {
    width: 800px;
    max-width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 auto 20px;
}

.footer-bottom p {
    color: rgba(212, 212, 212, 0.8);
    font-size: 16px;
    font-weight: 500;
}

/* ================= Seção de Contato ================= */
.contato-sessao {
    background-color: #FFFFFF;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.contato-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contato-header h2 {
    font-weight: 800;
    font-size: 48px;
    background: linear-gradient(90deg, #461A6B, #812688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 20px;
}

.contato-header .linha-destaque {
    margin: 0 auto;
    height: 2px;
    width: 600px;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contato-form-wrapper {
    width: 100%;
    max-width: 650px;
    background: transparent;
}

.form-contato .form-row {
    display: flex;
    gap: 30px;
}

.form-contato .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-contato label {
    color: var(--cor-bg-principal);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.form-contato input,
.form-contato textarea {
    background: rgba(160, 100, 220, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--texto-preto);
    border: 2px solid rgba(160, 100, 220, 0.2);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.form-contato input:focus,
.form-contato textarea:focus {
    background: rgba(160, 100, 220, 0.25);
    border-color: rgba(160, 100, 220, 0.5);
    box-shadow: 0 4px 12px rgba(160, 100, 220, 0.15);
}

.btn-enviar {
    background-color: #c73260;
    color: var(--texto-branco);
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    background-color: var(--cor-primaria);
}

/* ================= Imagem do Carro ================= */
.contato-imagem {
    position: absolute;
    right: -14%;
    top: 55%;
    transform: translateY(-50%);
    width: 65vw;
    max-width: 1100px;
    z-index: 1;
    pointer-events: none;
}

.contato-imagem img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ================= POPUP DE SUCESSO ================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popup-overlay.active .popup-content {
    transform: translateY(0) scale(1);
}

.popup-icon i {
    font-size: 60px;
    color: #10B981;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 28px;
    color: #111827;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.popup-text {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 30px;
}

.btn-popup-close {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-popup-close:hover {
    background: #374151;
}

@media screen and (max-width: 576px) {
    .popup-content {
        padding: 24px;
    }
}

/* ================= Responsividade Básica ================= */

@media (max-width: 1200px) {

    .conheca-lista {
        margin-left: 0;
        margin-top: 50px;
    }

    .contato-imagem {
        right: -25%;
        width: 75vw;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .conheca-container {
        flex-direction: column;
        align-items: center;
    }

    .conheca-textos {
        text-align: center;
    }

    .conheca-lista {
        max-width: 100%;
    }

    .solucao-card {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px;
    }

    .form-contato .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contato-imagem {
        opacity: 0.15;
        right: -10%;
        top: 50%;
        z-index: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 15px;
    }

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

    .hero p {
        font-size: 20px;
    }

    .linha-destaque,
    .nossas-solucoes .linha-destaque,
    .nossos-clientes .linha-destaque,
    .contato-header .linha-destaque {
        width: 100% !important;
        max-width: 250px;
    }

    .section-header h2,
    .contato-header h2 {
        font-size: 36px;
    }

    .conheca-textos h3 {
        font-size: 32px;
    }

    .solucao-texto h3 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .solucao-texto p {
        font-size: 20px;
    }

    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
        width: 100%;
    }

    .footer-col ul li a {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 38px;
    }

    .btn-login {
        padding: 8px 15px;
        font-size: 15px;
    }

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

    .hero p {
        font-size: 18px;
    }

    .btn-cta {
        padding: 12px 35px;
        font-size: 20px;
    }

    .card {
        width: 100%;
        max-width: 320px;
        min-height: auto;
    }

    .section-header h2,
    .contato-header h2 {
        font-size: 30px;
    }

    .conheca-textos h3 {
        font-size: 26px;
    }

    .conheca-textos p,
    .item-lista p {
        font-size: 18px;
    }

    .solucao-texto h3 {
        font-size: 28px;
    }

    .solucao-texto p {
        font-size: 18px;
    }

    .clientes-grid {
        padding: 25px;
        gap: 15px;
    }

    .clientes-grid img {
        height: 50px;
    }

    .contato-sessao {
        padding: 70px 20px;
    }

    .contato-imagem {
        display: none;
    }
}