/**
* Estilos personalizados para Julião Contabilidade e Consultoria
* Autor: Desenvolvedor Web
* Data: 06/08/2025
*/

/*--------------------------------------------------------------
# Variáveis e Reset
--------------------------------------------------------------*/
:root {
    --primary-color: #b3c628;
    --secondary-color: #657983;
    --light-gray: #f1f1f1;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease-in-out;
}

/*--------------------------------------------------------------
# Estilos Gerais
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

.section-bg {
    background-color: var(--light-gray);
	padding: 10px 10px 50px 30px;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--primary-color);
}

.section-title h2::before {
    content: '';
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: rgba(255, 255, 255, 0.98);
    transition: var(--transition);
    z-index: 997;
    padding: 15px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#header .logo img {
    max-height: 60px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
    transition: var(--transition);
}

.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    /*color: var(--primary-color);*/
}

.mobile-nav-toggle {
    color: var(--secondary-color);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: var(--transition);
}

.mobile-nav-toggle.fa-times {
    color: var(--white);
}

/*--------------------------------------------------------------
# Hero List Styling
--------------------------------------------------------------*/
.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    /*margin-bottom: 15px;*/
}

.hero-list-icon {
    flex-shrink: 0;
    margin-right: 10px;
    color: var(--light-accent); /* #ddbea9 */
    /*font-size: 22px;*/
}

.hero-list-text {
    color: var(--very-light-bg); /* #fff6eb */
    font-size: 18px;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Responsividade para a lista */
@media (max-width: 768px) {
    .hero-list-icon {
        font-size: 18px;
    }
    
    .hero-list-text {
        font-size: 16px;
    }
}


/*--------------------------------------------------------------
# Hero Section - Atualizado em 28/10/2025
--------------------------------------------------------------*/
#hero {
    width: 100%;
    /*height: 80vh;*/
    background-color: #b3c628; /* Cor base caso a imagem não carregue */
    background-image: url('../img/hero-bg.png'); /* Caminho para a imagem de fundo */
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 70px;
    padding: 0;
    overflow: hidden; /* Importante para conter a animação */
}

/* Overlay para garantir legibilidade do texto sobre a imagem */
#hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(179, 198, 40, 0.7); /* Cor #b3c628 com transparência */
    z-index: 1;
}

#hero .container {
    padding-top: 72px;
    position: relative;
    z-index: 2; /* Acima do overlay */
}

#hero h1 {
    margin: 0 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Melhora legibilidade */
}

#hero h2 {
    color: #fff;
    margin-bottom: 40px;
    font-size: 24px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Melhora legibilidade */
}

/* Animação da imagem da profissional */
#hero .hero-img {
    position: relative;
    z-index: 2;
}

#hero .hero-img img {
    animation: slideInRight 1.5s ease-out forwards;
}

#hero .btn-primary-custom, #hero .btn-secondary-custom {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Botões com cantos arredondados */
    transition: var(--transition);
    margin: 10px;
    border: 2px solid var(--white);
    /*color: var(--white);*/
    text-transform: uppercase;
    cursor: pointer; /* Adiciona cursor pointer para melhor UX */
}

#hero .btn-primary-custom {
    /*background: var(--primary-color);*/
    border-color: var(--black);
}

#hero .btn-primary-custom:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra ao passar o mouse */
}

#hero .btn-secondary-custom {
    background: transparent;
    border-color: var(--white);
}

#hero .btn-secondary-custom:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra ao passar o mouse */
}

#hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* Estilos para os modais */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .modal-title {
    color: var(--secondary-color);
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.modal .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

.modal .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal .form-control:focus, .modal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(179, 198, 40, 0.25);
}

.modal-status-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
    display: none;
}

.modal-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

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

/* Feedback visual para campos de formulário */
.form-control.is-valid, .form-select.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Acessibilidade para foco em elementos interativos */
.btn:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(179, 198, 40, 0.25);
    outline: 0;
}

/* Animação de carregamento para submissão de formulário */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    margin-right: 0.5rem;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
    
    #hero .btn-primary-custom, #hero .btn-secondary-custom {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fallback para navegadores que não suportam animações */
.no-cssanimations #hero .hero-img img {
    opacity: 1;
}


/*--------------------------------------------------------------
# Estatísticas na seção Sobre
--------------------------------------------------------------*/
.stats-container {
    margin-top: 50px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
}

.stat-box {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 55px;
    font-weight: 900;
    color: var(--primary-color); /* #c58c6d */
    margin-bottom: 10px;
}

