*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body{
    background: #05060f;
    color: white;
    overflow-x: hidden;
}

.background{
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.glow{
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
}

.glow.one{
    width: 500px;
    height: 500px;
    background: #212163;
    top: -150px;
    left: -150px;
    opacity: .9;
}

.glow.two{
    width: 450px;
    height: 450px;
    background: #ff7a00;
    bottom: -150px;
    right: -150px;
    opacity: .25;
}

.grid{
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* NAVBAR */
nav{
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1750px;
    height: 68px;
    padding: 0 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5,6,15,.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.05);
    z-index: 999;
    transition: all 0.3s ease;
}

.logo-img{
    width: 140px;
    object-fit: contain;
}

nav ul{
    display: flex;
    align-items: center;
    gap: 42px;
    list-style: none;
}

nav ul li a{
    position: relative;
    text-decoration: none;
    color: rgba(255,255,255,.72);
    font-size: 17px;
    font-weight: 600;
    transition: .35s;
}

nav ul li a:hover, nav ul li a.active{
    color: white;
}

nav ul li a.active::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #ff7a00;
}

.nav-btn{
    height: 42px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg,#ff7a00,#ff9500);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .35s;
    border: none;
    cursor: pointer;
}

.nav-btn:hover{
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255,122,0,.35);
}

.nav-btn-mobile {
    display: none;
    width: 100%;
}

