/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary-dark: #0B1E54;
    --primary-light: #00B8F1;
    --background: #F8FAFB;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border: #E0E0E0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 2px solid var(--primary-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-desktop {
    display: flex;
    gap: 40px;
}

.nav-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.nav-mobile a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.05) 0%, rgba(11, 30, 84, 0.03) 100%);
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Vídeo ajustado */
.hero-video video {
    display: flex;
    justify-content: flex-end;
}

.hero-video{
    width: 60%;
    max-width: 450px; /* Limite para nunca passar disso */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.1) 0%, rgba(11, 30, 84, 0.05) 100%);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== BOTÕES ===== */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--white);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===== COMO FUNCIONA ===== */
.como-funciona {
    padding: 100px 0;
    background: var(--white);
}

.como-funciona h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.journey-container {
    position: relative;
    margin-bottom: 80px;
    min-height: 400px;
}

.road-track {
    position: relative;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.08) 0%, rgba(11, 30, 84, 0.03) 100%);
    border-radius: 20px;
    padding: 40px 0;
    margin-bottom: 40px;
    border: 2px solid rgba(0, 184, 241, 0.15);
    display: flex;
    align-items: center;
}

.road-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 25%, var(--primary-light) 75%, transparent 100%);
    transform: translateY(-50%);
    border-radius: 2px;
}

.car-animated {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    transition: left 0.1s linear;
    z-index: 10;
}

.car-animated svg {
    width: 100px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stop-points-container {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.stop-point {
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 184, 241, 0.3);
}

.steps-description {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.step-description {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step-description.active {
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.1) 0%, rgba(11, 30, 84, 0.05) 100%);
    border: 2px solid var(--primary-light);
    opacity: 1;
    transform: scale(1.05);
}

.step-description h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 16px;
}

.step-description p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.simulador-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ===== DREAM SECTION ===== */
.dream-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(11, 30, 84, 0.05) 0%, rgba(0, 184, 241, 0.05) 100%);
}

.dream-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.dream-card h3 {
    font-size: 36px;
    margin-bottom: 15px;
}

.dream-card p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== CREDIBILIDADE ===== */
.credibility {
    padding: 100px 0;
    background: var(--white);
}

.credibility h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.credibility-item {
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.08) 0%, rgba(11, 30, 84, 0.03) 100%);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 184, 241, 0.15);
    transition: all 0.3s ease;
}

.credibility-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.credibility-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.credibility-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== CATEGORIAS ===== */
.categorias {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.05) 0%, rgba(11, 30, 84, 0.03) 100%);
}

.categorias h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.categoria-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.categoria-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.categoria-icon-modern {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.categoria-icon-modern img{
    width: 100px;
    transition: transform 0.35s ease;
    display: block;
    margin: 0 auto;
}

.categoria-card:hover .categoria-icon-modern img {
    transform: translateY(-6px) scale(1.08);
}

.floating-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    position: absolute;
    top: 10px;
    left: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.categoria-card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 20px;
}

.categoria-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== VANTAGENS ===== */
.vantagens {
    padding: 100px 0;
    background: var(--white);
}

.vantagens h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.vantagem-item {
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.08) 0%, rgba(11, 30, 84, 0.03) 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 184, 241, 0.15);
    transition: all 0.3s ease;
}

.vantagem-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.vantagem-icon {
    margin-bottom: 15px;
}

.vantagem-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 16px;
}

.vantagem-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

/* ===== CARROSSEL DE PARCEIROS ===== */
.parceiros {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.05) 0%, rgba(11, 30, 84, 0.03) 100%);
}

.parceiros h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.carousel-container {
    position: relative;
    margin-top: 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    animation: autoScroll 20s linear infinite;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* ===== SIMULADOR ===== */
.simulador {
    padding: 100px 0;
    background: var(--white);
}

.simulador h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.simulador-content {
    text-align: center;
    margin-top: 60px;
}

/* ===== CONTATO ===== */
.contato {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 184, 241, 0.05) 0%, rgba(11, 30, 84, 0.03) 100%);
}

.contato h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contato-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 184, 241, 0.1);
}

.contato-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contato-info h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.contato-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.mapa-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mapa-container iframe {
    border-radius: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-legal-text {
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-video {
        margin-top: 20px;
    }

    .hero-text h2 {
        font-size: 36px;
    }

    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vantagens-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-description {
        grid-template-columns: repeat(3, 1fr);
    }

    .credibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile.active {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text h2 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .vantagens-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-description {
        grid-template-columns: repeat(2, 1fr);
    }

    .credibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .como-funciona h2,
    .categorias h2,
    .vantagens h2,
    .contato h2,
    .simulador h2,
    .parceiros h2 {
        font-size: 28px;
    }

    .steps-description {
        grid-template-columns: 1fr;
    }

    .vantagens-grid {
        grid-template-columns: 1fr;
    }

    .dream-card {
        padding: 40px 20px;
    }

    .dream-card h3 {
        font-size: 24px;
    }

    .credibility-number {
        font-size: 32px;
    }

    .credibility-grid {
        grid-template-columns: 1fr;
    }

    .categorias-grid {
        grid-template-columns: 1fr;
    }
}
