/* =========================================
   VARIÁVEIS CSS
   ========================================= */
:root { 
    --orange: #e87742;
    --laranja-techlog: #e87742;
    --yellow: #f4d03f;
    --cinza-fundo: #f4f7f6;
}

/* =========================================
   RESET E ESTILOS GLOBAIS
   ========================================= */
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    height: 100%;
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

main {
    flex: 1;
}

a {
    transition: all 0.3s ease;
}

/* =========================================
   BARRA DE INFORMAÇÕES SUPERIOR
   ========================================= */
.top-info-bar { 
    background: var(--orange);
    padding: 10px 0;
    color: white;
    font-size: 13px;
    overflow: hidden;
}

/* Top-bar no footer fica transparente (herda o gradiente do footer) */
footer .top-info-bar { 
    background: transparent;
}

.top-info-wrapper { 
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    padding: 0 10%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.top-info-wrapper::-webkit-scrollbar { 
    display: none;
}

.top-info-bar a { 
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.top-info-bar a:hover { 
    opacity: 0.8;
}

.top-info-item { 
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* =========================================
   NAVBAR
   ========================================= */
nav { 
    background: linear-gradient(135deg, var(--orange) 0%, #f39c6b 100%);
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { 
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.logo-icon { 
    background: transparent;
    color: var(--orange);
    padding: 0;
    border-radius: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img { 
    display: block;
    height: 38px;
    width: auto;
}

.btn-fale-conosco { 
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid white;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-fale-conosco:hover { 
    background: rgba(255,255,255,0.3);
}

/* =========================================
   BARRA DE AVISO
   ========================================= */
.aviso-construcao { 
    background: linear-gradient(90deg, #ffe066 0%, #ffd54f 100%);
    padding: 12px 10%;
    text-align: left;
    color: #333;
    font-size: 14px;
    border-bottom: 3px solid #ffb74d;
}

/* =========================================
   BOTÕES COMUNS
   ========================================= */
.btn-saiba-mais { 
    background: var(--orange);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-saiba-mais:hover { 
    background: #d16635;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 119, 66, 0.4);
}

.btn-enviar {
    background-color: var(--laranja-techlog);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-enviar:hover { 
    background-color: #d16635;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 119, 66, 0.4);
}

/* =========================================
   FOOTER
   ========================================= */
footer { 
    background: linear-gradient(135deg, var(--orange) 0%, #f39c6b 100%);
    color: white;
    padding: 40px 10%;
}

.footer-wrapper { 
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
}

.footer-left { 
    flex: 0 0 auto;
}

.footer-logo { 
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.footer-logo-icon { 
    background: transparent;
    color: var(--orange);
    padding: 0;
    border-radius: 4px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon img { 
    display: block;
    height: 32px;
    width: auto;
}

.footer-right { 
    flex: 1;
    text-align: left;
}

.footer-right p { 
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.6;
}

.footer-right strong { 
    font-weight: 600;
}

.footer-contacts { 
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    justify-content: center;
}

.footer-contacts a { 
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0.95;
    transition: 0.3s;
}

.footer-contacts a:hover { 
    opacity: 1;
    transform: translateY(-1px);
}

.footer-copyright { 
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

/* =========================================
   PÁGINA INICIAL (INDEX)
   ========================================= */
.texto-intro { 
    padding: 72px 6%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.texto-intro p { 
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
}

.secao-valores { 
    background: linear-gradient(135deg, #ffe066 0%, #ffb74d 50%, var(--orange) 100%);
    padding: 80px 10% 120px 10%;
    text-align: center;
}

.secao-valores h2 { 
    color: white;
    font-size: 48px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.container-cards { 
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: -80px auto 0 auto;
    max-width: 1400px;
    padding: 0 5%;
}

.card { 
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.2);
    flex: 1 1 calc(33.333% - 20px);
    text-align: center;
    transition: 0.3s;
}

.card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 22px 65px rgba(0,0,0,0.26);
}

.card-icon { 
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 { 
    color: #333;
    margin-bottom: 15px;
    font-size: 22px;
}

.card p { 
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.card ul { 
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.card ul li { 
    padding: 5px 0;
    color: #666;
    font-size: 14px;
}

.card ul li:before { 
    content: "• ";
    color: var(--orange);
    font-weight: bold;
    margin-right: 8px;
}

.cta-contato { 
    text-align: center;
    padding: 80px 10%;
    background: #f9f9f9;
    margin-top: 80px;
}

.cta-contato h3 { 
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

/* =========================================
   PÁGINA DE CONTATO
   ========================================= */
.contato-container { 
    padding: 60px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.alert { 
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.alert.fade-out { 
    opacity: 0;
    transform: translateY(-10px);
}

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

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

.contato-container h1 { 
    color: #333;
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
}

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

.contato-info { 
    padding: 20px;
}

.contato-info p { 
    line-height: 1.8;
    color: #666;
    margin: 15px 0;
    font-size: 16px;
}

.contato-info strong { 
    color: #333;
}

.form-contato { 
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-input { 
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: 0.3s;
}

.form-input:focus { 
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 119, 66, 0.1);
}

.btn-enviar.loading { 
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-enviar .spinner { 
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

.btn-enviar.loading .spinner { 
    display: inline-block;
}

.btn-enviar.loading .btn-text { 
    opacity: 0.7;
}

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

/* =========================================
   MEDIA QUERIES - RESPONSIVIDADE
   ========================================= */
@media (max-width: 992px) {
    .container-cards { 
        flex-wrap: wrap;
    }
    
    .card { 
        flex: 1 1 calc(50% - 15px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    /* Barra de informações */
    .top-info-wrapper { 
        justify-content: flex-start;
        gap: 20px;
        padding: 0 5%;
    }
    
    /* Navbar */
    nav { 
        padding: 15px 5%;
    }
    
    .logo { 
        font-size: 16px;
        gap: 6px;
    }
    
    .logo-icon { 
        padding: 0;
        font-size: 14px;
    }
    
    .logo-icon img { 
        height: 28px;
    }
    
    .btn-fale-conosco { 
        padding: 8px 15px;
        font-size: 11px;
        border-radius: 15px;
    }
    
    /* Página inicial */
    .texto-intro { 
        padding: 40px 6%;
        text-align: justify;
        line-height: 1.65;
    }
    
    .texto-intro p { 
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .card { 
        flex: 1 1 100%;
    }
    
    /* Página de contato */
    .contato-container { 
        padding: 40px 20px;
    }
    
    .contato-grid { 
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contato-info { 
        padding: 0;
    }
    
    .form-contato { 
        padding: 30px 20px;
    }
    
    /* Footer */
    footer { 
        padding: 24px 6%;
    }
    
    .footer-content { 
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .footer-right { 
        text-align: center;
    }
    
    .footer-right p { 
        margin: 3px 0;
        line-height: 1.4;
    }
    
    .footer-contacts { 
        gap: 10px 16px;
    }
    
    .footer-logo-icon img { 
        height: 26px;
    }
    
    .footer-copyright { 
        margin-top: 16px;
        padding-top: 12px;
        font-size: 11px;
    }
}