/* =========================================
   VARIÁVEIS E RESET GERAL
========================================= */
:root {
    --azul-escuro: #0a1945;
    --azul-claro: #143e8c;
    --laranja: #ff8c00;
    --fundo-cinza: #f8f9fa;
    --texto-escuro: #333;
    --branco: #ffffff;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: var(--fundo-cinza); 
    color: var(--texto-escuro); 
    line-height: 1.6; 
}

/* =========================================
   ESTILOS MOBILE (Padrão para Celulares)
========================================= */

/* CABEÇALHO */
header { 
    background-color: var(--azul-escuro); 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { 
    color: var(--branco); 
    font-size: 20px; /* Um pouco menor no celular */
    font-weight: 900; 
}

.logo span { 
    color: var(--laranja); 
    font-size: 12px; 
    font-weight: normal; 
    vertical-align: top; 
}

.btn-header { 
    background-color: var(--laranja); 
    color: var(--branco); 
    padding: 8px 16px; /* Ajustado para touch no celular */
    border-radius: 20px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 13px;
    transition: background 0.3s;
}

.btn-header:hover { 
    background-color: #e67e00; 
}

/* HERO SECTION (Banner sem cortar) */
.hero { 
    width: 100%; 
    background-color: #e0e0e0; 
    text-align: center; 
}

.hero img { 
    width: 100%; 
    height: auto; /* Mantém a proporção real da imagem */
    display: block; 
}

/* SEÇÕES GERAIS */
.section-padding { 
    padding: 40px 5%; /* Espaçamento menor no celular */
}

.section-title { 
    color: var(--azul-escuro); 
    font-size: 1.8rem; /* Fonte adequada para mobile */
    text-align: center; 
    margin-bottom: 10px; 
}

.section-subtitle { 
    color: #666; 
    text-align: center; 
    margin-bottom: 30px; 
    font-size: 1rem; 
}

/* CARDS DE PRODUTOS/SERVIÇOS */
.grid-cards { 
    display: grid; 
    grid-template-columns: 1fr; /* 1 card por linha no celular */
    gap: 20px; 
}

.card { 
    background-color: var(--branco); 
    border-radius: 15px; 
    padding: 25px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    transition: transform 0.3s;
}

.card:hover { 
    transform: translateY(-5px); 
}

.card-header { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
}

.card-icon { 
    color: var(--laranja); 
    font-size: 24px; 
    font-weight: bold; 
}

.card-title { 
    color: var(--azul-escuro); 
    font-weight: bold; 
    font-size: 1.1rem; 
}

.card-desc { 
    color: #555; 
    font-size: 0.95rem; 
}

/* DEPOIMENTOS */
.depoimentos { 
    background-color: var(--azul-escuro); 
    color: var(--branco); 
}

.depoimentos .section-title { 
    color: var(--laranja); 
}

.depoimentos .section-subtitle { 
    color: #ccc; 
}

.depoimento-card { 
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 15px; 
    padding: 20px; 
    text-align: left; 
}

.estrelas { 
    color: #f1c40f; 
    margin-bottom: 10px; 
    font-size: 1.2rem; 
}

.cliente-nome { 
    font-weight: bold; 
    margin-top: 15px; 
    color: var(--laranja); 
}

/* SEÇÃO DE CONTATO E FORMULÁRIO */
.contato-section { 
    background-color: var(--branco); 
    display: flex; 
    flex-direction: column; /* Em celulares, a loja fica em cima e o form embaixo */
    gap: 30px; 
}

.contato-info { 
    width: 100%; 
}

.contato-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.contato-icone { 
    font-size: 24px; 
    color: var(--laranja); 
}

.contato-texto h4 { 
    color: var(--azul-escuro); 
    margin-bottom: 5px; 
}

.contato-texto p { 
    color: #555; 
}

.formulario-contato {
    width: 100%;
    background-color: var(--fundo-cinza);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 5px; 
    color: var(--azul-escuro); 
    font-weight: bold; 
    font-size: 0.9rem; 
}

.form-group input, 
.form-group select {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    font-size: 16px; /* Evita que o iPhone dê zoom automático ao clicar */
    outline: none; 
    transition: border 0.3s;
}

.form-group input:focus, 
.form-group select:focus { 
    border-color: var(--laranja); 
}

.btn-form {
    width: 100%; 
    background-color: #25D366; 
    color: white; 
    padding: 15px; 
    border: none; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 1.1rem; 
    cursor: pointer; 
    transition: background 0.3s; 
    margin-top: 10px;
}

.btn-form:hover { 
    background-color: #1ebe57; 
}

/* RODAPÉ */
footer { 
    background-color: var(--azul-escuro); 
    color: #aaa; 
    text-align: center; 
    padding: 20px; 
    font-size: 0.9rem; 
}

footer span { 
    color: var(--laranja); 
    font-weight: bold; 
}


/* =========================================
   MEDIA QUERIES - DESKTOP / TELAS MAIORES
========================================= */
@media (min-width: 768px) {
    
    /* Aumenta a logo no computador */
    .logo { font-size: 24px; }
    .logo span { font-size: 14px; }
    .btn-header { padding: 10px 20px; font-size: 14px; }

    /* Aumenta os espaçamentos gerais */
    .section-padding { padding: 60px 5%; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 40px; }

    /* Cards lado a lado (Cria quantas colunas couberem) */
    .grid-cards { 
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    }

    /* Formulário e Contato ficam lado a lado */
    .contato-section { 
        flex-direction: row; 
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }

    .contato-info { flex: 1; }
    .formulario-contato { flex: 1; padding: 30px; }
}