.stat-description {
    font-size: 16px;
    color: var(--secondary-color); /* #6b705c */
    margin-bottom: 0;
}

/* Adiciona separadores entre as colunas */
@media (min-width: 768px) {
    .stats-container .col-md-4:not(:last-child) .stat-box {
        border-right: 1px solid var(--light-bg); /* #f1e3d3 */
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 767px) {
    .stats-container {
        padding: 15px;
    }
    
    .stat-box {
        padding: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--light-bg); /* #f1e3d3 */
    }
    
    .stats-container .col-md-4:last-child .stat-box {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-description {
        font-size: 14px;
    }
}


/*--------------------------------------------------------------
# Serviços Seção
--------------------------------------------------------------*/
.servicos {
    padding: 80px 0;
}

.service-card {
    border: none;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--secondary-color);
}

.service-card p {
    color: #777;
}

/*--------------------------------------------------------------
# Valores Seção - Atualizada 28/10/2025
--------------------------------------------------------------*/
.valores {
    padding: 80px 0;
    position: relative;
    background-image: url('../img/valores-bg.png'); /* Substitua pelo caminho da sua imagem de fundo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.valores-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 112, 92, 0.5); /* Cor #6b705c com transparência */
    z-index: 1;
}

.valores .container {
    position: relative;
    z-index: 2;
}

.valores .section-title h2 {
    color: var(--white);
}

.valores .section-title h2::after {
    background: var(--accent-color); /* #c58c6d */
}

.valores .section-title p {
    color: var(--very-light-bg); /* #fff6eb */
}

.valor-box {
    display: flex;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.valor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    flex-shrink: 0;
    background-color: var(--primary-color); /* #87b7a4 */
    color: var(--white);
    font-size: 28px;
    padding: 20px;
}

.valor-content {
    padding: 20px;
    flex-grow: 1;
}

.valor-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color); /* #6b705c */
}

.valor-content p {
    color: #555;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 991px) {
    .valor-box {
        flex-direction: column;
        text-align: center;
    }
    
    .valor-icon {
        width: 100%;
        padding: 15px;
    }
    
    .valor-content {
        padding: 20px 15px;
    }
}

@media (max-width: 767px) {
    .valores {
        padding: 60px 0;
    }
    
    .valor-box {
        margin-bottom: 20px;
    }
}


/*--------------------------------------------------------------
# Contato Seção
--------------------------------------------------------------*/
.contato {
    padding: 80px 0;
}

.info-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    padding: 20px 0 30px 0;
}

.info-box i {
    font-size: 32px;
    color: var(--primary-color);
    border-radius: 50%;
    padding: 8px;
    border: 2px dotted #b3c628;
}

.info-box h3 {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 10px 0;
}

.info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.php-email-form {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

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

.php-email-form input, .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border: 1px solid #ddd;
}

.php-email-form input:focus, .php-email-form textarea:focus {
    border-color: var(--primary-color);
}

.php-email-form input {
    padding: 10px 15px;
}

.php-email-form textarea {
    padding: 12px 15px;
}

.php-email-form button[type="submit"] {
    background: var(--primary-color);
    border: 0;
    padding: 10px 30px;
    color: var(--white);
    transition: var(--transition);
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.php-email-form button[type="submit"]:hover {
    background: var(--secondary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #333;
    color: #fff;
    font-size: 14px;
    padding-top: 50px;
}

#footer .footer-top {
    padding: 0 0 30px 0;
}

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    color: var(--primary-color);
}

#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #ddd;
}

#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #444;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: var(--transition);
}

#footer .footer-top .social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

#footer .footer-top h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 50px;
    background: var(--primary-color);
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: var(--primary-color);
    font-size: 12px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #ddd;
    transition: var(--transition);
    display: inline-block;
    line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
    color: var(--primary-color);
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #ddd;
    border-top: 1px solid #444;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Responsividade
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .valor-box {
        padding: 20px 15px;
    }
}

/*--------------------------------------------------------------
# Acessibilidade
--------------------------------------------------------------*/
/* Aumenta contraste nos elementos interativos com foco */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 3px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}

/* Melhora legibilidade com espaçamento adequado */
p, li {
    line-height: 1.6;
}

/* Feedback visual claro para interações */
.btn, .form-control {
    transition: var(--transition);
}

/* Animações suaves para evitar problemas com usuários com vertigem */
* {
    scroll-behavior: smooth;
}
