/* Estilos gerais */
* {
    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;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Seção Hero */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 20px 80px;
    text-align: left;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 700px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
    text-align: justify;
}

/* Destaque para DIREITO TRIBUTÁRIO */
.highlight-text {
    font-weight: bold;
    color: #4CAF50;
    letter-spacing: 0.5px;
}

/* Destaque para Atendimento Online e Presencial */
.highlighted-info {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

/* Seção de introdução aos serviços */
.services-intro {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.services-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.services-intro p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.services-intro h3 {
    font-size: 1.8rem;
    color: #333;
}

/* Serviço principal */
.main-service {
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Seção de serviços */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.service-card {
    background-color: #333;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.large {
    grid-column: 1 / -1;
}

.service-card .icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4CAF50;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Texto justificado */
.justified-text {
    text-align: justify;
}

/* Seção de contato */
.contact {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

/* Seção sobre */
.about {
    padding: 80px 20px;
    background-color: #fff;
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background-color: #eee;
    border-radius: 10px;
    background-image: url('https://images.unsplash.com/photo-1521791055366-0d553872125f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #666;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: #333;
}

.about-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #4CAF50;
    font-weight: bold;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.quote {
    border-left: 4px solid #4CAF50;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Botões */
.contact-button, .whatsapp-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.whatsapp-button.large {
    padding: 15px 35px;
    font-size: 1.2rem;
}

.contact-button:hover, .whatsapp-button:hover {
    background-color: #45a049;
}

.whatsapp-button i {
    margin-right: 8px;
}

.contact-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Centralização de botões */
.center-button {
    text-align: center;
    margin: 30px auto;
}

.center-button-container {
    grid-column: 1 / -1;
    margin: 10px 0;
}

.section-divider {
    margin: 40px auto;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
}

/* Botão flutuante do WhatsApp */
.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: white;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .whatsapp-button.large {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-intro h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .whatsapp-button.large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .whatsapp-button.large {
        padding: 10px 20px;
        font-size: 1rem;
        width: 80%;
    }
}
