/*
 * Estilo Principal - Raphael & Raphael Assessoria Contábil
 */

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a:hover {
    color: #1a3a52;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #1a3a52;
    color: #fff;
}

.btn-primary:hover {
    background-color: #254f70;
    color: #fff;
}

.btn-accent {
    background-color: #c9a961;
    color: #fff;
}

.btn-accent:hover {
    background-color: #b39248;
    color: #fff;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1a3a52;
    font-size: 1rem;
}

.main-nav a:hover, .main-nav a.active {
    color: #c9a961;
}

/* Hero Section */
.hero {
    background-image: url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 32px;
    color: #333;
}

/* Seções */
.section {
    padding: 80px 0;
}

.section-bg {
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-card .icon {
    height: 64px;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
}

/* Sobre */
.about-content {
    display: flex;
    align-items: center;
    gap: 48px;
}

.about-content img {
    max-width: 450px;
    border-radius: 8px;
}

/* Contato */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

/* Alertas */
.alert {
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-weight: 600;
}

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

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

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a3a52;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #1a3a52;
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.5);
}

/* Footer */
.main-footer {
    background-color: #1a3a52;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
}

.footer-col p, .footer-col li {
    color: #ccc;
    margin-bottom: 12px;
}

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

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3a5f7a;
    font-size: 0.875rem;
    color: #ccc;
}
