/*
--- STYLE.CSS VERSÃO FINAL E COMPLETA ---
*/

:root {
    --primary-color: #1d3557; /* Azul marinho mais escuro */
    --secondary-color: #457b9d; /* Azul médio */
    --accent-color: #a8dadc; /* Azul claro / Ciano suave */
    --gold-color: #c5a365; /* Dourado para detalhes finos */
    
    --text-dark: #2c3e50;
    --text-light: #f1faee;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- HEADER --- */
.header { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; width: 100%; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 88px; }
.logo img { height: 55px; width: auto; max-width: 240px; } /* logo com proporção preservada */
.nav-menu ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav-menu a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-family: var(--font-heading); font-size: 0.875rem; padding: 8px 0; position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold-color); transition: width 0.3s ease; }
.nav-menu a:hover::after { width: 100%; }
.btn-header { background: var(--primary-color); color: var(--white); padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; font-family: var(--font-heading); font-size: 0.875rem; border: none; cursor: pointer; transition: background 0.3s ease; flex-shrink: 0; white-space: nowrap; }
.btn-header:hover { background: var(--secondary-color); }
.menu-toggle { display: none; }

/* --- HERO SECTION --- */
.hero { background-color: var(--primary-color); color: var(--text-light); padding: 120px 0; text-align: center; }
.hero h1 { font-family: var(--font-heading); font-size: 3rem; max-width: 800px; margin: 0 auto 24px; }
.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; opacity: 0.9; }
.btn { padding: 14px 32px; border-radius: 8px; text-decoration: none; font-family: var(--font-heading); font-weight: 700; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary {background: var(--gold-color); 
    color: var(--text-dark); 
    margin-top: 25px  }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* --- SEÇÕES GERAIS --- */
.section-padding { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-color); margin-bottom: 24px; }
.section-subtitle { max-width: 700px; margin: -16px auto 60px; color: var(--secondary-color); }
.text-center { text-align: center; }

/* --- STATS BAR --- */
.stats-bar { padding: 40px 0; background: var(--bg-light); border-bottom: 1px solid var(--border-color); }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { background: var(--white); padding: 24px; text-align: center; border-radius: 8px; border: 1px solid var(--border-color); width: 240px; border-left: 5px solid var(--gold-color); }
.stat-number { display: block; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-size: 1rem; color: var(--secondary-color); }

/* --- SOBRE --- */
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-image-container img { width: 100%; border-radius: 10px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.oab-number { font-weight: 600; color: var(--secondary-color); margin: -16px 0 24px 0; font-family: var(--font-heading); }
.about-content p { margin-bottom: 24px; }
.btn-secondary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: var(--white); }

