* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7ed957;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #7ed957;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    border-radius: 7px;
    background-color: #fff;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #7ed957;
    color: white;
    transition: transform 0.3s;
}

.btn-primary:hover {
    background: #293325;
}

.btn-ghost {
    /*background: transparent;*/
    color: #374151;
}

.btn-ghost:hover {
    background: #f3f4f6;
}

.btn-outline {
    /*background: transparent;
    color: #7ed957; */
    border: 2px solid #7ed957;
    color: #fff;
    background-color: #293325;
}

.btn-outline:hover {
    background: #7ed957;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:active, .btn:focus-visible {
    color: white !important;
    background-color: #293325 !important;
    border: 1px solid #7ed957 !important;
}

/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);*/
    background: linear-gradient(135deg, #293325 0%, #79AE63 100%);
    padding: 7rem 0 5rem;
    margin-top: 80px;
    min-height: 100vh;
}

.hero:before {
    background-image: url(./img-bg.png);
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #fff;
}

.highlight {
    color: #7ed957;
}

.hero-text p {
    font-size: 1.25rem;
    /*color: #6b7280;*/
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cards {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
}

.card i {
    font-size: 3rem;
    color: #7ed957;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card p {
    color: #6b7280;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    background: #f9fafb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.3s;
}

.step:hover .step-icon {
    background: #f3f4f6;
}

.step-icon i {
    font-size: 2.5rem;
    color: #7ed957;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step p {
    color: #6b7280;
}

/* For Clients - For Lawyers */
.for-lawyers {
    padding: 5rem 0;
    background: #293325;
    color: #fff;
}

.for-clients {
    padding: 5rem 0;
    background: #f9fafb;
}

.for-clients-content, .for-lawyers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.for-clients-text h2, .for-lawyers-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: #7ed957;
    margin-top: 0.25rem;
}

.feature h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
}

.for-lawyers .subtitle, .for-lawyers .feature p {
    color: #bbb;
}

.for-clients-image img, .for-lawyers-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.for-lawyers .btn-primary:hover{
    border: 1px solid #fff;
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
    border-color: #7ed957;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #7ed957;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: #7ed957;
    line-height: 3rem;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.pricing-card li i {
    color: #7ed957;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author strong {
    display: block;
    font-weight: 600;
}

.author span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Questions */
.questions {
    padding: 5rem 0;
    background: white;
}

.accordion {
  max-width: 600px;
  margin: 0 auto;
}

.accordion a {
    color: #293325;
}

.accordion a:hover {
    color: #7ed957;
}

.accordion-item {
  background-color: #fff;
  /*border: 2px solid #7ed957;*/
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  background-color: #eee;
  color: #293325;
  font-weight: bold;
  transition: background 0.3s ease;
}

.accordion-item.active .accordion-header, .accordion-header:hover {
  background-color: #7ed957;
  color: white;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  background-color: #fafafa;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 15px 0;
  margin: 0;
}

.accordion-item.active .accordion-content {
  max-height: 250px; /* altura máxima visível */
}

/* Footer */
.footer {
    /*background: #1f2937;*/
    background: #293325;
    color: white;
    padding: 3rem 0 1rem;
}

.footer .logo {
    margin-bottom: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #7ed957;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        color: #293325;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .for-clients-content, .for-lawyers-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature {
        display: inline;
        text-align: center;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /*.accordion-item {
        border-color: #ddd;
    }*/

    .footer .social-links, .footer .logo {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

.btTopo {
    cursor: pointer;
}

#btnTopo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  background-color: transparent;
  font-size: 2rem;
  color: #999;
  border: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#btnTopo:hover {
  color: #555;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}