/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Otimizações para Mobile - iOS e Android */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Previne zoom automático no iOS */
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Melhora renderização de fontes no iOS */
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent; /* Remove highlight azul no Android */
}

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

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    /* Melhorias para touch devices */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    min-height: 44px; /* Tamanho mínimo recomendado para touch targets */
    position: relative;
    overflow: hidden;
}

/* Efeito ripple para Android */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f6f 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3f6f 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Header - SOLUÇÃO UNIVERSAL PARA TODAS AS TELAS */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Garantir que funcione em TODOS os navegadores e resoluções */
header,
header.header,
.header,
#header,
nav,
nav.navbar,
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
}

/* CSS Reforçado para Desktop */
/* Estado do header durante scroll - APLICADO EM TODAS AS TELAS */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

/* Garantir compatibilidade total */
.header,
.header * {
    box-sizing: border-box;
}

/* Garantir que o body não interfira */
body {
    margin: 0;
    padding: 0;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5aa0;
}

.nav-brand span {
    color: #ff6b35;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    width: 660px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.hero-content h1 span {
    color: #2c5aa0;
    background: linear-gradient(135deg, #2c5aa0 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2c5aa0 0%, #ff6b35 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre {
    background: #f8fafc;
}

.sobre-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.sobre-item {
    margin-bottom: 3rem;
}

.sobre-item-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sobre-item-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.sobre-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sobre-item i {
    font-size: 1.2rem;
    color: #ff6b35;
}

.sobre-item p {
    color: #64748b;
    line-height: 1.7;
}

.sobre-stats {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Serviços Section */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: white;
}

.servico-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.servico-card p {
    color: #64748b;
    line-height: 1.7;
}

.servico-image {
    margin-top: 1.5rem;
}

.servico-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

/* Tipos de Cargas */
.tipos-cargas {
    background: #f8fafc;
}

.cargas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.carga-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carga-card:hover {
    transform: translateY(-5px);
}

.carga-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.carga-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.carga-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Frota Section */
.frota-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.frota-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.frota-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.frota-secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.frota-secondary-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.frota-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
}

.frota-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.frota-item i {
    color: #ff6b35;
}

.frota-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Diferenciais Section */
.diferenciais {
    background: #f8fafc;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.diferencial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-5px);
}

.diferencial-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #2c5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.diferencial-icon i {
    font-size: 1.5rem;
    color: white;
}

.diferencial-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.diferencial-card p {
    color: #64748b;
    line-height: 1.6;
}

.diferencial-image {
    margin-top: 1.5rem;
}

.diferencial-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

/* Depoimentos Section */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.depoimento-content {
    margin-bottom: 2rem;
}

