:root {
    --primary-color: #4e4949;
    --secondary-color: #4e4949;
    --whatsapp-color: #25D366;
    --light-color: #ecf0f1;
    --dark-color: #4e4949;
    --marriage-color: #f1be23;
    --death-color: #4e4949;
    --notary-color: #f9b71a;
    --property-color: #f1be23;
    --will-color: #4e4949;
    --authentication-color: #4e4949;
    --power-color: #f1be23;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    border: none;
    background: #f1f1f1;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.tab-btn.active {
    color: white;
}

.tab-btn[data-tab="birth"] { background-color: var(--secondary-color); }
.tab-btn[data-tab="birth"].active { background-color: var(--secondary-color); color: white; }

.tab-btn[data-tab="marriage"] { background-color: var(--marriage-color); }
.tab-btn[data-tab="marriage"].active { background-color: var(--marriage-color); color: white; }

.tab-btn[data-tab="death"] { background-color: var(--death-color); }
.tab-btn[data-tab="death"].active { background-color: var(--death-color); color: white; }

.tab-btn[data-tab="property"] { background-color: var(--property-color); }
.tab-btn[data-tab="property"].active { background-color: var(--property-color); color: white; }

.tab-btn[data-tab="documents"] { background-color: var(--authentication-color); }
.tab-btn[data-tab="documents"].active { background-color: var(--authentication-color); color: white; }

.tab-btn[data-tab="powers"] { background-color: var(--power-color); }
.tab-btn[data-tab="powers"].active { background-color: var(--power-color); color: white; }

.tab-btn[data-tab="will"] { background-color: var(--will-color); }
.tab-btn[data-tab="will"].active { background-color: var(--will-color); color: white; }

.tab-content {
    display: none;
    background: white;
    padding: 25px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.tab-content.active {
    display: block;
}

.service-category {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.service-category:last-child {
    border-bottom: none;
    margin-bottom: 15px;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid currentColor;
    display: inline-block;
}

.requirements-list {
    margin: 15px 0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.requirement-icon {
    margin-right: 15px;
    color: inherit;
    font-size: 18px;
    min-width: 25px;
    margin-top: 3px;
}

.requirement-text strong {
    display: block;
    margin-bottom: 5px;
}

.requirement-text ul {
    margin-top: 5px;
    padding-left: 20px;
}

.requirement-text li {
    margin-bottom: 5px;
}

.requirement-text ul ul {
    margin-left: 20px;
    list-style-type: circle;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whatsapp-color);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.whatsapp-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.note-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
}

.tab-content:nth-child(2) .note-box {
    border-left-color: var(--marriage-color);
}

.tab-content:nth-child(3) .note-box {
    border-left-color: var(--death-color);
}

.tab-content:nth-child(4) .note-box {
    border-left-color: var(--notary-color);
}

/* Novos ícones específicos */
.fa-user-minus { color: var(--marriage-color); }
.fa-heart-broken { color: var(--marriage-color); }
.fa-handshake { color: var(--secondary-color); }
.fa-user-check { color: var(--secondary-color); }

footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 15px 0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
}