/* Estilo especial para o formulário de contato */
.contato-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #faf7fc;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(160,95,165,0.07);
    padding: 32px 32px 24px 32px;
}
.contato-form label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 6px;
    color: #6d206d;
    text-align: left;
}
.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1.5px solid #b48fcf;
    margin-bottom: 18px;
    font-size: 1.08em;
    background: #fff;
    box-sizing: border-box;
    resize: vertical;
}
.contato-form textarea {
    min-height: 100px;
    max-height: 300px;
}
.contato-form .btn {
    width: 100%;
    font-size: 1.13em;
    margin-top: 8px;
}
/* Estilo especial para o formulário de contato */
.contato-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #faf7fc;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(160,95,165,0.07);
    padding: 32px 32px 24px 32px;
}
.contato-form label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 6px;
    color: #6d206d;
    text-align: left;
}
.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1.5px solid #b48fcf;
    margin-bottom: 18px;
    font-size: 1.08em;
    background: #fff;
    box-sizing: border-box;
    resize: vertical;
}
.contato-form textarea {
    min-height: 100px;
    max-height: 300px;
}
.contato-form .btn {
    width: 100%;
    font-size: 1.13em;
    margin-top: 8px;
}
/* Botão do menu inspirado no anexo */
.menu-btn {
    display: inline-block;
    background: linear-gradient(180deg, #a05fa5 0%, #6d206d 100%);
    color: #00e6ff;
    font-weight: bold;
    font-size: 1.13em;
    padding: 10px 32px 10px 32px;
    border-radius: 10px;
    border: 2px solid #b48fcf;
    margin: 0 8px;
    box-shadow: 0 2px 8px rgba(80,0,80,0.18);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px #222;
    text-decoration: none;
    transition: background 0.22s, box-shadow 0.18s, transform 0.18s, color 0.18s;
    cursor: pointer;
    outline: none;
    position: relative;
    /* Removido nav a para evitar conflito com .menu-btn */
    padding: 10px 0;
}
/* Header background: gradient over a subtle justice image to match the firm's theme */
header {
    background: linear-gradient(135deg, rgba(26,35,126,0.92) 0%, rgba(109,32,109,0.9) 100%), url('../imagens/justice-6778953_640.jpg') center/cover no-repeat;
    color: #fff;
    padding: 28px 0 22px 0;
    text-align: center;
    box-shadow: 0 6px 28px rgba(0,0,0,0.14);
    border-bottom: 4px solid rgba(255,255,255,0.03);
}
nav a {
    color: #00e6ff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 10px;
    background: linear-gradient(180deg, #a05fa5 0%, #6d206d 100%);
    margin: 0 8px;
    box-shadow: 0 2px 8px rgba(80,0,80,0.18);
    letter-spacing: 0.5px;
    font-size: 1.13em;
    border: 2px solid #b48fcf;
    outline: none;
    display: inline-block;
    transition: background 0.22s, box-shadow 0.18s, transform 0.18s, color 0.18s;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-shadow: 0 1px 2px #222;
}
nav a:hover, nav a:focus {
    background: linear-gradient(180deg, #c97fd7 0%, #8a2c8a 100%);
    box-shadow: 0 4px 18px rgba(80,0,80,0.22);
    color: #fff;
    outline: none;
    transform: scale(1.04);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px 12px 24px;
    box-sizing: border-box;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo {
    max-width: 140px;
    height: auto;
    display: block;
}
.site-text h1 { margin: 0; font-size: 1.6em; color: #fff; }
.site-text p { margin: 0; font-size: 0.98em; color: #e8e8ff; }
.header-cta { display: flex; align-items: center; }

/* Footer: centralizado e discreto */
footer {
    background: #1a237e;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 0.95em;
}

/* Ajustes responsivos para header e botões */
@media (max-width: 900px) {
    .header-inner { flex-direction: column; gap: 10px; padding: 12px 18px; }
    .brand { justify-content: center; }
    .header-cta { order: 3; }
    nav { padding: 12px 0; }
}

@media (max-width: 700px) {
    nav { flex-direction: column; gap: 10px; }
}
.container {
    max-width: 1400px;
    margin: 40px auto 40px auto;
    background: #fff;
    padding: 48px 48px 40px 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 18px;
}
.service-card {
    background: linear-gradient(180deg,#fff,#fbf8ff);
    border: 1px solid rgba(160,95,165,0.08);
    padding: 22px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(80,0,80,0.04);
    text-align: left;
}
.service-card h3 { margin: 6px 0 10px 0; color:#4a1764; }
.service-card p { margin: 0; color:#444; }
@media (max-width: 1000px) {
    .services { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
    .services { grid-template-columns: 1fr; }
}

/* Contact panel styling */
.contact-panel {
    width: 100%;
    max-width: 760px;
    background: linear-gradient(180deg,#ffffff,#fbf9ff);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 8px 28px rgba(80,0,80,0.06);
    border: 1px solid rgba(160,95,165,0.06);
}
.contact-panel label { display:block; font-weight:600; margin-bottom:6px; color:#5a2560; }
.contact-panel input[type="text"], .contact-panel input[type="email"], .contact-panel textarea {
    width:100%; padding:12px; border-radius:8px; border:1px solid #e6d7ef; margin-bottom:14px; box-sizing:border-box; font-size:1em;
}
.contact-panel textarea { min-height:120px; }
.contact-panel .web-btn { width: auto; padding: 12px 28px; }
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #283593 0%, #3949ab 100%);
    color: #fff;
    padding: 13px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    margin: 12px 10px 0 0;
    box-shadow: 0 4px 16px rgba(40,53,147,0.10), 0 1.5px 4px rgba(57,73,171,0.08);
    border: none;
    letter-spacing: 0.5px;
    font-size: 1.08em;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.18s, transform 0.18s;
}
.btn:hover, .btn:focus {
    background: linear-gradient(90deg, #1a237e 0%, #3949ab 100%);
    box-shadow: 0 6px 24px rgba(40,53,147,0.16), 0 2px 8px rgba(57,73,171,0.12);
    transform: translateY(-2px) scale(1.03);
    outline: none;
}
footer {
    background: #1a237e;
    color: #fff;
    text-align: left;
    padding: 18px 0 18px 40px;
    margin-top: 40px;
    font-size: 0.95em;
    display: block;
}
@media (max-width: 900px) {
    .container { max-width: 98vw; padding: 15px; }
    nav { flex-direction: column; gap: 10px; }
    header { padding: 18px 0 10px 0; }
}
/* Tipografia geral */
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #222;
}
/* Headings use a serif for a formal tone */
h1,h2,h3 { font-family: 'Merriweather', Georgia, serif; }
