body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #222;
    overflow-x: hidden;
}

header {
    background: linear-gradient(90deg, #2d3e50 60%, #3a5a7c 100%);
    color: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 320px;
    width: 100vw;
    max-width: none;
    margin: 0;
}

.header-content {
    flex: 1;
    padding: 40px 40px 40px 80px;
}

.foto-advogado {
    width: 160px;
    height: 160px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    margin: 0 60px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-advogado img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}

header h1 {
    margin-bottom: 18px;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 24px;
}

.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.2em;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(44,62,80,0.13);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    box-shadow: 0 4px 24px rgba(44,62,80,0.18);
}

.main-content {
    width: 100vw;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

.sobre {
    background: #fff;
    margin: 0;
    padding: 48px 0 32px 0;
    width: 100vw;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.sobre h2 {
    color: #2d3e50;
    font-size: 2em;
    margin-bottom: 24px;
    text-align: center;
}

.beneficios, .diferenciais, .formacao {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 0 auto 32px auto;
    max-width: 1100px;
    padding: 0 40px;
    list-style: none;
}

.beneficios li, .diferenciais li, .formacao li {
    background: #f2f6fa;
    border-radius: 10px;
    padding: 24px 18px;
    font-size: 1.1em;
    color: #2d3e50;
    font-weight: 500;
    box-shadow: 0 1px 8px rgba(44,62,80,0.07);
    display: flex;
    align-items: center;
}

.servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    justify-content: center;
    margin: 0 auto 32px auto;
    max-width: 1100px;
    padding: 0 40px;
}

.servico {
    background: #fff;
    border-radius: 12px;
    padding: 32px 18px;
    box-shadow: 0 2px 16px rgba(44,62,80,0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.servico:hover {
    box-shadow: 0 4px 24px rgba(44,62,80,0.15);
}

.servico .icon {
    margin-bottom: 12px;
}

.servico span {
    font-size: 1.2em;
    color: #2d3e50;
    font-weight: 600;
}

.sobre p, .sobre h2 {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contato {
    background: linear-gradient(90deg, #3a5a7c 60%, #2d3e50 100%);
    color: #fff;
    margin: 0;
    padding: 48px 0 32px 0;
    width: 100vw;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

.contato h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 24px;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    color: #222;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 16px rgba(44,62,80,0.09);
}

form label {
    grid-column: 1 / 3;
    margin: 10px 0 5px 0;
    font-weight: 500;
    color: #2d3e50;
    text-align: left;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #bfc9d1;
    border-radius: 4px;
    font-size: 1em;
    background: #f7f7f7;
    transition: border 0.2s;
    width: 100%;
    box-sizing: border-box;
}

form input:focus, form textarea:focus {
    border-color: #2d3e50;
    outline: none;
}

.btn-destaque {
    grid-column: 1 / 3;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(44,62,80,0.13);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-destaque:hover {
    background: #128c7e;
    box-shadow: 0 4px 24px rgba(44,62,80,0.18);
}

footer {
    text-align: center;
    padding: 32px;
    background: #2d3e50;
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.5px;
    position: static;
    width: 100vw;
    max-width: none;
    margin: 0;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 320px;
    padding: 48px 16px 32px 16px;
    box-sizing: border-box;
    text-align: center;
}

.header-center .foto-advogado {
    margin: 0 0 24px 0;
}

.header-center h1 {
    margin-bottom: 18px;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-center p {
    font-size: 1.2em;
    margin-bottom: 24px;
    max-width: 600px;
}

.header-center .btn-whatsapp {
    margin-top: 10px;
}

@media (max-width: 900px) {
    header, .main-content, .sobre, .contato, footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .header-content {
        padding: 32px 16px 32px 16px;
    }
    .foto-advogado {
        margin: 0 16px 0 0;
        width: 110px;
        height: 110px;
    }
    .beneficios, .diferenciais, .formacao, .servicos {
        padding: 0 10px;
        gap: 12px;
    }
    form {
        padding: 18px 8px;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        min-height: 220px;
        padding: 0;
    }
    .header-content {
        padding: 18px 8px 18px 8px;
        text-align: center;
    }
    .foto-advogado {
        margin: 18px auto 0 auto;
        width: 80px;
        height: 80px;
    }
    .sobre, .contato {
        padding: 18px 0 12px 0;
    }
    .beneficios, .diferenciais, .formacao, .servicos {
        grid-template-columns: 1fr;
        padding: 0 4px;
        gap: 8px;
    }
    form {
        grid-template-columns: 1fr;
        padding: 8px 2px;
        gap: 8px;
    }
    footer {
        padding: 18px 4px;
    }
}
