/**
 * Frota Pesada - Estilos
 * 
 * CSS para a seção Frota Pesada com GNV
 * Mantém o padrão visual do site MAIS BARATO COM GNV
 * 
 * @package     MAIS BARATO COM GNV
 * @date        27 de novembro de 2025
 */

/* ========================================
   Container Principal
======================================== */
.frota-pesada-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'myriadpro-regular', Arial, sans-serif;
}

.frota-pesada-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #004894 0%, #0066cc 100%);
    color: white;
    border-radius: 8px;
}

.frota-pesada-title {
    font-family: 'myriadpro', sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.frota-pesada-subtitle {
    font-size: 1.2em;
    margin: 0;
    opacity: 0.95;
}

/* ========================================
   Sistema de Abas
======================================== */
.tabs-container {
    margin-bottom: 50px;
}

.tabs-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 3px solid #004894;
    padding-bottom: 5px;
}

.tab-button {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    background-color: #f5f5f5;
    color: #004894;
    border: none;
    border-radius: 5px 5px 0 0;
    font-family: 'myriadpro', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: #004894;
    color: white;
    box-shadow: 0 -3px 0 0 #ff6600 inset;
}

.tabs-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

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

.tab-content h2 {
    color: #004894;
    font-family: 'myriadpro', sans-serif;
    font-weight: bold;
    font-size: 1.8em;
    margin: 0 0 20px 0;
    border-left: 5px solid #ff6600;
    padding-left: 15px;
}

.tab-content h3 {
    color: #004894;
    font-family: 'myriadpro', sans-serif;
    font-weight: bold;
    font-size: 1.4em;
    margin: 25px 0 15px 0;
}

.tab-content p {
    color: #333;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* ========================================
   Boxes de Destaque
======================================== */
.benefits-box,
.regioes-box,
.corredores-info {
    background-color: #f8f9fa;
    border-left: 4px solid #ff6600;
    padding: 25px;
    margin: 30px 0;
    border-radius: 5px;
}

.benefits-box ul,
.regioes-box ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.benefits-box li,
.regioes-box li {
    padding: 10px 0;
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
}

.benefits-box li:before {
    content: "✓ ";
    color: #ff6600;
    font-weight: bold;
    margin-right: 10px;
}

.regioes-box li:before {
    content: "📍 ";
    margin-right: 10px;
}

/* Estatísticas de Impacto */
.impact-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    color: #ff6600;
    font-family: 'myriadpro', sans-serif;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* ========================================
   FAQ (Perguntas Frequentes)
======================================== */
.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: #f5f5f5;
    color: #004894;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8e8e8;
}

.faq-question:before {
    content: "▸ ";
    color: #ff6600;
    font-weight: bold;
    margin-right: 10px;
}

.faq-answer {
    padding: 20px;
    background-color: white;
}

.faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

/* ========================================
   Formulário de Captação
======================================== */
.form-container {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.form-title {
    color: #004894;
    font-family: 'myriadpro', sans-serif;
    font-weight: bold;
    font-size: 2em;
    margin: 0 0 10px 0;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin: 0 0 30px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #004894;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'myriadpro-regular', Arial, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004894;
    box-shadow: 0 0 0 3px rgba(0, 72, 148, 0.1);
}

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

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.05em;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #004894;
}

.checkbox-label span {
    user-select: none;
}

.checkbox-label:hover {
    color: #004894;
}

/* reCAPTCHA */
.recaptcha-group {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

/* Botão de Envio */
.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #004894 0%, #0066cc 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'myriadpro', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #003670 0%, #0055aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

/* Mensagens de Feedback */
#form-mensagem {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.05em;
    text-align: center;
    display: none;
}

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

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

/* ========================================
   Responsividade Mobile
======================================== */
@media (max-width: 768px) {
    .frota-pesada-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .frota-pesada-title {
        font-size: 1.8em;
    }
    
    .frota-pesada-subtitle {
        font-size: 1em;
    }
    
    .tabs-menu {
        flex-direction: column;
    }
    
    .tab-button {
        min-width: 100%;
    }
    
    .tabs-content {
        padding: 20px 15px;
    }
    
    .tab-content h2 {
        font-size: 1.4em;
    }
    
    .tab-content p {
        font-size: 1em;
        text-align: left;
    }
    
    .impact-stats {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.5em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .btn-submit {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .frota-pesada-title {
        font-size: 1.5em;
    }
    
    .frota-pesada-subtitle {
        font-size: 0.9em;
    }
    
    .tab-button {
        font-size: 1em;
        padding: 12px 15px;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .form-title {
        font-size: 1.3em;
    }
    
    .form-subtitle {
        font-size: 1em;
    }
}

/* ========================================
   Abas Customizadas Frota Pesada
======================================== */
.menuSobre.frota-menu li {
    padding-left: 20px;
}

.menuSobre.frota-menu li a {
    display: block !important;
    width: 276px !important;
    height: 66px !important;
    background: url(../img/menu-frota-pesada.png?v=20251203) no-repeat 0 0 transparent !important;
    text-indent: -9999px !important;
    padding: 0 !important;
    text-align: left !important;
    color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.menuSobre.frota-menu .sobre-frota a {
    background-position: 0 0 !important;
}

.menuSobre.frota-menu .sobre-frota a.current,
.menuSobre.frota-menu .sobre-frota a:hover {
    background-position: -276px 0 !important;
    background-color: transparent !important;
}

.menuSobre.frota-menu .corredores a {
    background-position: 0 -66px !important;
}

.menuSobre.frota-menu .corredores a.current,
.menuSobre.frota-menu .corredores a:hover {
    background-position: -276px -66px !important;
    background-color: transparent !important;
}

.menuSobre.frota-menu .duvidas-frota a {
    background-position: 0 -132px !important;
}

.menuSobre.frota-menu .duvidas-frota a.current,
.menuSobre.frota-menu .duvidas-frota a:hover {
    background-position: -276px -132px !important;
    color: transparent !important;
    background-color: transparent !important;
}

/* ========================================
   Acessibilidade
======================================== */
.tab-button:focus,
.btn-submit:focus,
input:focus,
textarea:focus {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .tabs-menu,
    .form-container {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        page-break-inside: avoid;
    }
}
