/* 
   SRCM Consultoria Jurídica - Estilos CSS
   Desenvolvido por Manus AI
*/

/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
:root {
    /* Cores principais */
    --primary-color: #0a2463; /* Azul escuro */
    --secondary-color: #b08d57; /* Dourado */
    --accent-color: #d64933; /* Vermelho para CTAs */
    
    /* Cores neutras */
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    
    /* Fontes */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Espaçamentos */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

/* Justificando e centralizando todos os parágrafos */
p {
    margin-bottom: 20px;
    text-align: justify;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Melhorando responsividade das imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    margin: 10px auto;
}

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

.btn-primary:hover {
    background-color: #c03a26;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 73, 51, 0.3);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.cta-center {
    text-align: center;
    margin: 40px auto;
}

.saiba-mais-btn {
    background-color: var(--secondary-color);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 4px;
    display: inline-block;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.saiba-mais-btn:hover {
    background-color: #9a7a4a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.saiba-mais-container {
    text-align: center;
    margin: 30px auto;
}

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

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

.logo h1 {
    font-size: 28px;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo span {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.menu {
    display: flex;
    justify-content: center;
}

.menu li {
    margin: 0 15px;
    text-align: center;
}

.menu a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--secondary-color);
}

.menu a:hover::after {
    width: 100%;
}

.menu-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.cta-header .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== BANNER PRINCIPAL ===== */
#banner {
    background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: center; /* Exceção para o banner */
}

.banner-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* ===== SOBRE NÓS ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
}

.section-header p {
    text-align: center; /* Exceção para títulos de seção */
}

.section-header.light h2,
.section-header.light p {
    color: var(--light-color);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: center;
}

.sobre-text p {
    margin-bottom: 30px;
    text-align: center;
}

.valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.valor-item {
    text-align: center;
}

.valor-item p {
    text-align: center; /* Exceção para itens de valor */
}

.valor-item i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.valor-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.sobre-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin: 0 auto;
}

.sobre-image img {
    height: 100%;
    object-fit: cover;
}

/* ===== ÁREAS DE ATUAÇÃO ===== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.area-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.area-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.area-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.area-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.area-card p {
    text-align: center;
}

.area-link {
    display: inline-block;
    margin-top: auto;
    font-weight: 500;
    color: var(--secondary-color);
    text-align: center;
}

.area-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.area-link:hover i {
    transform: translateX(5px);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.diferencial-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.diferencial-item p {
    text-align: center; /* Exceção para itens de diferenciais */
}

.diferencial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(176, 141, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.diferencial-icon i {
    font-size: 36px;
    color: var(--secondary-color);
}

.diferencial-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-slider {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    margin-bottom: 30px;
    justify-content: center;
}

.depoimento-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    flex: 0 0 calc(33.333% - 20px);
    height: 100%;
    text-align: center;
}

.depoimento-content {
    margin-bottom: 20px;
    text-align: center;
}

.depoimento-content p {
    text-align: center;
}

.depoimento-quote {
    margin-bottom: 15px;
    text-align: center;
}

.depoimento-quote i {
    font-size: 30px;
    color: var(--secondary-color);
    opacity: 0.5;
}

.depoimento-rating {
    margin-top: 15px;
    text-align: center;
}

.depoimento-rating i {
    color: #ffc107;
    margin-right: 3px;
}

.depoimento-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.depoimento-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.author-info span {
    color: var(--gray-color);
    font-size: 14px;
    text-align: center;
    display: block;
}

.depoimentos-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.faq-answer p {
    text-align: center;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ===== CONTATO ===== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: center;
}

.contato-info {
    color: var(--light-color);
    text-align: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    align-items: center;
    text-align: center;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--light-color);
    text-align: center;
}

.info-item p {
    text-align: center;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

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

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contato-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: center;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check input {
    width: auto;
    margin-right: 10px;
}

.form-check label {
    margin-bottom: 0;
    font-weight: normal;
}

/* ===== MAPA ===== */
#mapa {
    height: 450px;
}

#mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.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%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-float a i {
    font-size: 30px;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 30px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 5px;
    text-align: center;
}

.footer-logo span {
    color: var(--secondary-color);
    font-size: 14px;
    text-align: center;
    display: block;
}

.footer-logo p {
    margin-top: 20px;
    opacity: 0.8;
    text-align: center;
}

.footer-links h4,
.footer-areas h4,
.footer-newsletter h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.footer-links h4::after,
.footer-areas h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul,
.footer-areas ul {
    text-align: center;
}

.footer-links ul li,
.footer-areas ul li {
    margin-bottom: 10px;
    text-align: center;
}

.footer-links ul li a,
.footer-areas ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: all 0.3s ease;
    text-align: center;
}

.footer-links ul li a:hover,
.footer-areas ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    margin: 20px auto;
    max-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--body-font);
    text-align: center;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #9a7a4a;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 15px;
    opacity: 0.7;
    font-size: 14px;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-legal a {
    color: var(--light-color);
    opacity: 0.7;
    font-size: 14px;
    text-align: center;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Adicionando classe para animações */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVIDADE APRIMORADA ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .sobre-content,
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sobre-image {
        order: -1;
        max-height: 400px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    /* Ajustes para imagens em tablets */
    .depoimento-author img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
    
    .banner-content h2 {
        font-size: 30px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .banner-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .valores {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-slider {
        flex-direction: column;
    }
    
    .depoimento-card {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    /* Ajustes para imagens em dispositivos móveis */
    .sobre-image {
        max-height: 300px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .areas-grid,
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    #header .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
        align-items: center;
    }
    
    .cta-header {
        margin: 15px 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .cta-header .btn {
        width: 100%;
    }
    
    .menu-mobile {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    /* Ajustes para imagens em smartphones */
    .sobre-image {
        max-height: 250px;
    }
    
    .banner {
        height: 80vh;
    }
    
    .contato-form {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float a i {
        font-size: 24px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .banner-content h2 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
