:root {
    --primary-color: #C06DAB;
    --secondary-color: #AF4B96;
    --light-color: #f9f0f7;
    --dark-color: #333;
    --white: #fff;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
}

h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-top: 0;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
}

h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.oab-badge {
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    padding: 1rem 2rem;
    position: relative;
}

nav li:after {
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

nav li:hover:after {
    width: 70%;
}

nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--secondary-color);
}

.hero {
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    font-size: 25px;
}

.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 25px;
}

.hero h2:after {
    background: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--secondary-color);
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.secondary-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.areas {
    padding: 5rem 0;
}

.area-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.area-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500vw;
    font-size: 1rem;
    margin: 0;

}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    font-size: 25px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.services {
    padding: 5rem 0;
}

.service-list {
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    align-content: center;
    margin-left: 20vw;

}

.service-item {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 20px;

}

.service-item:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;


}

/* Modal de Sucesso */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    margin: 20px;
    animation: scaleIn 0.3s ease-in-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.icon-success {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.modal-text {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 85%;
    }

    .icon-success {
        font-size: 40px;
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-text {
        font-size: 14px;
    }

    .close-modal {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }

    .icon-success {
        font-size: 35px;
        margin-bottom: 15px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }

    to {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.testimonials {
    background: url('https://images.unsplash.com/photo-1551818255-e6e10975bc17?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    position: relative;
    color: var(--white);
    text-align: center;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(175, 75, 150, 0.8);
}

.testimonials h2 {
    color: var(--white);
    position: relative;
}

.testimonials h2:after {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--secondary-color);
}

.testimonial-name {
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 1rem;
}

.contact {
    padding: 5rem 0;
}

.contact-content {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    margin-right: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-item-content h4 {
    margin: 0 0 0.5rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
}

.map {
    height: 300px;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    padding: 0 1rem;
}

.footer-column h3 {
    color: var(--white);
    margin-top: 0;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

@media (max-width: 768px) {


    p {
        font-size: 3vw;
    }

    .service-item {
        align-items: center;
        justify-content: center;
    }

    .service-list {
        max-width: 800px;
        margin: 0 auto;
        align-items: center;
        align-content: center;
        margin-left: 8vw;

    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    nav li {
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        margin-bottom: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .area-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .area-card {
        max-width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .area-card {
        padding: 1.2rem;
    }
}

@media (max-width: 900px) {
    .area-card {
        max-width: 350px;
    }
}