.mobile-menu{
    display: none;
    border: none;
    background: rgba(255,255,255,.08);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-menu:hover{
    background: rgba(255,255,255,.12);
}

/* SEÇÃO SIMULAR (PÁGINA DE SIMULAÇÃO) */
.simular-section{
    padding-top: 5%;
    position: relative;
}

.simular-header{
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.simular-header h1{
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.1;
    margin: 24px 0 18px;
}

.simular-header p{
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.6;
    color: rgba(255,255,255,.8);
}

.simular-content{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: start;
}

.simular-card, .simular-form-wrapper{
    background: rgba(5,6,15,.95);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,.25);
    padding: clamp(20px, 4vw, 45px);
}

.simular-card h2{
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 24px;
}

.simular-card p, .simular-card .info-note{
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.info-list{
    list-style: none;
    padding: 0;
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.info-list li{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,.9);
}

.info-list li i{
    color: #ff7a00;
    margin-top: 4px;
}

.simular-form .form-group{
    display: grid;
    gap: 3px;
    margin-bottom: 24px;
}

.simular-form label{
    font-weight: 700;
    font-size: 16px;
}

.simular-form input, select{
    height: 55px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: white;
    font-size: 16px;
    width: 100%;
}

.simular-form option{
    background: #06070f;
    color: #fff;
}

.simular-form input:focus{
    border-color: #ff7a00;
    outline: none;
}

.error-message{
    color: #ff8a60;
    font-size: 14px;
    min-height: 18px;
}

input.invalid{
    border-color: #ff8a60;
}

.form-feedback{
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.form-feedback.success{ color: #7fffd4; }
.form-feedback.error{ color: #ff8a60; }

/* SEÇÕES GERAIS (HERO, SOBRE, SERVIÇOS) */
.hero, .services, .sobre-hero, .page-section{
    padding: 140px 5% 80px;
    position: relative;
}

.hero{
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content{
    max-width: 1100px;
    width: 100%;
}

.badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 24px;
    font-size: 14px;
}

.badge span{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7a00;
    box-shadow: 0 0 20px #ff7a00;
}

.hero h1, .services-top h1, .sobre-left h1, .page-title{
    font-size: clamp(38px, 7vw, 85px);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.sobre-left h1{
    font-size: clamp(36px, 6vw, 75px);
}

.hero p, .services-top p, .sobre-left p, .page-text{
    font-size: clamp(16px, 2.5vw, 22px);
    line-height: 1.5;
    color: rgba(255,255,255,.82);
    max-width: 850px;
    font-weight: 500;
    margin-top: 25px;
    margin-bottom: 20px;
}

.hero-buttons{
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary{
    position: relative;
    height: 64px;
    padding: 0 34px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg,#ff7a00,#ff9500);
    color: white;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: .4s;
    box-shadow: 0 15px 45px rgba(255,122,0,.28);
    text-decoration: none;
}

.btn-primary::before{
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);
    transition: .7s;
}

.btn-primary:hover::before{ left: 120%; }

.btn-primary:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255,122,0,.45);
}

.btn-secondary{
    height: 64px;
    padding: 0 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(18px);
    color: white;
    font-size: 17px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: .4s;
    text-decoration: none;
}

.btn-secondary i{
    font-size: 22px;
    color: #25d366;
}

.btn-secondary:hover{
    transform: translateY(-5px);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255, 122, 0, 0.35);
}

/* SERVIÇOS */
.services-top{
    max-width: 1100px;
    margin-bottom: 60px;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card{
    position: relative;
    padding: clamp(25px, 5vw, 45px);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg,rgba(17,20,40,.92),rgba(8,10,24,.94));
    border: 1px solid rgba(255,255,255,.05);
    transition: .45s;
    backdrop-filter: blur(24px);
}

.service-card:hover{
    transform: translateY(-10px);
    border: 1px solid rgba(255,122,0,.18);
}

.icon{
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#ff7a00,#ff9500);
    margin-bottom: 24px;
}

.icon i{ font-size: 26px; color: white; }
.service-card h2{ font-size: 24px; margin-bottom: 14px; }
.service-card p{ color: rgba(255,255,255,.68); line-height: 1.7; font-size: 15px; }

/* SOBRE CONTAINER */
.sobre-container{
    width: 100%;
    max-width: 1500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-left h1 span{ color: #ff7a00; }

.stats{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-card{
    flex: 1;
    min-width: 200px;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(18,22,48,.92),rgba(10,12,28,.88));
    border: 1px solid rgba(255,255,255,.06);
}

.stat-card h2{
    font-size: clamp(38px, 4vw, 54px);
    color: #ff7a00;
    margin-bottom: 10px;
}

.sobre-card{
    padding: clamp(30px, 5vw, 60px);
    border-radius: 30px;
    background: linear-gradient(145deg,rgba(18,22,48,.95),rgba(10,12,28,.88));
    border: 1px solid rgba(255,255,255,.06);
}

.card-title{
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 40px;
}

.info-item{
    position: relative;
    padding-left: 24px;
    margin-bottom: 35px;
}

.info-item::before{
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 80%;
    background: linear-gradient(to bottom,#ff7a00,transparent);
}

.info-item h3{ font-size: 24px; margin-bottom: 10px; }
.info-item p{ color: rgba(255,255,255,.68); font-size: 16px; }

/* VALORES */
.values-title{
    text-align: center;
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 50px;
}

.values-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card{
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    margin-bottom: 30px;
}

/* CONTATO */
.contact-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card{
    padding: 35px;
    border-radius: 24px;
    background: linear-gradient(145deg,rgba(18,22,48,.95),rgba(10,12,28,.88));
    border: 1px solid rgba(255,255,255,.06);
}

.contact-card h2{ font-size: 32px; margin-bottom: 15px; }
.contact-card a{ color: #ff7a00; text-decoration: none; font-weight: 600; display: inline-flex; margin-top: 15px; }


/* =======================================================
   MEDIA QUERIES - RESPONSIVIDADE TOTAL 
   ======================================================= */

@media(max-width: 1200px){
    .sobre-container{ grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width: 992px){
    .simular-content { grid-template-columns: 1fr; }
    .simular-form-wrapper { order: 1; }
    .simular-card { order: 2; }
}

@media(max-width: 900px){
    /* Ativação do Menu Hamburguer Dinâmico */
    .mobile-menu { display: flex; }
    .nav-btn-desktop { display: none; }
    
    nav ul {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(5, 6, 15, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        flex-direction: column;
        padding: 30px 20px;
        gap: 24px;
        align-items: center;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Classe injetada via JS quando abrir o menu */
    nav.open ul {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-btn-mobile { display: block; width: 100%; text-align: center; }
    .nav-btn-mobile .nav-btn { height: 50px; font-size: 16px; }

    .hero, .services, .sobre-hero, .page-section, .simular-section {
        padding: 120px 6% 60px;
    }
}

@media (max-width: 480px) {
    nav { width: 95%; padding: 0 16px; }
    .logo-img { width: 120px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; }
}