/* --- SERVIÇOS --- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; text-align: center; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.service-card i { font-size: 2.5rem; color: var(--gold-color); margin-bottom: 24px; }
.service-card h3 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 20px; }

/* --- DEPOIMENTOS --- */
.testimonial-container { display: grid; grid-template-columns: 1fr 2.5fr; gap: 40px; align-items: center; background: var(--bg-light); padding: 40px; border-radius: 12px; }
.testimonial-summary { text-align: center; }
.testimonial-summary p { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.testimonial-summary .stars { color: #fbbc05; font-size: 1.8rem; margin-bottom: 8px; }
.testimonial-summary .google-logo-link { display: inline-block; margin-top: 16px; margin-bottom: 24px; }
.testimonial-summary .google-logo-link img { max-width: 100px; }
.testimonial-summary .btn-secondary { padding: 8px 16px; font-size: 0.9rem; text-decoration: none; display: inline-block; }
.testimonial-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { background: var(--white); padding: 24px; border-radius: 8px; border: 1px solid var(--border-color); }
.t-card h4 { font-family: var(--font-heading); margin-bottom: 8px; color: var(--primary-color); }
.t-card p { font-size: 0.95rem; line-height: 1.6; }

/* --- CALCULADORA COMPLETA --- */
.calculator-container { background-color: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); max-width: 900px; margin: 0 auto; }
#rescisao-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
#rescisao-form .form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary-color); }
#rescisao-form .form-group input, #rescisao-form .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 1rem; }
.checkbox-group { display: flex; align-items: center; gap: 10px; padding-top: 30px; }
.checkbox-group input { width: auto; }
.results-container { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.results-container h3 { color: var(--primary-color); margin-bottom: 20px; }
.results-container table { width: 100%; border-collapse: collapse; }
.results-container th, .results-container td { padding: 12px; border-bottom: 1px solid var(--border-color); text-align: left; }
.results-container .total { font-weight: 700; font-size: 1.2rem; color: var(--primary-color); }

/* --- FAQ --- */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-accordion details { background: var(--white); margin-bottom: 10px; border-radius: 5px; border: 1px solid #e0e0e0; }
.faq-accordion summary { padding: 20px; font-weight: 600; cursor: pointer; position: relative; list-style: none; }
.faq-accordion summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 20px; transition: transform 0.3s ease; }
.faq-accordion details[open] summary::after { transform: rotate(180deg); }
.faq-accordion p { padding: 0 20px 20px; }

/* --- CONTATO E MAPA --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.contact-form-container h3, .contact-info-container h3 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 8px; }
.contact-form-container p, .contact-info-container p { margin-bottom: 24px; }
.form-header { margin-bottom: 30px; }
.form-header h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 12px; }
.form-header p { font-size: 1rem; line-height: 1.6; color: var(--secondary-color); }
.contact-form-container form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-container input, .contact-form-container textarea { padding: 14px; border: 1px solid var(--border-color); border-radius: 6px; font-family: var(--font-body); font-size: 1rem; }
.info-card { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 8px; padding: 12px; border-radius: 6px; }
.info-card i { font-size: 1.5rem; color: var(--gold-color); margin-top: 5px; width: 25px; text-align: center; }
.info-card h4 { font-size: 1.1rem; margin: 0 0 4px 0; color: var(--text-dark); }
.info-card p { font-size: 1rem; margin: 0; }
.info-card-link { text-decoration: none; color: inherit; display: block; }
.info-card-link .info-card { transition: background-color 0.3s ease; }
.info-card-link:hover .info-card { background-color: #e9ecef; }
#map { height: 450px; width: 100%; }

/* --- ESTILO PARA IMAGEM DO PRÉDIO --- */
.building-image {
    width: 100%;
    border-radius: 8px;
    margin: 16px 0 24px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --- FOOTER (NOVA VERSÃO) --- */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}
.footer-col {
    text-align: left;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-color);
    display: inline-block;
}
.footer-col p, .footer-col address {
    font-style: normal;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 1em;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-col a:hover {
    opacity: 1;
    color: var(--gold-color);
}
.social-icons {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    opacity: 1;
}
.social-icons a:hover {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    opacity: 0.7;
}
.footer-bottom p {
    margin: 0 auto 8px;
}

/* --- MODAIS (JANELAS) --- */
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); transition: 200ms ease-in-out; border-radius: 12px; z-index: 1010; background: white; width: 90%; max-width: 600px; padding: 40px; }
.modal.active { transform: translate(-50%, -50%) scale(1); }
.modal-content h2 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 24px; }
.modal-content ul { list-style: none; padding: 0; margin-bottom: 32px; }
.modal-content li { margin-bottom: 12px; padding-left: 28px; position: relative; }
.modal-content li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold-color); position: absolute; left: 0; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2rem; cursor: pointer; }
#overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: 200ms ease-in-out; z-index: 1005; }
#overlay.active { opacity: 1; pointer-events: all; }
.login-form { display: flex; flex-direction: column; margin-top: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-dark); }
.form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 1rem; }
.login-form .btn-primary { margin-top: 16px; width: 100%; }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-decoration: none; transition: transform 0.3s ease; z-index: 999; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Estilo para as estrelas da avaliação Google */
.stat-item .google-stars {
    color: #fbbc05; /* Cor dourada do Google */
    font-size: 1.5rem; /* Tamanho das estrelas */
    margin-bottom: 8px; /* Espaço abaixo das estrelas */
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .nav-menu, .btn-header { display: none; }
    .menu-toggle { display: block; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }
    .nav-menu.active { display: flex; position: absolute; top: 88px; left: 0; background: var(--white); width: 100%; flex-direction: column; padding: 20px 0; text-align: center; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
    .nav-menu.active ul { flex-direction: column; gap: 0; }
    .nav-menu.active li { margin: 15px 0; }
    
    .hero h1 { font-size: 2.5rem; }
    .about-layout, .services-grid, .testimonial-container, .contact-grid { grid-template-columns: 1fr; }
    .about-image-container { order: -1; max-width: 400px; margin: 0 auto 40px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stats-bar .container { flex-direction: column; align-items: center; }
    .stat-item { width: 90%; }
    .testimonial-cards { grid-template-columns: 1fr; }
    .calculators-grid, #rescisao-form .form-row { grid-template-columns: 1fr; }
    .checkbox-group { padding-top: 0; }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}

/* --- ESTILO PARA A LISTA DE SUB-SERVIÇOS EM DUAS COLUNAS --- */
.lista-servicos-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Cria duas colunas */
    gap: 10px 40px; /* Espaçamento entre os itens */
    margin-bottom: 40px; /* Espaço antes do botão */
}

.lista-servicos-duas-colunas ul {
    list-style: none;
    padding: 0;
}

.lista-servicos-duas-colunas li {
    padding-bottom: 12px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .lista-servicos-duas-colunas {
        grid-template-columns: 1fr; /* Volta a ser uma coluna só */
    }
}

/* --- ESTILO PARA O BOX DE CHAMADA PARA ACAO (CTA) --- */
.cta-box {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.cta-box .btn-primary {
    margin-top: 25px;
}
.calc-features { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
