/**
 * STYLESHEET GLOBAL - ACCOUNTING PREMIUM
 * Paleta: Ouro (#D4AF37), Azul Marinho (#001F3F), Verde (#27AE60), Branco
 */

/* ============ RESET GLOBAL ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    background-color: #FFFFFF;
    line-height: 1.6;
}

/* ============ TIPOGRAFIA ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: #001F3F;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    color: #001F3F;
}

h2 {
    font-size: 2rem;
    color: #001F3F;
}

h3 {
    font-size: 1.5rem;
    color: #001F3F;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

a {
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #27AE60;
    text-decoration: underline;
}

/* ============ HEADER ============ */
header {
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #D4AF37;
    text-decoration: none;
}

.logo:hover {
    color: #27AE60;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #D4AF37;
    text-decoration: none;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, #001F3F 0%, #D4AF37 100%);
    color: #FFFFFF;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 31, 63, 0.2);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #FFFFFF;
}

/* ============ SEÇÕES ============ */
.section {
    padding: 4rem 2rem;
    background-color: #FFFFFF;
    background-image: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
}

.section.bg-light {
    background-color: #F5F5F5;
    background-image: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
}

.section-titulo {
    text-align: center;
    margin-bottom: 3rem;
}

.section-titulo h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    color: #001F3F;
}

.section-titulo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #D4AF37;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============ CARDS ============ */
.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #D4AF37;
}

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

.card-header {
    background-color: #F5F5F5;
    padding: 1.5rem;
    border-bottom: 3px solid #D4AF37;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: #F5F5F5;
    padding: 1rem;
    text-align: center;
}

/* ============ GRID DE SERVIÇOS ============ */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.servico-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid #D4AF37;
}

.servico-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.servico-icon {
    font-size: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #D4AF37 0%, #27AE60 100%);
    color: #FFFFFF;
}

.servico-card h3 {
    color: #001F3F;
    padding: 1rem 1.5rem 0;
}

.servico-card p {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

/* ============ BOTÕES ============ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #D4AF37;
    color: #001F3F;
}

.btn-primary:hover {
    background-color: #27AE60;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: #001F3F;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: #27AE60;
}

.btn-outline {
    border: 2px solid #D4AF37;
    color: #D4AF37;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #D4AF37;
    color: #001F3F;
}

/* ============ FORMULÁRIOS ============ */
form {
    background-color: #F5F5F5;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 2rem auto;
    border-left: 4px solid #D4AF37;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #001F3F;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============ FOOTER ============ */
footer {
    background: linear-gradient(135deg, #001F3F 0%, #27AE60 100%);
    color: #FFFFFF;
    padding: 3rem 2rem 1rem;
    margin-top: 5rem;
    border-top: 3px solid #D4AF37;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 3rem 1rem;
        min-height: 300px;
    }
}

/* ============ UTILITÁRIOS ============ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden {
    display: none;
}

.text-muted {
    color: #999;
}

.border-top {
    border-top: 1px solid #E8E8E8;
}

.bg-light {
    background-color: #F5F5F5;
}

.bg-dark {
    background-color: #001F3F;
    color: #FFFFFF;
}
