/* styles_main.css - Estilos completos para o novo site BusInfo */

/* ===== RESET & VARIÁVEIS ===== */
:root {
    --primary-color: #343565;
    --secondary-color: #6c8eff;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --success-color: #28a745;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.highlight {
    color: var(--secondary-color);
}

/* ===== BOTÕES ===== */
.btn-primary, .btn-secondary, .btn-download-header {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-family: 'Poppins', sans-serif;
}

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

.btn-primary:hover {
    background-color: #2a2a54;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

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

.btn-secondary:hover {
    background-color: rgba(52, 53, 101, 0.05);
    transform: translateY(-3px);
}

.btn-download-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-download-header:hover {
    background-color: #5a7dff;
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.main-header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(52, 53, 101, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    display: none;
    background-color: white;
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-list a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.mobile-download a {
    color: var(--secondary-color);
    font-weight: 600;
    border-bottom: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 80px 0;
    overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://raw.githubusercontent.com/Linharespedroo/Imagens/refs/heads/main/Auxiliares/Mapa_img.png");
  background-size: cover;
  background-position: center;
  opacity: 0.4; /* Transparência ajustada */
  z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    margin: 2.5rem 0;
}

.stat-item {
    margin-right: 40px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

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

.store-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    min-width: 180px;
    box-shadow: var(--box-shadow);
}

.store-btn i {
    font-size: 2rem;
    margin-right: 12px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.75rem;
    font-weight: 400;
}

.large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.android-btn {
    background-color: #000;
    color: white;
}

.ios-btn {
    background-color: #000;
    color: white;
}

.android-btn:hover, .ios-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup-hero {
    width: 280px;
    height: 504px;
    background: #111;
    border-radius: 26px;
    border: 12px solid #e0e0e0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.phone-screen-hero {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(108, 142, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.features-cta {
    text-align: center;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 8px solid #f8f9fa;
}

.step-content {
    max-width: 300px;
    margin: 0 auto;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-description {
    color: var(--gray-color);
}

.demo-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.demo-phone {
    flex: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.phone-mockup-demo {
    width: 280px;
    height: 504px;
    background: #111;
    border-radius: 26px;
    border: 10px solid #e0e0e0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.phone-screen-demo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.demo-controls {
    flex: 1;
    padding: 50px;
}

.demo-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.demo-description {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.demo-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.demo-btn {
    padding: 12px 15px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.demo-btn:hover, .demo-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
}

.author-name {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-location {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* ===== FINAL CTA SECTION ===== */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a54 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.store-btn-large {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    min-width: 220px;
    background-color: white;
    color: #000;
}

.store-btn-large i {
    font-size: 2.5rem;
    margin-right: 15px;
}

.store-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

.cta-note i {
    color: #28a745;
    margin-right: 8px;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-bottom: 20px;
}

.footer-logo-link img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-link span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-download-badges {
    display: block;
    gap: 15px;
}

.badge-link img {
    height: 65px;
    border-radius: 8px;
    transition: var(--transition);
}

.badge-link:hover img {
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-title-margin {
    margin-top: 40px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.social-icon.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.social-icon.disabled:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

.footer-copyright {
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-copyright p {
    margin-bottom: 5px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-container {
        flex-direction: column;
    }
    
    .demo-phone {
        padding: 30px;
    }
    
    .demo-controls {
        padding: 30px;
    }
}

@media (max-width: 768px) {

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

.main-footer {
    padding: 70px 30px;
}

    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        margin-left: 15px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        margin-bottom: 40px;
        max-width: 400px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {

    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .demo-buttons {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .feature-card, .testimonial-card, .step {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }