* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0B0B0D;
    color: #fff;
    scroll-behavior: smooth;
}

.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.narrow { max-width: 700px; margin: auto; }

header {
    position: fixed;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 100px; }

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
}

.btn-nav {
    background: #B30000;
    padding: 8px 18px;
    border-radius: 30px;
    color: #fff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 13, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-nav a {
    margin: 18px 0;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}

.hero {
    min-height: 100vh;
    background: url('logo.png') center/cover no-repeat; /* ← Troque por uma imagem de fundo real se possível */
    display: flex;
    align-items: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.88), rgba(179,0,0,0.65));
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero h1 { font-size: 3.4rem; line-height: 1.15; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: #B30000;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #d00000;
    transform: translateY(-2px);
}

.btn-outline {
    padding: 16px 36px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.section { padding: 140px 0; }

.dark { background: #111; }

.grid-3, .grid-4 {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: #1C1C1F;
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 24px;
}

/* Números flutuantes */
.numbers.floating {
    position: relative;
    margin-top: -100px;
    z-index: 10;
}

.numbers .grid-4 {
    background: rgba(17,17,17,0.9);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}

.number-icon {
    width: 120px;           /* Aumentado para desktop */
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 12px 30px rgba(179,0,0,0.35);
    transition: transform 0.3s ease;
}

.number-item:hover .number-icon {
    transform: scale(1.1);
}

.number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #B30000;
    margin: 0;
    line-height: 1;
}

.label {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Imagem da seção Institucional (sobre) */
.about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* Formulário */
.form input {
    width: 100%;
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    background: #222;
    color: #fff;
}

.form input::placeholder {
    color: #aaa;
}

.form-note { font-size: 0.95rem; opacity: 0.7; text-align: center; margin-top: 12px; }

/* Footer e WhatsApp */
footer {
    background: #000;
    padding: 50px 0;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* Rotas */
.rotas-box {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.rota-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.rota-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.rota-cidade {
    font-weight: 600;
    font-size: 1.1rem;
}

.rota-icon {
    color: #ff3b3b;
    font-size: 1.4rem;
    font-weight: bold;
}

/* ============================================= */
/* RESPONSIVIDADE */
/* ============================================= */

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .section { padding: 100px 0; }
    
    .number-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }

    header {
        padding: 15px 0;
    }

    .logo {
        height: 70px;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .card {
        padding: 32px 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;             /* reduzido para melhor espaçamento */
    }

    .about-image img {
        max-height: 400px;     /* limita altura no mobile */
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }

    .about-text {
        padding: 0 10px;
    }

    .numbers.floating {
        margin-top: -60px;
    }

    .numbers .grid-4 {
        padding: 40px 25px;
    }

    .number {
        font-size: 2.8rem;
    }

    .number-icon {
        width: 90px;
        height: 90px;
    }

    .rotas-box {
        flex-direction: column;
        gap: 20px;
    }

    .form input {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .btn-primary, .btn-outline {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .section { padding: 80px 0; }

    .card { padding: 24px 18px; }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }

    .number-icon {
        width: 80px;
        height: 80px;
    }

    .number {
        font-size: 2.4rem;
    }

    .about-image img {
        max-height: 320px;     /* ainda menor em telas pequenas */
    }
}