:root {
    --primary-color: #9d7a63;
    --primary-light: #c3a995;
    --primary-dark: #7d5e4a;
    --secondary-color: #f8f1eb;
    --text-dark: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --black: #000000;
    --success: #4CAF50;
    --section-padding: 80px 0;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover:after {
    height: 100%;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.subtitle {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px 0 30px;
}

.highlight-text {
    color: var(--primary-color);
    padding: 0;
    border-radius: 0;
    display: inline;
    opacity: 1;
    transform: none;
}

.animate-highlight {
    animation: none;
}

@keyframes highlightFadeIn {
    0% { opacity: 1; transform: none; }
    100% { opacity: 1; transform: none; }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo h1 {
    font-size: 22px;
    margin-bottom: 0;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo p {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 0;
}

nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 100px 30px 30px;
    transition: var(--transition);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

nav.active {
    left: 0;
}

nav ul {
    flex-direction: column;
}

nav ul li {
    margin: 15px 0;
}

.nav-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
}

.nav-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--secondary-color);
}

.nav-logo h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.nav-logo p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 0;
}

nav ul li a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    color: var(--text-dark);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 30px;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('IMG-20250307-WA0004.jpg');
    background-size: cover;
    background-position: 75% center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('file-TKz7uEBg8stKigp7tK9NwF.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    filter: brightness(0.7);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    position: relative;
}

.frame-shape {
    display: none;
}

.placeholder-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.placeholder-image img.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeholder-image:hover img.profile-photo {
    transform: scale(1.05);
}

.placeholder-image span {
    position: absolute;
    bottom: 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 30px;
    letter-spacing: 10px;
    z-index: 1;
}

.credentials {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential i {
    color: var(--primary-color);
    font-size: 24px;
}

.credential p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(195, 169, 149, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    color: var(--white);
    font-size: 24px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Social Section */
.social {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.social-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.social-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateX(10px);
}

.social-icon i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-icon span {
    font-weight: 500;
    color: var(--text-dark);
}

.social-icon.instagram i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.facebook i {
    background-color: #3b5998;
}

.social-icon.linkedin i {
    background-color: #0077b5;
}

.social-icon.tiktok i {
    background-color: #000000;
}

.social-feed {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 20px;
}

.feed-item {
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--secondary-color);
}

.feed-header i {
    color: var(--primary-color);
}

.feed-header span {
    font-weight: 500;
}

.feed-content {
    padding: 15px;
}

.feed-placeholder {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.feed-placeholder svg {
    width: 100%;
    height: 100%;
}

.feed-caption {
    text-align: left;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--primary-dark);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 5px;
    min-width: 22px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.4;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.map-placeholder::after {
    content: 'Ver no Google Maps';
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.map-placeholder:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.map-placeholder:hover img {
    transform: scale(1.05);
}

.map-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.whatsapp-float a::before {
    content: "Falar com a Advogada";
    position: absolute;
    right: 70px;
    background-color: #25d366;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-float a:hover::before {
    opacity: 1;
    right: 80px;
}

/* Enhanced Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation types */
.animate-on-scroll.fade-in {
    transform: translateY(0) scale(0.95);
}

.animate-on-scroll.fade-in.animated {
    transform: translateY(0) scale(1);
}

.animate-on-scroll.slide-left {
    transform: translateX(50px);
}

.animate-on-scroll.slide-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.8);
}

.animate-on-scroll.zoom-in.animated {
    transform: scale(1);
}

/* Staggered animation delays for grid items */
.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.contact-details .contact-item:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-details .contact-item:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-details .contact-item:nth-child(3) {
    transition-delay: 0.3s;
}

.contact-details .contact-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 400px;
        margin: 30px auto 0;
        width: 100%;
    }

    .services-grid {
        gap: 25px;
    }

    .contact-map {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }

    nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: var(--transition);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1000;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 15px 0;
    }
    
    .nav-bottom {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid var(--secondary-color);
    }
    
    .nav-social {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }
    
    .nav-social a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--secondary-color);
        border-radius: 50%;
        color: var(--primary-color);
        transition: var(--transition);
    }
    
    .nav-social a:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        background-position: 75% center;
    }
}

@media (max-width: 576px) {
    .about-text, .social-text, .contact-info {
        text-align: center;
    }

    .about-image {
        max-width: 320px;
        width: 100%;
        margin: 30px auto 0;
    }

    .divider {
        margin: 15px auto 30px;
    }

    .credentials {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .hero {
        background-position: 75% center;
    }

    .whatsapp-float a::before {
        display: none;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 15px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}