.depoimento-content i {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.depoimento-content p {
    color: #64748b;
    line-height: 1.7;
    font-style: italic;
}

.depoimento-author strong {
    color: #1a202c;
    font-weight: 600;
    display: block;
}

.depoimento-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Galeria Section */
.galeria {
    background: #f8fafc;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.galeria-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.galeria-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    transform: translateY(0);
}

.galeria-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Contato Section */
.contato {
    background: #f8fafc;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgb(240, 239, 239);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contato-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 0.5rem;
}

.contato-item strong {
    color: #1a202c;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.contato-item p {
    font-size: 1.1rem;
    color: #2c5aa0; 
    margin: 0;
}

.contato-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contato-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #2c5aa0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Desktop Header Fixo - Regra Específica e Definitiva */
@media (min-width: 769px) {
    /* Forçar header fixo para desktop */
    .header,
    header,
    .navbar,
    nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 999999 !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    /* Garantir espaçamento adequado para o conteúdo no desktop */
    .hero {
        padding-top: 80px !important;
    }
    
    /* Reset do padding do body apenas para desktop */
    body {
        padding-top: 0 !important;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .hero-content h1 {
        width: 100%;
        font-size: 3rem;
    }

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

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

/* Responsive Design - Mobile Landscape & Tablet Portrait */
@media (max-width: 768px) {
    /* Navigation Mobile - Melhorado para navbar fixo */
    .header {
        position: fixed !important; /* Garantir que permaneça fixo */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .navbar {
        position: static !important; /* Mudado de relative para static */
        width: 100% !important;
        /* Garantir que o navbar não interfira na fixação */
        margin: 0 !important;
        padding: 1rem 0 !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 999;
        gap: 3rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: #f8fafc;
        color: #2c5aa0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hero Section Mobile */
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .hero-image img {
        height: 400px;
        margin-top: 1rem;
    }

    /* Sections Mobile */
    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Sobre Section Mobile */
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sobre-item-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }

    .sobre-stats {
        padding: 2rem;
        margin-top: 2rem;
    }

    .stat-item {
        margin-bottom: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Serviços Mobile */
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .servico-card {
        padding: 2rem;
    }

    /* Frota Mobile */
    .frota-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .frota-main-image img {
        height: 250px;
    }

    .frota-secondary-images {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .frota-secondary-images img {
        height: 120px;
    }

    .frota-item {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    /* Diferenciais Mobile */
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .diferencial-card {
        padding: 1.8rem;
    }

    .diferencial-card h3 {
        font-size: 1.1rem;
    }

    /* Depoimentos Mobile */
    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .depoimento-card {
        padding: 2rem;
    }

    /* Galeria Mobile */
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .galeria-item img {
        height: 220px;
    }

    /* Contato Mobile */
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contato-item {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .contato-form {
        padding: 2rem;
    }

    .form input,
    .form select,
    .form textarea {
        padding: 12px;
        font-size: 16px; /* Previne zoom no iOS */
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile Portrait - iPhone & Android */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 90px;
        min-height: 90vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }

    .hero-image img {
        height: 300px;
        border-radius: 15px;
    }

    /* Sections Mobile */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Cards Mobile */
    .servico-card,
    .diferencial-card,
    .depoimento-card,
    .carga-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .servico-card h3,
    .diferencial-card h3,
    .carga-card h3 {
        font-size: 1.2rem;
    }

    .servico-card p,
    .diferencial-card p,
    .carga-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Sobre Mobile */
    .sobre-item-content {
        padding: 1.2rem;
        gap: 1rem;
    }

    .sobre-item h3 {
        font-size: 1.2rem;
    }

    .sobre-item p {
        font-size: 0.95rem;
    }

    .sobre-stats {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Diferenciais Mobile */
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .diferencial-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .diferencial-icon i {
        font-size: 1.3rem;
    }

    /* Frota Mobile */
    .frota-main-image img {
        height: 200px;
        border-radius: 15px;
    }

    .frota-secondary-images {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .frota-secondary-images img {
        height: 150px;
        border-radius: 10px;
    }

    .frota-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .frota-item h3 {
        font-size: 1.1rem;
    }

    .frota-item p {
        font-size: 0.9rem;
    }

    /* Galeria Mobile */
    .galeria-item img {
        height: 200px;
    }

    .galeria-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .galeria-overlay h4 {
        font-size: 1rem;
    }

    /* Contato Mobile */
    .contato-info h3,
    .contato-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contato-item {
        padding: 1rem;
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contato-item i {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .contato-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form input,
    .form select,
    .form textarea {
        padding: 14px;
        border-radius: 8px;
        font-size: 16px; /* Previne zoom automático no iOS */
    }

    .form textarea {
        min-height: 100px;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* iPhone X/11/12/13/14 - Tela com notch - Navbar aprimorado */
@media only screen and (max-width: 414px) and (-webkit-min-device-pixel-ratio: 2) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding-top: env(safe-area-inset-top, 0); /* Suporte para notch */
        z-index: 10001 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .hero {
        padding-top: calc(100px + env(safe-area-inset-top, 0)); /* Ajustar para notch */
    }

    .navbar {
        padding: 1rem 0;
        position: static !important;
    }
}

/* Regra específica para garantir navbar fixo em Android e iOS */
@media screen and (max-width: 768px) {
    /* Forçar navbar fixo para todos os dispositivos móveis */
    .header,
    header,
    nav,
    .navbar-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Garantir que o body não interfira */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Garantir que o conteúdo principal tenha espaçamento */
    .hero,
    main,
    .main-content {
        margin-top: 80px !important;
        padding-top: 20px !important;
    }
}

/* Suporte para landscape com notch */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        position: fixed !important;
        top: 0 !important;
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
    }
}

/* iPhone SE / Telas muito pequenas */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 12px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .servico-card,
    .diferencial-card,
    .depoimento-card {
        padding: 1.2rem;
    }

    .contato-form,
    .sobre-stats {
        padding: 1.2rem;
    }
}

/* Landscape mode para mobiles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-container {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .section {
        padding: 2rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação otimizada para mobile */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Aplicar animações apenas se não houver preferência por movimento reduzido */
@media (prefers-reduced-motion: no-preference) {
    .hero-content,
    .section-header {
        animation: fadeInUp 1s ease-out;
    }

    .servico-card:nth-child(odd) {
        animation: slideInFromLeft 0.8s ease-out;
    }

    .servico-card:nth-child(even) {
        animation: slideInFromRight 0.8s ease-out;
    }
}

/* Para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Melhorias para temas escuros do sistema */
@media (prefers-color-scheme: dark) {
    /* Manter o design atual, mas suavizar contrastes se necessário */
    .hero {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    }
}

/* Smooth Scroll com fallback para dispositivos antigos */
html {
    scroll-behavior: smooth;
}

/* Fallback para navegadores que não suportam scroll-behavior */
@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
}

/* Performance: usar will-change apenas quando necessário */
.btn:hover,
.servico-card:hover,
.diferencial-card:hover,
.galeria-item:hover {
    will-change: transform, box-shadow;
}

/* Remover will-change após animação */
.btn,
.servico-card,
.diferencial-card,
.galeria-item {
    will-change: auto;
}

/* Otimizações para dispositivos de alta densidade (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img,
    .frota-main-image img,
    .galeria-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Loading states para melhor UX */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #2c5aa0;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* CORREÇÃO FINAL - NAVBAR FIXO PARA MOBILE - ÚLTIMA PALAVRA */
/* Esta regra tem prioridade máxima e garante navbar fixo em Android e iPhone */
@media screen and (max-width: 768px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 99999 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Garantir que o navbar dentro do header não interfira */
    .header .navbar {
        position: static !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Forçar espaçamento correto do conteúdo */
    .hero {
        margin-top: 0 !important;
        padding-top: 100px !important;
    }
}

/* Regra específica para iPhone e dispositivos iOS */
@supports (-webkit-appearance: none) {
    @media screen and (max-width: 768px) {
        .header {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            z-index: 99999 !important;
        }
    }
}

/* Regra específica para Android Chrome */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
    }
}
